]> git.saurik.com Git - wxWidgets.git/blobdiff - build/bakefiles/common.bkl
reSWIGged
[wxWidgets.git] / build / bakefiles / common.bkl
index a064a870d0a2bb9443fcb4a1c454177924f7f052..77f2e66b5e59fac51328a1573c5320a4dcb049c0 100644 (file)
@@ -3,11 +3,7 @@
 
 <makefile>
 
-    <requires version="0.1.3"/>
-    <!-- FIXME: remove this kludge when upgraded to 0.1.4: -->
-    <if cond="BAKEFILE_VERSION=='0.1.3'">
-        <define-tag name="pic" rules="exe,dll,lib,module"/>
-    </if>
+    <requires version="0.1.4"/>
     
     <!-- bakefile modules we need: -->
     <using module="datafiles"/>
@@ -305,15 +301,6 @@ InputPath=..\include\wx\msw\$(vc_setup_h)
 "$(SETUPHDIR)\wx\setup.h" : $(DOLLAR)(SOURCE) "$(DOLLAR)(INTDIR)" "$(DOLLAR)(OUTDIR)"
 $(TAB)copy "$(DOLLAR)(InputPath)" $(SETUPHDIR)\wx\setup.h
             </set>
-            <!-- FIXME: temporary kludge! remove after upgrade to 0.1.4 -->
-            <if cond="FORMAT=='msvc6prj'">
-                <set var="__custom_build_files">
-                    $(_custom_build_files)
-                </set>
-                <set var="__custom_build_include_wx_msw_setup_h">
-                    $(_custom_build_include_wx_msw_setup_h)
-                </set>
-            </if>
         </if>
     </define-tag>
 
@@ -372,7 +359,15 @@ $(TAB)copy "$(DOLLAR)(InputPath)" $(SETUPHDIR)\wx\setup.h
             <if cond="FORMAT=='borland'">
                 <sys-lib>ole2w32</sys-lib>
             </if>
-            <if cond="FORMAT!='borland'">
+            <if cond="FORMAT=='msevc4prj'">
+                <sys-lib>ole32</sys-lib>
+                <sys-lib>oleaut32</sys-lib>
+                <sys-lib>uuid</sys-lib>
+                <sys-lib>commctrl</sys-lib>
+                <sys-lib>winsock</sys-lib>
+                <sys-lib>wininet</sys-lib>
+            </if>
+            <if cond="FORMAT!='borland' and FORMAT!='msevc4prj'">
                 <sys-lib>kernel32</sys-lib>
                 <sys-lib>user32</sys-lib>
                 <sys-lib>gdi32</sys-lib>
@@ -391,7 +386,9 @@ $(TAB)copy "$(DOLLAR)(InputPath)" $(SETUPHDIR)\wx\setup.h
             <if cond="FORMAT=='msvc' or FORMAT=='msvc6prj' or FORMAT=='borland'">
                 <sys-lib>oleacc</sys-lib>
             </if>
-            <sys-lib>odbc32</sys-lib>
+            <if cond="FORMAT!='msevc4prj'">
+                <sys-lib>odbc32</sys-lib>
+            </if>
         </if>
     </template>
 
@@ -436,7 +433,7 @@ $(TAB)copy "$(DOLLAR)(InputPath)" $(SETUPHDIR)\wx\setup.h
             </precomp-headers-exclude>
         </if>
         
-        <if cond="IS_MSVC_PRJ and BUILDING_LIB=='1'">
+        <if cond="IS_MSVC_PRJ=='1' and BUILDING_LIB=='1'">
             <msvc-file-group>Common Sources:src/common/*</msvc-file-group>
             <msvc-file-group>MSW Sources:src/msw/*</msvc-file-group>
             <msvc-file-group>Generic Sources:src/generic/*</msvc-file-group>
@@ -565,7 +562,7 @@ $(TAB)copy "$(DOLLAR)(InputPath)" $(SETUPHDIR)\wx\setup.h
     <define-tag name="wx-lib" rules="exe,dll,module">
         <sys-lib>$(wxwin.libToLink(value))</sys-lib>
         <ldlibs>$(wxwin.extraLdflags(value))</ldlibs>
-        <if cond="IS_MSVC_PRJ and MONOLITHIC=='0'">
+        <if cond="IS_MSVC_PRJ=='1' and MONOLITHIC=='0'">
             <depends-on-dsp>$(wxwin.makeDspDependency(value))</depends-on-dsp>
         </if>
     </define-tag>