]> git.saurik.com Git - wxWidgets.git/blobdiff - build/bakefiles/odbc.bkl
fix the problem with parsing HTML comments (closes bug 1116708; based on patch 1168583)
[wxWidgets.git] / build / bakefiles / odbc.bkl
index eec210764d1fcef5fe751a2821f3778d23b005fb..4c141776f186ae99f169f20ef27e93e57fe35dc7 100644 (file)
@@ -3,31 +3,41 @@
 
     <if cond="FORMAT=='autoconf'">
         <option name="wxUSE_ODBC"/>
+        <set var="LIB_ODBC">
+            <if cond="wxUSE_ODBC=='builtin'">wxodbc$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)-$(WX_RELEASE)$(HOST_SUFFIX)</if>
+        </set>
     </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>
+        <set var="LIB_ODBC">
+            <if cond="wxUSE_ODBC=='builtin'">wxodbc$(WXDEBUGFLAG)$(HOST_SUFFIX)</if>
+        </set>
     </if>
-    <set var="LIB_ODBC">
-        <if cond="wxUSE_ODBC=='builtin'">wxodbc</if>
+    <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
+            src/iodbc/catalog.c
             src/iodbc/connect.c
-                   src/iodbc/dlf.c
-                   src/iodbc/dlproc.c
-                   src/iodbc/execute.c
-                   src/iodbc/fetch.c
-                   src/iodbc/hdbc.c
-                   src/iodbc/henv.c
-                   src/iodbc/herr.c
-                   src/iodbc/hstmt.c
-                   src/iodbc/info.c
-                   src/iodbc/itrace.c
-                   src/iodbc/misc.c
-                   src/iodbc/prepare.c
+            src/iodbc/dlf.c
+            src/iodbc/dlproc.c
+            src/iodbc/execute.c
+            src/iodbc/fetch.c
+            src/iodbc/hdbc.c
+            src/iodbc/henv.c
+            src/iodbc/herr.c
+            src/iodbc/hstmt.c
+            src/iodbc/info.c
+            src/iodbc/itrace.c
+            src/iodbc/misc.c
+            src/iodbc/prepare.c
             src/iodbc/result.c
         </sources>
     </lib>