]> git.saurik.com Git - wxWidgets.git/blob - build/bakefiles/zlib.bkl
don't use -single_module together with -bundle under Darwin (ld gives an error for...
[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 <set var="LIB_ZLIB">
7 <if cond="wxUSE_ZLIB=='builtin'">
8 wxzlib$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)-$(WX_RELEASE)$(HOST_SUFFIX)
9 </if>
10 </set>
11 </if>
12 <if cond="FORMAT!='autoconf'">
13 <set var="wxUSE_ZLIB">builtin</set>
14 <set var="LIB_ZLIB">
15 <if cond="wxUSE_ZLIB=='builtin'">
16 wxzlib$(WXDEBUGFLAG)$(HOST_SUFFIX)
17 </if>
18 </set>
19 </if>
20 <set var="INC_ZLIB">
21 <if cond="wxUSE_ZLIB=='builtin'">$(TOP_SRCDIR)src/zlib</if>
22 </set>
23
24 <lib id="wxzlib" template="3rdparty_lib"
25 cond="wxUSE_ZLIB=='builtin' and BUILDING_LIB=='1'">
26 <dirname>$(LIBDIRNAME)</dirname>
27 <cflags-borland>
28 -w-8004 -w-8008 -w-8012 -w-8057 -w-8066
29 </cflags-borland>
30 <if cond="FORMAT=='msevc4prj'">
31 <define>NO_ERRNO_H</define>
32 </if>
33 <sources>
34 src/zlib/adler32.c
35 src/zlib/compress.c
36 src/zlib/crc32.c
37 src/zlib/gzio.c
38 src/zlib/uncompr.c
39 src/zlib/deflate.c
40 src/zlib/trees.c
41 src/zlib/zutil.c
42 src/zlib/inflate.c
43 src/zlib/infback.c
44 src/zlib/inftrees.c
45 src/zlib/inffast.c
46 </sources>
47 </lib>
48
49 </makefile>