]> git.saurik.com Git - wxWidgets.git/blobdiff - build/bakefiles/tiff.bkl
wxCocoa: added NSTableView.(mm|h)
[wxWidgets.git] / build / bakefiles / tiff.bkl
index 98bb47e765530ddccacbde3f23298e01ecfb7ba0..540313aa4c72e5357be13020b571f33d94e312eb 100644 (file)
@@ -8,10 +8,12 @@
         <set var="wxUSE_LIBTIFF">builtin</set>
     </if>
     <set var="LIB_TIFF">
-        <if cond="wxUSE_LIBTIFF=='builtin'">wxtiff$(WXDEBUGFLAG)</if>
+        <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>
+        <if cond="wxUSE_LIBTIFF=='builtin'">$(TOP_SRCDIR)src/tiff</if>
     </set>
 
     <set var="TIFF_PLATFORM_SRC">
@@ -21,8 +23,9 @@
     </set>
     
     <lib id="wxtiff" template="3rdparty_lib"
-         cond="wxUSE_LIBTIFF=='builtin' and BUILDING_LIB=='1'">
+         cond="wxUSE_LIBTIFF=='builtin' and USE_GUI=='1' and BUILDING_LIB=='1'">
         <dirname>$(LIBDIRNAME)</dirname>
+        <cflags-borland>-w-8004 -w-8012 -w-8057 -w-8060 -w-8066</cflags-borland>
         <sources>
             $(TIFF_PLATFORM_SRC)
                    src/tiff/tif_aux.c