]> git.saurik.com Git - wxWidgets.git/blobdiff - build/bakefiles/Bakefiles.bkgen
Updated for eVC4
[wxWidgets.git] / build / bakefiles / Bakefiles.bkgen
index e84a96695712bdb170a3cf5c58ee6e04cebbd021..0bd1f2b165bafb46df9e4b85ea65ea2157518415 100644 (file)
@@ -3,6 +3,30 @@
 
 <bakefile-gen>
 
+    <!--
+    Formats listed here are not generated by default. To enable them, either
+    remove them from the <disable-formats> directive below or create
+    Bakefiles.local.bkgen file in this directory and add <enable-formats>
+    into it:
+         <?xml version="1.0" ?>
+         <bakefile-gen>
+             <enable-formats>dmars</enable-formats>
+         </bakefile-gen>
+
+    Reasons why these formats are disabled (and so not in CVS):
+    
+    dmars     - In beta testing, will be added when it stabilizes.
+    cbuilderx - Generated projects are too bad to be included in CVS. Please
+                *do not* enable this format until FIXMEs in .bkl files related
+                to cbuilderx are addressed. In particular, the project must
+                be placed into build/msw(?) directory and store object files
+                in its subdirectory and it must copy setup.h as others do.
+    cbx_unix  - Doesn't intergrate well and won't be used by most Unix people.
+    -->
+    
+    <disable-formats>dmars,cbx_unix,cbuilderx</disable-formats>
+    
+
     <!-- These wildcards match all .bkl files in wxWindows tree: -->
     <input>
         wx.bkl
         ../../contrib/samples/*.bkl
         ../../contrib/samples/*/*.bkl
         ../../contrib/samples/*/*/*.bkl
+        ../../contrib/utils/*/*.bkl
     </input>
 
     <!-- List of output formats to generate: -->
-    <add-formats>autoconf,borland,mingw,msvc,msvc6prj,watcom</add-formats>
+    <add-formats>
+        autoconf,borland,dmars,mingw,msvc,msvc6prj,watcom,cbuilderx,cbx_unix
+    </add-formats>
     
-    <del-formats files="../../samples/*.bkl">autoconf,msvc6prj</del-formats>
-    <del-formats files="../../demos/*.bkl">msvc6prj</del-formats>
-    <del-formats files="../../samples/html/html_samples.bkl">msvc6prj</del-formats>
-    <del-formats files="../../samples/mobile/mobile_samples.bkl">msvc6prj</del-formats>
-    <del-formats files="../../samples/opengl/opengl_samples.bkl">msvc6prj</del-formats>
-    <del-formats files="../../utils/*.bkl">msvc6prj</del-formats>
+    <del-formats files="../../samples/*.bkl">
+        autoconf,msvc6prj,cbuilderx,cbx_unix
+    </del-formats>
+    <del-formats files="../../demos/*.bkl">
+        msvc6prj,cbuilderx,cbx_unix
+    </del-formats>
+    <del-formats files="../../samples/html/html_samples.bkl">
+        msvc6prj,cbuilderx,cbx_unix
+    </del-formats>
+    <del-formats files="../../samples/mobile/mobile_samples.bkl">
+        msvc6prj,cbuilderx,cbx_unix
+    </del-formats>
+    <del-formats files="../../samples/opengl/opengl_samples.bkl">
+        msvc6prj,cbuilderx,cbx_unix
+    </del-formats>
+    <del-formats files="../../utils/*.bkl">
+        msvc6prj,cbuilderx,cbx_unix
+    </del-formats>
 
     
     <!-- Default flags (for all formats and bakefiles): -->
-    <add-flags>-Icompat -Iformats</add-flags>
+    <add-flags>-Iformats</add-flags>
     
     
     <!-- Directories where the files go: -->
@@ -43,6 +82,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>
     <add-flags files="wx.bkl" formats="msvc6prj">
         -o../msw/wx.dsw
     </add-flags>
+    <add-flags files="wx.bkl" formats="cbuilderx">
+        -o../../wx.cbx
+    </add-flags>
     <add-flags files="../../contrib/build/*/*.bkl" formats="autoconf">
         -o../../contrib/src/$(INPUT_FILE_BASENAME_NOEXT)/Makefile.in
     </add-flags>
+    <add-flags files="../../contrib/build/*/*.bkl" formats="cbx_unix">
+        -o../../contrib/src/$(INPUT_FILE_BASENAME_NOEXT)/$(INPUT_FILE_BASENAME_NOEXT)Unix.cbx
+    </add-flags>
+    <!-- FIXME: don't do this once it is possible (new CBX version) -->
+    <add-flags files="../../contrib/build/*/*.bkl" formats="cbuilderx">
+        -o../../contrib/src/$(INPUT_FILE_BASENAME_NOEXT)/$(INPUT_FILE_BASENAME_NOEXT).cbx
+    </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>
 
     <add-flags formats="wx24dsp">
         -DUSE_GUI=1 -DWXUNIV=0 -o../../src/wxWindows.dsp
     </add-flags>
+    
+    <add-formats files="wx.bkl">rpmspec</add-formats>
 
 
     <!-- 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">
     <add-flags files="wx.bkl" formats="borland">
         -DOPTIONS_FILE=config.bcc
     </add-flags>
+    <add-flags files="wx.bkl" formats="dmars">
+        -DOPTIONS_FILE=config.dmc
+    </add-flags>
     <add-flags files="wx.bkl" formats="mingw">
         -DOPTIONS_FILE=config.gcc
     </add-flags>
     <add-flags files="../../*/*" formats="borland">
         -DOPTIONS_FILE=../build/msw/config.bcc
     </add-flags>
+    <add-flags files="../../*/*" formats="dmars">
+        -DOPTIONS_FILE=../build/msw/config.dmc
+    </add-flags>
     <add-flags files="../../*/*" formats="mingw">
         -DOPTIONS_FILE=../build/msw/config.gcc
     </add-flags>
     <add-flags files="../../*/*/*" formats="borland">
         -DOPTIONS_FILE=../../build/msw/config.bcc
     </add-flags>
+    <add-flags files="../../*/*/*" formats="dmars">
+        -DOPTIONS_FILE=../../build/msw/config.dmc
+    </add-flags>
     <add-flags files="../../*/*/*" formats="mingw">
         -DOPTIONS_FILE=../../build/msw/config.gcc
     </add-flags>
     <add-flags files="../../*/*/*/*" formats="borland">
         -DOPTIONS_FILE=../../../build/msw/config.bcc
     </add-flags>
+    <add-flags files="../../*/*/*/*" formats="dmars">
+        -DOPTIONS_FILE=../../../build/msw/config.dmc
+    </add-flags>
     <add-flags files="../../*/*/*/*" formats="mingw">
         -DOPTIONS_FILE=../../../build/msw/config.gcc
     </add-flags>
     <add-flags files="../../*/*/*/*/*" formats="borland">
         -DOPTIONS_FILE=../../../../build/msw/config.bcc
     </add-flags>
+    <add-flags files="../../*/*/*/*/*" formats="dmars">
+        -DOPTIONS_FILE=../../../../build/msw/config.dmc
+    </add-flags>
     <add-flags files="../../*/*/*/*/*" formats="mingw">
         -DOPTIONS_FILE=../../../../build/msw/config.gcc
     </add-flags>