<?xml version="1.0" ?>
<!-- $Id$ -->
<makefile>
+
+ <set var="MONOLIB_SRC">
+ <if cond="USE_GUI=='0'">
+ src/common/init.cpp $(BASE_SRC)
+ </if>
+ <if cond="USE_GUI=='1'">
+ $(BASE_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</define>
<define>WXMAKINGDLL</define>
- <sources>$(BASE_SRC) $(CORE_SRC) $(HTML_SRC)</sources>
+ <sources>$(MONOLIB_SRC)</sources>
<library>$(LIB_ZLIB)</library>
<library>$(LIB_REGEX)</library>
<lib id="monolib" template="wx_lib"
cond="SHARED=='0' and MONOLITHIC=='1'">
- <define>__WXBASE__</define>
- <sources>$(BASE_SRC) $(CORE_SRC) $(HTML_SRC)</sources>
+ <define>wxUSE_BASE</define>
+ <sources>$(MONOLIB_SRC)</sources>
</lib>
</makefile>