<makefile>
- <requires version="0.2.1"/>
+ <requires version="0.2.3"/>
<!-- bakefile modules we need: -->
<using module="datafiles"/>
<!-- FIXME: PalmOS is another candidate to bakefiles -->
<set var="PLATFORM_PALMOS">0</set>
- <set var="IS_MSVC_PRJ">
- $(FORMAT in ['msvc6prj','msevc4prj','msvs2003prj','msvs2005prj'])
- </set>
-
<include file="config.bkl"/>
</if>
<define>$(NO_VC_CRTDBG)</define>
<define>$(WIN32_WINNT)</define>
- <if cond="FORMAT=='msevc4prj' and
- BAKEFILE_VERSION in ['0.1.9'] and
- USE_RTTI=='0'">
- <!-- hack to make eVC4 2.6.2 project files compatible with what we had in 2.6.1 -->
- <set var="_ldlibs">$(_ldlibs.replace('ccrtrtti.lib', ''))</set>
- <set var="_cppflags">$(_cppflags.replace('/GR', ''))</set>
- </if>
<if cond="FORMAT=='msvc'">
<ldflags>$(LINK_TARGET_CPU)</ldflags>
</if>
$(TAB)copy "$(DOLLAR)(InputPath)" $(SETUPHDIR)\wx\setup.h
</if>
</set>
+ <!-- this should be removed after new bakefile release -->
+ <if cond="FORMAT in ['msvs2005prj','msvs2003prj']">
+ <if cond="BAKEFILE_VERSION!='0.2.3'">
+ <warning>FIXME: THIS OBSOLETE CODE ISN'T NEEDED ANYMORE</warning>
+ </if>
+ <set var="msvc_copy_setup_h_script">
+Creating $(SETUPHDIR)\wx\setup.h
+InputPath=..\..\include\wx\%s
+
+"$(SETUPHDIR)\wx\setup.h" : "$(DOLLAR)(INTDIR)" "$(DOLLAR)(OUTDIR)"
+$(TAB)copy "$(DOLLAR)(InputPath)" $(SETUPHDIR)\wx\setup.h
+ </set>
+ </if>
+ <!-- end of what should be removed after new bakefile release -->
<define-tag name="msvc-headers-setup-h" rules="dll,lib">
<if cond="IS_MSVC_PRJ">
"$(SETUPHDIR)\wx\msw\rcdefs.h" : "$(DOLLAR)(SOURCE)" "$(SETUPHDIR)\wx\msw"
$(TAB)$(VC_COMPILER) /EP /nologo "$(DOLLAR)(InputPath)" > "$(SETUPHDIR)\wx\msw\rcdefs.h"
</set>
+ <!-- this should be removed after new bakefile release -->
+ <if cond="FORMAT in ['msvs2005prj','msvs2003prj']">
+ <if cond="BAKEFILE_VERSION!='0.2.3'">
+ <warning>FIXME: THIS OBSOLETE CODE ISN'T NEEDED ANYMORE</warning>
+ </if>
+ <set var="_custom_build_include_wx_msw_genrcdefs_h">
+Creating $(SETUPHDIR)\wx\msw\rcdefs.h
+InputPath=..\..\include\wx\msw\genrcdefs.h
+
+"$(SETUPHDIR)\wx\msw\rcdefs.h" : "$(SETUPHDIR)\wx\msw"
+$(TAB)$(VC_COMPILER) /EP /nologo "$(DOLLAR)(InputPath)" > "$(SETUPHDIR)\wx\msw\rcdefs.h"
+ </set>
+ </if>
</if>
</define-tag>