blob: 09edbc98fb245d0b091a136efe1d7ac7f1bbdfd1 (
plain)
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
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
|
# -*- Makefile -*-
#----------------------------------------------------------------------------
#
#----------------------------------------------------------------------------
# Only include once.
ifndef ALL_IN_ONE_GNU
ALL_IN_ONE_GNU = 1
# Include wrapper macros to all user defines, etc.
include $(ACE_ROOT)/include/makeinclude/wrapper_macros.GNU
TAO_ROOT ?= $(ACE_ROOT)/TAO
ifneq ($(ADDITIONAL_INCLUDE),)
include $(ADDITIONAL_INCLUDE)
endif
# Now test for installed components, and set the BIN. LIB, and SHLIB
# targets from the *_UNCHECKED ones if the component checks
# succeed. Client Makefile must set the variable REQUIRED_COMPONENTS
# with a list of required components. If no additional components
# are required, REQUIRED_COMPONENTS need not be set.
include $(ACE_ROOT)/include/makeinclude/component_check.GNU
# If no required components are missing, set the real targets
ifeq ($(MISSING_COMPONENTS),)
ifdef BIN_UNCHECKED
BIN += $(BIN_UNCHECKED)
endif # !BIN_UNCHECKED
ifdef static_libs
ifdef LIB_UNCHECKED
LIB += $(LIB_UNCHECKED)
endif # !LIB_UNCHECKED
endif # static_libs
ifdef shared_libs
ifdef SHLIB_UNCHECKED
SHLIB += $(SHLIB_UNCHECKED)
endif # !SHLIB_UNCHECKED
endif # !shared_libs
endif # COMPILE_COMPONENT
include $(ACE_ROOT)/include/makeinclude/macros.GNU
include $(ACE_ROOT)/include/makeinclude/rules.common.GNU
ifdef DIRS
include $(ACE_ROOT)/include/makeinclude/rules.nested.GNU
else # !DIRS
include $(ACE_ROOT)/include/makeinclude/rules.nonested.GNU
endif # DIRS
ifdef CLEANUP_LIB
include_lib = 1
endif # LIB
ifdef CLEANUP_SHLIB
include_lib = 1
endif # SHLIB
ifeq ($(include_lib),1)
include $(ACE_ROOT)/include/makeinclude/rules.lib.GNU
endif
include $(ACE_ROOT)/include/makeinclude/rules.local.GNU
# Remove the -g option if requested.
SUPPRESS_DASH_G ?=
ifeq ($(SUPPRESS_DASH_G),1)
DCFLAGS := $(filter-out -g, $DCFLAGS)
endif
endif # ALL_IN_ONE_GNU
|