<makefile>
- <requires version="0.1.3"/>
- <!-- FIXME: remove this kludge when upgraded to 0.1.4: -->
- <if cond="BAKEFILE_VERSION=='0.1.3'">
- <define-tag name="pic" rules="exe,dll,lib,module"/>
- </if>
+ <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>
</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'">
</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>