]> git.saurik.com Git - wxWidgets.git/blame - build/bakefiles/png.bkl
Support building X11 and Motif on Mac OS X
[wxWidgets.git] / build / bakefiles / png.bkl
CommitLineData
ddf98968
VS
1<?xml version="1.0" ?>
2<makefile>
3
4 <if cond="FORMAT=='autoconf'">
5 <option name="wxUSE_LIBPNG"/>
6 </if>
7 <if cond="FORMAT!='autoconf'">
8 <set var="wxUSE_LIBPNG">builtin</set>
9 </if>
10 <set var="LIB_PNG">
f1e6f626
VS
11 <if cond="wxUSE_LIBPNG=='builtin' and USE_GUI=='1'">
12 wxpng$(WXDEBUGFLAG)$(HOST_SUFFIX)
13 </if>
ddf98968 14 </set>
332cc656 15 <set var="INC_PNG">
580ac8cb 16 <if cond="wxUSE_LIBPNG=='builtin'">$(TOP_SRCDIR)src/png</if>
332cc656 17 </set>
ddf98968 18
82cb0280 19 <lib id="wxpng" template="3rdparty_lib"
f1e6f626 20 cond="wxUSE_LIBPNG=='builtin' and USE_GUI=='1' and BUILDING_LIB=='1'">
ddf98968 21 <dirname>$(LIBDIRNAME)</dirname>
332cc656 22 <include>$(INC_ZLIB)</include>
698ec182 23 <cflags-borland>-w-8004</cflags-borland>
ddf98968
VS
24 <sources>
25 src/png/png.c
26 src/png/pngerror.c
27 src/png/pnggccrd.c
28 src/png/pngget.c
29 src/png/pngmem.c
30 src/png/pngpread.c
31 src/png/pngread.c
32 src/png/pngrio.c
33 src/png/pngrtran.c
34 src/png/pngrutil.c
35 src/png/pngset.c
36 src/png/pngtrans.c
37 src/png/pngvcrd.c
38 src/png/pngwio.c
39 src/png/pngwrite.c
40 src/png/pngwtran.c
41 src/png/pngwutil.c
42 </sources>
43 </lib>
44
45</makefile>