]> git.saurik.com Git - wxWidgets.git/blobdiff - build/bakefiles/monolithic.bkl
fixed unused variable warnings
[wxWidgets.git] / build / bakefiles / monolithic.bkl
index 9efa30ec9694e33ba9442985ffa17d0234256aea..62143724b65469c9fa7186f89b25e92a54d54e91 100644 (file)
@@ -1,22 +1,29 @@
 <?xml version="1.0" ?>
+<!-- $Id$ -->
 <makefile>
+    
+    <set var="MONOLIB_SRC">
+        <if cond="USE_GUI=='0'">
+            src/common/init.cpp $(BASE_SRC) $(BASE_AND_GUI_SRC)
+        </if>
+        <if cond="USE_GUI=='1'">
+            $(BASE_SRC) $(BASE_AND_GUI_SRC) $(CORE_SRC) $(HTML_SRC)
+        </if>
+    </set>
 
     <dll id="monodll" template="wx_dll"
          cond="SHARED=='1' and MONOLITHIC=='1'">
+        <define>__WXBASE__</define> 
+        <define>wxUSE_BASE=1</define> 
         <define>WXMAKINGDLL</define>
-        <sources>$(BASE_SRC) $(CORE_SRC) $(HTML_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>
+        <sources>$(MONOLIB_SRC)</sources>
     </dll>
     
     <lib id="monolib" template="wx_lib"
          cond="SHARED=='0' and MONOLITHIC=='1'">
-        <sources>$(BASE_SRC) $(CORE_SRC) $(HTML_SRC)</sources>
+        <define>__WXBASE__</define> 
+        <define>wxUSE_BASE=1</define> 
+        <sources>$(MONOLIB_SRC)</sources>
     </lib>
 
 </makefile>