diff options
Diffstat (limited to 'ACE/TAO/TAO_IDL/tao_idl.mpc')
-rw-r--r-- | ACE/TAO/TAO_IDL/tao_idl.mpc | 47 |
1 files changed, 47 insertions, 0 deletions
diff --git a/ACE/TAO/TAO_IDL/tao_idl.mpc b/ACE/TAO/TAO_IDL/tao_idl.mpc new file mode 100644 index 00000000000..6faede65a9d --- /dev/null +++ b/ACE/TAO/TAO_IDL/tao_idl.mpc @@ -0,0 +1,47 @@ +// -*- MPC -*- +// $Id$ + +project(TAO_IDL_EXE) : aceexe, install, tao_output, crosscompile, mcpp, tao_idl_mcpp_local, tao_idl_fe { + exename = tao_idl + libs += TAO_IDL_BE + exeout = $(ACE_ROOT)/bin + after += TAO_IDL_BE gperf + includes += $(TAO_ROOT) + + specific (automake) { + includes += $(srcdir)/include $(srcdir)/be_include $(srcdir)/fe $(TAO_ROOT) + macros += TAO_IDL_INCLUDE_DIR=\"\\"$(includedir)/tao\\"\" + } else { + includes += include be_include fe .. + } + + specific { + // Override the template value for optimize. Building the exe + // with optimization turned on doesn't seem to work (at least not with + // vc6 or vc71). This is due to the use of addresses of static objecs + // within the code. + optimize = + } + + verbatim(gnuace, local) { + ifeq ($(TAO_IDL_PREPROCESSOR),) + ifeq ($(ACE_CC_PREPROCESSOR),) + CPPFLAGS += -DTAO_IDL_PREPROCESSOR=\\\"$(strip $(CXX))\\\" + else + CPPFLAGS += -DACE_CC_PREPROCESSOR=\\\"$(subst \\,\\,$(ACE_CC_PREPROCESSOR))\\\" + endif + else + CPPFLAGS += -DTAO_IDL_PREPROCESSOR=\\\"$(subst \\,\\,$(TAO_IDL_PREPROCESSOR))\\\" + endif + } + + Source_Files { + driver/drv_args.cpp + tao_idl.cpp + } + + Header_Files { + include/drv_extern.h + } +} + |