wxWidgets/build/bakefiles/zlib.bkl
Ron Lee a1bf307a46 Limit the influence of flavour more strictly to autoconf format.
Remove '-' and '.' from the $release tag for non autoconf platform.
This may like slightly finer tuning than that for some people.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29381 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-09-26 08:46:55 +00:00

50 lines
1.4 KiB
XML

<?xml version="1.0" ?>
<makefile>
<if cond="FORMAT=='autoconf'">
<option name="wxUSE_ZLIB"/>
<set var="LIB_ZLIB">
<if cond="wxUSE_ZLIB=='builtin'">
wxzlib$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)-$(WX_RELEASE)$(HOST_SUFFIX)
</if>
</set>
</if>
<if cond="FORMAT!='autoconf'">
<set var="wxUSE_ZLIB">builtin</set>
<set var="LIB_ZLIB">
<if cond="wxUSE_ZLIB=='builtin'">
wxzlib$(WXDEBUGFLAG)$(WX_RELEASE_NODOT)$(HOST_SUFFIX)
</if>
</set>
</if>
<set var="INC_ZLIB">
<if cond="wxUSE_ZLIB=='builtin'">$(TOP_SRCDIR)src/zlib</if>
</set>
<lib id="wxzlib" template="3rdparty_lib"
cond="wxUSE_ZLIB=='builtin' and BUILDING_LIB=='1'">
<dirname>$(LIBDIRNAME)</dirname>
<cflags-borland>
-w-8004 -w-8008 -w-8012 -w-8057 -w-8066
</cflags-borland>
<if cond="FORMAT=='msevc4prj'">
<define>NO_ERRNO_H</define>
</if>
<sources>
src/zlib/adler32.c
src/zlib/compress.c
src/zlib/crc32.c
src/zlib/gzio.c
src/zlib/uncompr.c
src/zlib/deflate.c
src/zlib/trees.c
src/zlib/zutil.c
src/zlib/inflate.c
src/zlib/infback.c
src/zlib/inftrees.c
src/zlib/inffast.c
</sources>
</lib>
</makefile>