]> git.saurik.com Git - wxWidgets.git/blame - build/bakefiles/tiff.bkl
Make mouse capture checking asserts stronger and more detailed.
[wxWidgets.git] / build / bakefiles / tiff.bkl
CommitLineData
ddf98968 1<?xml version="1.0" ?>
b8af111f 2
ddf98968
VS
3<makefile>
4
5 <if cond="FORMAT=='autoconf'">
6 <option name="wxUSE_LIBTIFF"/>
a1bf307a
RL
7 <set var="LIB_TIFF">
8 <if cond="wxUSE_LIBTIFF=='builtin' and USE_GUI=='1'">
9 wxtiff$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)-$(WX_RELEASE)$(HOST_SUFFIX)
10 </if>
11 </set>
ddf98968
VS
12 </if>
13 <if cond="FORMAT!='autoconf'">
3fe61e8e
VS
14 <set var="wxUSE_LIBTIFF">
15 <!-- NB: libtiff doesn't compile on WinCE -->
16 <if cond="FORMAT=='msevc4prj'">no</if>
17 <if cond="FORMAT!='msevc4prj'">builtin</if>
18 </set>
a1bf307a
RL
19 <set var="LIB_TIFF">
20 <if cond="wxUSE_LIBTIFF=='builtin' and USE_GUI=='1'">
9c2d002b 21 wxtiff$(WXDEBUGFLAG)$(HOST_SUFFIX)
a1bf307a
RL
22 </if>
23 </set>
ddf98968 24 </if>
3442c078
VZ
25
26 <set var="INC_TIFF_BUILD"></set>
27 <if cond="FORMAT=='autoconf'">
28 <set var="INC_TIFF_BUILD">
29 <if cond="wxUSE_LIBTIFF=='builtin'">$(wx_top_builddir)/src/tiff/libtiff</if>
30 </set>
31 </if>
332cc656 32 <set var="INC_TIFF">
3442c078 33 <if cond="wxUSE_LIBTIFF=='builtin'">$(TOP_SRCDIR)src/tiff/libtiff</if>
332cc656 34 </set>
ddf98968 35
332cc656 36 <set var="TIFF_PLATFORM_SRC">
3442c078
VZ
37 <if cond="PLATFORM_UNIX=='1'">src/tiff/libtiff/tif_unix.c</if>
38 <if cond="PLATFORM_MACOSX=='1'">src/tiff/libtiff/tif_unix.c</if>
a95cad1c 39 <if cond="PLATFORM_OS2=='1'">src/tiff/libtiff/tif_unix.c</if>
3442c078 40 <if cond="PLATFORM_WIN32=='1'">src/tiff/libtiff/tif_win32.c</if>
332cc656 41 </set>
81065c36 42
82cb0280 43 <lib id="wxtiff" template="3rdparty_lib"
f1e6f626 44 cond="wxUSE_LIBTIFF=='builtin' and USE_GUI=='1' and BUILDING_LIB=='1'">
ddf98968 45 <dirname>$(LIBDIRNAME)</dirname>
2091e2a0 46 <include>$(INC_ZLIB)</include>
96507976 47 <include>$(INC_JPEG)</include>
3442c078
VZ
48 <include>$(INC_TIFF_BUILD)</include>
49 <include>$(INC_TIFF)</include>
698ec182 50 <cflags-borland>-w-8004 -w-8012 -w-8057 -w-8060 -w-8066</cflags-borland>
12f003ed 51 <cflags-dmars>-w2</cflags-dmars>
5b897d36 52 <cflags-watcom>-wcd=124</cflags-watcom>
1dba7b4c 53 <define cond="PLATFORM_OS2=='1' and FORMAT=='watcom'">OS2_32</define>
b8af111f 54 <define cond="PLATFORM_MSDOS=='1' and FORMAT=='watcom'">__MSDOS__</define>
589d2082
VZ
55 <if cond="IS_MSVC">
56 <!--
57 define this to get rid of a warning about using POSIX lfind():
58 confusingly enough, we do define lfind as _lfind for MSVC but
59 doing this results in a just more confusing warning, see:
60 http://connect.microsoft.com/VisualStudio/feedback/ViewFeedback.aspx?FeedbackID=101278
61 -->
62 <define>_CRT_NONSTDC_NO_WARNINGS</define>
63 </if>
64
ddf98968 65 <sources>
332cc656 66 $(TIFF_PLATFORM_SRC)
3442c078
VZ
67 src/tiff/libtiff/tif_aux.c
68 src/tiff/libtiff/tif_close.c
69 src/tiff/libtiff/tif_codec.c
70 src/tiff/libtiff/tif_color.c
71 src/tiff/libtiff/tif_compress.c
72 src/tiff/libtiff/tif_dir.c
73 src/tiff/libtiff/tif_dirinfo.c
74 src/tiff/libtiff/tif_dirread.c
75 src/tiff/libtiff/tif_dirwrite.c
76 src/tiff/libtiff/tif_dumpmode.c
77 src/tiff/libtiff/tif_error.c
78 src/tiff/libtiff/tif_extension.c
79 src/tiff/libtiff/tif_fax3.c
80 src/tiff/libtiff/tif_fax3sm.c
81 src/tiff/libtiff/tif_flush.c
82 src/tiff/libtiff/tif_getimage.c
8f9acf6c 83 src/tiff/libtiff/tif_jbig.c
3442c078 84 src/tiff/libtiff/tif_jpeg.c
8f9acf6c 85 src/tiff/libtiff/tif_jpeg_12.c
3442c078 86 src/tiff/libtiff/tif_luv.c
8f9acf6c 87 src/tiff/libtiff/tif_lzma.c
3442c078
VZ
88 src/tiff/libtiff/tif_lzw.c
89 src/tiff/libtiff/tif_next.c
90 src/tiff/libtiff/tif_ojpeg.c
91 src/tiff/libtiff/tif_open.c
92 src/tiff/libtiff/tif_packbits.c
93 src/tiff/libtiff/tif_pixarlog.c
94 src/tiff/libtiff/tif_predict.c
95 src/tiff/libtiff/tif_print.c
96 src/tiff/libtiff/tif_read.c
97 src/tiff/libtiff/tif_strip.c
98 src/tiff/libtiff/tif_swab.c
99 src/tiff/libtiff/tif_thunder.c
100 src/tiff/libtiff/tif_tile.c
101 src/tiff/libtiff/tif_version.c
102 src/tiff/libtiff/tif_warning.c
103 src/tiff/libtiff/tif_write.c
104 src/tiff/libtiff/tif_zip.c
ddf98968
VS
105 </sources>
106 </lib>
107
108</makefile>