+
+ <set var="WXLIBINCLUDE">$(WXLIBPATH)$(DIRSEP)$(WX_PORT)$(WXLIBPOSTFIX)</set>
+
+
+ <!-- All the possible mixes for the wx library names -->
+ <set var="WXLIB_BASE_NAME">
+ <if cond="WX_MONOLITHIC=='0' and WX_UNICODE=='0' and WX_DEBUG=='0'">wxbase$(WX_VERSION)</if>
+ <if cond="WX_MONOLITHIC=='0' and WX_UNICODE=='0' and WX_DEBUG=='1'">wxbase$(WX_VERSION)d</if>
+ <if cond="WX_MONOLITHIC=='0' and WX_UNICODE=='1' and WX_DEBUG=='0'">wxbase$(WX_VERSION)u</if>
+ <if cond="WX_MONOLITHIC=='0' and WX_UNICODE=='1' and WX_DEBUG=='1'">wxbase$(WX_VERSION)ud</if>
+
+ <!--
+ the trick used to support monolithic builds is here: when the
+ <wx-lib>base</wx-lib> tag is found, and user selected
+ WX_MONOLITHIC=1, then the base library is translated to the
+ monolithic library
+ -->
+ <if cond="WX_MONOLITHIC=='1' and WX_UNICODE=='0' and WX_DEBUG=='0'">wx$(WX_PORT)$(WX_VERSION)</if>
+ <if cond="WX_MONOLITHIC=='1' and WX_UNICODE=='0' and WX_DEBUG=='1'">wx$(WX_PORT)$(WX_VERSION)d</if>
+ <if cond="WX_MONOLITHIC=='1' and WX_UNICODE=='1' and WX_DEBUG=='0'">wx$(WX_PORT)$(WX_VERSION)u</if>
+ <if cond="WX_MONOLITHIC=='1' and WX_UNICODE=='1' and WX_DEBUG=='1'">wx$(WX_PORT)$(WX_VERSION)ud</if>
+ </set>
+
+
+ <!-- Libraries whose name is prefixed with 'wxbase' -->
+ <define-global-tag name="define-wxbase-lib-name">
+ <set var="WXLIB_$(value.upper())_NAME">
+ <if cond="WX_MONOLITHIC=='0' and WX_UNICODE=='0' and WX_DEBUG=='0'">
+ wxbase$(WX_VERSION)_$(value)
+ </if>
+ <if cond="WX_MONOLITHIC=='0' and WX_UNICODE=='0' and WX_DEBUG=='1'">
+ wxbase$(WX_VERSION)d_$(value)
+ </if>
+ <if cond="WX_MONOLITHIC=='0' and WX_UNICODE=='1' and WX_DEBUG=='0'">
+ wxbase$(WX_VERSION)u_$(value)
+ </if>
+ <if cond="WX_MONOLITHIC=='0' and WX_UNICODE=='1' and WX_DEBUG=='1'">
+ wxbase$(WX_VERSION)ud_$(value)
+ </if>
+ </set>
+ </define-global-tag>
+
+ <define-wxbase-lib-name>net</define-wxbase-lib-name>
+ <define-wxbase-lib-name>xml</define-wxbase-lib-name>
+
+
+ <!-- Libraries whose name is prefixed with 'wx' only -->
+ <define-global-tag name="define-wxlib-name">
+ <set var="WXLIB_$(value.upper())_NAME">
+ <if cond="WX_MONOLITHIC=='0' and WX_UNICODE=='0' and WX_DEBUG=='0'">
+ wx$(WX_PORT)$(WX_VERSION)_$(value)
+ </if>
+ <if cond="WX_MONOLITHIC=='0' and WX_UNICODE=='0' and WX_DEBUG=='1'">
+ wx$(WX_PORT)$(WX_VERSION)d_$(value)
+ </if>
+ <if cond="WX_MONOLITHIC=='0' and WX_UNICODE=='1' and WX_DEBUG=='0'">
+ wx$(WX_PORT)$(WX_VERSION)u_$(value)
+ </if>
+ <if cond="WX_MONOLITHIC=='0' and WX_UNICODE=='1' and WX_DEBUG=='1'">
+ wx$(WX_PORT)$(WX_VERSION)ud_$(value)
+ </if>
+ </set>
+ </define-global-tag>
+
+ <define-wxlib-name>core</define-wxlib-name>
+ <define-wxlib-name>media</define-wxlib-name>
+ <define-wxlib-name>xrc</define-wxlib-name>
+ <define-wxlib-name>html</define-wxlib-name>
+ <define-wxlib-name>adv</define-wxlib-name>
+ <define-wxlib-name>qa</define-wxlib-name>
+ <define-wxlib-name>gl</define-wxlib-name>
+ <define-wxlib-name>aui</define-wxlib-name>
+ <define-wxlib-name>stc</define-wxlib-name>
+ <define-wxlib-name>richtext</define-wxlib-name>
+
+
+