]> git.saurik.com Git - wxWidgets.git/blob - build/bakefiles/zlib.bkl
implemented bsearch() for CE; added src/msw/wince/crt.cpp
[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 <if cond="FORMAT=='msevc4prj'">
22 <define>NO_ERRNO_H</define>
23 </if>
24 <sources>
25 src/zlib/adler32.c
26 src/zlib/compress.c
27 src/zlib/crc32.c
28 src/zlib/gzio.c
29 src/zlib/uncompr.c
30 src/zlib/deflate.c
31 src/zlib/trees.c
32 src/zlib/zutil.c
33 src/zlib/inflate.c
34 src/zlib/infblock.c
35 src/zlib/inftrees.c
36 src/zlib/infcodes.c
37 src/zlib/infutil.c
38 src/zlib/inffast.c
39 </sources>
40 </lib>
41
42 </makefile>