1. more borland work
[wxWidgets.git] / build / bakefiles / config.bkl
1 <?xml version="1.0" ?>
2 <!-- $Id$ -->
3
4 <makefile>
5
6     <option name="UNICODE">
7         <values>0 1</values>
8         <default-value>0</default-value>
9         <description>
10             Compile Unicode build of wxWindows?
11         </description>
12     </option>
13
14     <option name="SHARED">
15         <values>0 1</values>
16         <default-value>1</default-value>
17         <description>
18             What type of library to build?
19         </description>
20     </option>
21     
22     <option name="MONOLITHIC">
23         <values>0 1</values>
24         <default-value>1</default-value>
25         <description>
26             Multiple libraries or single huge monolithic one?
27         </description>
28     </option>
29     
30     <option name="USE_GUI">
31         <values>0 1</values>
32         <default-value>1</default-value>
33         <description>
34             Build GUI libraries?
35         </description>
36     </option>
37
38     <option name="WXUNIV">
39         <values>0 1</values>
40         <default-value>0</default-value>
41         <description>
42             Build wxUniversal instead of native port?
43         </description>
44     </option>
45
46
47     <!-- ================================================================== -->
48     <!--                             Autoconf                               -->
49     <!-- ================================================================== -->
50     
51     <if cond="FORMAT=='autoconf'"> 
52         <option name="DEREZ"/>
53         <option name="TOOLKIT"/>
54         <option name="TOOLKIT_LOWERCASE"/>
55         <option name="TOOLKIT_VERSION"/>
56         <option name="EXTRALIBS"/>
57         <option name="SAMPLES_RPATH_FLAG"/>
58         <set var="TOP_SRCDIR">$(top_srcdir)/</set>
59     </if>
60
61     
62     <!-- ================================================================== -->
63     <!--                         Windows compilers                          -->
64     <!-- ================================================================== -->
65
66     <if cond="FORMAT!='autoconf'">
67         <set var="WXTOPDIR"/> <!-- to be overriden on bakefile cmd line -->
68
69         <set var="TOOLKIT">MSW</set>
70         <set var="TOOLKIT_LOWERCASE">$(TOOLKIT.lower())</set>
71         <set var="TOOLKIT_VERSION"/>
72         <set var="SAMPLES_RPATH_FLAG"/>
73         <option name="EXTRALIBS"/>
74
75         <set var="SRCDIR">
76             <if cond="BUILDING_LIB=='1'">..</if>
77             <if cond="BUILDING_LIB=='0'">.</if>
78         </set>
79         <set var="TOP_SRCDIR">$(SRCDIR)/$(WXTOPDIR)</set>
80         <set var="BUILDDIR">objs_$(COMPILER)</set>
81     </if>
82
83 </makefile>