]> git.saurik.com Git - wxWidgets.git/blob - build/bakefiles/png.bkl
don't build _gl by default
[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'">wxpng$(WXDEBUGFLAG)$(HOST_SUFFIX)</if>
12 </set>
13 <set var="INC_PNG">
14 <if cond="wxUSE_LIBPNG=='builtin'">$(TOP_SRCDIR)src/png</if>
15 </set>
16
17 <lib id="wxpng" template="3rdparty_lib"
18 cond="wxUSE_LIBPNG=='builtin' and BUILDING_LIB=='1'">
19 <dirname>$(LIBDIRNAME)</dirname>
20 <include>$(INC_ZLIB)</include>
21 <sources>
22 src/png/png.c
23 src/png/pngerror.c
24 src/png/pnggccrd.c
25 src/png/pngget.c
26 src/png/pngmem.c
27 src/png/pngpread.c
28 src/png/pngread.c
29 src/png/pngrio.c
30 src/png/pngrtran.c
31 src/png/pngrutil.c
32 src/png/pngset.c
33 src/png/pngtrans.c
34 src/png/pngvcrd.c
35 src/png/pngwio.c
36 src/png/pngwrite.c
37 src/png/pngwtran.c
38 src/png/pngwutil.c
39 </sources>
40 </lib>
41
42 </makefile>