2 project(TAO_IDL_EXE) : aceexe, install, tao_output, tao_idl_fe {
4 exeout = $(ACE_ROOT)/bin
5 after += TAO_IDL_BE gperf
6 includes += $(TAO_ROOT)
7 includes += include be_include fe ..
8 requires += build_tao_idl_be
11 // Override the template value for optimize. Building the exe
12 // with optimization turned on doesn't seem to work (at least not with
13 // vc6 or vc71). This is due to the use of addresses of static objecs
18 specific(prop:static) {
19 after += TAO_IDL_BE_VIS_V
20 libs += TAO_IDL_BE TAO_IDL_BE_VIS_V TAO_IDL_BE_VIS_A TAO_IDL_BE_VIS_O TAO_IDL_BE_VIS_C TAO_IDL_BE_VIS_E TAO_IDL_BE_VIS_I TAO_IDL_BE_VIS_S TAO_IDL_BE_VIS_U TAO_IDL_BE_VIS_C TAO_IDL_BE_VIS_A TAO_IDL_BE_VIS_E TAO_IDL_BE_VIS_V TAO_IDL_BE_VIS_S TAO_IDL_BE_VIS_O TAO_IDL_BE
25 verbatim(gnuace, local) {
26 ifeq ($(TAO_IDL_PREPROCESSOR),)
27 ifeq ($(ACE_CC_PREPROCESSOR),)
28 CPPFLAGS += -DTAO_IDL_PREPROCESSOR=\\\"$(strip $(CXX))\\\"
29 ifeq (1,$(STUDIO_12_OR_BETTER))
30 CPPFLAGS += -DTAO_IDL_PREPROCESSOR_ARGS='\"-E -features=no%altspell\"'
33 CPPFLAGS += -DACE_CC_PREPROCESSOR=\\\"$(subst \\,\\,$(ACE_CC_PREPROCESSOR))\\\"
36 CPPFLAGS += -DTAO_IDL_PREPROCESSOR=\\\"$(subst \\,\\,$(TAO_IDL_PREPROCESSOR))\\\"
40 verbatim(gnuace, postinstall) {
41 " @$(MKDIR) $(DESTDIR)$(INSTALL_PREFIX)/share/ace/bin"
42 " ln -sf ../../../bin/tao_idl $(DESTDIR)$(INSTALL_PREFIX)/share/ace/bin"
43 "ifeq ($(shared_libs),1)"
44 " @$(MKDIR) $(DESTDIR)$(INSTALL_PREFIX)/share/ace/lib"
45 " ln -sf ../../../$(INSTALL_LIB)/$(LIB_PREFIX)TAO_IDL_FE.$(SOEXT) $(DESTDIR)$(INSTALL_PREFIX)/share/ace/lib"
46 " ln -sf ../../../$(INSTALL_LIB)/$(LIB_PREFIX)TAO_IDL_BE.$(SOEXT) $(DESTDIR)$(INSTALL_PREFIX)/share/ace/lib"
52 driver/drv_preproc.cpp