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