+ <!-- under Unix this is an option (detected at configure-time);
+ under Windows this is not an user option! -->
+ <set var="WX_PORT">
+ <if cond="FORMAT=='msevc4prj'">wince</if>
+ <if cond="FORMAT!='msevc4prj'">msw</if>
+ </set>
+
+ <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'">wxbase$(WX_VERSION)$(WXLIBPOSTFIX)</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'">wx$(WX_PORT)$(WX_VERSION)$(WXLIBPOSTFIX)</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'">
+ wxbase$(WX_VERSION)$(WXLIBPOSTFIX)_$(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'">
+ wx$(WX_PORT)$(WX_VERSION)$(WXLIBPOSTFIX)_$(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>aui</define-wxlib-name>
+ <define-wxlib-name>stc</define-wxlib-name>
+ <define-wxlib-name>richtext</define-wxlib-name>
+
+ <!-- NOTE: The GL lib is not part of the monolithic build; treat it as a contrib! -->
+
+
+