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