summaryrefslogtreecommitdiff
path: root/ACE/MPC/config/xerces.mpb
diff options
context:
space:
mode:
authorAbdullah Sowayan <sowayan@users.noreply.github.com>2010-02-24 20:20:21 +0000
committerAbdullah Sowayan <sowayan@users.noreply.github.com>2010-02-24 20:20:21 +0000
commit035b47c1a6985e2b884182ab0f3bb1afa714a48f (patch)
tree48d75721f242b7a0eb4398a65b672a152bdaa37f /ACE/MPC/config/xerces.mpb
parenta3894e5127aa8cf1892e717ab30f02e053cdb482 (diff)
downloadATCD-ACE+TAO+CIAO-5_7_6_NGC_Patches.tar.gz
Diffstat (limited to 'ACE/MPC/config/xerces.mpb')
-rw-r--r--ACE/MPC/config/xerces.mpb57
1 files changed, 57 insertions, 0 deletions
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)
+}
+