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