<makefile>
- <requires version="0.1.3"/>
+ <requires version="0.1.4"/>
<!-- bakefile modules we need: -->
<using module="datafiles"/>
<include file="plugins_deps.bkl"/>
<!-- ================================================================== -->
- <!-- wxWindows version numbers: -->
+ <!-- wxWidgets version numbers: -->
<!-- ================================================================== -->
<set var="WXVER_MAJOR">$(wxwin.getVersionMajor())</set>
<libname>$(id)$(WXDEBUGFLAG)$(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>
"$(SETUPHDIR)\wx\setup.h" : $(DOLLAR)(SOURCE) "$(DOLLAR)(INTDIR)" "$(DOLLAR)(OUTDIR)"
$(TAB)copy "$(DOLLAR)(InputPath)" $(SETUPHDIR)\wx\setup.h
</set>
- <!-- FIXME: temporary kludge! remove after upgrade to 0.1.4 -->
- <if cond="FORMAT=='msvc6prj'">
- <set var="__custom_build_files">
- $(_custom_build_files)
- </set>
- <set var="__custom_build_include_wx_msw_setup_h">
- $(_custom_build_include_wx_msw_setup_h)
- </set>
- </if>
</if>
</define-tag>
<!-- =============================================================== -->
- <!-- Templates for wxWindows libs: -->
+ <!-- Templates for wxWidgets libs: -->
<!-- =============================================================== -->
<template id="wx" template="common_settings">
<if cond="FORMAT=='borland'">
<sys-lib>ole2w32</sys-lib>
</if>
- <if cond="FORMAT!='borland'">
+ <if cond="FORMAT=='msevc4prj'">
+ <sys-lib>ole32</sys-lib>
+ <sys-lib>oleaut32</sys-lib>
+ <sys-lib>uuid</sys-lib>
+ <sys-lib>commctrl</sys-lib>
+ <sys-lib>winsock</sys-lib>
+ <sys-lib>wininet</sys-lib>
+ </if>
+ <if cond="FORMAT!='borland' and FORMAT!='msevc4prj'">
<sys-lib>kernel32</sys-lib>
<sys-lib>user32</sys-lib>
<sys-lib>gdi32</sys-lib>
<if cond="FORMAT=='msvc' or FORMAT=='msvc6prj' or FORMAT=='borland'">
<sys-lib>oleacc</sys-lib>
</if>
- <sys-lib>odbc32</sys-lib>
+ <if cond="FORMAT!='msevc4prj'">
+ <sys-lib>odbc32</sys-lib>
+ </if>
</if>
</template>
<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>