]>
Commit | Line | Data |
---|---|---|
1 | <?xml version="1.0" ?> | |
2 | <!-- $Id$ --> | |
3 | ||
4 | <makefile> | |
5 | ||
6 | <set var="BUILDING_LIB" overwrite="0">0</set> | |
7 | ||
8 | ||
9 | <option name="UNICODE"> | |
10 | <values>0 1</values> | |
11 | <values-description>Ansi Unicode</values-description> | |
12 | <default-value>0</default-value> | |
13 | <description> | |
14 | Compile Unicode build of wxWindows? | |
15 | </description> | |
16 | </option> | |
17 | ||
18 | <option name="SHARED"> | |
19 | <values>0 1</values> | |
20 | <values-description>Static DLL</values-description> | |
21 | <default-value>1</default-value> | |
22 | <description> | |
23 | What type of library to build? | |
24 | </description> | |
25 | </option> | |
26 | ||
27 | <option name="MONOLITHIC"> | |
28 | <values>0 1</values> | |
29 | <values-description>Multilib Monolithic</values-description> | |
30 | <default-value>1</default-value> | |
31 | <description> | |
32 | Multiple libraries or single huge monolithic one? | |
33 | </description> | |
34 | </option> | |
35 | ||
36 | <option name="USE_GUI"> | |
37 | <values>0 1</values> | |
38 | <values-description>Base GUI</values-description> | |
39 | <default-value>1</default-value> | |
40 | <description> | |
41 | Build GUI libraries? | |
42 | </description> | |
43 | </option> | |
44 | ||
45 | <option name="USE_HTML"> | |
46 | <values>0 1</values> | |
47 | <default-value>1</default-value> | |
48 | <description> | |
49 | Build wxHTML library (USE_GUI must be 1)? | |
50 | </description> | |
51 | </option> | |
52 | ||
53 | <option name="USE_OPENGL"> | |
54 | <values>0 1</values> | |
55 | <default-value>0</default-value> | |
56 | <description> | |
57 | Build OpenGL canvas library (USE_GUI must be 1)? | |
58 | </description> | |
59 | </option> | |
60 | ||
61 | <option name="WXUNIV"> | |
62 | <values>0 1</values> | |
63 | <values-description>Native wxUniv</values-description> | |
64 | <default-value>0</default-value> | |
65 | <description> | |
66 | Build wxUniversal instead of native port? | |
67 | </description> | |
68 | </option> | |
69 | ||
70 | <option name="OFFICIAL_BUILD"> | |
71 | <values>0 1</values> | |
72 | <default-value>0</default-value> | |
73 | <description> | |
74 | Is this official build by wxWindows developers? | |
75 | </description> | |
76 | </option> | |
77 | <option name="VENDOR"> | |
78 | <default-value>custom</default-value> | |
79 | <description> | |
80 | Use this to name your customized DLLs differently | |
81 | </description> | |
82 | </option> | |
83 | ||
84 | <option name="CFG"> | |
85 | <default-value></default-value> | |
86 | <description> | |
87 | Name of your custom configuration. This affects directory | |
88 | where object files are stored as well as the location of | |
89 | compiled .lib files and setup.h under the lib/ toplevel directory. | |
90 | </description> | |
91 | </option> | |
92 | ||
93 | ||
94 | <!-- ================================================================== --> | |
95 | <!-- Autoconf --> | |
96 | <!-- ================================================================== --> | |
97 | ||
98 | <if cond="FORMAT=='autoconf'"> | |
99 | <option name="DEREZ"/> | |
100 | <option name="TOOLKIT"/> | |
101 | <option name="TOOLKIT_LOWERCASE"/> | |
102 | <option name="TOOLKIT_VERSION"/> | |
103 | <option name="TOOLCHAIN_NAME"/> | |
104 | <option name="EXTRALIBS"/> | |
105 | <option name="EXTRALIBS_XML"/> | |
106 | <option name="EXTRALIBS_GUI"/> | |
107 | <option name="EXTRALIBS_OPENGL"/> | |
108 | <option name="SAMPLES_RPATH_FLAG"/> | |
109 | <option name="HOST_SUFFIX"/> | |
110 | ||
111 | <set var="TOP_SRCDIR">$(top_srcdir)/</set> | |
112 | <set var="RUNTIME_LIBS">dynamic</set> | |
113 | </if> | |
114 | ||
115 | ||
116 | <!-- ================================================================== --> | |
117 | <!-- Windows compilers --> | |
118 | <!-- ================================================================== --> | |
119 | ||
120 | <if cond="FORMAT!='autoconf'"> | |
121 | <option name="RUNTIME_LIBS"> | |
122 | <values>dynamic static</values> | |
123 | <default-value>dynamic</default-value> | |
124 | <description> | |
125 | Version of C runtime library to use. You can change this to | |
126 | static if SHARED=0, but it is highly recommended to not do | |
127 | it if SHARED=1 unless you know what you are doing. | |
128 | </description> | |
129 | </option> | |
130 | ||
131 | <set var="WXTOPDIR"/> <!-- to be overriden on bakefile cmd line --> | |
132 | ||
133 | <set var="TOOLKIT">MSW</set> | |
134 | <set var="TOOLKIT_LOWERCASE">$(TOOLKIT.lower())</set> | |
135 | <set var="TOOLKIT_VERSION"/> | |
136 | <set var="SAMPLES_RPATH_FLAG"/> | |
137 | <set var="HOST_SUFFIX"/> | |
138 | <set var="EXTRALIBS"/> | |
139 | <set var="EXTRALIBS_XML"/> | |
140 | <set var="EXTRALIBS_GUI"/> | |
141 | <set var="EXTRACFLAGS"/> | |
142 | ||
143 | <set var="SRCDIR"> | |
144 | <if cond="BUILDING_LIB=='1'">..</if> | |
145 | <if cond="BUILDING_LIB=='0'">.</if> | |
146 | </set> | |
147 | <set var="TOP_SRCDIR">$(SRCDIR)/$(WXTOPDIR)</set> | |
148 | </if> | |
149 | ||
150 | <if cond="FORMAT=='mingw'"> | |
151 | <option name="GCC_VERSION"> | |
152 | <values>3 2.95</values> | |
153 | <default-value>3</default-value> | |
154 | <description> | |
155 | Set the version of your Mingw installation here. | |
156 | "3" ...... this is for Mingw 2.0 or newer that cames with gcc3 | |
157 | "2.95" ... for Mingw 1.1 or any of the older versions | |
158 | </description> | |
159 | </option> | |
160 | <set var="GCCFLAGS"> | |
161 | <if cond="GCC_VERSION=='2.95'">-fvtable-thunks</if> | |
162 | </set> | |
163 | <set var="EXTRACFLAGS">$(GCCFLAGS) -DHAVE_W32API_H</set> | |
164 | </if> | |
165 | ||
166 | </makefile> |