<include file="plugins_deps.bkl"/>
<!-- ================================================================== -->
- <!-- wxWindows version numbers: -->
+ <!-- wxWidgets version numbers: -->
<!-- ================================================================== -->
<set var="WXVER_MAJOR">$(wxwin.getVersionMajor())</set>
<set var="WX_VERSION" make_var="1">
$(WXVER_MAJOR).$(WXVER_MINOR).$(WXVER_RELEASE)
</set>
+ <set var="WX_RELEASE" make_var="1">
+ $(WXVER_MAJOR).$(WXVER_MINOR)
+ </set>
<set var="WX_STABLE_BRANCH">$(int(int(WXVER_MINOR) % 2 == 0))</set>
<if cond="UNICODE=='1' and FORMAT!='msevc4prj'">u</if>
</set>
<set var="WXNAMESUFFIX">
- $(WXUNICODEFLAG)$(WXDEBUGFLAG)
+ $(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)
</set>
<set var="WXUNIVNAME">
<set var="WXLIB_XML">
<if cond="MONOLITHIC=='0'">$(mk.evalExpr(wxwin.mkLibName('xml')))</if>
</set>
+ <set var="WXLIB_XRC">
+ <if cond="MONOLITHIC=='0'">$(mk.evalExpr(wxwin.mkLibName('xrc')))</if>
+ </set>
<set var="WXLIB_ODBC">
<if cond="MONOLITHIC=='0' and USE_ODBC=='1'">
$(mk.evalExpr(wxwin.mkLibName('odbc')))
</template>
<template id="3rdparty_lib" template="common_settings,anylib">
- <libname>$(id)$(WXDEBUGFLAG)$(HOST_SUFFIX)</libname>
+ <libname>$(id)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)-$(WX_RELEASE)$(HOST_SUFFIX)</libname>
<!--
we want to install 3rd party libs system-wide only with static
- version of wxWindows; otherwise they are embedded in shared libs:
+ version of wxWidgets; otherwise they are embedded in shared libs:
-->
<install-if>SHARED=='0'</install-if>
<pic>$(substituteFromDict(SHARED, {'0':'off', '1':'on'}))</pic>
<!-- =============================================================== -->
- <!-- Templates for wxWindows libs: -->
+ <!-- Templates for wxWidgets libs: -->
<!-- =============================================================== -->
<template id="wx" template="common_settings">
<libname>$(WXLIBNAME)</libname>
<if cond="WX_DISABLE_PRECOMP_HEADERS=='0'">
- <if cond="FORMAT!='autoconf'">
+ <if cond="FORMAT!='autoconf' and TOOLKIT=='MSW'">
<sources>$(WXTOPDIR)src/msw/dummy.cpp</sources>
<precomp-headers-gen>
$(WXTOPDIR)src/msw/dummy.cpp
<precomp-headers-exclude>
src/common/unzip.c
src/common/extended.c
- src/msw/gsocket.c
- src/msw/gsockmsw.c
+ src/msw/gsocket.cpp
+ src/msw/gsockmsw.cpp
</precomp-headers-exclude>
</if>
- <if cond="IS_MSVC_PRJ and BUILDING_LIB=='1'">
+ <if cond="IS_MSVC_PRJ=='1' and BUILDING_LIB=='1'">
<msvc-file-group>Common Sources:src/common/*</msvc-file-group>
<msvc-file-group>MSW Sources:src/msw/*</msvc-file-group>
<msvc-file-group>Generic Sources:src/generic/*</msvc-file-group>
</template>
<!-- =============================================================== -->
- <!-- Templates for building wxWindows plugins: -->
+ <!-- Templates for building wxWidgets plugins: -->
<!-- =============================================================== -->
<if cond="WX_STABLE_BRANCH=='1'">
<set var="PLUGINSUFFIX">
<if cond="UNICODE=='0' and BUILD=='release'"></if>
- <if cond="UNICODE=='0' and BUILD=='debug'">_d</if>
- <if cond="UNICODE=='1' and BUILD=='release'">_u</if>
- <if cond="UNICODE=='1' and BUILD=='debug'">_ud</if>
+ <if cond="UNICODE=='0' and BUILD=='debug'">d</if>
+ <if cond="UNICODE=='1' and BUILD=='release'">u</if>
+ <if cond="UNICODE=='1' and BUILD=='debug'">ud</if>
</set>
<set var="PLUGINS_INST_DIR" make_var="1">
</define-rule>
<!-- =============================================================== -->
- <!-- Support for wxWindows samples and contrib: -->
+ <!-- Support for wxWidgets samples and contrib: -->
<!-- =============================================================== -->
<!-- Link against one wxWin library. Value must be literal! -->
<define-tag name="wx-lib" rules="exe,dll,module">
<sys-lib>$(wxwin.libToLink(value))</sys-lib>
<ldlibs>$(wxwin.extraLdflags(value))</ldlibs>
- <if cond="IS_MSVC_PRJ and MONOLITHIC=='0'">
+ <if cond="IS_MSVC_PRJ=='1' and MONOLITHIC=='0'">
<depends-on-dsp>$(wxwin.makeDspDependency(value))</depends-on-dsp>
</if>
</define-tag>