<!-- $Id$ -->
<makefile>
+
+ <set var="BUILDING_LIB" overwrite="0">0</set>
+
<option name="UNICODE">
<values>0 1</values>
<option name="TOOLKIT_VERSION"/>
<option name="EXTRALIBS"/>
<option name="SAMPLES_RPATH_FLAG"/>
+ <set var="TOP_SRCDIR">$(top_srcdir)/</set>
</if>
<!-- ================================================================== -->
<if cond="FORMAT!='autoconf'">
+ <set var="WXTOPDIR"/> <!-- to be overriden on bakefile cmd line -->
+
<set var="TOOLKIT">MSW</set>
<set var="TOOLKIT_LOWERCASE">$(TOOLKIT.lower())</set>
<set var="TOOLKIT_VERSION"/>
<set var="SAMPLES_RPATH_FLAG"/>
<option name="EXTRALIBS"/>
- <set var="SRCDIR">..</set>
+ <set var="SRCDIR">
+ <if cond="BUILDING_LIB=='1'">..</if>
+ <if cond="BUILDING_LIB=='0'">.</if>
+ </set>
+ <set var="TOP_SRCDIR">$(SRCDIR)/$(WXTOPDIR)</set>
<set var="BUILDDIR">objs_$(COMPILER)</set>
</if>