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