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