]> git.saurik.com Git - wxWidgets.git/blobdiff - build/bakefiles/tiff.bkl
fixed wrong return value and child creation login in GetWindowChild() (includes patch...
[wxWidgets.git] / build / bakefiles / tiff.bkl
index b24ea90a7da0adad4d72646154c208a9c2f07996..49bed66d416e14fc72e4c7e5a3064e42530d96fc 100644 (file)
@@ -1,4 +1,6 @@
 <?xml version="1.0" ?>
+<!-- $Id$ -->
+
 <makefile>
 
     <if cond="FORMAT=='autoconf'">
@@ -28,7 +30,8 @@
     <set var="TIFF_PLATFORM_SRC">
         <if cond="PLATFORM_UNIX=='1'">src/tiff/tif_unix.c</if>
         <if cond="PLATFORM_MACOSX=='1'">src/tiff/tif_unix.c</if>
-        <if cond="PLATFORM_OS2=='1'">src/tiff/tif_unix.c</if>
+        <if cond="PLATFORM_OS2=='1' and FORMAT!='watcom'">src/tiff/tif_unix.c</if>
+        <if cond="PLATFORM_OS2=='1' and FORMAT=='watcom'">src/tiff/tif_os2.c</if>
         <if cond="PLATFORM_WIN32=='1'">src/tiff/tif_win32.c</if>
         <if cond="PLATFORM_MACOS=='1'">src/tiff/tif_apple.c</if>
         <if cond="PLATFORM_MSDOS=='1'">src/tiff/tif_msdos.c</if>
         <include>$(INC_JPEG)</include>
         <cflags-borland>-w-8004 -w-8012 -w-8057 -w-8060 -w-8066</cflags-borland>
         <cflags-dmars>-w2</cflags-dmars>
+        <cflags-watcom>-wcd=124</cflags-watcom>
+        <define cond="PLATFORM_OS2=='1' and FORMAT=='watcom'">OS2_32</define>
+        <define cond="PLATFORM_MSDOS=='1' and FORMAT=='watcom'">__MSDOS__</define>
         <sources>
             $(TIFF_PLATFORM_SRC)
-                   src/tiff/tif_aux.c
-                   src/tiff/tif_close.c
-                   src/tiff/tif_codec.c
-                   src/tiff/tif_color.c
-                   src/tiff/tif_compress.c
-                   src/tiff/tif_dir.c
-                   src/tiff/tif_dirinfo.c
-                   src/tiff/tif_dirread.c
-                   src/tiff/tif_dirwrite.c
-                   src/tiff/tif_dumpmode.c
-                   src/tiff/tif_error.c
-                   src/tiff/tif_extension.c
-                   src/tiff/tif_fax3.c
-                   src/tiff/tif_fax3sm.c
-                   src/tiff/tif_getimage.c
-                   src/tiff/tif_jpeg.c
-                   src/tiff/tif_flush.c
-                   src/tiff/tif_lzw.c
-                   src/tiff/tif_luv.c
-                   src/tiff/tif_next.c
-                   src/tiff/tif_open.c
-                   src/tiff/tif_packbits.c
-                   src/tiff/tif_pixarlog.c
-                   src/tiff/tif_predict.c
-                   src/tiff/tif_print.c
-                   src/tiff/tif_read.c
-                   src/tiff/tif_swab.c
-                   src/tiff/tif_strip.c
-                   src/tiff/tif_thunder.c
-                   src/tiff/tif_tile.c
-                   src/tiff/tif_version.c
-                   src/tiff/tif_warning.c
-                   src/tiff/tif_write.c
-                   src/tiff/tif_zip.c
+            src/tiff/tif_aux.c
+            src/tiff/tif_close.c
+            src/tiff/tif_codec.c
+            src/tiff/tif_color.c
+            src/tiff/tif_compress.c
+            src/tiff/tif_dir.c
+            src/tiff/tif_dirinfo.c
+            src/tiff/tif_dirread.c
+            src/tiff/tif_dirwrite.c
+            src/tiff/tif_dumpmode.c
+            src/tiff/tif_error.c
+            src/tiff/tif_extension.c
+            src/tiff/tif_fax3.c
+            src/tiff/tif_fax3sm.c
+            src/tiff/tif_getimage.c
+            src/tiff/tif_jpeg.c
+            src/tiff/tif_flush.c
+            src/tiff/tif_lzw.c
+            src/tiff/tif_luv.c
+            src/tiff/tif_next.c
+            src/tiff/tif_open.c
+            src/tiff/tif_packbits.c
+            src/tiff/tif_pixarlog.c
+            src/tiff/tif_predict.c
+            src/tiff/tif_print.c
+            src/tiff/tif_read.c
+            src/tiff/tif_swab.c
+            src/tiff/tif_strip.c
+            src/tiff/tif_thunder.c
+            src/tiff/tif_tile.c
+            src/tiff/tif_version.c
+            src/tiff/tif_warning.c
+            src/tiff/tif_write.c
+            src/tiff/tif_zip.c
         </sources>
     </lib>