]> git.saurik.com Git - wxWidgets.git/blobdiff - build/bakefiles/zlib.bkl
preserve TAB characters when copying HTML <pre> content to clipboard
[wxWidgets.git] / build / bakefiles / zlib.bkl
index 12e0f9db753e50cbe77b9d7cf4a21b899c1c6f9a..2028607e8856e25f0125266edeab68d11d6988f1 100644 (file)
@@ -3,20 +3,33 @@
 
     <if cond="FORMAT=='autoconf'">
         <option name="wxUSE_ZLIB"/>
 
     <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>
     </if>
     <if cond="FORMAT!='autoconf'">
         <set var="wxUSE_ZLIB">builtin</set>
+        <set var="LIB_ZLIB">
+            <if cond="wxUSE_ZLIB=='builtin'">
+                wxzlib$(WXDEBUGFLAG)$(HOST_SUFFIX)
+            </if>
+        </set>
     </if>
     </if>
-    <set var="LIB_ZLIB">
-        <if cond="wxUSE_ZLIB=='builtin'">wxzlib$(WXDEBUGFLAG)</if>
-    </set>
     <set var="INC_ZLIB">
     <set var="INC_ZLIB">
-        <if cond="wxUSE_ZLIB=='builtin'">$(SRCDIR)/src/zlib</if>
+        <if cond="wxUSE_ZLIB=='builtin'">$(TOP_SRCDIR)src/zlib</if>
     </set>
 
     </set>
 
-    <lib id="wxzlib" teplate="3rdparty_lib"
+    <lib id="wxzlib" template="3rdparty_lib"
          cond="wxUSE_ZLIB=='builtin' and BUILDING_LIB=='1'">
         <dirname>$(LIBDIRNAME)</dirname>
          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
         <sources>
             src/zlib/adler32.c
             src/zlib/compress.c
             src/zlib/trees.c
             src/zlib/zutil.c
             src/zlib/inflate.c
             src/zlib/trees.c
             src/zlib/zutil.c
             src/zlib/inflate.c
-            src/zlib/infblock.c
+            src/zlib/infback.c
             src/zlib/inftrees.c
             src/zlib/inftrees.c
-            src/zlib/infcodes.c
-            src/zlib/infutil.c
             src/zlib/inffast.c
         </sources>
     </lib>
             src/zlib/inffast.c
         </sources>
     </lib>