]> git.saurik.com Git - wxWidgets.git/blob - build/bakefiles/expat.bkl
don't update stc.h when not building the library, it doesn't make sense to do this...
[wxWidgets.git] / build / bakefiles / expat.bkl
1 <?xml version="1.0" ?>
2 <!-- $Id$ -->
3
4 <makefile>
5
6 <if cond="FORMAT=='autoconf'">
7 <option name="wxUSE_EXPAT"/>
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>
13 </if>
14 <if cond="FORMAT!='autoconf'">
15 <set var="wxUSE_EXPAT">builtin</set>
16 <set var="LIB_EXPAT">
17 <if cond="wxUSE_EXPAT=='builtin'">
18 wxexpat$(WXDEBUGFLAG)$(HOST_SUFFIX)
19 </if>
20 </set>
21 </if>
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>
31 <define cond="FORMAT!='autoconf' and PLATFORM_WIN32=='1'">
32 COMPILED_FROM_DSP
33 </define>
34 <define cond="FORMAT=='watcom' and PLATFORM_OS2=='1'">
35 OS2_32
36 </define>
37 <define cond="FORMAT=='watcom' and PLATFORM_MSDOS=='1'">
38 __MSDOS__
39 </define>
40 <cflags-borland>-w-8004 -w-8008 -w-8012 -w-8057 -w-8066</cflags-borland>
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>