fixes for win32
[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     </if>
7     <if cond="FORMAT!='autoconf'">
8         <set var="wxUSE_EXPAT">builtin</set>
9     </if>
10     <set var="LIB_EXPAT">
11         <if cond="wxUSE_EXPAT=='builtin'">wxexpat$(WXDEBUGFLAG)$(HOST_SUFFIX)</if>
12     </set>
13     <set var="INC_EXPAT">
14         <if cond="wxUSE_EXPAT=='builtin'">$(TOP_SRCDIR)src/expat/lib</if>
15     </set>
16
17     <lib id="wxexpat" template="3rdparty_lib"
18          cond="wxUSE_EXPAT=='builtin' and BUILDING_LIB=='1'">
19         <dirname>$(LIBDIRNAME)</dirname>
20         <include cond="FORMAT!='autoconf'">$(LIBDIRNAME)</include>
21         <include cond="FORMAT=='autoconf'">$(BUILDDIR)/src/expat</include>
22         <define cond="FORMAT!='autoconf' and PLATFORM_WIN32=='1'">
23             COMPILED_FROM_DSP
24         </define>
25         <sources>
26             src/expat/lib/xmlparse.c
27             src/expat/lib/xmlrole.c
28             src/expat/lib/xmltok.c
29         </sources>
30     </lib>
31
32 </makefile>