summaryrefslogtreecommitdiff
path: root/TAO/orbsvcs/orbsvcs/CosConcurrency.bor
blob: 1666e12d98e4ed25f33f2688fed031b131811156 (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
#
# Makefile for building the TAO CosConcurrency library
#

NAME = TAO_CosConcurrency

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

IDLFILES = \
	$(IDLDIR)\CosConcurrencyControl.idl

OBJFILES = \
	$(OBJDIR)\CC_Lock.obj \
	$(OBJDIR)\CC_LockSet.obj \
	$(OBJDIR)\CC_LockSetFactory.obj \
	$(OBJDIR)\Concurrency_Utils.obj \
	$(OBJDIR)\CosConcurrencyControlC.obj \
	$(OBJDIR)\CosConcurrencyControlS.obj

RESOURCE = $(OBJDIR)\orbsvcs.res

!ifdef STATIC
CFLAGS = $(ACE_CFLAGS) $(TAO_CFLAGS) $(TAO_CONCURRENCY_CFLAGS)
!else
CFLAGS = $(ACE_CFLAGS) $(TAO_CFLAGS) $(TAO_CONCURRENCY_CFLAGS) -DTAO_CONCURRENCY_BUILD_DLL
!endif

CPPDIR = .;Concurrency

IDLDIR = .

LIBFILES = $(ACE_LIB) $(TAO_LIB)

all: idl_src_files concurrency_lib

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

concurrency_lib: $(TARGET)


#
# IDL Build rules
#

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

$(IDLDIR)\CosConcurrencyControlC.cpp $(IDLDIR)\CosConcurrencyControlS.cpp: $(IDLDIR)\CosConcurrencyControl.idl
	$(TAO_IDL) $**