]> git.saurik.com Git - wxWidgets.git/blob - build/bakefiles/expat.bkl
don't put odbc lib twice in the generated makefile (part of patch 1303833)
[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 <define cond="FORMAT=='watcom' and PLATFORM_OS2=='1'">
33 OS2_32
34 </define>
35 <cflags-borland>-w-8004 -w-8008 -w-8012 -w-8057 -w-8066</cflags-borland>
36 <sources>
37 src/expat/lib/xmlparse.c
38 src/expat/lib/xmlrole.c
39 src/expat/lib/xmltok.c
40 </sources>
41 </lib>
42
43 </makefile>