]> git.saurik.com Git - wxWidgets.git/blame - build/bakefiles/expat.bkl
Delay part of the setup
[wxWidgets.git] / build / bakefiles / expat.bkl
CommitLineData
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>
489c64e0
VS
31 <define cond="FORMAT!='autoconf' and PLATFORM_WIN32=='1'">
32 COMPILED_FROM_DSP
33 </define>
1dba7b4c
WS
34 <define cond="FORMAT=='watcom' and PLATFORM_OS2=='1'">
35 OS2_32
36 </define>
b8af111f
WS
37 <define cond="FORMAT=='watcom' and PLATFORM_MSDOS=='1'">
38 __MSDOS__
39 </define>
1315b91d 40 <cflags-borland>-w-8004 -w-8008 -w-8012 -w-8057 -w-8066</cflags-borland>
a69544bf
VS
41 <sources>
42 src/expat/lib/xmlparse.c
43 src/expat/lib/xmlrole.c
44 src/expat/lib/xmltok.c
45 </sources>
46 </lib>
47
48</makefile>