]> git.saurik.com Git - wxWidgets.git/blame - build/bakefiles/tiff.bkl
allow building wxXRC with wxUSE_HTML=0: make linking work in absence of wxHTML library
[wxWidgets.git] / build / bakefiles / tiff.bkl
CommitLineData
ddf98968 1<?xml version="1.0" ?>
b8af111f
WS
2<!-- $Id$ -->
3
ddf98968
VS
4<makefile>
5
6 <if cond="FORMAT=='autoconf'">
7 <option name="wxUSE_LIBTIFF"/>
a1bf307a
RL
8 <set var="LIB_TIFF">
9 <if cond="wxUSE_LIBTIFF=='builtin' and USE_GUI=='1'">
10 wxtiff$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)-$(WX_RELEASE)$(HOST_SUFFIX)
11 </if>
12 </set>
ddf98968
VS
13 </if>
14 <if cond="FORMAT!='autoconf'">
3fe61e8e
VS
15 <set var="wxUSE_LIBTIFF">
16 <!-- NB: libtiff doesn't compile on WinCE -->
17 <if cond="FORMAT=='msevc4prj'">no</if>
18 <if cond="FORMAT!='msevc4prj'">builtin</if>
19 </set>
a1bf307a
RL
20 <set var="LIB_TIFF">
21 <if cond="wxUSE_LIBTIFF=='builtin' and USE_GUI=='1'">
9c2d002b 22 wxtiff$(WXDEBUGFLAG)$(HOST_SUFFIX)
a1bf307a
RL
23 </if>
24 </set>
ddf98968 25 </if>
332cc656 26 <set var="INC_TIFF">
580ac8cb 27 <if cond="wxUSE_LIBTIFF=='builtin'">$(TOP_SRCDIR)src/tiff</if>
332cc656 28 </set>
ddf98968 29
332cc656
VS
30 <set var="TIFF_PLATFORM_SRC">
31 <if cond="PLATFORM_UNIX=='1'">src/tiff/tif_unix.c</if>
e292124a 32 <if cond="PLATFORM_MACOSX=='1'">src/tiff/tif_unix.c</if>
1dba7b4c
WS
33 <if cond="PLATFORM_OS2=='1' and FORMAT!='watcom'">src/tiff/tif_unix.c</if>
34 <if cond="PLATFORM_OS2=='1' and FORMAT=='watcom'">src/tiff/tif_os2.c</if>
332cc656 35 <if cond="PLATFORM_WIN32=='1'">src/tiff/tif_win32.c</if>
27a17b74 36 <if cond="PLATFORM_MACOS=='1'">src/tiff/tif_apple.c</if>
d6b47de6 37 <if cond="PLATFORM_MSDOS=='1'">src/tiff/tif_msdos.c</if>
332cc656 38 </set>
81065c36 39
82cb0280 40 <lib id="wxtiff" template="3rdparty_lib"
f1e6f626 41 cond="wxUSE_LIBTIFF=='builtin' and USE_GUI=='1' and BUILDING_LIB=='1'">
ddf98968 42 <dirname>$(LIBDIRNAME)</dirname>
2091e2a0 43 <include>$(INC_ZLIB)</include>
96507976 44 <include>$(INC_JPEG)</include>
698ec182 45 <cflags-borland>-w-8004 -w-8012 -w-8057 -w-8060 -w-8066</cflags-borland>
12f003ed 46 <cflags-dmars>-w2</cflags-dmars>
5b897d36 47 <cflags-watcom>-wcd=124</cflags-watcom>
1dba7b4c 48 <define cond="PLATFORM_OS2=='1' and FORMAT=='watcom'">OS2_32</define>
b8af111f 49 <define cond="PLATFORM_MSDOS=='1' and FORMAT=='watcom'">__MSDOS__</define>
ddf98968 50 <sources>
332cc656 51 $(TIFF_PLATFORM_SRC)
1dba7b4c
WS
52 src/tiff/tif_aux.c
53 src/tiff/tif_close.c
54 src/tiff/tif_codec.c
55 src/tiff/tif_color.c
56 src/tiff/tif_compress.c
57 src/tiff/tif_dir.c
58 src/tiff/tif_dirinfo.c
59 src/tiff/tif_dirread.c
60 src/tiff/tif_dirwrite.c
61 src/tiff/tif_dumpmode.c
62 src/tiff/tif_error.c
63 src/tiff/tif_extension.c
64 src/tiff/tif_fax3.c
65 src/tiff/tif_fax3sm.c
66 src/tiff/tif_getimage.c
67 src/tiff/tif_jpeg.c
68 src/tiff/tif_flush.c
69 src/tiff/tif_lzw.c
70 src/tiff/tif_luv.c
71 src/tiff/tif_next.c
72 src/tiff/tif_open.c
73 src/tiff/tif_packbits.c
74 src/tiff/tif_pixarlog.c
75 src/tiff/tif_predict.c
76 src/tiff/tif_print.c
77 src/tiff/tif_read.c
78 src/tiff/tif_swab.c
79 src/tiff/tif_strip.c
80 src/tiff/tif_thunder.c
81 src/tiff/tif_tile.c
82 src/tiff/tif_version.c
83 src/tiff/tif_warning.c
84 src/tiff/tif_write.c
85 src/tiff/tif_zip.c
ddf98968
VS
86 </sources>
87 </lib>
88
89</makefile>