]> git.saurik.com Git - wxWidgets.git/blob - build/bakefiles/png.bkl
partial revert, as we still need Xcode 3.1 for 10.5, Xcode 3.2 is 10.6+ only
[wxWidgets.git] / build / bakefiles / png.bkl
1 <?xml version="1.0" ?>
2 <makefile>
3
4 <if cond="FORMAT=='autoconf'">
5 <option name="wxUSE_LIBPNG"/>
6 <set var="LIB_PNG">
7 <if cond="wxUSE_LIBPNG=='builtin' and USE_GUI=='1'">
8 wxpng$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)-$(WX_RELEASE)$(HOST_SUFFIX)
9 </if>
10 </set>
11 </if>
12 <if cond="FORMAT!='autoconf'">
13 <set var="wxUSE_LIBPNG">builtin</set>
14 <set var="LIB_PNG">
15 <if cond="wxUSE_LIBPNG=='builtin' and USE_GUI=='1'">
16 wxpng$(WXDEBUGFLAG)$(HOST_SUFFIX)
17 </if>
18 </set>
19 </if>
20 <set var="INC_PNG">
21 <if cond="wxUSE_LIBPNG=='builtin'">$(TOP_SRCDIR)src/png</if>
22 </set>
23
24 <lib id="wxpng" template="3rdparty_lib"
25 cond="wxUSE_LIBPNG=='builtin' and USE_GUI=='1' and BUILDING_LIB=='1'">
26 <dirname>$(LIBDIRNAME)</dirname>
27 <include>$(INC_ZLIB)</include>
28 <cflags-borland>-w-8004</cflags-borland>
29 <cflags-watcom>-wcd=124</cflags-watcom>
30 <sources>
31 src/png/png.c
32 src/png/pngerror.c
33 src/png/pngget.c
34 src/png/pngmem.c
35 src/png/pngpread.c
36 src/png/pngread.c
37 src/png/pngrio.c
38 src/png/pngrtran.c
39 src/png/pngrutil.c
40 src/png/pngset.c
41 src/png/pngtrans.c
42 src/png/pngwio.c
43 src/png/pngwrite.c
44 src/png/pngwtran.c
45 src/png/pngwutil.c
46 </sources>
47 </lib>
48
49 </makefile>