-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMakefile
52 lines (43 loc) · 1.06 KB
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
# **********************************************************************
#
# Copyright (c) 2003-2016 ZeroC, Inc. All rights reserved.
#
# **********************************************************************
top_srcdir = .
include $(top_srcdir)/make/Make.rules
ifeq ($(BUILD_WITH_ICEE),yes)
SUBDIRS := Ice IceDiscovery Glacier2 Chat
ifneq ($(NOFREEZE),yes)
SUBDIRS := $(SUBDIRS) Manual
ifeq ($(BUILD_DEMOS),dynamic)
SUBDIRS := $(SUBDIRS) IceBox Freeze IceStorm
endif
endif
endif
ifneq ($(findstring MINGW,$(UNAME)),)
SUBDIRS = Ice \
IceDiscovery \
Manual
endif
ifeq ($(SUBDIRS),)
SUBDIRS = IceUtil \
Chat \
Glacier2 \
Ice \
IceBox \
IceDiscovery \
IceGrid \
IceStorm \
Manual
endif
.PHONY: $(EVERYTHING) $(SUBDIRS)
all:: $(SUBDIRS)
$(SUBDIRS):
@echo "making all in $@"
@$(MAKE) all --directory=$@
$(EVERYTHING_EXCEPT_ALL)::
@for subdir in $(SUBDIRS); \
do \
echo "making $@ in $$subdir"; \
( cd $$subdir && $(MAKE) $@ ) || exit 1; \
done