2003-06-23 15:50:43 -04:00
|
|
|
<?xml version="1.0" ?>
|
|
|
|
<makefile>
|
|
|
|
|
|
|
|
<if cond="FORMAT=='autoconf'">
|
|
|
|
<option name="wxUSE_ZLIB"/>
|
2004-09-26 04:46:55 -04:00
|
|
|
<set var="LIB_ZLIB">
|
|
|
|
<if cond="wxUSE_ZLIB=='builtin'">
|
|
|
|
wxzlib$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)-$(WX_RELEASE)$(HOST_SUFFIX)
|
|
|
|
</if>
|
|
|
|
</set>
|
2003-06-23 15:50:43 -04:00
|
|
|
</if>
|
|
|
|
<if cond="FORMAT!='autoconf'">
|
|
|
|
<set var="wxUSE_ZLIB">builtin</set>
|
2004-09-26 04:46:55 -04:00
|
|
|
<set var="LIB_ZLIB">
|
|
|
|
<if cond="wxUSE_ZLIB=='builtin'">
|
2004-10-08 07:20:24 -04:00
|
|
|
wxzlib$(WXDEBUGFLAG)$(HOST_SUFFIX)
|
2004-09-26 04:46:55 -04:00
|
|
|
</if>
|
|
|
|
</set>
|
2003-06-23 15:50:43 -04:00
|
|
|
</if>
|
2003-06-27 09:25:11 -04:00
|
|
|
<set var="INC_ZLIB">
|
2003-07-01 08:53:02 -04:00
|
|
|
<if cond="wxUSE_ZLIB=='builtin'">$(TOP_SRCDIR)src/zlib</if>
|
2003-06-27 09:25:11 -04:00
|
|
|
</set>
|
2003-06-23 15:50:43 -04:00
|
|
|
|
2003-06-28 09:52:55 -04:00
|
|
|
<lib id="wxzlib" template="3rdparty_lib"
|
2003-06-27 09:25:11 -04:00
|
|
|
cond="wxUSE_ZLIB=='builtin' and BUILDING_LIB=='1'">
|
2003-06-23 15:50:43 -04:00
|
|
|
<dirname>$(LIBDIRNAME)</dirname>
|
2004-04-26 05:58:00 -04:00
|
|
|
<cflags-borland>
|
|
|
|
-w-8004 -w-8008 -w-8012 -w-8057 -w-8066
|
|
|
|
</cflags-borland>
|
2004-04-01 15:19:37 -05:00
|
|
|
<if cond="FORMAT=='msevc4prj'">
|
|
|
|
<define>NO_ERRNO_H</define>
|
|
|
|
</if>
|
2013-10-01 12:08:33 -04:00
|
|
|
<if cond="IS_MSVC">
|
|
|
|
<!--
|
|
|
|
Define this to get rid of many warnings about using open(),
|
|
|
|
read() and other POSIX functions in zlib code. This is much
|
|
|
|
more convenient than having to modify it to avoid them.
|
|
|
|
-->
|
|
|
|
<define>_CRT_NONSTDC_NO_WARNINGS</define>
|
|
|
|
</if>
|
2003-06-23 15:50:43 -04:00
|
|
|
<sources>
|
|
|
|
src/zlib/adler32.c
|
|
|
|
src/zlib/compress.c
|
|
|
|
src/zlib/crc32.c
|
|
|
|
src/zlib/deflate.c
|
2013-10-01 12:08:25 -04:00
|
|
|
src/zlib/gzclose.c
|
|
|
|
src/zlib/gzlib.c
|
|
|
|
src/zlib/gzread.c
|
|
|
|
src/zlib/gzwrite.c
|
2004-04-25 04:48:21 -04:00
|
|
|
src/zlib/infback.c
|
2003-06-23 15:50:43 -04:00
|
|
|
src/zlib/inffast.c
|
2013-10-01 12:08:25 -04:00
|
|
|
src/zlib/inflate.c
|
|
|
|
src/zlib/inftrees.c
|
|
|
|
src/zlib/trees.c
|
|
|
|
src/zlib/uncompr.c
|
|
|
|
src/zlib/zutil.c
|
2003-06-23 15:50:43 -04:00
|
|
|
</sources>
|
|
|
|
</lib>
|
|
|
|
|
|
|
|
</makefile>
|