<makefile>
- <requires version="0.1.4"/>
+ <requires version="0.1.5"/>
<!-- bakefile modules we need: -->
<using module="datafiles"/>
<set var="BUILDDIR">$(OBJS)</set>
</if>
+ <set var="LIBTYPE_SUFFIX" make_var="1">
+ <if cond="FORMAT!='autoconf' and SHARED=='0'">lib</if>
+ <if cond="FORMAT!='autoconf' and SHARED=='1'">dll</if>
+ </set>
+
<set var="LIBDIRNAME" make_var="1">
<if cond="FORMAT=='autoconf'">$(top_builddir)lib</if>
- <if cond="FORMAT!='autoconf' and SHARED=='0'">
- $(nativePaths(TOP_SRCDIR))lib$(DIRSEP)$(COMPILER)$(DIR_SUFFIX_CPU)_lib$(CFG)
- </if>
- <if cond="FORMAT!='autoconf' and SHARED=='1'">
- $(nativePaths(TOP_SRCDIR))lib$(DIRSEP)$(COMPILER)$(DIR_SUFFIX_CPU)_dll$(CFG)
+ <if cond="FORMAT!='autoconf'">
+ $(nativePaths(TOP_SRCDIR))lib$(DIRSEP)$(COMPILER)$(DIR_SUFFIX_CPU)_$(LIBTYPE_SUFFIX)$(CFG)
</if>
</set>
-wcd=657 <!-- define this function inside its class definition (could have improved code quality) -->
-wcd=667 <!-- 'va_start' macro will not work without an argument before '...' -->
</cppflags-watcom>
- <cppflags-mingw>
+ <cxxflags-mingw>
-Wno-ctor-dtor-privacy <!-- only defines a private destructor and has no friends -->
- </cppflags-mingw>
+ </cxxflags-mingw>
</template>
<!-- for both GUI and wxBase libs/samples: -->
$(WXTOPDIR)src/msw/dummy.cpp
</precomp-headers-gen>
</if>
+
+ <!-- FIXME: temporary fix for bkl-0.1.5 bug, remove <if> when
+ bkl-0.1.6 is released -->
+ <if cond="FORMAT in ['dmars','dmars_smake']">
+ <precomp-headers-location>$(WXTOPDIR)include</precomp-headers-location>
+ </if>
+
<precomp-headers-header>wx/wxprec.h</precomp-headers-header>
<precomp-headers>on</precomp-headers>
<precomp-headers-file>wxprec_$(id)</precomp-headers-file>