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