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
|
#----------------------------------------------------------------------------
# GNU Makefile
#----------------------------------------------------------------------------
MAKEFILE = Makefile.Bug_1330_Server
DEPENDENCY_FILE = .depend.Makefile.Bug_1330_Server
BIN_UNCHECKED = server
ifndef TAO_ROOT
TAO_ROOT = $(ACE_ROOT)/TAO
endif
IDL_FILES = Test
IDL_SRC = $(foreach ext, C.cpp S.cpp, $(foreach file, $(IDL_FILES), $(file)$(ext)))
FILES = \
TestC \
TestS \
Test_i \
server
#----------------------------------------------------------------------------
# Include macros and targets
#----------------------------------------------------------------------------
include $(ACE_ROOT)/include/makeinclude/wrapper_macros.GNU
include $(TAO_ROOT)/rules.tao.GNU
BIN = $(BIN_UNCHECKED)
OBJS = $(addsuffix .o, $(notdir $(FILES)))
SRC = $(addsuffix .cpp, $(FILES))
ACELIB = -lACE
include $(ACE_ROOT)/include/makeinclude/macros.GNU
include $(ACE_ROOT)/include/makeinclude/rules.common.GNU
include $(ACE_ROOT)/include/makeinclude/rules.nonested.GNU
include $(ACE_ROOT)/include/makeinclude/rules.local.GNU
include $(TAO_ROOT)/taoconfig.mk
CPPFLAGS += -I$(TAO_ROOT) -I$(TAO_ROOT)/tao -I../../..
ifeq ($(static_libs),1)
ifneq ($(LIB),)
CPPFLAGS += -DTAO_AS_STATIC_LIBS -DACE_AS_STATIC_LIBS
endif
endif
LDFLAGS += -L$(TAO_ROOT)/tao/IORTable -L$(TAO_ROOT)/tao/PortableServer -L$(TAO_ROOT)/tao -L../../../ace
TAO_IDLFLAGS += -Ge 1 -Sc
LDLIBS = -lTAO_IORTable -lTAO_PortableServer -lTAO
#----------------------------------------------------------------------------
# Local targets
#----------------------------------------------------------------------------
ADDITIONAL_IDL_TARGETS =
# IDL File Directory: .
idl_stubs: $(ADDITIONAL_IDL_TARGETS)
all: idl_stubs
.PRECIOUS: $(foreach ext, $(IDL_EXT), $(foreach file, $(IDL_FILES), $(file)$(ext)))
$(BIN): $(addprefix $(VDIR), $(OBJS))
$(LINK.cc) $(LDFLAGS) $(CC_OUTPUT_FLAG) $@ $^ $(VLDLIBS) $(POSTLINK)
realclean: clean
-$(RM) $(foreach ext, $(IDL_EXT), $(foreach file, $(IDL_FILES), $(file)$(ext)))
|