+ <dir>$(SETUPHDIR)</dir>
+ </mkdir>
+ <mkdir id="libdir_setup_wx">
+ <depends>libdir_setup</depends>
+ <dependency-of>setup_h</dependency-of>
+ <dir>$(SETUPHDIR)/wx</dir>
+ </mkdir>
+
+ <set var="SETUP_H_SUBDIR">
+ <if cond="WXUNIV=='1'">univ</if>
+ <if cond="WXUNIV=='0' and TOOLKIT!='PM'">$(TOOLKIT_LOWERCASE)</if>
+ <if cond="WXUNIV=='0' and TOOLKIT=='PM'">os2</if>
+ </set>
+
+ <copy-file-to-file-if-not-exist id="master_setup.h">
+ <src>$(SRCDIR)/include/wx/$(SETUP_H_SUBDIR)/setup0.h</src>
+ <dst>$(SRCDIR)/include/wx/$(SETUP_H_SUBDIR)/setup.h</dst>
+ <dependency-of>setup_h</dependency-of>
+ </copy-file-to-file-if-not-exist>
+ <copy-file-to-file-if-not-exist id="setup.h">
+ <dependency-of>setup_h</dependency-of>
+ <src>$(SRCDIR)/include/wx/$(SETUP_H_SUBDIR)/setup.h</src>
+ <dst>$(SETUPHDIR)/wx/setup.h</dst>
+ </copy-file-to-file-if-not-exist>
+ </if>
+
+
+ <!-- create rcdefs.h on Windows: -->
+ <if cond="FORMAT in ['borland','mingw','msvc','watcom'] and TOOLKIT == 'MSW'">
+
+ <mkdir id="libdir_setup_wx_msw">
+ <depends>libdir_setup_wx</depends>
+ <dir>$(SETUPHDIR)/wx/msw</dir>