]> git.saurik.com Git - wxWidgets.git/blame - build/bakefiles/tiff.bkl
fix for creation of shared libraries under AIX with gcc
[wxWidgets.git] / build / bakefiles / tiff.bkl
CommitLineData
ddf98968
VS
1<?xml version="1.0" ?>
2<makefile>
3
4 <if cond="FORMAT=='autoconf'">
5 <option name="wxUSE_LIBTIFF"/>
a1bf307a
RL
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>
ddf98968
VS
11 </if>
12 <if cond="FORMAT!='autoconf'">
3fe61e8e
VS
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>
a1bf307a
RL
18 <set var="LIB_TIFF">
19 <if cond="wxUSE_LIBTIFF=='builtin' and USE_GUI=='1'">
9c2d002b 20 wxtiff$(WXDEBUGFLAG)$(HOST_SUFFIX)
a1bf307a
RL
21 </if>
22 </set>
ddf98968 23 </if>
332cc656 24 <set var="INC_TIFF">
580ac8cb 25 <if cond="wxUSE_LIBTIFF=='builtin'">$(TOP_SRCDIR)src/tiff</if>
332cc656 26 </set>
ddf98968 27
332cc656
VS
28 <set var="TIFF_PLATFORM_SRC">
29 <if cond="PLATFORM_UNIX=='1'">src/tiff/tif_unix.c</if>
e292124a 30 <if cond="PLATFORM_MACOSX=='1'">src/tiff/tif_unix.c</if>
1dba7b4c
WS
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>
332cc656 33 <if cond="PLATFORM_WIN32=='1'">src/tiff/tif_win32.c</if>
27a17b74 34 <if cond="PLATFORM_MACOS=='1'">src/tiff/tif_apple.c</if>
d6b47de6 35 <if cond="PLATFORM_MSDOS=='1'">src/tiff/tif_msdos.c</if>
332cc656 36 </set>
81065c36 37
82cb0280 38 <lib id="wxtiff" template="3rdparty_lib"
f1e6f626 39 cond="wxUSE_LIBTIFF=='builtin' and USE_GUI=='1' and BUILDING_LIB=='1'">
ddf98968 40 <dirname>$(LIBDIRNAME)</dirname>
2091e2a0 41 <include>$(INC_ZLIB)</include>
96507976 42 <include>$(INC_JPEG)</include>
698ec182 43 <cflags-borland>-w-8004 -w-8012 -w-8057 -w-8060 -w-8066</cflags-borland>
12f003ed 44 <cflags-dmars>-w2</cflags-dmars>
1dba7b4c 45 <define cond="PLATFORM_OS2=='1' and FORMAT=='watcom'">OS2_32</define>
ddf98968 46 <sources>
332cc656 47 $(TIFF_PLATFORM_SRC)
1dba7b4c
WS
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
ddf98968
VS
82 </sources>
83 </lib>
84
85</makefile>