]> git.saurik.com Git - wxWidgets.git/blobdiff - build/bakefiles/odbc.bkl
files of wxMac moved into carbon subdirs
[wxWidgets.git] / build / bakefiles / odbc.bkl
index eec210764d1fcef5fe751a2821f3778d23b005fb..3b29f6f497178d6f6b5ba48a68cd334d80e33cfc 100644 (file)
@@ -5,13 +5,20 @@
         <option name="wxUSE_ODBC"/>
     </if>
     <if cond="FORMAT!='autoconf'">
-        <set var="wxUSE_ODBC">builtin</set>
+        <set var="wxUSE_ODBC">
+            <if cond="PLATFORM_UNIX=='1'">builtin</if>
+            <if cond="PLATFORM_UNIX=='0'">0</if>
+        </set>
     </if>
     <set var="LIB_ODBC">
-        <if cond="wxUSE_ODBC=='builtin'">wxodbc</if>
+        <if cond="wxUSE_ODBC=='builtin'">wxodbc$(WXDEBUGFLAG)$(HOST_SUFFIX)</if>
+    </set>
+    <set var="INC_ODBC">
+        <if cond="wxUSE_ODBC=='builtin'">$(TOP_SRCDIR)src/odbc</if>
     </set>
 
-    <lib id="wxodbc" cond="wxUSE_ODBC=='builtin' and BUILDING_LIB=='1'">
+    <lib id="wxodbc" template="3rdparty_lib"
+         cond="wxUSE_ODBC=='builtin' and BUILDING_LIB=='1'">
         <dirname>$(LIBDIRNAME)</dirname>
         <sources>
                    src/iodbc/catalog.c