allow specifying non default libraries for gnu output format (patch 1469464)
[wxWidgets.git] / build / bakefiles / wxpresets / presets / wx.bkl
1 <?xml version="1.0" ?>
2 <!-- $Id$ -->
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">base core net xml odbc xrc html adv media gl dbgrid qa</set>
19
20     <!-- NOTE: refer to the NET contrib using NETUTILS instead of NET
21                (which is already in LIB_LIST) -->
22     <set var="CONTRIBLIB_LIST">animate applet deprecated fl foldbar gizmos mmedia netutils ogl plot stc svg</set>
23     <set var="ALLLIB_LIST">$(LIB_LIST) $(CONTRIBLIB_LIST)</set>
24
25
26
27     <!-- this is just a wrapper that includes the real implementation: -->
28
29     <set var="__wx_included_impl">0</set>
30
31     <if cond="FORMAT in ['autoconf','gnu']">
32         <include file="wx_unix.bkl"/>
33         <set var="__wx_included_impl">1</set>
34     </if>
35
36     <if cond="FORMAT!='autoconf' and PLATFORM_WIN32=='1'">
37         <include file="wx_win32.bkl"/>
38         <set var="__wx_included_impl">1</set>
39     </if>
40
41     <if cond="__wx_included_impl=='0'">
42         <error>This format is not (yet) supported by wx preset.</error>
43     </if>
44
45 </makefile>