]>
Commit | Line | Data |
---|---|---|
a69544bf | 1 | <?xml version="1.0" ?> |
b8af111f WS |
2 | <!-- $Id$ --> |
3 | ||
a69544bf VS |
4 | <makefile> |
5 | ||
6 | <if cond="FORMAT=='autoconf'"> | |
7 | <option name="wxUSE_EXPAT"/> | |
a1bf307a RL |
8 | <set var="LIB_EXPAT"> |
9 | <if cond="wxUSE_EXPAT=='builtin'"> | |
10 | wxexpat$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)-$(WX_RELEASE)$(HOST_SUFFIX) | |
11 | </if> | |
12 | </set> | |
a69544bf VS |
13 | </if> |
14 | <if cond="FORMAT!='autoconf'"> | |
15 | <set var="wxUSE_EXPAT">builtin</set> | |
a1bf307a RL |
16 | <set var="LIB_EXPAT"> |
17 | <if cond="wxUSE_EXPAT=='builtin'"> | |
9c2d002b | 18 | wxexpat$(WXDEBUGFLAG)$(HOST_SUFFIX) |
a1bf307a RL |
19 | </if> |
20 | </set> | |
a69544bf | 21 | </if> |
a69544bf VS |
22 | <set var="INC_EXPAT"> |
23 | <if cond="wxUSE_EXPAT=='builtin'">$(TOP_SRCDIR)src/expat/lib</if> | |
24 | </set> | |
25 | ||
26 | <lib id="wxexpat" template="3rdparty_lib" | |
27 | cond="wxUSE_EXPAT=='builtin' and BUILDING_LIB=='1'"> | |
28 | <dirname>$(LIBDIRNAME)</dirname> | |
29 | <include cond="FORMAT!='autoconf'">$(LIBDIRNAME)</include> | |
30 | <include cond="FORMAT=='autoconf'">$(BUILDDIR)/src/expat</include> | |
11a3e7b6 VZ |
31 | <define cond="FORMAT=='autoconf'"> |
32 | HAVE_EXPAT_CONFIG_H | |
33 | </define> | |
489c64e0 VS |
34 | <define cond="FORMAT!='autoconf' and PLATFORM_WIN32=='1'"> |
35 | COMPILED_FROM_DSP | |
36 | </define> | |
1dba7b4c WS |
37 | <define cond="FORMAT=='watcom' and PLATFORM_OS2=='1'"> |
38 | OS2_32 | |
39 | </define> | |
b8af111f WS |
40 | <define cond="FORMAT=='watcom' and PLATFORM_MSDOS=='1'"> |
41 | __MSDOS__ | |
42 | </define> | |
1315b91d | 43 | <cflags-borland>-w-8004 -w-8008 -w-8012 -w-8057 -w-8066</cflags-borland> |
a69544bf VS |
44 | <sources> |
45 | src/expat/lib/xmlparse.c | |
46 | src/expat/lib/xmlrole.c | |
47 | src/expat/lib/xmltok.c | |
48 | </sources> | |
49 | </lib> | |
50 | ||
51 | </makefile> |