]> git.saurik.com Git - wxWidgets.git/blobdiff - build/bakefiles/tiff.bkl
Blind bug fix to bug reported by Angel Kry.
[wxWidgets.git] / build / bakefiles / tiff.bkl
index f08024223103ee05cc91a610b78ca8f2337e54bc..f2198e2f5ff600e363090655981bff8ed528b087 100644 (file)
@@ -3,6 +3,11 @@
 
     <if cond="FORMAT=='autoconf'">
         <option name="wxUSE_LIBTIFF"/>
+        <set var="LIB_TIFF">
+            <if cond="wxUSE_LIBTIFF=='builtin' and USE_GUI=='1'">
+                wxtiff$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)-$(WX_RELEASE)$(HOST_SUFFIX)
+            </if>
+        </set>
     </if>
     <if cond="FORMAT!='autoconf'">
         <set var="wxUSE_LIBTIFF">
             <if cond="FORMAT=='msevc4prj'">no</if>
             <if cond="FORMAT!='msevc4prj'">builtin</if>
         </set>
+        <set var="LIB_TIFF">
+            <if cond="wxUSE_LIBTIFF=='builtin' and USE_GUI=='1'">
+                wxtiff$(WXDEBUGFLAG)$(HOST_SUFFIX)
+            </if>
+        </set>
     </if>
-    <set var="LIB_TIFF">
-        <if cond="wxUSE_LIBTIFF=='builtin' and USE_GUI=='1'">
-            wxtiff$(WXDEBUGFLAG)$(HOST_SUFFIX)
-        </if>
-    </set>
     <set var="INC_TIFF">
         <if cond="wxUSE_LIBTIFF=='builtin'">$(TOP_SRCDIR)src/tiff</if>
     </set>
@@ -25,6 +30,7 @@
         <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_WIN32=='1'">src/tiff/tif_win32.c</if>
+        <if cond="PLATFORM_MACOS=='1'">src/tiff/tif_apple.c</if>
     </set>
     
     <lib id="wxtiff" template="3rdparty_lib"
         <include>$(INC_ZLIB)</include>
         <include>$(INC_JPEG)</include>
         <cflags-borland>-w-8004 -w-8012 -w-8057 -w-8060 -w-8066</cflags-borland>
+        <cflags-dmars>-w2</cflags-dmars>
         <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