]> git.saurik.com Git - wxWidgets.git/blob - build/bakefiles/png.bkl
d4cc6c9c7ca066e606650febdd2718d7fac64e2d
[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 </if>
7 <if cond="FORMAT!='autoconf'">
8 <set var="wxUSE_LIBPNG">builtin</set>
9 </if>
10 <set var="LIB_PNG">
11 <if cond="wxUSE_LIBPNG=='builtin' and USE_GUI=='1'">
12 wxpng$(WXDEBUGFLAG)$(HOST_SUFFIX)
13 </if>
14 </set>
15 <set var="INC_PNG">
16 <if cond="wxUSE_LIBPNG=='builtin'">$(TOP_SRCDIR)src/png</if>
17 </set>
18
19 <lib id="wxpng" template="3rdparty_lib"
20 cond="wxUSE_LIBPNG=='builtin' and USE_GUI=='1' and BUILDING_LIB=='1'">
21 <dirname>$(LIBDIRNAME)</dirname>
22 <include>$(INC_ZLIB)</include>
23 <cflags-borland>-w-8004</cflags-borland>
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>