summaryrefslogtreecommitdiff
path: root/TAO/orbsvcs/orbsvcs/CosTrading.bor
blob: 959b34f9cbec965f5e213994d060583225592498 (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
73
74
75
76
77
78
#
# Makefile for building the TAO CosTrading library
#

NAME = TAO_CosTrading

TAO_IDL = $(CORE_BINDIR)\tao_idl -g $(CORE_BINDIR)\gperf.exe \
	-I..\.. -Ge 1 -Wb,export_macro=TAO_Trading_Export \
	-Wb,export_include=Trader/trading_export.h -Wb,pre_include=ace/pre.h \
	-Wb,post_include=ace/post.h

IDLFILES = \
	$(IDLDIR)\CosTrading.idl \
	$(IDLDIR)\CosTradingDynamic.idl \
	$(IDLDIR)\CosTradingRepos.idl

OBJFILES = \
	$(OBJDIR)\Constraint_Interpreter.obj \
	$(OBJDIR)\Constraint_l.obj \
	$(OBJDIR)\Constraint_Nodes.obj \
	$(OBJDIR)\Constraint_Visitors.obj \
	$(OBJDIR)\Constraint_y.obj \
	$(OBJDIR)\CosTradingC.obj \
	$(OBJDIR)\CosTradingDynamicC.obj \
	$(OBJDIR)\CosTradingDynamicS.obj \
	$(OBJDIR)\CosTradingReposC.obj \
	$(OBJDIR)\CosTradingReposS.obj \
	$(OBJDIR)\CosTradingS.obj \
	$(OBJDIR)\Interpreter.obj \
	$(OBJDIR)\Interpreter_Utils.obj \
	$(OBJDIR)\Offer_Database.obj \
	$(OBJDIR)\Offer_Iterators.obj \
	$(OBJDIR)\Service_Type_Repository.obj \
	$(OBJDIR)\Trader.obj \
	$(OBJDIR)\Trader_Constraint_Visitors.obj \
	$(OBJDIR)\Trader_Interfaces.obj \
	$(OBJDIR)\Trader_Utils.obj

RESOURCE = $(OBJDIR)\orbsvcs.res

!ifdef STATIC
CFLAGS = $(ACE_CFLAGS) $(TAO_CFLAGS) $(TAO_SVC_UTILS_CFLAGS) \
	$(TAO_NAMING_CFLAGS) $(TAO_TRADING_CFLAGS)
!else
CFLAGS = $(ACE_CFLAGS) $(TAO_CFLAGS) $(TAO_SVC_UTILS_CFLAGS) \
	$(TAO_NAMING_CFLAGS) $(TAO_TRADING_CFLAGS) -DTAO_TRADING_BUILD_DLL
!endif

CPPDIR = .;Trader

IDLDIR = .

INCDIR_NAME = orbsvcs\Trader
INCLUDES = Trader\*.h Trader\*_T.cpp

LIBFILES = $(ACE_LIB) $(TAO_LIB) $(TAO_SVC_UTILS_LIB) $(TAO_NAMING_LIB)

all: idl_src_files trading_lib

!include <$(ACE_ROOT)\include\makeinclude\build_core_library.bor>

trading_lib: $(TARGET)


#
# IDL Build rules
#

idl_src_files: $(IDLFILES:.idl=C.cpp) $(IDLFILES:.idl=S.cpp)

$(IDLDIR)\CosTradingC.cpp $(IDLDIR)\CosTradingS.cpp: $(IDLDIR)\CosTrading.idl
	$(TAO_IDL) $**

$(IDLDIR)\CosTradingDynamicC.cpp $(IDLDIR)\CosTradingDynamicS.cpp: $(IDLDIR)\CosTradingDynamic.idl
	$(TAO_IDL) $**

$(IDLDIR)\CosTradingReposC.cpp $(IDLDIR)\CosTradingReposS.cpp: $(IDLDIR)\CosTradingRepos.idl
	$(TAO_IDL) $**