]>
Commit | Line | Data |
---|---|---|
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 | |
5b897d36 WS |
33 | src/png/pngget.c |
34 | src/png/pngmem.c | |
35 | src/png/pngpread.c | |
36 | src/png/pngread.c | |
37 | src/png/pngrio.c | |
38 | src/png/pngrtran.c | |
39 | src/png/pngrutil.c | |
40 | src/png/pngset.c | |
41 | src/png/pngtrans.c | |
5b897d36 WS |
42 | src/png/pngwio.c |
43 | src/png/pngwrite.c | |
44 | src/png/pngwtran.c | |
45 | src/png/pngwutil.c | |
ddf98968 VS |
46 | </sources> |
47 | </lib> | |
48 | ||
49 | </makefile> |