]> git.saurik.com Git - wxWidgets.git/blob - build/bakefiles/png.bkl
consistency fixes
[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 <sources>
24 src/png/png.c
25 src/png/pngerror.c
26 src/png/pnggccrd.c
27 src/png/pngget.c
28 src/png/pngmem.c
29 src/png/pngpread.c
30 src/png/pngread.c
31 src/png/pngrio.c
32 src/png/pngrtran.c
33 src/png/pngrutil.c
34 src/png/pngset.c
35 src/png/pngtrans.c
36 src/png/pngvcrd.c
37 src/png/pngwio.c
38 src/png/pngwrite.c
39 src/png/pngwtran.c
40 src/png/pngwutil.c
41 </sources>
42 </lib>
43
44 </makefile>