summaryrefslogtreecommitdiff
path: root/TAO/CIAO/ciao/Makefile.client
blob: a54d7e585355134bbc919c19f422b02512639995 (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
#-------------- -*- Makefile -*- --------------------------------------------
#
# $Id$
#
#----------------------------------------------------------------------------

#----------------------------------------------------------------------------
#       Local macros
#----------------------------------------------------------------------------

ifndef TAO_ROOT
  TAO_ROOT = $(ACE_ROOT)/TAO
endif # ! TAO_ROOT
ifndef CIAO_ROOT
  CIAO_ROOT = $(ACE_ROOT)/TAO/CIAO
endif # ! CIAO_ROOT

MAKEFILE = Makefile.client
LIBNAME = libCIAO_Client
LIB = $(LIBNAME).a
SHLIB = $(LIBNAME).$(SOEXT)
VPATH=.

ACE_SHLIBS = -lTAO -lACE

#----------------------------------------------------------------------------
#       Include macros and targets
#----------------------------------------------------------------------------

include $(ACE_ROOT)/include/makeinclude/wrapper_macros.GNU
include $(TAO_ROOT)/rules.tao.GNU

# On non-Windows environment, we should at least define
# the export_include IDL flag.
override TAO_IDLFLAGS += -Ge 1 -Sc -I$(TAO_ROOT) \
        -Wb,stub_export_include=CIAO_Client_Export.h \
        -Wb,skel_export_include=CIAO_Container_Export.h \
        -Wb,pre_include="ace/pre.h" \
        -Wb,post_include="ace/post.h"

IDL_FILES = CCM_Base CCM_Event CCM_Component
IDL_SRC = CCM_BaseC CCM_EventC CCM_ComponentC

SHLIB_SRC = $(IDL_SRC) Client_init

LSRC = $(addsuffix .cpp,$(SHLIB_SRC))
LOBJ = $(addsuffix .o,$(SHLIB_SRC))
PSRC = $(addsuffix .cpp,$(BIN))

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.lib.GNU
#include $(ACE_ROOT)/include/makeinclude/rules.bin.GNU
include $(ACE_ROOT)/include/makeinclude/rules.local.GNU
include $(TAO_ROOT)/taoconfig.mk

#----------------------------------------------------------------------------
#       Local targets (and local hacks)
#----------------------------------------------------------------------------
INCLDIRS += -I$(TAO_ROOT)/CIAO

.PRECIOUS: CCM_BaseC.h CCM_BaseC.i CCM_BaseC.cpp CCM_EventC.h CCM_EventC.i CCM_EventC.cpp CCM_ComponentC.h CCM_ComponentC.i CCM_ComponentC.cpp CCM_BaseS.h CCM_BaseS.i CCM_BaseS.cpp CCM_EventS.h CCM_EventS.i CCM_EventS.cpp CCM_ComponentS.h CCM_ComponentS.i CCM_ComponentS.cpp

realclean: clean
	-$(RM) CCM_BaseC.* CCM_BaseS.* CCM_EventC.* CCM_EventS.* CCM_ComponentC.* CCM_ComponentS.*

# DO NOT DELETE THIS LINE -- g++dep uses it.
# DO NOT PUT ANYTHING AFTER THIS LINE, IT WILL GO AWAY.