]> git.saurik.com Git - wxWidgets.git/blob - build/bakefiles/tiff.bkl
added USE_RTTI (instead of it being set by USE_EXCEPTIONS)
[wxWidgets.git] / build / bakefiles / tiff.bkl
1 <?xml version="1.0" ?>
2 <makefile>
3
4 <if cond="FORMAT=='autoconf'">
5 <option name="wxUSE_LIBTIFF"/>
6 <set var="LIB_TIFF">
7 <if cond="wxUSE_LIBTIFF=='builtin' and USE_GUI=='1'">
8 wxtiff$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)-$(WX_RELEASE)$(HOST_SUFFIX)
9 </if>
10 </set>
11 </if>
12 <if cond="FORMAT!='autoconf'">
13 <set var="wxUSE_LIBTIFF">
14 <!-- NB: libtiff doesn't compile on WinCE -->
15 <if cond="FORMAT=='msevc4prj'">no</if>
16 <if cond="FORMAT!='msevc4prj'">builtin</if>
17 </set>
18 <set var="LIB_TIFF">
19 <if cond="wxUSE_LIBTIFF=='builtin' and USE_GUI=='1'">
20 wxtiff$(WXDEBUGFLAG)$(HOST_SUFFIX)
21 </if>
22 </set>
23 </if>
24 <set var="INC_TIFF">
25 <if cond="wxUSE_LIBTIFF=='builtin'">$(TOP_SRCDIR)src/tiff</if>
26 </set>
27
28 <set var="TIFF_PLATFORM_SRC">
29 <if cond="PLATFORM_UNIX=='1'">src/tiff/tif_unix.c</if>
30 <if cond="PLATFORM_MACOSX=='1'">src/tiff/tif_unix.c</if>
31 <if cond="PLATFORM_OS2=='1'">src/tiff/tif_unix.c</if>
32 <if cond="PLATFORM_WIN32=='1'">src/tiff/tif_win32.c</if>
33 <if cond="PLATFORM_MACOS=='1'">src/tiff/tif_apple.c</if>
34 </set>
35
36 <lib id="wxtiff" template="3rdparty_lib"
37 cond="wxUSE_LIBTIFF=='builtin' and USE_GUI=='1' and BUILDING_LIB=='1'">
38 <dirname>$(LIBDIRNAME)</dirname>
39 <include>$(INC_ZLIB)</include>
40 <include>$(INC_JPEG)</include>
41 <cflags-borland>-w-8004 -w-8012 -w-8057 -w-8060 -w-8066</cflags-borland>
42 <cflags-dmars>-w2</cflags-dmars>
43 <sources>
44 $(TIFF_PLATFORM_SRC)
45 src/tiff/tif_aux.c
46 src/tiff/tif_close.c
47 src/tiff/tif_codec.c
48 src/tiff/tif_color.c
49 src/tiff/tif_compress.c
50 src/tiff/tif_dir.c
51 src/tiff/tif_dirinfo.c
52 src/tiff/tif_dirread.c
53 src/tiff/tif_dirwrite.c
54 src/tiff/tif_dumpmode.c
55 src/tiff/tif_error.c
56 src/tiff/tif_fax3.c
57 src/tiff/tif_fax3sm.c
58 src/tiff/tif_getimage.c
59 src/tiff/tif_jpeg.c
60 src/tiff/tif_flush.c
61 src/tiff/tif_lzw.c
62 src/tiff/tif_luv.c
63 src/tiff/tif_next.c
64 src/tiff/tif_open.c
65 src/tiff/tif_packbits.c
66 src/tiff/tif_pixarlog.c
67 src/tiff/tif_predict.c
68 src/tiff/tif_print.c
69 src/tiff/tif_read.c
70 src/tiff/tif_swab.c
71 src/tiff/tif_strip.c
72 src/tiff/tif_thunder.c
73 src/tiff/tif_tile.c
74 src/tiff/tif_version.c
75 src/tiff/tif_warning.c
76 src/tiff/tif_write.c
77 src/tiff/tif_zip.c
78 </sources>
79 </lib>
80
81 </makefile>