1<?xml version="1.0" ?> 2<!-- $Id: wx.bkl 41871 2006-10-10 09:54:26Z VS $ --> 3 4<!-- 5 Presets for building wxWidgets applications. 6 7 FIXME: docs 8--> 9 10 11<makefile> 12 13 <!-- this variable identifies the version of the wx presets. 14 this is changed only when major changes to wxpresets take place. --> 15 <set var="WX_PRESETS_VERSION">3</set> 16 17 <!-- list of known libraries used by wx-lib tag defined in wx_unix.bkl and wx_win32.bkl --> 18 <set var="LIB_LIST"> 19 base core net xml odbc xrc html adv media gl dbgrid qa aui richtext 20 </set> 21 22 <!-- NOTE: refer to the NET contrib using NETUTILS instead of NET 23 (which is already in LIB_LIST) --> 24 <set var="CONTRIBLIB_LIST">animate applet deprecated fl foldbar gizmos mmedia netutils ogl plot stc svg</set> 25 <set var="ALLLIB_LIST">$(LIB_LIST) $(CONTRIBLIB_LIST)</set> 26 27 <!-- this is a temporary variable until there is non general --> 28 <!-- function in bakefiles for returning native markup for --> 29 <!-- reading envrionment variables --> 30 <set var="ENV_VAR"> 31 <if cond="FORMAT=='watcom'">%</if> 32 <if cond="FORMAT!='watcom'"></if> 33 </set> 34 35 36 <!-- The directory where wxWidgets is installed: --> 37 <if cond="not isdefined('WX_DIR')"> 38 <set var="WX_DIR_DEFAULT" overwrite="0">$(DOLLAR)($(ENV_VAR)WXWIN)</set> 39 <option name="WX_DIR" category="path"> 40 <default-value>$(WX_DIR_DEFAULT)</default-value> 41 <description> 42 The directory where wxWidgets library is installed 43 </description> 44 </option> 45 </if> 46 47 48 49 <!-- this is just a wrapper that includes the real implementation: --> 50 51 <set var="__wx_included_impl">0</set> 52 53 <if cond="FORMAT in ['autoconf','gnu']"> 54 <include file="wx_unix.bkl"/> 55 <set var="__wx_included_impl">1</set> 56 </if> 57 58 <if cond="FORMAT!='autoconf' and PLATFORM_WIN32=='1'"> 59 <include file="wx_win32.bkl"/> 60 <set var="__wx_included_impl">1</set> 61 </if> 62 63 <if cond="__wx_included_impl=='0'"> 64 <error>This format is not (yet) supported by wx preset.</error> 65 </if> 66 67</makefile> 68