]> git.saurik.com Git - wxWidgets.git/commitdiff
beginnings of DigitalMars support
authorVáclav Slavík <vslavik@fastmail.fm>
Thu, 9 Oct 2003 12:47:09 +0000 (12:47 +0000)
committerVáclav Slavík <vslavik@fastmail.fm>
Thu, 9 Oct 2003 12:47:09 +0000 (12:47 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24134 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

build/bakefiles/Bakefiles.bkgen
build/bakefiles/config.bkl

index 22033fd5159df4eb0129bcb5a3f9a98033fc6207..ff689d394b463488c7951f3e7f029d4e0d249f6c 100644 (file)
@@ -44,6 +44,9 @@
     <add-flags files="wx.bkl" formats="borland">
         -o../msw/makefile.bcc
     </add-flags>
+    <add-flags files="wx.bkl" formats="dmars">
+        -o../msw/makefile.dmc
+    </add-flags>
     <add-flags files="wx.bkl" formats="mingw">
         -o../msw/makefile.gcc
     </add-flags>
@@ -60,7 +63,7 @@
         -o../../contrib/src/$(INPUT_FILE_BASENAME_NOEXT)/Makefile.in
     </add-flags>
     <add-flags files="../../contrib/build/*/*.bkl"
-               formats="mingw,borland,watcom,msvc,msvc6prj">
+               formats="mingw,borland,dmars,watcom,msvc,msvc6prj">
         -DSRCDIR=../../src/$(INPUT_FILE_BASENAME_NOEXT)
     </add-flags>
 
@@ -81,7 +84,7 @@
 
     <!-- Makefile specific settings: -->
 
-    <add-flags formats="borland,mingw,msvc,watcom">
+    <add-flags formats="borland,dmars,mingw,msvc,watcom">
         -DWRITE_OPTIONS_FILE=0
     </add-flags>
     <del-flags files="wx.bkl">
index 81145a2dacb30bfc07ee096536a62f5beced3576..7ed5d13dfb1b1bc194edcde0b7d0e8ce0e3c08ff 100644 (file)
@@ -159,8 +159,8 @@ where object files are stored as well as the location of
 compiled .lib files and setup.h under the lib/ toplevel directory.
         </description>
     </option>
-
-
+    
+    
     <!-- ================================================================== -->
     <!--                             Autoconf                               -->
     <!-- ================================================================== -->
@@ -188,7 +188,7 @@ compiled .lib files and setup.h under the lib/ toplevel directory.
 
     
     <!-- ================================================================== -->
-    <!--                         Windows compilers                          -->
+    <!--                         windows compilers                          -->
     <!-- ================================================================== -->
 
     <if cond="FORMAT!='autoconf'">
@@ -243,8 +243,6 @@ Set the version of your Mingw installation here.
         <set var="EXTRACFLAGS">$(GCCFLAGS) -DHAVE_W32API_H</set>
     </if>
 
-    
-
     <!-- ================================================================== -->
     <!--            Project files - hardcode some defaults                  -->
     <!-- ================================================================== -->
@@ -263,4 +261,15 @@ Set the version of your Mingw installation here.
         <set var="MSLU">0</set>
     </if>
 
+
+    <!-- DigitalMars make is braindead, it doesn't have conditional
+         processing: -->
+    <if cond="FORMAT=='dmars'">
+        <set var="RUNTIME_LIBS">static</set>
+        <set var="BUILD">debug</set>
+        <set var="SHARED">0</set>
+        <set var="WXUNIV">0</set>
+        <set var="UNICODE">0</set>
+    </if>
+
 </makefile>