2003-06-23 15:50:43 -04:00
|
|
|
<?xml version="1.0" ?>
|
2005-10-31 12:00:43 -05:00
|
|
|
|
2003-06-23 15:50:43 -04:00
|
|
|
<makefile>
|
|
|
|
|
|
|
|
<if cond="FORMAT=='autoconf'">
|
|
|
|
<option name="wxUSE_LIBTIFF"/>
|
2004-09-26 04:46:55 -04:00
|
|
|
<set var="LIB_TIFF">
|
|
|
|
<if cond="wxUSE_LIBTIFF=='builtin' and USE_GUI=='1'">
|
|
|
|
wxtiff$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)-$(WX_RELEASE)$(HOST_SUFFIX)
|
|
|
|
</if>
|
|
|
|
</set>
|
2003-06-23 15:50:43 -04:00
|
|
|
</if>
|
|
|
|
<if cond="FORMAT!='autoconf'">
|
2004-04-01 15:20:15 -05:00
|
|
|
<set var="wxUSE_LIBTIFF">
|
|
|
|
<!-- NB: libtiff doesn't compile on WinCE -->
|
|
|
|
<if cond="FORMAT=='msevc4prj'">no</if>
|
|
|
|
<if cond="FORMAT!='msevc4prj'">builtin</if>
|
|
|
|
</set>
|
2004-09-26 04:46:55 -04:00
|
|
|
<set var="LIB_TIFF">
|
|
|
|
<if cond="wxUSE_LIBTIFF=='builtin' and USE_GUI=='1'">
|
2004-10-08 07:20:24 -04:00
|
|
|
wxtiff$(WXDEBUGFLAG)$(HOST_SUFFIX)
|
2004-09-26 04:46:55 -04:00
|
|
|
</if>
|
|
|
|
</set>
|
2003-06-23 15:50:43 -04:00
|
|
|
</if>
|
2007-09-19 20:01:33 -04:00
|
|
|
|
|
|
|
<set var="INC_TIFF_BUILD"></set>
|
|
|
|
<if cond="FORMAT=='autoconf'">
|
|
|
|
<set var="INC_TIFF_BUILD">
|
|
|
|
<if cond="wxUSE_LIBTIFF=='builtin'">$(wx_top_builddir)/src/tiff/libtiff</if>
|
|
|
|
</set>
|
|
|
|
</if>
|
2003-06-27 09:25:11 -04:00
|
|
|
<set var="INC_TIFF">
|
2007-09-19 20:01:33 -04:00
|
|
|
<if cond="wxUSE_LIBTIFF=='builtin'">$(TOP_SRCDIR)src/tiff/libtiff</if>
|
2003-06-27 09:25:11 -04:00
|
|
|
</set>
|
2003-06-23 15:50:43 -04:00
|
|
|
|
2003-06-27 09:25:11 -04:00
|
|
|
<set var="TIFF_PLATFORM_SRC">
|
2007-09-19 20:01:33 -04:00
|
|
|
<if cond="PLATFORM_UNIX=='1'">src/tiff/libtiff/tif_unix.c</if>
|
|
|
|
<if cond="PLATFORM_MACOSX=='1'">src/tiff/libtiff/tif_unix.c</if>
|
|
|
|
<if cond="PLATFORM_WIN32=='1'">src/tiff/libtiff/tif_win32.c</if>
|
2003-06-27 09:25:11 -04:00
|
|
|
</set>
|
2005-04-13 12:46:02 -04:00
|
|
|
|
2003-06-27 17:29:07 -04:00
|
|
|
<lib id="wxtiff" template="3rdparty_lib"
|
2003-07-27 05:52:41 -04:00
|
|
|
cond="wxUSE_LIBTIFF=='builtin' and USE_GUI=='1' and BUILDING_LIB=='1'">
|
2003-06-23 15:50:43 -04:00
|
|
|
<dirname>$(LIBDIRNAME)</dirname>
|
2004-01-26 16:32:07 -05:00
|
|
|
<include>$(INC_ZLIB)</include>
|
2004-01-24 17:13:28 -05:00
|
|
|
<include>$(INC_JPEG)</include>
|
2007-09-19 20:01:33 -04:00
|
|
|
<include>$(INC_TIFF_BUILD)</include>
|
|
|
|
<include>$(INC_TIFF)</include>
|
2003-08-07 08:21:50 -04:00
|
|
|
<cflags-borland>-w-8004 -w-8012 -w-8057 -w-8060 -w-8066</cflags-borland>
|
2004-07-16 14:06:34 -04:00
|
|
|
<cflags-dmars>-w2</cflags-dmars>
|
2005-11-10 07:05:11 -05:00
|
|
|
<cflags-watcom>-wcd=124</cflags-watcom>
|
2009-11-30 19:43:15 -05:00
|
|
|
<if cond="IS_MSVC">
|
|
|
|
<!--
|
|
|
|
define this to get rid of a warning about using POSIX lfind():
|
|
|
|
confusingly enough, we do define lfind as _lfind for MSVC but
|
|
|
|
doing this results in a just more confusing warning, see:
|
|
|
|
http://connect.microsoft.com/VisualStudio/feedback/ViewFeedback.aspx?FeedbackID=101278
|
|
|
|
-->
|
|
|
|
<define>_CRT_NONSTDC_NO_WARNINGS</define>
|
|
|
|
</if>
|
|
|
|
|
2003-06-23 15:50:43 -04:00
|
|
|
<sources>
|
2003-06-27 09:25:11 -04:00
|
|
|
$(TIFF_PLATFORM_SRC)
|
2007-09-19 20:01:33 -04:00
|
|
|
src/tiff/libtiff/tif_aux.c
|
|
|
|
src/tiff/libtiff/tif_close.c
|
|
|
|
src/tiff/libtiff/tif_codec.c
|
|
|
|
src/tiff/libtiff/tif_color.c
|
|
|
|
src/tiff/libtiff/tif_compress.c
|
|
|
|
src/tiff/libtiff/tif_dir.c
|
|
|
|
src/tiff/libtiff/tif_dirinfo.c
|
|
|
|
src/tiff/libtiff/tif_dirread.c
|
|
|
|
src/tiff/libtiff/tif_dirwrite.c
|
|
|
|
src/tiff/libtiff/tif_dumpmode.c
|
|
|
|
src/tiff/libtiff/tif_error.c
|
|
|
|
src/tiff/libtiff/tif_extension.c
|
|
|
|
src/tiff/libtiff/tif_fax3.c
|
|
|
|
src/tiff/libtiff/tif_fax3sm.c
|
|
|
|
src/tiff/libtiff/tif_flush.c
|
|
|
|
src/tiff/libtiff/tif_getimage.c
|
2012-12-10 09:27:44 -05:00
|
|
|
src/tiff/libtiff/tif_jbig.c
|
2007-09-19 20:01:33 -04:00
|
|
|
src/tiff/libtiff/tif_jpeg.c
|
2012-12-10 09:27:44 -05:00
|
|
|
src/tiff/libtiff/tif_jpeg_12.c
|
2007-09-19 20:01:33 -04:00
|
|
|
src/tiff/libtiff/tif_luv.c
|
2012-12-10 09:27:44 -05:00
|
|
|
src/tiff/libtiff/tif_lzma.c
|
2007-09-19 20:01:33 -04:00
|
|
|
src/tiff/libtiff/tif_lzw.c
|
|
|
|
src/tiff/libtiff/tif_next.c
|
|
|
|
src/tiff/libtiff/tif_ojpeg.c
|
|
|
|
src/tiff/libtiff/tif_open.c
|
|
|
|
src/tiff/libtiff/tif_packbits.c
|
|
|
|
src/tiff/libtiff/tif_pixarlog.c
|
|
|
|
src/tiff/libtiff/tif_predict.c
|
|
|
|
src/tiff/libtiff/tif_print.c
|
|
|
|
src/tiff/libtiff/tif_read.c
|
|
|
|
src/tiff/libtiff/tif_strip.c
|
|
|
|
src/tiff/libtiff/tif_swab.c
|
|
|
|
src/tiff/libtiff/tif_thunder.c
|
|
|
|
src/tiff/libtiff/tif_tile.c
|
|
|
|
src/tiff/libtiff/tif_version.c
|
|
|
|
src/tiff/libtiff/tif_warning.c
|
|
|
|
src/tiff/libtiff/tif_write.c
|
|
|
|
src/tiff/libtiff/tif_zip.c
|
2003-06-23 15:50:43 -04:00
|
|
|
</sources>
|
|
|
|
</lib>
|
|
|
|
|
|
|
|
</makefile>
|