]> git.saurik.com Git - wxWidgets.git/blobdiff - build/bakefiles/multilib.bkl
moved GetOSVersion() to the base traits class; implement it in platform-specific...
[wxWidgets.git] / build / bakefiles / multilib.bkl
index 9803570a6477d838af65169c72298324163a8591..bb6dd8c2e4ecdee99f90722b2f9b8194950bbe55 100644 (file)
@@ -1,26 +1,50 @@
 <?xml version="1.0" ?>
 <makefile>
-
+    
     <!-- ================================================================= -->
-    <!--                           Main GUI library                        -->
+    <!--                            wxBase library                         -->
     <!-- ================================================================= -->
     
-    <dll id="coredll" template="wx_dll"
+    <dll id="basedll" template="wx_dll"
          cond="SHARED=='1' and MONOLITHIC=='0'">
         <define>WXMAKINGDLL</define>
-        <sources>$(BASE_SRC) $(CORE_SRC)</sources>
-      
+        <define>__WXBASE__</define> 
+        <define>wxUSE_BASE=1</define>
+        <define>wxUSE_GUI=0</define> 
+        <sources>$(BASE_SRC) $(BASE_AND_GUI_SRC)</sources>
+        
         <library>$(LIB_ZLIB)</library>
         <library>$(LIB_REGEX)</library>
         <library>$(LIB_PNG)</library>
         <library>$(LIB_JPEG)</library>
         <library>$(LIB_TIFF)</library>
-        <library>$(LIB_ODBC)</library>
     </dll>
     
-    <lib id="corelib" template="wx_lib"
+    <lib id="baselib" template="wx_lib"
          cond="SHARED=='0' and MONOLITHIC=='0'">
-        <sources>$(BASE_SRC) $(CORE_SRC)</sources>
+        <define>__WXBASE__</define> 
+        <define>wxUSE_BASE=1</define> 
+        <define>wxUSE_GUI=0</define> 
+        <sources>$(BASE_SRC) $(BASE_AND_GUI_SRC)</sources>
+    </lib>
+
+    <!-- ================================================================= -->
+    <!--                           Main GUI library                        -->
+    <!-- ================================================================= -->
+    
+    <dll id="coredll" template="wx_dll"
+         cond="SHARED=='1' and USE_GUI=='1' and MONOLITHIC=='0'">
+        <define>WXMAKINGDLL</define>
+        <sources>$(BASE_AND_GUI_SRC) $(CORE_SRC)</sources>
+        
+        <wx-lib>base</wx-lib>
+      
+        <library>$(LIB_ODBC)</library>        
+    </dll>
+    
+    <lib id="corelib" template="wx_lib"
+         cond="SHARED=='0' and USE_GUI=='1' and MONOLITHIC=='0'">
+        <sources>$(BASE_AND_GUI_SRC) $(CORE_SRC)</sources>
     </lib>
 
     
     <!-- ================================================================ -->
     
     <dll id="htmldll" template="wx_dll"
-         cond="SHARED=='1' and MONOLITHIC=='0'">
+         cond="SHARED=='1' and USE_GUI=='1' and MONOLITHIC=='0'">
         <define>WXMAKINGDLL</define>
         <sources>$(HTML_SRC)</sources>
         <wx-lib>core</wx-lib>
+        <wx-lib>base</wx-lib>
     </dll>
     
     <lib id="htmllib" template="wx_lib"
-         cond="SHARED=='0' and MONOLITHIC=='0'">
+         cond="SHARED=='0' and USE_GUI=='1' and MONOLITHIC=='0'">
         <sources>$(HTML_SRC)</sources>
     </lib>