]>
Commit | Line | Data |
---|---|---|
f82b7036 KO |
1 | # =========================================================================\r |
2 | # This makefile was generated by\r | |
00eef16d | 3 | # Bakefile 0.2.9 (http://www.bakefile.org)\r |
f82b7036 KO |
4 | # Do not modify, all changes will be overwritten!\r |
5 | # =========================================================================\r | |
6 | \r | |
7 | include ../../build/msw/config.gcc\r | |
8 | \r | |
9 | # -------------------------------------------------------------------------\r | |
10 | # Do not modify the rest of this file!\r | |
11 | # -------------------------------------------------------------------------\r | |
12 | \r | |
13 | ### Variables: ###\r | |
14 | \r | |
15 | CPPDEPS = -MT$@ -MF$@.d -MD -MP\r | |
16 | WX_RELEASE_NODOT = 29\r | |
17 | COMPILER_PREFIX = gcc\r | |
18 | OBJS = \\r | |
19 | $(COMPILER_PREFIX)_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)\r | |
20 | LIBDIRNAME = .\..\..\lib\$(COMPILER_PREFIX)_$(LIBTYPE_SUFFIX)$(CFG)\r | |
21 | SETUPHDIR = \\r | |
22 | $(LIBDIRNAME)\$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)\r | |
23 | WIDGETS_CXXFLAGS = $(__DEBUGINFO) $(__OPTIMIZEFLAG_2) $(__THREADSFLAG) \\r | |
24 | $(GCCFLAGS) -DHAVE_W32API_H -D__WXMSW__ $(__WXUNIV_DEFINE_p) \\r | |
00fb97de KO |
25 | $(__DEBUG_DEFINE_p) $(__NDEBUG_DEFINE_p) $(__EXCEPTIONS_DEFINE_p) \\r |
26 | $(__RTTI_DEFINE_p) $(__THREAD_DEFINE_p) $(__UNICODE_DEFINE_p) \\r | |
b796194b | 27 | $(__MSLU_DEFINE_p) -I$(SETUPHDIR) -I.\..\..\include \\r |
f82b7036 KO |
28 | $(____CAIRO_INCLUDEDIR_FILENAMES_p) -W -Wall -I. $(__DLLFLAG_p) \\r |
29 | -I.\..\..\samples -DNOPCH $(__RTTIFLAG_5) $(__EXCEPTIONSFLAG_6) \\r | |
30 | -Wno-ctor-dtor-privacy $(CPPFLAGS) $(CXXFLAGS)\r | |
31 | WIDGETS_OBJECTS = \\r | |
32 | $(OBJS)\widgets_bmpcombobox.o \\r | |
33 | $(OBJS)\widgets_button.o \\r | |
34 | $(OBJS)\widgets_checkbox.o \\r | |
35 | $(OBJS)\widgets_choice.o \\r | |
36 | $(OBJS)\widgets_clrpicker.o \\r | |
37 | $(OBJS)\widgets_combobox.o \\r | |
38 | $(OBJS)\widgets_datepick.o \\r | |
39 | $(OBJS)\widgets_dirctrl.o \\r | |
40 | $(OBJS)\widgets_dirpicker.o \\r | |
41 | $(OBJS)\widgets_editlbox.o \\r | |
42 | $(OBJS)\widgets_filectrl.o \\r | |
43 | $(OBJS)\widgets_filepicker.o \\r | |
44 | $(OBJS)\widgets_fontpicker.o \\r | |
45 | $(OBJS)\widgets_gauge.o \\r | |
46 | $(OBJS)\widgets_hyperlnk.o \\r | |
47 | $(OBJS)\widgets_itemcontainer.o \\r | |
48 | $(OBJS)\widgets_listbox.o \\r | |
49 | $(OBJS)\widgets_notebook.o \\r | |
50 | $(OBJS)\widgets_odcombobox.o \\r | |
51 | $(OBJS)\widgets_radiobox.o \\r | |
52 | $(OBJS)\widgets_searchctrl.o \\r | |
53 | $(OBJS)\widgets_slider.o \\r | |
54 | $(OBJS)\widgets_spinbtn.o \\r | |
55 | $(OBJS)\widgets_static.o \\r | |
56 | $(OBJS)\widgets_statbmp.o \\r | |
57 | $(OBJS)\widgets_textctrl.o \\r | |
51ec29ea | 58 | $(OBJS)\widgets_timepick.o \\r |
f82b7036 KO |
59 | $(OBJS)\widgets_toggle.o \\r |
60 | $(OBJS)\widgets_widgets.o \\r | |
61 | $(OBJS)\widgets_sample_rc.o\r | |
62 | \r | |
63 | ### Conditionally set variables: ###\r | |
64 | \r | |
65 | ifeq ($(GCC_VERSION),2.95)\r | |
66 | GCCFLAGS = -fvtable-thunks\r | |
67 | endif\r | |
68 | ifeq ($(USE_GUI),0)\r | |
69 | PORTNAME = base\r | |
70 | endif\r | |
71 | ifeq ($(USE_GUI),1)\r | |
72 | PORTNAME = msw\r | |
73 | endif\r | |
74 | ifeq ($(BUILD),debug)\r | |
75 | WXDEBUGFLAG = d\r | |
76 | endif\r | |
77 | ifeq ($(UNICODE),1)\r | |
78 | WXUNICODEFLAG = u\r | |
79 | endif\r | |
80 | ifeq ($(WXUNIV),1)\r | |
81 | WXUNIVNAME = univ\r | |
82 | endif\r | |
83 | ifeq ($(SHARED),1)\r | |
84 | WXDLLFLAG = dll\r | |
85 | endif\r | |
86 | ifeq ($(SHARED),0)\r | |
87 | LIBTYPE_SUFFIX = lib\r | |
88 | endif\r | |
89 | ifeq ($(SHARED),1)\r | |
90 | LIBTYPE_SUFFIX = dll\r | |
91 | endif\r | |
92 | ifeq ($(MONOLITHIC),0)\r | |
93 | EXTRALIBS_FOR_BASE = \r | |
94 | endif\r | |
95 | ifeq ($(MONOLITHIC),1)\r | |
51ec29ea | 96 | EXTRALIBS_FOR_BASE = \r |
f82b7036 KO |
97 | endif\r |
98 | ifeq ($(BUILD),debug)\r | |
99 | __OPTIMIZEFLAG_2 = -O0\r | |
100 | endif\r | |
101 | ifeq ($(BUILD),release)\r | |
102 | __OPTIMIZEFLAG_2 = -O2\r | |
103 | endif\r | |
104 | ifeq ($(USE_RTTI),0)\r | |
105 | __RTTIFLAG_5 = -fno-rtti\r | |
106 | endif\r | |
107 | ifeq ($(USE_RTTI),1)\r | |
108 | __RTTIFLAG_5 = \r | |
109 | endif\r | |
110 | ifeq ($(USE_EXCEPTIONS),0)\r | |
111 | __EXCEPTIONSFLAG_6 = -fno-exceptions\r | |
112 | endif\r | |
113 | ifeq ($(USE_EXCEPTIONS),1)\r | |
114 | __EXCEPTIONSFLAG_6 = \r | |
115 | endif\r | |
116 | ifeq ($(WXUNIV),1)\r | |
117 | __WXUNIV_DEFINE_p = -D__WXUNIVERSAL__\r | |
118 | endif\r | |
119 | ifeq ($(WXUNIV),1)\r | |
120 | __WXUNIV_DEFINE_p_1 = --define __WXUNIVERSAL__\r | |
121 | endif\r | |
122 | ifeq ($(DEBUG_FLAG),0)\r | |
123 | __DEBUG_DEFINE_p = -DwxDEBUG_LEVEL=0\r | |
124 | endif\r | |
125 | ifeq ($(DEBUG_FLAG),0)\r | |
126 | __DEBUG_DEFINE_p_1 = --define wxDEBUG_LEVEL=0\r | |
127 | endif\r | |
00fb97de KO |
128 | ifeq ($(BUILD),release)\r |
129 | __NDEBUG_DEFINE_p = -DNDEBUG\r | |
130 | endif\r | |
131 | ifeq ($(BUILD),release)\r | |
132 | __NDEBUG_DEFINE_p_1 = --define NDEBUG\r | |
133 | endif\r | |
f82b7036 KO |
134 | ifeq ($(USE_EXCEPTIONS),0)\r |
135 | __EXCEPTIONS_DEFINE_p = -DwxNO_EXCEPTIONS\r | |
136 | endif\r | |
137 | ifeq ($(USE_EXCEPTIONS),0)\r | |
138 | __EXCEPTIONS_DEFINE_p_1 = --define wxNO_EXCEPTIONS\r | |
139 | endif\r | |
140 | ifeq ($(USE_RTTI),0)\r | |
141 | __RTTI_DEFINE_p = -DwxNO_RTTI\r | |
142 | endif\r | |
143 | ifeq ($(USE_RTTI),0)\r | |
144 | __RTTI_DEFINE_p_1 = --define wxNO_RTTI\r | |
145 | endif\r | |
146 | ifeq ($(USE_THREADS),0)\r | |
147 | __THREAD_DEFINE_p = -DwxNO_THREADS\r | |
148 | endif\r | |
149 | ifeq ($(USE_THREADS),0)\r | |
150 | __THREAD_DEFINE_p_1 = --define wxNO_THREADS\r | |
151 | endif\r | |
152 | ifeq ($(UNICODE),0)\r | |
153 | __UNICODE_DEFINE_p = -DwxUSE_UNICODE=0\r | |
154 | endif\r | |
155 | ifeq ($(UNICODE),1)\r | |
156 | __UNICODE_DEFINE_p = -D_UNICODE\r | |
157 | endif\r | |
158 | ifeq ($(UNICODE),0)\r | |
159 | __UNICODE_DEFINE_p_1 = --define wxUSE_UNICODE=0\r | |
160 | endif\r | |
161 | ifeq ($(UNICODE),1)\r | |
162 | __UNICODE_DEFINE_p_1 = --define _UNICODE\r | |
163 | endif\r | |
164 | ifeq ($(MSLU),1)\r | |
165 | __MSLU_DEFINE_p = -DwxUSE_UNICODE_MSLU=1\r | |
166 | endif\r | |
167 | ifeq ($(MSLU),1)\r | |
168 | __MSLU_DEFINE_p_1 = --define wxUSE_UNICODE_MSLU=1\r | |
169 | endif\r | |
f82b7036 KO |
170 | ifeq ($(USE_CAIRO),1)\r |
171 | ____CAIRO_INCLUDEDIR_FILENAMES_p = -I$(CAIRO_ROOT)\include\cairo\r | |
172 | endif\r | |
173 | ifeq ($(USE_CAIRO),1)\r | |
174 | __CAIRO_INCLUDEDIR_p = --include-dir $(CAIRO_ROOT)/include/cairo\r | |
175 | endif\r | |
176 | ifeq ($(SHARED),1)\r | |
177 | __DLLFLAG_p = -DWXUSINGDLL\r | |
178 | endif\r | |
179 | ifeq ($(SHARED),1)\r | |
180 | __DLLFLAG_p_1 = --define WXUSINGDLL\r | |
181 | endif\r | |
182 | ifeq ($(MONOLITHIC),0)\r | |
183 | __WXLIB_ADV_p = \\r | |
184 | -lwx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_adv\r | |
185 | endif\r | |
186 | ifeq ($(MONOLITHIC),0)\r | |
187 | __WXLIB_CORE_p = \\r | |
188 | -lwx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_core\r | |
189 | endif\r | |
190 | ifeq ($(MONOLITHIC),0)\r | |
191 | __WXLIB_BASE_p = \\r | |
192 | -lwxbase$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)\r | |
193 | endif\r | |
194 | ifeq ($(MONOLITHIC),1)\r | |
195 | __WXLIB_MONO_p = \\r | |
196 | -lwx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)\r | |
197 | endif\r | |
198 | ifeq ($(USE_GUI),1)\r | |
199 | __LIB_TIFF_p = -lwxtiff$(WXDEBUGFLAG)\r | |
200 | endif\r | |
201 | ifeq ($(USE_GUI),1)\r | |
202 | __LIB_JPEG_p = -lwxjpeg$(WXDEBUGFLAG)\r | |
203 | endif\r | |
204 | ifeq ($(USE_GUI),1)\r | |
205 | __LIB_PNG_p = -lwxpng$(WXDEBUGFLAG)\r | |
206 | endif\r | |
207 | ifeq ($(MSLU),1)\r | |
208 | __UNICOWS_LIB_p = -lunicows\r | |
209 | endif\r | |
f82b7036 KO |
210 | ifeq ($(USE_CAIRO),1)\r |
211 | __CAIRO_LIB_p = -lcairo\r | |
212 | endif\r | |
213 | ifeq ($(USE_CAIRO),1)\r | |
214 | ____CAIRO_LIBDIR_FILENAMES_p = -L$(CAIRO_ROOT)\lib\r | |
215 | endif\r | |
216 | ifeq ($(BUILD),debug)\r | |
217 | ifeq ($(DEBUG_INFO),default)\r | |
218 | __DEBUGINFO = -g\r | |
219 | endif\r | |
220 | endif\r | |
221 | ifeq ($(BUILD),release)\r | |
222 | ifeq ($(DEBUG_INFO),default)\r | |
223 | __DEBUGINFO = \r | |
224 | endif\r | |
225 | endif\r | |
226 | ifeq ($(DEBUG_INFO),0)\r | |
227 | __DEBUGINFO = \r | |
228 | endif\r | |
229 | ifeq ($(DEBUG_INFO),1)\r | |
230 | __DEBUGINFO = -g\r | |
231 | endif\r | |
232 | ifeq ($(USE_THREADS),0)\r | |
233 | __THREADSFLAG = \r | |
234 | endif\r | |
235 | ifeq ($(USE_THREADS),1)\r | |
236 | __THREADSFLAG = -mthreads\r | |
237 | endif\r | |
238 | \r | |
239 | \r | |
240 | all: $(OBJS)\r | |
241 | $(OBJS):\r | |
242 | -if not exist $(OBJS) mkdir $(OBJS)\r | |
243 | \r | |
244 | ### Targets: ###\r | |
245 | \r | |
246 | all: $(OBJS)\widgets.exe\r | |
247 | \r | |
248 | clean: \r | |
249 | -if exist $(OBJS)\*.o del $(OBJS)\*.o\r | |
250 | -if exist $(OBJS)\*.d del $(OBJS)\*.d\r | |
251 | -if exist $(OBJS)\widgets.exe del $(OBJS)\widgets.exe\r | |
252 | \r | |
253 | $(OBJS)\widgets.exe: $(WIDGETS_OBJECTS) $(OBJS)\widgets_sample_rc.o\r | |
b796194b | 254 | $(CXX) -o $@ $(WIDGETS_OBJECTS) $(__DEBUGINFO) $(__THREADSFLAG) -L$(LIBDIRNAME) -Wl,--subsystem,windows -mwindows $(____CAIRO_LIBDIR_FILENAMES_p) $(LDFLAGS) $(__WXLIB_ADV_p) $(__WXLIB_CORE_p) $(__WXLIB_BASE_p) $(__WXLIB_MONO_p) $(__LIB_TIFF_p) $(__LIB_JPEG_p) $(__LIB_PNG_p) -lwxzlib$(WXDEBUGFLAG) -lwxregex$(WXUNICODEFLAG)$(WXDEBUGFLAG) -lwxexpat$(WXDEBUGFLAG) $(EXTRALIBS_FOR_BASE) $(__UNICOWS_LIB_p) $(__CAIRO_LIB_p) -lkernel32 -luser32 -lgdi32 -lcomdlg32 -lwinspool -lwinmm -lshell32 -lcomctl32 -lole32 -loleaut32 -luuid -lrpcrt4 -ladvapi32 -lwsock32 -lwininet\r |
f82b7036 KO |
255 | \r |
256 | $(OBJS)\widgets_bmpcombobox.o: ./bmpcombobox.cpp\r | |
257 | $(CXX) -c -o $@ $(WIDGETS_CXXFLAGS) $(CPPDEPS) $<\r | |
258 | \r | |
259 | $(OBJS)\widgets_button.o: ./button.cpp\r | |
260 | $(CXX) -c -o $@ $(WIDGETS_CXXFLAGS) $(CPPDEPS) $<\r | |
261 | \r | |
262 | $(OBJS)\widgets_checkbox.o: ./checkbox.cpp\r | |
263 | $(CXX) -c -o $@ $(WIDGETS_CXXFLAGS) $(CPPDEPS) $<\r | |
264 | \r | |
265 | $(OBJS)\widgets_choice.o: ./choice.cpp\r | |
266 | $(CXX) -c -o $@ $(WIDGETS_CXXFLAGS) $(CPPDEPS) $<\r | |
267 | \r | |
268 | $(OBJS)\widgets_clrpicker.o: ./clrpicker.cpp\r | |
269 | $(CXX) -c -o $@ $(WIDGETS_CXXFLAGS) $(CPPDEPS) $<\r | |
270 | \r | |
271 | $(OBJS)\widgets_combobox.o: ./combobox.cpp\r | |
272 | $(CXX) -c -o $@ $(WIDGETS_CXXFLAGS) $(CPPDEPS) $<\r | |
273 | \r | |
274 | $(OBJS)\widgets_datepick.o: ./datepick.cpp\r | |
275 | $(CXX) -c -o $@ $(WIDGETS_CXXFLAGS) $(CPPDEPS) $<\r | |
276 | \r | |
277 | $(OBJS)\widgets_dirctrl.o: ./dirctrl.cpp\r | |
278 | $(CXX) -c -o $@ $(WIDGETS_CXXFLAGS) $(CPPDEPS) $<\r | |
279 | \r | |
280 | $(OBJS)\widgets_dirpicker.o: ./dirpicker.cpp\r | |
281 | $(CXX) -c -o $@ $(WIDGETS_CXXFLAGS) $(CPPDEPS) $<\r | |
282 | \r | |
283 | $(OBJS)\widgets_editlbox.o: ./editlbox.cpp\r | |
284 | $(CXX) -c -o $@ $(WIDGETS_CXXFLAGS) $(CPPDEPS) $<\r | |
285 | \r | |
286 | $(OBJS)\widgets_filectrl.o: ./filectrl.cpp\r | |
287 | $(CXX) -c -o $@ $(WIDGETS_CXXFLAGS) $(CPPDEPS) $<\r | |
288 | \r | |
289 | $(OBJS)\widgets_filepicker.o: ./filepicker.cpp\r | |
290 | $(CXX) -c -o $@ $(WIDGETS_CXXFLAGS) $(CPPDEPS) $<\r | |
291 | \r | |
292 | $(OBJS)\widgets_fontpicker.o: ./fontpicker.cpp\r | |
293 | $(CXX) -c -o $@ $(WIDGETS_CXXFLAGS) $(CPPDEPS) $<\r | |
294 | \r | |
295 | $(OBJS)\widgets_gauge.o: ./gauge.cpp\r | |
296 | $(CXX) -c -o $@ $(WIDGETS_CXXFLAGS) $(CPPDEPS) $<\r | |
297 | \r | |
298 | $(OBJS)\widgets_hyperlnk.o: ./hyperlnk.cpp\r | |
299 | $(CXX) -c -o $@ $(WIDGETS_CXXFLAGS) $(CPPDEPS) $<\r | |
300 | \r | |
301 | $(OBJS)\widgets_itemcontainer.o: ./itemcontainer.cpp\r | |
302 | $(CXX) -c -o $@ $(WIDGETS_CXXFLAGS) $(CPPDEPS) $<\r | |
303 | \r | |
304 | $(OBJS)\widgets_listbox.o: ./listbox.cpp\r | |
305 | $(CXX) -c -o $@ $(WIDGETS_CXXFLAGS) $(CPPDEPS) $<\r | |
306 | \r | |
307 | $(OBJS)\widgets_notebook.o: ./notebook.cpp\r | |
308 | $(CXX) -c -o $@ $(WIDGETS_CXXFLAGS) $(CPPDEPS) $<\r | |
309 | \r | |
310 | $(OBJS)\widgets_odcombobox.o: ./odcombobox.cpp\r | |
311 | $(CXX) -c -o $@ $(WIDGETS_CXXFLAGS) $(CPPDEPS) $<\r | |
312 | \r | |
313 | $(OBJS)\widgets_radiobox.o: ./radiobox.cpp\r | |
314 | $(CXX) -c -o $@ $(WIDGETS_CXXFLAGS) $(CPPDEPS) $<\r | |
315 | \r | |
316 | $(OBJS)\widgets_searchctrl.o: ./searchctrl.cpp\r | |
317 | $(CXX) -c -o $@ $(WIDGETS_CXXFLAGS) $(CPPDEPS) $<\r | |
318 | \r | |
319 | $(OBJS)\widgets_slider.o: ./slider.cpp\r | |
320 | $(CXX) -c -o $@ $(WIDGETS_CXXFLAGS) $(CPPDEPS) $<\r | |
321 | \r | |
322 | $(OBJS)\widgets_spinbtn.o: ./spinbtn.cpp\r | |
323 | $(CXX) -c -o $@ $(WIDGETS_CXXFLAGS) $(CPPDEPS) $<\r | |
324 | \r | |
325 | $(OBJS)\widgets_static.o: ./static.cpp\r | |
326 | $(CXX) -c -o $@ $(WIDGETS_CXXFLAGS) $(CPPDEPS) $<\r | |
327 | \r | |
328 | $(OBJS)\widgets_statbmp.o: ./statbmp.cpp\r | |
329 | $(CXX) -c -o $@ $(WIDGETS_CXXFLAGS) $(CPPDEPS) $<\r | |
330 | \r | |
331 | $(OBJS)\widgets_textctrl.o: ./textctrl.cpp\r | |
332 | $(CXX) -c -o $@ $(WIDGETS_CXXFLAGS) $(CPPDEPS) $<\r | |
333 | \r | |
51ec29ea VZ |
334 | $(OBJS)\widgets_timepick.o: ./timepick.cpp\r |
335 | $(CXX) -c -o $@ $(WIDGETS_CXXFLAGS) $(CPPDEPS) $<\r | |
336 | \r | |
f82b7036 KO |
337 | $(OBJS)\widgets_toggle.o: ./toggle.cpp\r |
338 | $(CXX) -c -o $@ $(WIDGETS_CXXFLAGS) $(CPPDEPS) $<\r | |
339 | \r | |
340 | $(OBJS)\widgets_widgets.o: ./widgets.cpp\r | |
341 | $(CXX) -c -o $@ $(WIDGETS_CXXFLAGS) $(CPPDEPS) $<\r | |
342 | \r | |
343 | $(OBJS)\widgets_sample_rc.o: ./../sample.rc\r | |
b796194b | 344 | windres --use-temp-file -i$< -o$@ --define __WXMSW__ $(__WXUNIV_DEFINE_p_1) $(__DEBUG_DEFINE_p_1) $(__NDEBUG_DEFINE_p_1) $(__EXCEPTIONS_DEFINE_p_1) $(__RTTI_DEFINE_p_1) $(__THREAD_DEFINE_p_1) $(__UNICODE_DEFINE_p_1) $(__MSLU_DEFINE_p_1) --include-dir $(SETUPHDIR) --include-dir ./../../include $(__CAIRO_INCLUDEDIR_p) --include-dir . $(__DLLFLAG_p_1) --include-dir ./../../samples --define NOPCH\r |
f82b7036 KO |
345 | \r |
346 | .PHONY: all clean\r | |
347 | \r | |
348 | \r | |
349 | SHELL := $(COMSPEC)\r | |
350 | \r | |
351 | # Dependencies tracking:\r | |
352 | -include $(OBJS)/*.d\r |