]> git.saurik.com Git - wxWidgets.git/blob - build/bakefiles/zlib.bkl
moved compat content to formats, there will be more wx-specific formats
[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>-w-8004 -w-8012 -w-8057</cflags-borland>
21 <sources>
22 src/zlib/adler32.c
23 src/zlib/compress.c
24 src/zlib/crc32.c
25 src/zlib/gzio.c
26 src/zlib/uncompr.c
27 src/zlib/deflate.c
28 src/zlib/trees.c
29 src/zlib/zutil.c
30 src/zlib/inflate.c
31 src/zlib/infblock.c
32 src/zlib/inftrees.c
33 src/zlib/infcodes.c
34 src/zlib/infutil.c
35 src/zlib/inffast.c
36 </sources>
37 </lib>
38
39 </makefile>