]>
Commit | Line | Data |
---|---|---|
1 | <?xml version="1.0" ?> | |
2 | <!-- $Id$ --> | |
3 | ||
4 | <makefile> | |
5 | ||
6 | <if cond="FORMAT=='autoconf'"> | |
7 | <option name="wxUSE_LIBTIFF"/> | |
8 | <set var="LIB_TIFF"> | |
9 | <if cond="wxUSE_LIBTIFF=='builtin' and USE_GUI=='1'"> | |
10 | wxtiff$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)-$(WX_RELEASE)$(HOST_SUFFIX) | |
11 | </if> | |
12 | </set> | |
13 | </if> | |
14 | <if cond="FORMAT!='autoconf'"> | |
15 | <set var="wxUSE_LIBTIFF"> | |
16 | <!-- NB: libtiff doesn't compile on WinCE --> | |
17 | <if cond="FORMAT=='msevc4prj'">no</if> | |
18 | <if cond="FORMAT!='msevc4prj'">builtin</if> | |
19 | </set> | |
20 | <set var="LIB_TIFF"> | |
21 | <if cond="wxUSE_LIBTIFF=='builtin' and USE_GUI=='1'"> | |
22 | wxtiff$(WXDEBUGFLAG)$(HOST_SUFFIX) | |
23 | </if> | |
24 | </set> | |
25 | </if> | |
26 | ||
27 | <set var="INC_TIFF_BUILD"></set> | |
28 | <if cond="FORMAT=='autoconf'"> | |
29 | <set var="INC_TIFF_BUILD"> | |
30 | <if cond="wxUSE_LIBTIFF=='builtin'">$(wx_top_builddir)/src/tiff/libtiff</if> | |
31 | </set> | |
32 | </if> | |
33 | <set var="INC_TIFF"> | |
34 | <if cond="wxUSE_LIBTIFF=='builtin'">$(TOP_SRCDIR)src/tiff/libtiff</if> | |
35 | </set> | |
36 | ||
37 | <set var="TIFF_PLATFORM_SRC"> | |
38 | <if cond="PLATFORM_UNIX=='1'">src/tiff/libtiff/tif_unix.c</if> | |
39 | <if cond="PLATFORM_MACOSX=='1'">src/tiff/libtiff/tif_unix.c</if> | |
40 | <if cond="PLATFORM_OS2=='1'">src/tiff/libtiff/tif_unix.c</if> | |
41 | <if cond="PLATFORM_WIN32=='1'">src/tiff/libtiff/tif_win32.c</if> | |
42 | <if cond="PLATFORM_MACOS=='1'">src/tiff/libtiff/tif_apple.c</if> | |
43 | <if cond="PLATFORM_MSDOS=='1'">src/tiff/libtiff/tif_msdos.c</if> | |
44 | </set> | |
45 | ||
46 | <lib id="wxtiff" template="3rdparty_lib" | |
47 | cond="wxUSE_LIBTIFF=='builtin' and USE_GUI=='1' and BUILDING_LIB=='1'"> | |
48 | <dirname>$(LIBDIRNAME)</dirname> | |
49 | <include>$(INC_ZLIB)</include> | |
50 | <include>$(INC_JPEG)</include> | |
51 | <include>$(INC_TIFF_BUILD)</include> | |
52 | <include>$(INC_TIFF)</include> | |
53 | <cflags-borland>-w-8004 -w-8012 -w-8057 -w-8060 -w-8066</cflags-borland> | |
54 | <cflags-dmars>-w2</cflags-dmars> | |
55 | <cflags-watcom>-wcd=124</cflags-watcom> | |
56 | <define cond="PLATFORM_OS2=='1' and FORMAT=='watcom'">OS2_32</define> | |
57 | <define cond="PLATFORM_MSDOS=='1' and FORMAT=='watcom'">__MSDOS__</define> | |
58 | <sources> | |
59 | $(TIFF_PLATFORM_SRC) | |
60 | src/tiff/libtiff/tif_aux.c | |
61 | src/tiff/libtiff/tif_close.c | |
62 | src/tiff/libtiff/tif_codec.c | |
63 | src/tiff/libtiff/tif_color.c | |
64 | src/tiff/libtiff/tif_compress.c | |
65 | src/tiff/libtiff/tif_dir.c | |
66 | src/tiff/libtiff/tif_dirinfo.c | |
67 | src/tiff/libtiff/tif_dirread.c | |
68 | src/tiff/libtiff/tif_dirwrite.c | |
69 | src/tiff/libtiff/tif_dumpmode.c | |
70 | src/tiff/libtiff/tif_error.c | |
71 | src/tiff/libtiff/tif_extension.c | |
72 | src/tiff/libtiff/tif_fax3.c | |
73 | src/tiff/libtiff/tif_fax3sm.c | |
74 | src/tiff/libtiff/tif_flush.c | |
75 | src/tiff/libtiff/tif_getimage.c | |
76 | src/tiff/libtiff/tif_jpeg.c | |
77 | src/tiff/libtiff/tif_luv.c | |
78 | src/tiff/libtiff/tif_lzw.c | |
79 | src/tiff/libtiff/tif_next.c | |
80 | src/tiff/libtiff/tif_ojpeg.c | |
81 | src/tiff/libtiff/tif_open.c | |
82 | src/tiff/libtiff/tif_packbits.c | |
83 | src/tiff/libtiff/tif_pixarlog.c | |
84 | src/tiff/libtiff/tif_predict.c | |
85 | src/tiff/libtiff/tif_print.c | |
86 | src/tiff/libtiff/tif_read.c | |
87 | src/tiff/libtiff/tif_strip.c | |
88 | src/tiff/libtiff/tif_swab.c | |
89 | src/tiff/libtiff/tif_thunder.c | |
90 | src/tiff/libtiff/tif_tile.c | |
91 | src/tiff/libtiff/tif_version.c | |
92 | src/tiff/libtiff/tif_warning.c | |
93 | src/tiff/libtiff/tif_write.c | |
94 | src/tiff/libtiff/tif_zip.c | |
95 | </sources> | |
96 | </lib> | |
97 | ||
98 | </makefile> |