]> git.saurik.com Git - wxWidgets.git/blob - build/bakefiles/expat.bkl
moved GNOME printing code back to wxCore and fixed for --enable-plugins case
[wxWidgets.git] / build / bakefiles / expat.bkl
1 <?xml version="1.0" ?>
2 <makefile>
3
4 <if cond="FORMAT=='autoconf'">
5 <option name="wxUSE_EXPAT"/>
6 <set var="LIB_EXPAT">
7 <if cond="wxUSE_EXPAT=='builtin'">
8 wxexpat$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)-$(WX_RELEASE)$(HOST_SUFFIX)
9 </if>
10 </set>
11 </if>
12 <if cond="FORMAT!='autoconf'">
13 <set var="wxUSE_EXPAT">builtin</set>
14 <set var="LIB_EXPAT">
15 <if cond="wxUSE_EXPAT=='builtin'">
16 wxexpat$(WXDEBUGFLAG)$(HOST_SUFFIX)
17 </if>
18 </set>
19 </if>
20 <set var="INC_EXPAT">
21 <if cond="wxUSE_EXPAT=='builtin'">$(TOP_SRCDIR)src/expat/lib</if>
22 </set>
23
24 <lib id="wxexpat" template="3rdparty_lib"
25 cond="wxUSE_EXPAT=='builtin' and BUILDING_LIB=='1'">
26 <dirname>$(LIBDIRNAME)</dirname>
27 <include cond="FORMAT!='autoconf'">$(LIBDIRNAME)</include>
28 <include cond="FORMAT=='autoconf'">$(BUILDDIR)/src/expat</include>
29 <define cond="FORMAT!='autoconf' and PLATFORM_WIN32=='1'">
30 COMPILED_FROM_DSP
31 </define>
32 <cflags-borland>-w-8004 -w-8008 -w-8012 -w-8057 -w-8066</cflags-borland>
33 <sources>
34 src/expat/lib/xmlparse.c
35 src/expat/lib/xmlrole.c
36 src/expat/lib/xmltok.c
37 </sources>
38 </lib>
39
40 </makefile>