diff options
Diffstat (limited to 'ACE/MPC/config')
94 files changed, 1190 insertions, 0 deletions
diff --git a/ACE/MPC/config/bison.mpb b/ACE/MPC/config/bison.mpb new file mode 100644 index 00000000000..7fc4c776e8b --- /dev/null +++ b/ACE/MPC/config/bison.mpb @@ -0,0 +1,14 @@ +// $Id$ +project { + requires += bison + Define_Custom(BISON) { + automatic = 1 + command = bison + commandflags = -d + pch_postrule = 1 + inputext = .yy, .y + pre_extension = .tab + source_outputext = .c, .cpp, .cxx, .cc, .C + header_outputext = .h, .hpp, .hxx, .hh + } +} diff --git a/ACE/MPC/config/boost_base.mpb b/ACE/MPC/config/boost_base.mpb new file mode 100644 index 00000000000..58df1ac9dc2 --- /dev/null +++ b/ACE/MPC/config/boost_base.mpb @@ -0,0 +1,15 @@ +// -*- MPC -*- +// $Id$ + +project { + requires += boost + includes += $(BOOST_ROOT)/include/$(BOOST_VERSION) $(BOOST_ROOT)/. + + // If the libraries for boost are not installed in a location relative to + // the include files, set the BOOST_ROOT_LIB environment variable + expand(BOOST_ROOT_LIB) { + $BOOST_ROOT_LIB + $(BOOST_ROOT)/lib + } + libpaths += $(BOOST_ROOT_LIB) +} diff --git a/ACE/MPC/config/boost_date_time.mpb b/ACE/MPC/config/boost_date_time.mpb new file mode 100644 index 00000000000..9e7165f6a86 --- /dev/null +++ b/ACE/MPC/config/boost_date_time.mpb @@ -0,0 +1,8 @@ +// -*- MPC -*- +// $Id$ + +project: boost_base { + specific(!prop:windows) { + lit_libs += $(BOOST_STATIC_LIB_PREFIX)boost_date_time$(BOOST_CFG) + } +} diff --git a/ACE/MPC/config/boost_filesystem.mpb b/ACE/MPC/config/boost_filesystem.mpb new file mode 100644 index 00000000000..144da5de75c --- /dev/null +++ b/ACE/MPC/config/boost_filesystem.mpb @@ -0,0 +1,8 @@ +// -*- MPC -*- +// $Id$ + +project: boost_base { + specific(!prop:windows) { + lit_libs += $(BOOST_STATIC_LIB_PREFIX)boost_filesystem$(BOOST_CFG) + } +} diff --git a/ACE/MPC/config/boost_iostreams.mpb b/ACE/MPC/config/boost_iostreams.mpb new file mode 100644 index 00000000000..2e439122fec --- /dev/null +++ b/ACE/MPC/config/boost_iostreams.mpb @@ -0,0 +1,8 @@ +// -*- MPC -*- +// $Id$ + +project: boost_base { + specific(!prop:windows) { + lit_libs += $(BOOST_STATIC_LIB_PREFIX)boost_iostreams$(BOOST_CFG) + } +} diff --git a/ACE/MPC/config/boost_prg_exec_monitor.mpb b/ACE/MPC/config/boost_prg_exec_monitor.mpb new file mode 100644 index 00000000000..b7c7bc14e87 --- /dev/null +++ b/ACE/MPC/config/boost_prg_exec_monitor.mpb @@ -0,0 +1,8 @@ +// -*- MPC -*- +// $Id$ + +project: boost_base { + specific(!prop:windows) { + lit_libs += $(BOOST_STATIC_LIB_PREFIX)boost_prg_exec_monitor$(BOOST_CFG) + } +} diff --git a/ACE/MPC/config/boost_program_options.mpb b/ACE/MPC/config/boost_program_options.mpb new file mode 100644 index 00000000000..de449951c15 --- /dev/null +++ b/ACE/MPC/config/boost_program_options.mpb @@ -0,0 +1,8 @@ +// -*- MPC -*- +// $Id$ + +project: boost_base { + specific(!prop:windows) { + lit_libs += $(BOOST_STATIC_LIB_PREFIX)boost_program_options$(BOOST_CFG) + } +} diff --git a/ACE/MPC/config/boost_python.mpb b/ACE/MPC/config/boost_python.mpb new file mode 100644 index 00000000000..315fe01f297 --- /dev/null +++ b/ACE/MPC/config/boost_python.mpb @@ -0,0 +1,6 @@ +// -*- MPC -*- +// $Id$ + +project: boost_base { + lit_libs += $(BOOST_STATIC_LIB_PREFIX)boost_python$(BOOST_CFG) +} diff --git a/ACE/MPC/config/boost_regex.mpb b/ACE/MPC/config/boost_regex.mpb new file mode 100644 index 00000000000..0a5b9babc80 --- /dev/null +++ b/ACE/MPC/config/boost_regex.mpb @@ -0,0 +1,8 @@ +// -*- MPC -*- +// $Id$ + +project: boost_base { + specific(!prop:windows) { + lit_libs += $(BOOST_STATIC_LIB_PREFIX)boost_regex$(BOOST_CFG) + } +} diff --git a/ACE/MPC/config/boost_serialization.mpb b/ACE/MPC/config/boost_serialization.mpb new file mode 100644 index 00000000000..9196bd92012 --- /dev/null +++ b/ACE/MPC/config/boost_serialization.mpb @@ -0,0 +1,8 @@ +// -*- MPC -*- +// $Id$ + +project: boost_base { + specific(!prop:windows) { + lit_libs += $(BOOST_STATIC_LIB_PREFIX)boost_serialization$(BOOST_CFG) + } +} diff --git a/ACE/MPC/config/boost_signals.mpb b/ACE/MPC/config/boost_signals.mpb new file mode 100644 index 00000000000..63707ad2695 --- /dev/null +++ b/ACE/MPC/config/boost_signals.mpb @@ -0,0 +1,8 @@ +// -*- MPC -*- +// $Id$ + +project: boost_base { + specific(!prop:windows) { + lit_libs += $(BOOST_STATIC_LIB_PREFIX)boost_signals$(BOOST_CFG) + } +} diff --git a/ACE/MPC/config/boost_system.mpb b/ACE/MPC/config/boost_system.mpb new file mode 100644 index 00000000000..ba95ed2b14d --- /dev/null +++ b/ACE/MPC/config/boost_system.mpb @@ -0,0 +1,8 @@ +// -*- MPC -*- +// $Id$ + +project: boost_base { + specific(!prop:windows) { + lit_libs += $(BOOST_STATIC_LIB_PREFIX)boost_system$(BOOST_CFG) + } +} diff --git a/ACE/MPC/config/boost_test_exec_monitor.mpb b/ACE/MPC/config/boost_test_exec_monitor.mpb new file mode 100644 index 00000000000..06de4742b02 --- /dev/null +++ b/ACE/MPC/config/boost_test_exec_monitor.mpb @@ -0,0 +1,8 @@ +// -*- MPC -*- +// $Id$ + +project: boost_base { + specific(!prop:windows) { + lit_libs += $(BOOST_STATIC_LIB_PREFIX)boost_test_exec_monitor$(BOOST_CFG) + } +} diff --git a/ACE/MPC/config/boost_thread.mpb b/ACE/MPC/config/boost_thread.mpb new file mode 100644 index 00000000000..a3d0c7cc95b --- /dev/null +++ b/ACE/MPC/config/boost_thread.mpb @@ -0,0 +1,8 @@ +// -*- MPC -*- +// $Id$ + +project: boost_base { + specific(!prop:windows) { + lit_libs += $(BOOST_STATIC_LIB_PREFIX)boost_thread$(BOOST_CFG) + } +} diff --git a/ACE/MPC/config/boost_unit_test_framework.mpb b/ACE/MPC/config/boost_unit_test_framework.mpb new file mode 100644 index 00000000000..bea8d7b1762 --- /dev/null +++ b/ACE/MPC/config/boost_unit_test_framework.mpb @@ -0,0 +1,11 @@ +// -*- MPC -*- +// $Id$ + +project: boost_base { + // Starting with boost 1.34 auto linking is enabled. + // vc6 and vc7 are added to this list because it is likely that + // any vc6 or vc7 users are using an older pre-auto-linking version. + specific(!prop:windows, vc6, vc7) { + lit_libs += $(BOOST_STATIC_LIB_PREFIX)boost_unit_test_framework$(BOOST_CFG) + } +} diff --git a/ACE/MPC/config/boost_wave.mpb b/ACE/MPC/config/boost_wave.mpb new file mode 100644 index 00000000000..dcf8664bcc9 --- /dev/null +++ b/ACE/MPC/config/boost_wave.mpb @@ -0,0 +1,8 @@ +// -*- MPC -*- +// $Id$ + +project: boost_base { + specific(!prop:windows) { + lit_libs += $(BOOST_STATIC_LIB_PREFIX)boost_wave$(BOOST_CFG) + } +} diff --git a/ACE/MPC/config/build_files.mpb b/ACE/MPC/config/build_files.mpb new file mode 100644 index 00000000000..8b7a5153c1d --- /dev/null +++ b/ACE/MPC/config/build_files.mpb @@ -0,0 +1,7 @@ +// $Id$ +project { + Define_Custom(Build) { + inputext = .mpc, .mpb, .mwc + } +} + diff --git a/ACE/MPC/config/bzip2.mpb b/ACE/MPC/config/bzip2.mpb new file mode 100644 index 00000000000..e2f514921de --- /dev/null +++ b/ACE/MPC/config/bzip2.mpb @@ -0,0 +1,14 @@ +// -*- MPC -*- +// $Id$ + +feature(bzip2) { + includes += $(BZIP2_ROOT)/include + libpaths += $(BZIP2_ROOT)/lib + macros += USE_BZIP2 + + specific(prop:windows) { + lit_libs += bzip2 + } else { + lit_libs += bz2 + } +} diff --git a/ACE/MPC/config/cppunit.mpb b/ACE/MPC/config/cppunit.mpb new file mode 100644 index 00000000000..71671198f10 --- /dev/null +++ b/ACE/MPC/config/cppunit.mpb @@ -0,0 +1,8 @@ +// -*- MPC -*- +// $Id$ + +project { + includes += $(CPPUNIT_ROOT)/include + libpaths += $(CPPUNIT_ROOT)/lib + lit_libs += cppunit +} diff --git a/ACE/MPC/config/default.rel b/ACE/MPC/config/default.rel new file mode 100644 index 00000000000..3ac8965618d --- /dev/null +++ b/ACE/MPC/config/default.rel @@ -0,0 +1,6 @@ +// This is the default relative definitions. Wildcards are acceptable. +// +// The first column is the name for which we create a relative definition. +// The second (optional) column, which must be comma separated, is the value +// to build up if it isn't defined as an environmenment variable. +*_ROOT diff --git a/ACE/MPC/config/erlang.mpb b/ACE/MPC/config/erlang.mpb new file mode 100644 index 00000000000..af1c5d5c094 --- /dev/null +++ b/ACE/MPC/config/erlang.mpb @@ -0,0 +1,15 @@ +// +// $Id$ +// + +feature(erlang) { + Define_Custom(Erlang) { + automatic_in = 1 + automatic_out = 1 + command = erlc + commandflags = + inputext = .erl, .yrl, .mib, .bin, .rel, .asn1, .idl + generic_outputext = .beam, .jam, .erl, .hrl, .bin, .rel, .boot, .asn1db + keyword erlcflags = commandflags + } +} diff --git a/ACE/MPC/config/erlang_otp.mpb b/ACE/MPC/config/erlang_otp.mpb new file mode 100644 index 00000000000..3e461cdd502 --- /dev/null +++ b/ACE/MPC/config/erlang_otp.mpb @@ -0,0 +1,12 @@ +// +// $Id$ +// + +project : erlang { + erlcflags += -o ebin + + Modify_Custom(Erlang) { + generic_pre_dirname = ebin/ + output_follows_input = 0 + } +} diff --git a/ACE/MPC/config/flex.mpb b/ACE/MPC/config/flex.mpb new file mode 100644 index 00000000000..1158756839f --- /dev/null +++ b/ACE/MPC/config/flex.mpb @@ -0,0 +1,13 @@ +// $Id$ +project { + requires += flex + Define_Custom(FLEX) { + automatic = 1 + command = flex + commandflags = -t + output_option = > + pch_postrule = 1 + inputext = .ll, .l + source_outputext = .c, .cpp, .cxx, .cc, .C + } +} diff --git a/ACE/MPC/config/gacutil.mpb b/ACE/MPC/config/gacutil.mpb new file mode 100644 index 00000000000..660e6b18ad2 --- /dev/null +++ b/ACE/MPC/config/gacutil.mpb @@ -0,0 +1,8 @@ +// $Id$ + +project { + specific(prop:microsoft) { + postbuild += \ + gacutil -nologo -i <%cwd%>\<%dllout%>\<%libname_prefix%><%sharedname%><%if(use_lib_modifier)%><%lib_modifier%><%endif%><%dll_ext%> -f + } +} diff --git a/ACE/MPC/config/global.features b/ACE/MPC/config/global.features new file mode 100644 index 00000000000..2303ee4b518 --- /dev/null +++ b/ACE/MPC/config/global.features @@ -0,0 +1,39 @@ +// The global features file contains the default feature settings. +// By default, if a feature isn't listed here then it is enabled. +// If it is listed, then the value assigned to the feature is interpreted +// as a boolean value. You really shouldn't have to edit this file except +// to change the defaults. If you want to override these values you can do +// one of two things. +// +// 1) Create a default.features in this directory with the features you +// want enabled or disabled. +// 2) Create a feature file anywhere you like with the features you want and +// use the -feature_file option to specify where it is located. +// +// Feature definitions from this file are always overridden by the -features +// option. +// +// By default we disable these. +boost = 0 +bzip2 = 0 +erlang = 0 +java = 0 +mfc = 0 +libpng = 0 +python = 0 +qt = 0 +rpc = 0 +swig_java = 0 +swig_perl = 0 +swig_php = 0 +swig_python = 0 +swig_ruby = 0 +swig_tcl = 0 +uses_wchar = 0 // i.e., unicode +xalanc = 0 +xerces = 0 +xerces2 = 0 +xerces3 = 0 +ziparchive = 0 +zlib = 0 +zzip = 0 diff --git a/ACE/MPC/config/global.mpb b/ACE/MPC/config/global.mpb new file mode 100644 index 00000000000..a4254553288 --- /dev/null +++ b/ACE/MPC/config/global.mpb @@ -0,0 +1,12 @@ +// -*- MPC -*- +// $Id$ + +project { + // By default send all libraries to the same directory as the project + libout = . + + // Automake doesn't need the project directory in the libpaths + specific(!automake) { + libpaths = . + } +} diff --git a/ACE/MPC/config/gsl.mpb b/ACE/MPC/config/gsl.mpb new file mode 100644 index 00000000000..694e2f2b45a --- /dev/null +++ b/ACE/MPC/config/gsl.mpb @@ -0,0 +1,6 @@ +// -*- MPC -*- +// $Id$ + +feature(gsl) { + lit_libs += gsl +} diff --git a/ACE/MPC/config/iiopnet.mpb b/ACE/MPC/config/iiopnet.mpb new file mode 100644 index 00000000000..22fc17a9474 --- /dev/null +++ b/ACE/MPC/config/iiopnet.mpb @@ -0,0 +1,19 @@ +// $Id$ + +project { + custom_only = 1 + + specific { + IIOPNET_BIN = $(IIOPNET_ROOT)/bin/IDLToCLSCompiler + IIOPNET_DEP = $(IIOPNET_ROOT)/bin/IDLToCLSCompiler + } + + Define_Custom (IDL) { + automatic = 0 + command = <%quote%>$(IIOPNET_BIN)<%quote%> + dependent = <%quote%>$(IIOPNET_DEP)<%quote%> + inputext = .idl + generic_outputext = .dll + keyword iiopnetflags = commandflags + } +} diff --git a/ACE/MPC/config/iodbc.mpb b/ACE/MPC/config/iodbc.mpb new file mode 100644 index 00000000000..8558336df69 --- /dev/null +++ b/ACE/MPC/config/iodbc.mpb @@ -0,0 +1,12 @@ +// $Id$ + +project { + // Support for iODBC (http://www.iodbc.org). This is one + // variant of porting ODBC to non-Windows systems. + avoids += unixodbc + + libpaths += $(IODBC_ROOT)/lib + includes += $(IODBC_ROOT)/include + + lit_libs += iodbc iodbcinst +} diff --git a/ACE/MPC/config/ixml.mpb b/ACE/MPC/config/ixml.mpb new file mode 100644 index 00000000000..5261788dd94 --- /dev/null +++ b/ACE/MPC/config/ixml.mpb @@ -0,0 +1,7 @@ +// $Id$ + +project { + includes += $(UPNP_ROOT)/include + libpaths += $(UPNP_ROOT)/lib + lit_libs += ixml +} diff --git a/ACE/MPC/config/lex.mpb b/ACE/MPC/config/lex.mpb new file mode 100644 index 00000000000..c593bcbfd0d --- /dev/null +++ b/ACE/MPC/config/lex.mpb @@ -0,0 +1,13 @@ +// $Id$ +project { + requires += lex + Define_Custom(LEX) { + automatic = 1 + command = lex + commandflags = -t + output_option = > + pch_postrule = 1 + inputext = .ll, .l + source_outputext = .c, .cpp, .cxx, .cc, .C + } +} diff --git a/ACE/MPC/config/libpng.mpb b/ACE/MPC/config/libpng.mpb new file mode 100644 index 00000000000..bb381331e0a --- /dev/null +++ b/ACE/MPC/config/libpng.mpb @@ -0,0 +1,10 @@ +// -*- MPC -*- +// $Id$ + +feature(libpng): zlib { + requires += zlib + includes += "$(PNG_ROOT)/include/libpng" + libpaths += "$(PNG_ROOT)/lib" + lit_libs += png + macros += PNG +} diff --git a/ACE/MPC/config/log4cplus.mpb b/ACE/MPC/config/log4cplus.mpb new file mode 100644 index 00000000000..cb0991b473a --- /dev/null +++ b/ACE/MPC/config/log4cplus.mpb @@ -0,0 +1,8 @@ +// -*- MPC -*- +// $Id$ + +project { + includes += $(LOG4CPLUS_ROOT)/include + libpaths += $(LOG4CPLUS_ROOT)/lib + libs += log4cplus +} diff --git a/ACE/MPC/config/loki.mpb b/ACE/MPC/config/loki.mpb new file mode 100644 index 00000000000..7b54d09da37 --- /dev/null +++ b/ACE/MPC/config/loki.mpb @@ -0,0 +1,8 @@ +// -*- MPC -*- +// $Id$ + +project { + includes += $(LOKI_ROOT)/include + libpaths += $(LOKI_ROOT)/lib + lit_libs += loki +} diff --git a/ACE/MPC/config/lzo1.mpb b/ACE/MPC/config/lzo1.mpb new file mode 100644 index 00000000000..dd145771044 --- /dev/null +++ b/ACE/MPC/config/lzo1.mpb @@ -0,0 +1,12 @@ +// -*- MPC -*- +// $Id$ + +feature(lzo1) { + includes += $(LZO1_ROOT)/include + libpaths += $(LZO1_ROOT)/lib + specific (prop:microsoft) { + lit_libs += liblzo + } else { + lit_libs += lzo + } +} diff --git a/ACE/MPC/config/lzo2.mpb b/ACE/MPC/config/lzo2.mpb new file mode 100644 index 00000000000..1e674b8d065 --- /dev/null +++ b/ACE/MPC/config/lzo2.mpb @@ -0,0 +1,8 @@ +// -*- MPC -*- +// $Id$ + +feature(lzo2) { + includes += $(LZO2_ROOT)/include + libpaths += $(LZO2_ROOT)/lib + lit_libs += lzo2 +} diff --git a/ACE/MPC/config/mfc.mpb b/ACE/MPC/config/mfc.mpb new file mode 100644 index 00000000000..7f8a8f2edce --- /dev/null +++ b/ACE/MPC/config/mfc.mpb @@ -0,0 +1,16 @@ +// -*- MPC -*- +// $Id$ + +project { + requires += mfc + macros += _AFXDLL + specific(em3, nmake, vc6) { + subsystem = windows + } else { + subsystem = 2 + } + specific { + use_mfc = 2 + unicode_mfc_entry = wWinMainCRTStartup + } +} diff --git a/ACE/MPC/config/mpb.mpb b/ACE/MPC/config/mpb.mpb new file mode 100644 index 00000000000..7ec891e1dd2 --- /dev/null +++ b/ACE/MPC/config/mpb.mpb @@ -0,0 +1,12 @@ +// -*- MPC -*- +// $Id$ + +project { + // Allow users to specify .mpb files in their project. This gives the + // opportunity to see them in IDE's and to install them using + // prj_install.pl. + Define_Custom(MPB) { + automatic = 0 + inputext = .mpb + } +} diff --git a/ACE/MPC/config/mpich.mpb b/ACE/MPC/config/mpich.mpb new file mode 100644 index 00000000000..c6f3e8216bc --- /dev/null +++ b/ACE/MPC/config/mpich.mpb @@ -0,0 +1,13 @@ +// $Id$ + +project { + includes += $(MPI_ROOT)/include $(MPI_ROOT)/include/mpi + libpaths += $(MPI_ROOT)/lib + requires += mpi + + specific(prop:windows) { + lit_libs += mpi + } else { + lit_libs += mpich + } +} diff --git a/ACE/MPC/config/msgfmt.mpb b/ACE/MPC/config/msgfmt.mpb new file mode 100644 index 00000000000..2c885fec4cb --- /dev/null +++ b/ACE/MPC/config/msgfmt.mpb @@ -0,0 +1,11 @@ +// $Id$ + +project { + Define_Custom(PO) { + command = msgfmt + commandflags = -c + output_option = -o + inputext = .po + generic_outputext = .mo + } +} diff --git a/ACE/MPC/config/mysql.mpb b/ACE/MPC/config/mysql.mpb new file mode 100644 index 00000000000..0c02083a1c4 --- /dev/null +++ b/ACE/MPC/config/mysql.mpb @@ -0,0 +1,8 @@ +// -*- MPC -*- +// $Id$ + +project { + includes += $(MYSQL_ROOT)/include/mysql + libpaths += $(MYSQL_ROOT)/lib/mysql + lit_libs += mysqlclient +} diff --git a/ACE/MPC/config/mysqlpp.mpb b/ACE/MPC/config/mysqlpp.mpb new file mode 100644 index 00000000000..c6d3513b191 --- /dev/null +++ b/ACE/MPC/config/mysqlpp.mpb @@ -0,0 +1,8 @@ +// -*- MPC -*- +// $Id$ + +project: mysql { + includes += $(MYSQLPLUS_ROOT)/include/mysql++ + libpaths += $(MYSQLPLUS_ROOT)/lib + lit_libs += mysqlpp +} diff --git a/ACE/MPC/config/ndds_ts_defaults.mpb b/ACE/MPC/config/ndds_ts_defaults.mpb new file mode 100644 index 00000000000..da6b9ae35fd --- /dev/null +++ b/ACE/MPC/config/ndds_ts_defaults.mpb @@ -0,0 +1,24 @@ +// -*- MPC -*- +// $Id$ + +project { + Define_Custom(NDDSTypeSupport) { + automatic = 1 + command = <%quote%>$(NDDSHOME)/scripts/rtiddsgen<%quote%> + commandflags = -language C++ -replace -namespace -corba <%input_noext%>C.h -orb ACE_TAO1.7 -I$(TAO_ROOT) -I$(TAO_ROOT)/tao + + dependent = <%quote%>$(NDDSHOME)/scripts/rtiddsgen<%bat%><%quote%> + + source_pre_extension = , Support, Plugin + source_outputext = .cxx + header_pre_extension = , Support, Plugin + header_outputext = .h + keyword ndds_ts_flags = commandflags + } + + requires += ndds + + verbatim(gnuace, macros) { + override no_hidden_visibility = 1 + } +} diff --git a/ACE/MPC/config/nddsexe.mpb b/ACE/MPC/config/nddsexe.mpb new file mode 100644 index 00000000000..af928ff2f53 --- /dev/null +++ b/ACE/MPC/config/nddsexe.mpb @@ -0,0 +1,5 @@ +// -*- MPC -*- +// $Id$ + +project : nddslib { +} diff --git a/ACE/MPC/config/nddsexe_with_idl.mpb b/ACE/MPC/config/nddsexe_with_idl.mpb new file mode 100644 index 00000000000..744651307b2 --- /dev/null +++ b/ACE/MPC/config/nddsexe_with_idl.mpb @@ -0,0 +1,5 @@ +// -*- MPC -*- +// $Id$ + +project : nddsexe, ndds_ts_defaults { +} diff --git a/ACE/MPC/config/nddslib.mpb b/ACE/MPC/config/nddslib.mpb new file mode 100644 index 00000000000..01d0640a07b --- /dev/null +++ b/ACE/MPC/config/nddslib.mpb @@ -0,0 +1,15 @@ +// -*- MPC -*- +// $Id$ + +project { + requires += ndds + libs += nddscpp nddsc nddscore + libpaths += $(NDDSHOME)/lib/$(NDDSARCHITECTURE) + includes += $(NDDSHOME)/include $(NDDSHOME)/include/ndds + + specific(prop:windows) { + macros += RTI_WIN32 NDDS_DLL_VARIABLE + } else { + macros += RTI_UNIX + } +} diff --git a/ACE/MPC/config/nddslib_with_idl.mpb b/ACE/MPC/config/nddslib_with_idl.mpb new file mode 100644 index 00000000000..73f96ba2d86 --- /dev/null +++ b/ACE/MPC/config/nddslib_with_idl.mpb @@ -0,0 +1,5 @@ +// -*- MPC -*- +// $Id$ + +project : nddslib, ndds_ts_defaults { +} diff --git a/ACE/MPC/config/odbc.mpb b/ACE/MPC/config/odbc.mpb new file mode 100644 index 00000000000..d069d675485 --- /dev/null +++ b/ACE/MPC/config/odbc.mpb @@ -0,0 +1,23 @@ +// $Id$ + +project { + specific(prop:windows) { + // Out of the box, Windows supports ODBC since ODBC originated + // on Windows. We, however, need to ensure that UnixODBC and + // iODBC are not enabled. We may be able to drop the 'avoids' + // statement. + avoids += unixodbc iodbc + lit_libs += odbc32 odbcbcp odbcCP32 + } +} + +//============================================================================= +// Non-Windows support + +feature(unixodbc) : unixodbc { + avoids += iodbc +} + +feature(iodbc) : iodbc { + avoids += unixodbc +} diff --git a/ACE/MPC/config/openmpi.mpb b/ACE/MPC/config/openmpi.mpb new file mode 100644 index 00000000000..291a6c1350c --- /dev/null +++ b/ACE/MPC/config/openmpi.mpb @@ -0,0 +1,9 @@ +// -*- MPC -*- +// $Id$ + +project { + includes += $(MPI_ROOT)/include + libpaths += $(MPI_ROOT)/lib + lit_libs += mpi + requires += mpi +} diff --git a/ACE/MPC/config/openssl.mpb b/ACE/MPC/config/openssl.mpb new file mode 100644 index 00000000000..88a6d9e4297 --- /dev/null +++ b/ACE/MPC/config/openssl.mpb @@ -0,0 +1,32 @@ +// -*- MPC -*- +// $Id$ + +// openssl is a completely different feature than ssl. +// Currently ssl uses openssl, and openssl is enabled by +// default. If we ever add a new ssl library, then you +// would likely enable only one ssl library feature. +feature(openssl) { + includes += $(SSL_ROOT)/include + libpaths += $(SSL_ROOT)/lib + + specific(prop:windows) { + lit_libs += libeay32 ssleay32 + includes += $(SSL_ROOT)/inc32 + libpaths += $(SSL_ROOT)/out32dll $(SSL_ROOT)/out32 + } else { + lit_libs += ssl crypto + + // Some Linux OpenSSL installations compile in Kerberos support. Add + // the Kerberos include path to preprocessor include path. + includes += /usr/kerberos/include + } + + // Some prepackaged installations of OpenSSL have libraries in different + // locations. + specific(prop:borland) { + libpaths += $(SSL_ROOT)/lib/Builder5 + } + specific(prop:microsoft) { + libpaths += $(SSL_ROOT)/lib/VC + } +} diff --git a/ACE/MPC/config/pcre.mpb b/ACE/MPC/config/pcre.mpb new file mode 100644 index 00000000000..665b8b22b52 --- /dev/null +++ b/ACE/MPC/config/pcre.mpb @@ -0,0 +1,17 @@ +// $Id$ + +project { + requires += pcre + includes += $(PCRE_ROOT)/include + libpaths += $(PCRE_ROOT)/lib + + // At this point in time (9/17/2009) the windows version of pcre does not + // have a version number. And since Visual Studio complains about empty + // environment variables, we're not adding the version variable to the + // library. This may have to change in the future. + specific(prop:microsoft) { + lit_libs += pcre + } else { + lit_libs += pcre$(PCRE_VERSION) + } +} diff --git a/ACE/MPC/config/pcreposix.mpb b/ACE/MPC/config/pcreposix.mpb new file mode 100644 index 00000000000..06c75971d7f --- /dev/null +++ b/ACE/MPC/config/pcreposix.mpb @@ -0,0 +1,5 @@ +// $Id$ + +project: pcre { + lit_libs += pcreposix$(PCRE_VERSION) +} diff --git a/ACE/MPC/config/python.mpb b/ACE/MPC/config/python.mpb new file mode 100644 index 00000000000..cb69f3960ff --- /dev/null +++ b/ACE/MPC/config/python.mpb @@ -0,0 +1,8 @@ +// -*- MPC -*- +// $Id$ + +project { + requires += python + includes += $(PYTHON_INCLUDE)/. + libpaths += $(PYTHON_LIBDIR)/. +} diff --git a/ACE/MPC/config/qt.mpb b/ACE/MPC/config/qt.mpb new file mode 100644 index 00000000000..d0dca9f7e1c --- /dev/null +++ b/ACE/MPC/config/qt.mpb @@ -0,0 +1,55 @@ +// -*- MPC -*- +// $Id$ + +project { + requires += qt + includes += $(QTDIR)/include + libpaths += $(QTDIR)/lib $(QTDIR)/lib64 + macros += QT_THREAD_SUPPORT + lit_libs += qt-mt$(QT_VERSION) + + // Some Linux installations have the includes here. + specific(!prop:windows) { + includes += /usr/include/qt3 + } + + Define_Custom(UIC) { + automatic = 1 + command = $(QTDIR)/bin/uic + output_option = -o + inputext = .ui + header_outputext = .h + } + + Define_Custom(UIC_Impl) { + automatic = 1 + command = $(QTDIR)/bin/uic + commandflags = -impl <%quote%><%output_noext%>.h<%quote%> + dependent = <%output_noext%>.h + output_option = -o + pch_postrule = 1 + inputext = .ui + source_outputext = .cpp + } + + Define_Custom(MOC) { + automatic = 0 + command = $(QTDIR)/bin/moc + output_option = -o + pch_postrule = 1 + inputext = .h + pre_extension = _moc + source_outputext = .cpp + } + + Define_Custom(QRC) { + automatic = 1 + command = $(QTDIR)/bin/rcc + output_option = -o + commandflags = -name <%input_noext%> + pch_postrule = 1 + inputext = .qrc + pre_extension = _qrc + source_outputext = .cpp + } +} diff --git a/ACE/MPC/config/qt3.mpb b/ACE/MPC/config/qt3.mpb new file mode 100644 index 00000000000..2e0ecd5f1e9 --- /dev/null +++ b/ACE/MPC/config/qt3.mpb @@ -0,0 +1,5 @@ +// -*- MPC -*- +// $Id$ + +project: qt { +} diff --git a/ACE/MPC/config/qt4_core.mpb b/ACE/MPC/config/qt4_core.mpb new file mode 100644 index 00000000000..ae68a4f7f3a --- /dev/null +++ b/ACE/MPC/config/qt4_core.mpb @@ -0,0 +1,16 @@ +// -*- MPC -*- +// $Id$ + +project { + // If the include files for QT are not relative to the root (for + // example, /usr/include/qt4), set the QT4_INCDIR environment variable. + expand(QT4_INCDIR) { + $QT4_INCDIR + $(QTDIR)/include + } + + requires += qt4 + includes += $(QT4_INCDIR) + libpaths += $(QTDIR)/lib + lit_libs += QtCore$(QT_CFG) +} diff --git a/ACE/MPC/config/qt4_designer.mpb b/ACE/MPC/config/qt4_designer.mpb new file mode 100644 index 00000000000..9367fb3a3cb --- /dev/null +++ b/ACE/MPC/config/qt4_designer.mpb @@ -0,0 +1,6 @@ +// -*- MPC -*- +// $Id$ + +project: qt4_xml { + lit_libs += QtDesigner$(QT_CFG) +} diff --git a/ACE/MPC/config/qt4_designercomponents.mpb b/ACE/MPC/config/qt4_designercomponents.mpb new file mode 100644 index 00000000000..f7fe183cd22 --- /dev/null +++ b/ACE/MPC/config/qt4_designercomponents.mpb @@ -0,0 +1,6 @@ +// -*- MPC -*- +// $Id$ + +project: qt4_designer { + lit_libs += QtDesignerComponents$(QT_CFG) +} diff --git a/ACE/MPC/config/qt4_gui.mpb b/ACE/MPC/config/qt4_gui.mpb new file mode 100644 index 00000000000..8f0c8b22f30 --- /dev/null +++ b/ACE/MPC/config/qt4_gui.mpb @@ -0,0 +1,36 @@ +// -*- MPC -*- +// $Id$ + +project: qt4_core { + lit_libs += QtGui$(QT_CFG) + + Define_Custom(UIC) { + automatic = 1 + command = $(QTDIR)/bin/uic + output_option = -o + inputext = .ui + pre_filename = ui_ + header_outputext = .h + } + + Define_Custom(MOC) { + automatic = 0 + command = $(QTDIR)/bin/moc + output_option = -o + pch_postrule = 1 + inputext = .h + pre_extension = _moc + source_outputext = .cpp + } + + Define_Custom(QRC) { + automatic = 1 + command = $(QTDIR)/bin/rcc + output_option = -o + commandflags = -name <%input_noext%> + pch_postrule = 1 + inputext = .qrc + pre_extension = _qrc + source_outputext = .cpp + } +} diff --git a/ACE/MPC/config/qt4_network.mpb b/ACE/MPC/config/qt4_network.mpb new file mode 100644 index 00000000000..c0b4eec557d --- /dev/null +++ b/ACE/MPC/config/qt4_network.mpb @@ -0,0 +1,6 @@ +// -*- MPC -*- +// $Id$ + +project: qt4_core { + lit_libs += QtNetwork$(QT_CFG) +} diff --git a/ACE/MPC/config/qt4_opengl.mpb b/ACE/MPC/config/qt4_opengl.mpb new file mode 100644 index 00000000000..20d656227e1 --- /dev/null +++ b/ACE/MPC/config/qt4_opengl.mpb @@ -0,0 +1,6 @@ +// -*- MPC -*- +// $Id$ + +project: qt4_gui { + lit_libs += QtOpenGL$(QT_CFG) +} diff --git a/ACE/MPC/config/qt4_qt3support.mpb b/ACE/MPC/config/qt4_qt3support.mpb new file mode 100644 index 00000000000..f0688523e24 --- /dev/null +++ b/ACE/MPC/config/qt4_qt3support.mpb @@ -0,0 +1,7 @@ +// -*- MPC -*- +// $Id$ + +project: qt4_gui { + lit_libs += Qt3Support$(QT_CFG) + macros += QT3_SUPPORT +} diff --git a/ACE/MPC/config/qt4_sql.mpb b/ACE/MPC/config/qt4_sql.mpb new file mode 100644 index 00000000000..4744baaf954 --- /dev/null +++ b/ACE/MPC/config/qt4_sql.mpb @@ -0,0 +1,6 @@ +// -*- MPC -*- +// $Id$ + +project: qt4_core { + lit_libs += QtSql$(QT_CFG) +} diff --git a/ACE/MPC/config/qt4_svg.mpb b/ACE/MPC/config/qt4_svg.mpb new file mode 100644 index 00000000000..7088f8185a9 --- /dev/null +++ b/ACE/MPC/config/qt4_svg.mpb @@ -0,0 +1,6 @@ +// -*- MPC -*- +// $Id$ + +project: qt4_xml { + lit_libs += QtSvg$(QT_CFG) +} diff --git a/ACE/MPC/config/qt4_test.mpb b/ACE/MPC/config/qt4_test.mpb new file mode 100644 index 00000000000..82aa2ad7dd6 --- /dev/null +++ b/ACE/MPC/config/qt4_test.mpb @@ -0,0 +1,6 @@ +// -*- MPC -*- +// $Id$ + +project: qt4_core { + lit_libs += QtTest$(QT_CFG) +} diff --git a/ACE/MPC/config/qt4_xml.mpb b/ACE/MPC/config/qt4_xml.mpb new file mode 100644 index 00000000000..12de7668d6a --- /dev/null +++ b/ACE/MPC/config/qt4_xml.mpb @@ -0,0 +1,6 @@ +// -*- MPC -*- +// $Id$ + +project: qt4_core { + lit_libs += QtXml$(QT_CFG) +} diff --git a/ACE/MPC/config/qwt.mpb b/ACE/MPC/config/qwt.mpb new file mode 100644 index 00000000000..7a616e78926 --- /dev/null +++ b/ACE/MPC/config/qwt.mpb @@ -0,0 +1,11 @@ +// -*- MPC -*- +// $Id$ + +// This project also requires Qt, however it will work with both +// Qt 3.3.x and Qt 4.x so we will leave it up to the user to pull +// in the right Qt base projects. +project { + includes += $(QWT_ROOT)/include + libpaths += $(QWT_ROOT)/lib + lit_libs += qwt +} diff --git a/ACE/MPC/config/rpc.mpb b/ACE/MPC/config/rpc.mpb new file mode 100644 index 00000000000..722389edeac --- /dev/null +++ b/ACE/MPC/config/rpc.mpb @@ -0,0 +1,15 @@ +// -*- MPC -*- +// $Id$ + +project { + requires += rpc + Define_Custom(rpcgen) { + command = rpcgen + commandflags = -C + pch_postrule = 1 + inputext = .x + source_pre_extension = _svc, _clnt + source_outputext = .c + header_outputext = .h + } +} diff --git a/ACE/MPC/config/ruby.mpb b/ACE/MPC/config/ruby.mpb new file mode 100644 index 00000000000..314fb5d160a --- /dev/null +++ b/ACE/MPC/config/ruby.mpb @@ -0,0 +1,6 @@ +// -*- MPC -*- +// $Id$ + +feature(ruby) { + lit_libs += ruby +} diff --git a/ACE/MPC/config/splice_ts_defaults.mpb b/ACE/MPC/config/splice_ts_defaults.mpb new file mode 100644 index 00000000000..df56862e3fc --- /dev/null +++ b/ACE/MPC/config/splice_ts_defaults.mpb @@ -0,0 +1,24 @@ +// -*- MPC -*- +// $Id$ + +project : taoidldefaults { + Define_Custom(SpliceTypeSupport) { + automatic = 1 + command = <%quote%>$(OSPL_HOME)/bin/idlpp<%quote%> + dependent = <%quote%>$(OSPL_HOME)/bin/idlpp<%quote%> + source_pre_extension = SplDcps, Dcps_impl + source_outputext = .cpp + header_pre_extension = , SplDcps, Dcps_impl + header_pre_filename = ccpp_ + header_outputext = .h + generic_pre_extension = Dcps + generic_outputext = .idl + keyword splice_ts_flags = commandflags + } + + splice_ts_flags += \ + -I <%quote%>$(OSPL_HOME)/include/dcps/C++/CCPP/$(SPLICE_ORB)<%quote%> \ + -C -l cpp -b CCPP/$(SPLICE_ORB) + + idlflags += -I <%quote%>$(OSPL_HOME)/custom_lib/ccpp<%quote%> +} diff --git a/ACE/MPC/config/spliceexe.mpb b/ACE/MPC/config/spliceexe.mpb new file mode 100644 index 00000000000..fce0c8d8a96 --- /dev/null +++ b/ACE/MPC/config/spliceexe.mpb @@ -0,0 +1,5 @@ +// -*- MPC -*- +// $Id$ + +project : splicelib { +} diff --git a/ACE/MPC/config/spliceexe_with_idl.mpb b/ACE/MPC/config/spliceexe_with_idl.mpb new file mode 100644 index 00000000000..c0032eeafa6 --- /dev/null +++ b/ACE/MPC/config/spliceexe_with_idl.mpb @@ -0,0 +1,5 @@ +// -*- MPC -*- +// $Id$ + +project : spliceexe, splice_ts_defaults { +} diff --git a/ACE/MPC/config/splicelib.mpb b/ACE/MPC/config/splicelib.mpb new file mode 100644 index 00000000000..62d1f22f7d9 --- /dev/null +++ b/ACE/MPC/config/splicelib.mpb @@ -0,0 +1,21 @@ +// -*- MPC -*- +// $Id$ + +project { + libs += dcpsccpp + lit_libs += dcpsgapi ddsdatabase ddsos + libpaths += $(OSPL_HOME)/lib + includes += $(OSPL_HOME)/include \ + $(OSPL_HOME)/include/sys \ + $(OSPL_HOME)/include/dcps/C++/CCPP \ + $(OSPL_HOME)/include/dcps/C++/CCPP/$(SPLICE_ORB) \ + $(OSPL_HOME)/custom_lib/ccpp + + specific(prop:microsoft) { + DisableSpecificWarnings += 4101 + } + + verbatim(gnuace, macros) { + override no_hidden_visibility = 1 + } +} diff --git a/ACE/MPC/config/splicelib_with_idl.mpb b/ACE/MPC/config/splicelib_with_idl.mpb new file mode 100644 index 00000000000..e64d71130bc --- /dev/null +++ b/ACE/MPC/config/splicelib_with_idl.mpb @@ -0,0 +1,5 @@ +// -*- MPC -*- +// $Id$ + +project : splicelib, splice_ts_defaults { +} diff --git a/ACE/MPC/config/sqlite3.mpb b/ACE/MPC/config/sqlite3.mpb new file mode 100644 index 00000000000..aeee567e1e9 --- /dev/null +++ b/ACE/MPC/config/sqlite3.mpb @@ -0,0 +1,8 @@ +// $Id$ + +project { + requires += sqlite3 + includes += $(SQLITE_ROOT)/include + libpaths += $(SQLITE_ROOT)/lib + lit_libs += sqlite3 +} diff --git a/ACE/MPC/config/swig_java.mpb b/ACE/MPC/config/swig_java.mpb new file mode 100644 index 00000000000..6573d7c44a1 --- /dev/null +++ b/ACE/MPC/config/swig_java.mpb @@ -0,0 +1,16 @@ +// -*- MPC -*- +// $Id$ + +project { + Define_Custom(SWIG) { + automatic = 1 + command = swig + commandflags = -java -c++ + inputext = .swg, .swig, .i + source_outputext = _wrap.cxx + generic_pre_extension = , JNI + generic_outputext = .java + } + requires += swig_java + includes += $(JAVA_ROOT)/include $(JAVA_ROOT)/include/$(JAVA_PLATFORM) +} diff --git a/ACE/MPC/config/swig_perl.mpb b/ACE/MPC/config/swig_perl.mpb new file mode 100644 index 00000000000..e3d655b6bd2 --- /dev/null +++ b/ACE/MPC/config/swig_perl.mpb @@ -0,0 +1,19 @@ +// -*- MPC -*- +// $Id$ + +project { + Define_Custom(SWIG) { + automatic = 1 + command = swig + commandflags = -perl -c++ + inputext = .swg, .swig, .i + source_outputext = _wrap.cxx + generic_outputext = .pm + } + requires += swig_perl + includes += $(PERL5_INCLUDE)/. + libpaths += $(PERL5_INCLUDE)/. + specific(prop:windows) { + lit_libs += $(PERL5_LIB) + } +} diff --git a/ACE/MPC/config/swig_php.mpb b/ACE/MPC/config/swig_php.mpb new file mode 100644 index 00000000000..f97e700dbdd --- /dev/null +++ b/ACE/MPC/config/swig_php.mpb @@ -0,0 +1,19 @@ +// -*- MPC -*- +// $Id$ + +project { + Define_Custom(SWIG) { + automatic = 1 + command = swig + commandflags = -php -c++ + inputext = .swg, .swig, .i + source_outputext = _wrap.cpp + header_pre_filename = php_ + header_outputext = .h + generic_outputext = .php + } + requires += swig_php + includes += $(PHP_INCLUDE)/. $(PHP_INCLUDE)/main $(PHP_INCLUDE)/Zend \ + $(PHP_INCLUDE)/TSRM + libpaths += $(PHP_LIBPATH)/. +} diff --git a/ACE/MPC/config/swig_python.mpb b/ACE/MPC/config/swig_python.mpb new file mode 100644 index 00000000000..3b7b24933de --- /dev/null +++ b/ACE/MPC/config/swig_python.mpb @@ -0,0 +1,20 @@ +// -*- MPC -*- +// $Id$ + +project { + Define_Custom(SWIG) { + automatic = 1 + command = swig + commandflags = -python -c++ + inputext = .swg, .swig, .i + source_outputext = _wrap.cxx + generic_outputext = .py + } + requires += swig_python + includes += $(PYTHON_INCLUDE)/. + libpaths += $(PYTHON_LIBPATH)/. + + specific { + lib_prefix = + } +} diff --git a/ACE/MPC/config/swig_ruby.mpb b/ACE/MPC/config/swig_ruby.mpb new file mode 100644 index 00000000000..868eeac2c40 --- /dev/null +++ b/ACE/MPC/config/swig_ruby.mpb @@ -0,0 +1,19 @@ +// -*- MPC -*- +// $Id$ + +project { + Define_Custom(SWIG) { + automatic = 1 + command = swig + commandflags = -ruby -c++ + inputext = .swg, .swig, .i + source_outputext = _wrap.cxx + } + requires += swig_ruby + includes += $(RUBY_INCLUDE)/. + libpaths += $(RUBY_LIBPATH)/. + + specific { + lib_prefix = + } +} diff --git a/ACE/MPC/config/swig_tcl.mpb b/ACE/MPC/config/swig_tcl.mpb new file mode 100644 index 00000000000..020564e5add --- /dev/null +++ b/ACE/MPC/config/swig_tcl.mpb @@ -0,0 +1,15 @@ +// -*- MPC -*- +// $Id$ + +project { + Define_Custom(SWIG) { + automatic = 1 + command = swig + commandflags = -tcl -c++ + inputext = .swg, .swig, .i + source_outputext = _wrap.cxx + } + requires += swig_tcl + includes += $(TCL_INCLUDE)/. + libpaths += $(TCL_LIBPATH)/. +} diff --git a/ACE/MPC/config/udm.mpb b/ACE/MPC/config/udm.mpb new file mode 100644 index 00000000000..9e6d8364aa4 --- /dev/null +++ b/ACE/MPC/config/udm.mpb @@ -0,0 +1,29 @@ +// -*- MPC -*- +// $Id$ + +project : xerces { + libs += UdmDll zlib + includes += $(GME_ROOT)/SDK/BON/Common $(GME_ROOT)/SDK/BON $(UDM_PATH)/include . + libpaths += $(UDM_PATH)/lib $(UDM_3RDPARTY_PATH)/zlib + + specific { + midl_flags += /server none /client none + midl_includes += $(GME_ROOT) $(GME_ROOT)/Interfaces . + } + + specific(prop:microsoft) { + DisableSpecificWarnings += 4251 + } + + Define_Custom(UDM) { + automatic = 1 + dependent = $(UDM_PATH)/bin/Udm + command = <%quote%>$(UDM_PATH)<%quote%>/bin/Udm + inputext = .xml + header_outputext = .h + source_outputext = .cpp + generic_outputext = .xsd + + keyword udmflags = commandflags + } +} diff --git a/ACE/MPC/config/unicode.mpb b/ACE/MPC/config/unicode.mpb new file mode 100644 index 00000000000..7745b1f8ee5 --- /dev/null +++ b/ACE/MPC/config/unicode.mpb @@ -0,0 +1,8 @@ +// -*- MPC -*- +// $Id$ + +feature (uses_wchar) { + specific { + unicode = 1 + } +} diff --git a/ACE/MPC/config/unixodbc.mpb b/ACE/MPC/config/unixodbc.mpb new file mode 100644 index 00000000000..14cf47d35fd --- /dev/null +++ b/ACE/MPC/config/unixodbc.mpb @@ -0,0 +1,10 @@ +// $Id$ + +project { + // Support for UnixODBC (http://www.unixodbc.org). This is one + // variant of porting ODBC to non-Windows systems. + libpaths += $(UNIXODBC_ROOT)/lib + includes += $(UNIXODBC_ROOT)/include + + lit_libs += odbc odbcinst +} diff --git a/ACE/MPC/config/upnp.mpb b/ACE/MPC/config/upnp.mpb new file mode 100644 index 00000000000..df166fe9ca5 --- /dev/null +++ b/ACE/MPC/config/upnp.mpb @@ -0,0 +1,5 @@ +// $Id$ + +project: ixml { + lit_libs += threadutil upnp +} diff --git a/ACE/MPC/config/wix.mpb b/ACE/MPC/config/wix.mpb new file mode 100644 index 00000000000..fb6b1c250e2 --- /dev/null +++ b/ACE/MPC/config/wix.mpb @@ -0,0 +1,29 @@ +// $Id$ + +project { + custom_only = 1 + + Define_Custom (WXS) { + automatic = 1 + command = <%quote%>$(WIX_ROOT)/bin/candle.exe<%quote%> + + inputext = .wxs + output_option = -out + commandflags = -nologo + generic_outputext = .wixobj + keyword wix_flags = commandflags + } + + Define_Custom (WXI) { + automatic = 1 + inputext = .wxi + } + + postbuild = \ + <%quote%>$(WIX_ROOT)/bin/light.exe<%quote%> -out <%project_name%>.msi \ + <%light_flags%> <%foreach(wxs_files)%><%noextension(wxs_file)%>.wixobj <%endfor%> + + specific(vc7, vc71, vc8, vc9, vc10) { + wix_flags += -dtype=<%prj_type%> + } +} diff --git a/ACE/MPC/config/wix_ui.mpb b/ACE/MPC/config/wix_ui.mpb new file mode 100644 index 00000000000..d48bc40045a --- /dev/null +++ b/ACE/MPC/config/wix_ui.mpb @@ -0,0 +1,8 @@ +// $Id$ + +project : wix { + specific { + wix_flags += -ext WixUIExtension + light_flags += '-ext WixUIExtension' + } +} diff --git a/ACE/MPC/config/wix_xml.mpb b/ACE/MPC/config/wix_xml.mpb new file mode 100644 index 00000000000..487995795f2 --- /dev/null +++ b/ACE/MPC/config/wix_xml.mpb @@ -0,0 +1,8 @@ +// $Id$ + +project : wix { + specific { + wix_flags += -ext WixUtilExtension + light_flags += '-ext WixUtilExtension' + } +} diff --git a/ACE/MPC/config/xalanc.mpb b/ACE/MPC/config/xalanc.mpb new file mode 100644 index 00000000000..f07fa201675 --- /dev/null +++ b/ACE/MPC/config/xalanc.mpb @@ -0,0 +1,9 @@ +// -*- MPC -*- +// $Id$ + +project: xerces { + requires += xalanc + includes += $(XALANCROOT)/include + libpaths += $(XALANCROOT)/lib + lit_libs += xalan-c xalanMsg +} diff --git a/ACE/MPC/config/xerces.mpb b/ACE/MPC/config/xerces.mpb new file mode 100644 index 00000000000..338bdb541c2 --- /dev/null +++ b/ACE/MPC/config/xerces.mpb @@ -0,0 +1,57 @@ +// -*- MPC -*- +// $Id$ +feature(!xerces2, !xerces3) { + requires += xerces +} + +feature(xerces2) { + includes += $(XERCESCROOT)/include + libpaths += $(XERCESCROOT)/lib + + specific(prop:microsoft) { + xerceslib = xerces-c_2 + + // Linking the optimized version of xerces-c_2 into a debug application + // has been known to cause run-time issues (as of 4/25/2005), so we + // will link in the debug version for the "Debug" configuration. + Debug::xerceslib = xerces-c_2D + } + specific(prop:borland) { + xerceslib = XercesLib + } + specific(!prop:windows) { + macros += XML_USE_PTHREADS + xerceslib = xerces-c + } + + // We have to use lit_libs here as the library decorator + // does not necessarily match what MPC uses (particularly for + // static builds). + lit_libs += $(XERCESLIB) +} +feature(xerces3) { + includes += $(XERCESCROOT)/include + libpaths += $(XERCESCROOT)/lib + + specific(prop:microsoft) { + xerceslib = xerces-c_3 + + // Linking the optimized version of xerces-c_2 into a debug application + // has been known to cause run-time issues (as of 4/25/2005), so we + // will link in the debug version for the "Debug" configuration. + Debug::xerceslib = xerces-c_3D + } + specific(prop:borland) { + xerceslib = XercesLib + } + specific(!prop:windows) { + macros += XML_USE_PTHREADS + xerceslib = xerces-c + } + + // We have to use lit_libs here as the library decorator + // does not necessarily match what MPC uses (particularly for + // static builds). + lit_libs += $(XERCESLIB) +} + diff --git a/ACE/MPC/config/yacc.mpb b/ACE/MPC/config/yacc.mpb new file mode 100644 index 00000000000..3f96b213383 --- /dev/null +++ b/ACE/MPC/config/yacc.mpb @@ -0,0 +1,15 @@ +// $Id$ +project { + requires += yacc + Define_Custom(YACC) { + automatic = 1 + command = yacc + commandflags = -d + postcommand = <%mv%> y.tab.c <%source_file%> <%and%> <%mv%> y.tab.h <%header_file%> + pch_postrule = 1 + inputext = .yy, .y + pre_extension = .tab + source_outputext = .c, .cpp, .cxx, .cc, .C + header_outputext = .h, .hpp, .hxx, .hh + } +} diff --git a/ACE/MPC/config/ziparchive.mpb b/ACE/MPC/config/ziparchive.mpb new file mode 100644 index 00000000000..6e80d7d3ea7 --- /dev/null +++ b/ACE/MPC/config/ziparchive.mpb @@ -0,0 +1,8 @@ +// -*- MPC -*- +// $Id$ + +feature(ziparchive) { + includes += $(ZIPARCHIVEROOT)/. + libpaths += $(ZIPARCHIVEROOT)/lib + lit_libs += ziparch +}
\ No newline at end of file diff --git a/ACE/MPC/config/zlib.mpb b/ACE/MPC/config/zlib.mpb new file mode 100644 index 00000000000..0f24c99358e --- /dev/null +++ b/ACE/MPC/config/zlib.mpb @@ -0,0 +1,17 @@ +// -*- MPC -*- +// $Id$ + +feature(zlib) { + includes += "$(ZLIB_ROOT)/include" + libpaths += "$(ZLIB_ROOT)/lib" + macros += ZLIB + + // @@ Notice: If you are building with Cygwin, you may need to manually + // change the following library to zlib. + specific(prop:windows) { + zlibname = zlib + lit_libs += $(ZLIBNAME) + } else { + lit_libs += z + } +} diff --git a/ACE/MPC/config/zzip.mpb b/ACE/MPC/config/zzip.mpb new file mode 100644 index 00000000000..39125e503a9 --- /dev/null +++ b/ACE/MPC/config/zzip.mpb @@ -0,0 +1,17 @@ +// -*- MPC -*- +// $Id$ + +feature(zzip): zlib { + requires += zlib + includes += $(ZZIP_ROOT)/include + macros += USE_ZZIP + libpaths += $(ZZIP_ROOT)/lib + + // @@ Notice: If you are building with Cygwin, you may need to manually + // change the following library to zziplib. + specific(prop:windows) { + libs += zziplib + } else { + lit_libs += zzip + } +} |