]> git.saurik.com Git - wxWidgets.git/blob - build/bakefiles/png.bkl
correct WinCE compilation after last change: can't use global scope with GlobalLock...
[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 <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>
11 </if>
12 <if cond="FORMAT!='autoconf'">
13 <set var="wxUSE_LIBPNG">builtin</set>
14 <set var="LIB_PNG">
15 <if cond="wxUSE_LIBPNG=='builtin' and USE_GUI=='1'">
16 wxpng$(WXDEBUGFLAG)$(HOST_SUFFIX)
17 </if>
18 </set>
19 </if>
20 <set var="INC_PNG">
21 <if cond="wxUSE_LIBPNG=='builtin'">$(TOP_SRCDIR)src/png</if>
22 </set>
23
24 <lib id="wxpng" template="3rdparty_lib"
25 cond="wxUSE_LIBPNG=='builtin' and USE_GUI=='1' and BUILDING_LIB=='1'">
26 <dirname>$(LIBDIRNAME)</dirname>
27 <include>$(INC_ZLIB)</include>
28 <cflags-borland>-w-8004</cflags-borland>
29 <cflags-watcom>-wcd=124</cflags-watcom>
30 <sources>
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
48 </sources>
49 </lib>
50
51 </makefile>