]>
Commit | Line | Data |
---|---|---|
1 | <?xml version="1.0" ?> | |
2 | <makefile> | |
3 | ||
4 | <if cond="FORMAT=='autoconf'"> | |
5 | <option name="wxUSE_EXPAT"/> | |
6 | </if> | |
7 | <if cond="FORMAT!='autoconf'"> | |
8 | <set var="wxUSE_EXPAT">builtin</set> | |
9 | </if> | |
10 | <set var="LIB_EXPAT"> | |
11 | <if cond="wxUSE_EXPAT=='builtin'">wxexpat$(WXDEBUGFLAG)$(HOST_SUFFIX)</if> | |
12 | </set> | |
13 | <set var="INC_EXPAT"> | |
14 | <if cond="wxUSE_EXPAT=='builtin'">$(TOP_SRCDIR)src/expat/lib</if> | |
15 | </set> | |
16 | ||
17 | <lib id="wxexpat" template="3rdparty_lib" | |
18 | cond="wxUSE_EXPAT=='builtin' and BUILDING_LIB=='1'"> | |
19 | <dirname>$(LIBDIRNAME)</dirname> | |
20 | <include cond="FORMAT!='autoconf'">$(LIBDIRNAME)</include> | |
21 | <include cond="FORMAT=='autoconf'">$(BUILDDIR)/src/expat</include> | |
22 | <define cond="FORMAT!='autoconf' and PLATFORM_WIN32=='1'"> | |
23 | COMPILED_FROM_DSP | |
24 | </define> | |
25 | <cflags-borland>-w-8004 -w-8008 -w-8012 -w-8057 -w-8066</cflags-borland> | |
26 | <sources> | |
27 | src/expat/lib/xmlparse.c | |
28 | src/expat/lib/xmlrole.c | |
29 | src/expat/lib/xmltok.c | |
30 | </sources> | |
31 | </lib> | |
32 | ||
33 | </makefile> |