<if cond="FORMAT!='msvc'">
<set var="DEBUG_RUNTIME_LIBS">default</set>
</if>
-
+
+ <set var="MONOLITHIC_DEFAULT">
+ <if cond="FORMAT=='watcom'">1</if>
+ <if cond="FORMAT!='watcom'">0</if>
+ </set>
<option name="MONOLITHIC">
<values>0,1</values>
<values-description>Multilib,Monolithic</values-description>
- <default-value>0</default-value>
+ <default-value>$(MONOLITHIC_DEFAULT)</default-value>
<description>
Multiple libraries or single huge monolithic one?
</description>
compiled .lib files and setup.h under the lib/ toplevel directory.
</description>
</option>
-
-
+
+
<!-- ================================================================== -->
<!-- Autoconf -->
<!-- ================================================================== -->
<!-- ================================================================== -->
- <!-- Windows compilers -->
+ <!-- windows compilers -->
<!-- ================================================================== -->
<if cond="FORMAT!='autoconf'">
<set var="EXTRACFLAGS">$(GCCFLAGS) -DHAVE_W32API_H</set>
</if>
-
+ <if cond="FORMAT=='cbuilderx'">
+ <set var="EXTRACFLAGS">
+ <if cond="COMPILER=='gcc'">-DHAVE_W32API_H</if>
+ </set>
+ </if>
+
<!-- ================================================================== -->
<!-- Project files - hardcode some defaults -->
<set var="MSLU">0</set>
</if>
+
+ <!-- FIXME:
+ C++BuilderX supports only wxMSW, monolithic (sic!) static build
+ and the project can't be put into build/msw and store objects in
+ build/msw/something. This *must* be fixed! -->
+ <if cond="FORMAT=='cbuilderx'">
+ <set var="WXUNIV">0</set>
+ <set var="MONOLITHIC">1</set>
+ <set var="SRCDIR">.</set>
+ <set var="TOP_SRCDIR">$(SRCDIR)/$(WXTOPDIR)</set>
+ <set var="SHARED">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>