]> git.saurik.com Git - wxWidgets.git/blame - build/bakefiles/zlib.bkl
Compilation fix for old SDK in wxFileSystemWatcher MSW code.
[wxWidgets.git] / build / bakefiles / zlib.bkl
CommitLineData
ddf98968
VS
1<?xml version="1.0" ?>
2<makefile>
3
4 <if cond="FORMAT=='autoconf'">
5 <option name="wxUSE_ZLIB"/>
a1bf307a
RL
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>
ddf98968
VS
11 </if>
12 <if cond="FORMAT!='autoconf'">
13 <set var="wxUSE_ZLIB">builtin</set>
a1bf307a
RL
14 <set var="LIB_ZLIB">
15 <if cond="wxUSE_ZLIB=='builtin'">
9c2d002b 16 wxzlib$(WXDEBUGFLAG)$(HOST_SUFFIX)
a1bf307a
RL
17 </if>
18 </set>
ddf98968 19 </if>
332cc656 20 <set var="INC_ZLIB">
580ac8cb 21 <if cond="wxUSE_ZLIB=='builtin'">$(TOP_SRCDIR)src/zlib</if>
332cc656 22 </set>
ddf98968 23
5ab5f2a3 24 <lib id="wxzlib" template="3rdparty_lib"
332cc656 25 cond="wxUSE_ZLIB=='builtin' and BUILDING_LIB=='1'">
ddf98968 26 <dirname>$(LIBDIRNAME)</dirname>
a2663693
VS
27 <cflags-borland>
28 -w-8004 -w-8008 -w-8012 -w-8057 -w-8066
29 </cflags-borland>
21f75675
VS
30 <if cond="FORMAT=='msevc4prj'">
31 <define>NO_ERRNO_H</define>
32 </if>
ddf98968
VS
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
51dbdf87 43 src/zlib/infback.c
ddf98968 44 src/zlib/inftrees.c
ddf98968
VS
45 src/zlib/inffast.c
46 </sources>
47 </lib>
48
49</makefile>