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