]> git.saurik.com Git - wxWidgets.git/blob - build/bakefiles/expat.bkl
Fix for #15520: wxRichTextCtrl: Drawing the selection doesn't respect its container...
[wxWidgets.git] / build / bakefiles / expat.bkl
1 <?xml version="1.0" ?>
2
3 <makefile>
4
5 <if cond="FORMAT=='autoconf'">
6 <option name="wxUSE_EXPAT"/>
7 <set var="LIB_EXPAT">
8 <if cond="wxUSE_EXPAT=='builtin'">
9 wxexpat$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)-$(WX_RELEASE)$(HOST_SUFFIX)
10 </if>
11 </set>
12 </if>
13 <if cond="FORMAT!='autoconf'">
14 <set var="wxUSE_EXPAT">builtin</set>
15 <set var="LIB_EXPAT">
16 <if cond="wxUSE_EXPAT=='builtin'">
17 wxexpat$(WXDEBUGFLAG)$(HOST_SUFFIX)
18 </if>
19 </set>
20 </if>
21 <set var="INC_EXPAT">
22 <if cond="wxUSE_EXPAT=='builtin'">$(TOP_SRCDIR)src/expat/lib</if>
23 </set>
24
25 <lib id="wxexpat" template="3rdparty_lib"
26 cond="wxUSE_EXPAT=='builtin' and BUILDING_LIB=='1'">
27 <dirname>$(LIBDIRNAME)</dirname>
28 <include cond="FORMAT!='autoconf'">$(LIBDIRNAME)</include>
29 <include cond="FORMAT=='autoconf'">$(BUILDDIR)/src/expat</include>
30 <define cond="FORMAT=='autoconf'">
31 HAVE_EXPAT_CONFIG_H
32 </define>
33 <define cond="FORMAT!='autoconf' and PLATFORM_WIN32=='1'">
34 COMPILED_FROM_DSP
35 </define>
36 <define cond="FORMAT=='watcom' and PLATFORM_OS2=='1'">
37 OS2_32
38 </define>
39 <define cond="FORMAT=='watcom' and PLATFORM_MSDOS=='1'">
40 __MSDOS__
41 </define>
42 <cflags-borland>-w-8004 -w-8008 -w-8012 -w-8057 -w-8066</cflags-borland>
43 <sources>
44 src/expat/lib/xmlparse.c
45 src/expat/lib/xmlrole.c
46 src/expat/lib/xmltok.c
47 </sources>
48 </lib>
49
50 </makefile>