107 |
bj |
1 |
// -*- MPC -*-
|
|
|
2 |
// $Id: xerces.mpb 107 2005-09-02 16:42:23Z bj $
|
|
|
3 |
|
|
|
4 |
project {
|
|
|
5 |
includes += $(XERCESCROOT)/include
|
|
|
6 |
libpaths += $(XERCESCROOT)/lib
|
|
|
7 |
|
|
|
8 |
specific (em3, vc6, vc7, vc71, vc8, nmake) {
|
|
|
9 |
xerceslib = xerces-c_2
|
|
|
10 |
|
|
|
11 |
// Linking the optimized version of xerces-c_2 into a debug application
|
|
|
12 |
// has been known to cause run-time issues (as of 4/25/2005), so we
|
|
|
13 |
// will link in the debug version for the "Debug" configuration.
|
|
|
14 |
Debug::xerceslib = xerces-c_2D
|
|
|
15 |
}
|
|
|
16 |
specific(borland, bmake, cbx) {
|
|
|
17 |
xerceslib = XercesLib
|
|
|
18 |
}
|
|
|
19 |
specific (gnuace, make, sle, automake, ghs) {
|
|
|
20 |
macros += XML_USE_PTHREADS
|
|
|
21 |
xerceslib = xerces-c
|
|
|
22 |
}
|
|
|
23 |
|
|
|
24 |
// We have to use lit_libs here as the library decorator
|
|
|
25 |
// does not necessarily match what MPC uses (particularly for
|
|
|
26 |
// static builds).
|
|
|
27 |
lit_libs += $(XERCESLIB)
|
|
|
28 |
}
|