]> git.saurik.com Git - wxWidgets.git/blobdiff - build/bakefiles/png.bkl
regenerated makefiles
[wxWidgets.git] / build / bakefiles / png.bkl
index 8d80297d2c9f5dba4965fbdc081feb96b413d1bc..daf1ed752e5a772b19d5ed341b248bc1d74745b1 100644 (file)
@@ -8,11 +8,16 @@
         <set var="wxUSE_LIBPNG">builtin</set>
     </if>
     <set var="LIB_PNG">
         <set var="wxUSE_LIBPNG">builtin</set>
     </if>
     <set var="LIB_PNG">
-        <if cond="wxUSE_LIBPNG=='builtin'">wxpng</if>
+        <if cond="wxUSE_LIBPNG=='builtin'">wxpng$(WXDEBUGFLAG)</if>
+    </set>
+    <set var="INC_PNG">
+        <if cond="wxUSE_LIBPNG=='builtin'">$(TOP_SRCDIR)src/png</if>
     </set>
 
     </set>
 
-    <lib id="wxpng" cond="wxUSE_LIBPNG=='builtin' and BUILDING_LIB=='1'">
+    <lib id="wxpng" template="3rdparty_lib"
+         cond="wxUSE_LIBPNG=='builtin' and BUILDING_LIB=='1'">
         <dirname>$(LIBDIRNAME)</dirname>
         <dirname>$(LIBDIRNAME)</dirname>
+        <include>$(INC_ZLIB)</include>
         <sources>
                    src/png/png.c
                    src/png/pngerror.c
         <sources>
                    src/png/png.c
                    src/png/pngerror.c