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
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
|
#----------------------------------------------------------------------------
# GNU Makefile
#
# @file Makefile.test_driver_lib
#
# $Id$
#
# This file was automatically generated by MPC. Any changes made directly to
# this file will be lost the next time it is generated.
#
#----------------------------------------------------------------------------
MAKEFILE = Makefile.test_driver_lib
DEPENDENCY_FILE = .depend.Makefile.test_driver_lib
LIB = libTest_Driver.a
SHLIB = libTest_Driver.$(SOEXT)
ifndef TAO_ROOT
TAO_ROOT = $(ACE_ROOT)/TAO
endif
ifndef CIAO_ROOT
CIAO_ROOT = $(TAO_ROOT)/CIAO
endif
FILES = \
Consumer \
Supplier \
TimeoutConsumer \
TestConfig \
Test_Handler \
Config_Factory \
Timer_Event_Handler \
cpuload
#----------------------------------------------------------------------------
# Include macros and targets
#----------------------------------------------------------------------------
ACE_SHLIBS = -lACEXML_Parser -lACEXML -lTAO_RTKokyuEvent -lKokyu -ldsui -lTAO_RTSched -lTAO_CosNaming -lTAO_IORTable -lTAO_RTEvent -lTAO_Svc_Utils -lTAO_Messaging -lTAO_PortableServer -lTAO_IORInterceptor -lTAO_ObjRefTemplate -lTAO_Valuetype -lTAO -lACE
include $(ACE_ROOT)/include/makeinclude/wrapper_macros.GNU
## We don't need the ACELIB setting from wrapper_macros.GNU
ACELIB =
include $(TAO_ROOT)/rules.tao.GNU
# To build multiple executables in the same directory on AIX, it works
# best to have a template directory per project.
# The compiler/linker isn't too smart about instantiating templates...
ifdef TEMPINCDIR
TEMPINCDIR := $(TEMPINCDIR)/test_driver_lib
all: $(TEMPINCDIR)
$(TEMPINCDIR):
@-test -d $(TEMPINCDIR) || mkdir -p $(TEMPINCDIR) $(ACE_NUL_STDERR)
endif
OUTPUT_DIRECTORY = $(ACE_ROOT)/lib
all: $(OUTPUT_DIRECTORY)
$(OUTPUT_DIRECTORY):
-@mkdir -p "$(OUTPUT_DIRECTORY)"
CURRENT_COMPONENTS := $(shell sh $(ACE_ROOT)/bin/ace_components --orbsvcs)
ifeq (Sched, $(findstring Sched, $(CURRENT_COMPONENTS)))
ifeq (Naming, $(findstring Naming, $(CURRENT_COMPONENTS)))
ifeq (RTEvent, $(findstring RTEvent, $(CURRENT_COMPONENTS)))
else
LIB =
SHLIB =
all: comp_warning
endif
else
LIB =
SHLIB =
all: comp_warning
endif
else
LIB =
SHLIB =
all: comp_warning
endif
ifeq (,$(TAO_ORBSVCS))
else
ifeq (Sched, $(findstring Sched, $(TAO_ORBSVCS)))
ifeq (Naming, $(findstring Naming, $(TAO_ORBSVCS)))
ifeq (RTEvent, $(findstring RTEvent, $(TAO_ORBSVCS)))
else
LIB =
SHLIB =
endif
else
LIB =
SHLIB =
endif
else
LIB =
SHLIB =
endif
endif
ifneq (,$(RC))
FILES += $(RESOURCES)
endif
LSRC = $(addsuffix .cpp, $(FILES))
include $(ACE_ROOT)/include/makeinclude/macros.GNU
include $(ACE_ROOT)/include/makeinclude/rules.common.GNU
include $(ACE_ROOT)/include/makeinclude/rules.nonested.GNU
INSTALL_CHECK = $(ACE_ROOT)/lib
ifeq ($(INSTALL_CHECK),.)
INSLIB = $(PWD)
else
INSLIB = $(INSTALL_CHECK)
endif
include $(ACE_ROOT)/include/makeinclude/rules.lib.GNU
include $(ACE_ROOT)/include/makeinclude/rules.local.GNU
include $(TAO_ROOT)/taoconfig.mk
CPPFLAGS += -I$(ACE_ROOT)/ACEXML/common -I$(ACE_ROOT)/Kokyu -I$(DATASTREAM_ROOT)/include -I$(TAO_ROOT)/orbsvcs -I$(TAO_ROOT) -I$(TAO_ROOT)/tao -I$(ACE_ROOT)
ifeq ($(static_libs),1)
ifneq ($(LIB),)
CPPFLAGS += -DTAO_AS_STATIC_LIBS -DTAO_AS_STATIC_LIBS -DACE_AS_STATIC_LIBS
endif
endif
LDFLAGS += -L$(DATASTREAM_ROOT)/lib -L$(ACE_ROOT)/lib
#----------------------------------------------------------------------------
# Local targets
#----------------------------------------------------------------------------
comp_warning:
@echo This project will not be built due to one of the following missing components:
@echo Sched Naming RTEvent
realclean: clean
ifneq ($(GENERATED_DIRTY),)
-$(RM) -r $(GENERATED_DIRTY)
endif
|