]> git.saurik.com Git - wxWidgets.git/blob - build/bakefiles/zlib.bkl
wx-config symlink creation fix
[wxWidgets.git] / build / bakefiles / zlib.bkl
1 <?xml version="1.0" ?>
2 <makefile>
3
4 <if cond="FORMAT=='autoconf'">
5 <option name="wxUSE_ZLIB"/>
6 </if>
7 <if cond="FORMAT!='autoconf'">
8 <set var="wxUSE_ZLIB">builtin</set>
9 </if>
10 <set var="LIB_ZLIB">
11 <if cond="wxUSE_ZLIB=='builtin'">wxzlib$(WXDEBUGFLAG)$(HOST_SUFFIX)</if>
12 </set>
13 <set var="INC_ZLIB">
14 <if cond="wxUSE_ZLIB=='builtin'">$(TOP_SRCDIR)src/zlib</if>
15 </set>
16
17 <lib id="wxzlib" template="3rdparty_lib"
18 cond="wxUSE_ZLIB=='builtin' and BUILDING_LIB=='1'">
19 <dirname>$(LIBDIRNAME)</dirname>
20 <cflags-borland>
21 -w-8004 -w-8008 -w-8012 -w-8057 -w-8066
22 </cflags-borland>
23 <if cond="FORMAT=='msevc4prj'">
24 <define>NO_ERRNO_H</define>
25 </if>
26 <sources>
27 src/zlib/adler32.c
28 src/zlib/compress.c
29 src/zlib/crc32.c
30 src/zlib/gzio.c
31 src/zlib/uncompr.c
32 src/zlib/deflate.c
33 src/zlib/trees.c
34 src/zlib/zutil.c
35 src/zlib/inflate.c
36 src/zlib/infback.c
37 src/zlib/inftrees.c
38 src/zlib/inffast.c
39 </sources>
40 </lib>
41
42 </makefile>