]> git.saurik.com Git - wxWidgets.git/blame - build/bakefiles/png.bkl
adapted Julian's new speed improved version
[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"/>
a1bf307a
RL
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>
ddf98968
VS
11 </if>
12 <if cond="FORMAT!='autoconf'">
13 <set var="wxUSE_LIBPNG">builtin</set>
a1bf307a
RL
14 <set var="LIB_PNG">
15 <if cond="wxUSE_LIBPNG=='builtin' and USE_GUI=='1'">
9c2d002b 16 wxpng$(WXDEBUGFLAG)$(HOST_SUFFIX)
a1bf307a
RL
17 </if>
18 </set>
ddf98968 19 </if>
332cc656 20 <set var="INC_PNG">
580ac8cb 21 <if cond="wxUSE_LIBPNG=='builtin'">$(TOP_SRCDIR)src/png</if>
332cc656 22 </set>
ddf98968 23
82cb0280 24 <lib id="wxpng" template="3rdparty_lib"
f1e6f626 25 cond="wxUSE_LIBPNG=='builtin' and USE_GUI=='1' and BUILDING_LIB=='1'">
ddf98968 26 <dirname>$(LIBDIRNAME)</dirname>
332cc656 27 <include>$(INC_ZLIB)</include>
5b897d36
WS
28 <cflags-borland>-w-8004</cflags-borland>
29 <cflags-watcom>-wcd=124</cflags-watcom>
ddf98968 30 <sources>
5b897d36
WS
31 src/png/png.c
32 src/png/pngerror.c
33 src/png/pnggccrd.c
34 src/png/pngget.c
35 src/png/pngmem.c
36 src/png/pngpread.c
37 src/png/pngread.c
38 src/png/pngrio.c
39 src/png/pngrtran.c
40 src/png/pngrutil.c
41 src/png/pngset.c
42 src/png/pngtrans.c
43 src/png/pngvcrd.c
44 src/png/pngwio.c
45 src/png/pngwrite.c
46 src/png/pngwtran.c
47 src/png/pngwutil.c
ddf98968
VS
48 </sources>
49 </lib>
50
51</makefile>