]>
Commit | Line | Data |
---|---|---|
1 | # ========================================================================= | |
2 | # This makefile was generated by | |
3 | # Bakefile 0.2.5 (http://www.bakefile.org) | |
4 | # Do not modify, all changes will be overwritten! | |
5 | # ========================================================================= | |
6 | ||
7 | include ../build/msw/config.gcc | |
8 | ||
9 | # ------------------------------------------------------------------------- | |
10 | # Do not modify the rest of this file! | |
11 | # ------------------------------------------------------------------------- | |
12 | ||
13 | ### Variables: ### | |
14 | ||
15 | CPPDEPS = -MT$@ -MF$@.d -MD -MP | |
16 | WX_RELEASE_NODOT = 29 | |
17 | COMPILER_PREFIX = gcc | |
18 | OBJS = \ | |
19 | $(COMPILER_PREFIX)_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG) | |
20 | LIBDIRNAME = .\..\lib\$(COMPILER_PREFIX)_$(LIBTYPE_SUFFIX)$(CFG) | |
21 | SETUPHDIR = \ | |
22 | $(LIBDIRNAME)\$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG) | |
23 | TEST_CXXFLAGS = $(__DEBUGINFO) $(__OPTIMIZEFLAG) $(__THREADSFLAG) $(GCCFLAGS) \ | |
24 | -DHAVE_W32API_H -D__WXMSW__ $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) \ | |
25 | $(__EXCEPTIONS_DEFINE_p) $(__RTTI_DEFINE_p) $(__THREAD_DEFINE_p) \ | |
26 | $(__UNICODE_DEFINE_p) $(__MSLU_DEFINE_p) $(__GFXCTX_DEFINE_p) \ | |
27 | -I$(SETUPHDIR) -I.\..\include -W -Wall -I. $(__DLLFLAG_p) -DwxUSE_GUI=0 \ | |
28 | $(CPPUNIT_CFLAGS) $(__RTTIFLAG) $(__EXCEPTIONSFLAG) -Wno-ctor-dtor-privacy \ | |
29 | $(CPPFLAGS) $(CXXFLAGS) | |
30 | TEST_OBJECTS = \ | |
31 | $(OBJS)\test_dummy.o \ | |
32 | $(OBJS)\test_test.o \ | |
33 | $(OBJS)\test_archivetest.o \ | |
34 | $(OBJS)\test_ziptest.o \ | |
35 | $(OBJS)\test_tartest.o \ | |
36 | $(OBJS)\test_arrays.o \ | |
37 | $(OBJS)\test_base64.o \ | |
38 | $(OBJS)\test_cmdlinetest.o \ | |
39 | $(OBJS)\test_fileconf.o \ | |
40 | $(OBJS)\test_datetimetest.o \ | |
41 | $(OBJS)\test_evthandler.o \ | |
42 | $(OBJS)\test_timertest.o \ | |
43 | $(OBJS)\test_filekind.o \ | |
44 | $(OBJS)\test_filenametest.o \ | |
45 | $(OBJS)\test_filesystest.o \ | |
46 | $(OBJS)\test_fontmaptest.o \ | |
47 | $(OBJS)\test_formatconvertertest.o \ | |
48 | $(OBJS)\test_hashes.o \ | |
49 | $(OBJS)\test_intltest.o \ | |
50 | $(OBJS)\test_lists.o \ | |
51 | $(OBJS)\test_longlongtest.o \ | |
52 | $(OBJS)\test_convautotest.o \ | |
53 | $(OBJS)\test_mbconvtest.o \ | |
54 | $(OBJS)\test_misctests.o \ | |
55 | $(OBJS)\test_ipc.o \ | |
56 | $(OBJS)\test_socket.o \ | |
57 | $(OBJS)\test_regextest.o \ | |
58 | $(OBJS)\test_wxregextest.o \ | |
59 | $(OBJS)\test_scopeguardtest.o \ | |
60 | $(OBJS)\test_iostream.o \ | |
61 | $(OBJS)\test_strings.o \ | |
62 | $(OBJS)\test_stdstrings.o \ | |
63 | $(OBJS)\test_tokenizer.o \ | |
64 | $(OBJS)\test_unichar.o \ | |
65 | $(OBJS)\test_unicode.o \ | |
66 | $(OBJS)\test_vararg.o \ | |
67 | $(OBJS)\test_crt.o \ | |
68 | $(OBJS)\test_vsnprintf.o \ | |
69 | $(OBJS)\test_bstream.o \ | |
70 | $(OBJS)\test_datastreamtest.o \ | |
71 | $(OBJS)\test_ffilestream.o \ | |
72 | $(OBJS)\test_fileback.o \ | |
73 | $(OBJS)\test_filestream.o \ | |
74 | $(OBJS)\test_iostreams.o \ | |
75 | $(OBJS)\test_largefile.o \ | |
76 | $(OBJS)\test_memstream.o \ | |
77 | $(OBJS)\test_socketstream.o \ | |
78 | $(OBJS)\test_sstream.o \ | |
79 | $(OBJS)\test_tempfile.o \ | |
80 | $(OBJS)\test_textstreamtest.o \ | |
81 | $(OBJS)\test_zlibstream.o \ | |
82 | $(OBJS)\test_textfiletest.o \ | |
83 | $(OBJS)\test_atomic.o \ | |
84 | $(OBJS)\test_queue.o \ | |
85 | $(OBJS)\test_tls.o \ | |
86 | $(OBJS)\test_uris.o \ | |
87 | $(OBJS)\test_vectors.o \ | |
88 | $(OBJS)\test_evtconnection.o \ | |
89 | $(OBJS)\test_weakref.o \ | |
90 | $(OBJS)\test_xlocale.o \ | |
91 | $(OBJS)\test_xmltest.o | |
92 | TEST_GUI_CXXFLAGS = $(__DEBUGINFO) $(__OPTIMIZEFLAG) $(__THREADSFLAG) \ | |
93 | $(GCCFLAGS) -DHAVE_W32API_H -D__WXMSW__ $(__WXUNIV_DEFINE_p) \ | |
94 | $(__DEBUG_DEFINE_p) $(__EXCEPTIONS_DEFINE_p) $(__RTTI_DEFINE_p) \ | |
95 | $(__THREAD_DEFINE_p) $(__UNICODE_DEFINE_p) $(__MSLU_DEFINE_p) \ | |
96 | $(__GFXCTX_DEFINE_p) -I$(SETUPHDIR) -I.\..\include -W -Wall -I. $(__DLLFLAG_p) \ | |
97 | -I.\..\samples -DNOPCH $(CPPUNIT_CFLAGS) $(__RTTIFLAG) $(__EXCEPTIONSFLAG) \ | |
98 | -Wno-ctor-dtor-privacy $(CPPFLAGS) $(CXXFLAGS) | |
99 | TEST_GUI_OBJECTS = \ | |
100 | $(OBJS)\test_gui_sample_rc.o \ | |
101 | $(OBJS)\test_gui_dummy.o \ | |
102 | $(OBJS)\test_gui_test.o \ | |
103 | $(OBJS)\test_gui_rect.o \ | |
104 | $(OBJS)\test_gui_size.o \ | |
105 | $(OBJS)\test_gui_point.o \ | |
106 | $(OBJS)\test_gui_config.o \ | |
107 | $(OBJS)\test_gui_comboboxtest.o \ | |
108 | $(OBJS)\test_gui_headerctrltest.o \ | |
109 | $(OBJS)\test_gui_listctrltest.o \ | |
110 | $(OBJS)\test_gui_textctrltest.o \ | |
111 | $(OBJS)\test_gui_textentrytest.o \ | |
112 | $(OBJS)\test_gui_treectrltest.o \ | |
113 | $(OBJS)\test_gui_propagation.o \ | |
114 | $(OBJS)\test_gui_rawbmp.o \ | |
115 | $(OBJS)\test_gui_htmlwindow.o \ | |
116 | $(OBJS)\test_gui_guifuncs.o \ | |
117 | $(OBJS)\test_gui_selstoretest.o \ | |
118 | $(OBJS)\test_gui_garbage.o \ | |
119 | $(OBJS)\test_gui_socket.o \ | |
120 | $(OBJS)\test_gui_clientsize.o \ | |
121 | $(OBJS)\test_gui_setsize.o | |
122 | PRINTFBENCH_CXXFLAGS = $(__DEBUGINFO) $(__OPTIMIZEFLAG) $(__THREADSFLAG) \ | |
123 | $(GCCFLAGS) -DHAVE_W32API_H -D__WXMSW__ $(__WXUNIV_DEFINE_p) \ | |
124 | $(__DEBUG_DEFINE_p) $(__EXCEPTIONS_DEFINE_p) $(__RTTI_DEFINE_p) \ | |
125 | $(__THREAD_DEFINE_p) $(__UNICODE_DEFINE_p) $(__MSLU_DEFINE_p) \ | |
126 | $(__GFXCTX_DEFINE_p) -I$(SETUPHDIR) -I.\..\include -W -Wall -I. $(__DLLFLAG_p) \ | |
127 | -DwxUSE_GUI=0 $(CPPUNIT_CFLAGS) $(__RTTIFLAG) $(__EXCEPTIONSFLAG) \ | |
128 | -Wno-ctor-dtor-privacy $(CPPFLAGS) $(CXXFLAGS) | |
129 | PRINTFBENCH_OBJECTS = \ | |
130 | $(OBJS)\printfbench_dummy.o \ | |
131 | $(OBJS)\printfbench_printfbench.o | |
132 | ||
133 | ### Conditionally set variables: ### | |
134 | ||
135 | ifeq ($(GCC_VERSION),2.95) | |
136 | GCCFLAGS = -fvtable-thunks | |
137 | endif | |
138 | ifeq ($(USE_GUI),0) | |
139 | PORTNAME = base | |
140 | endif | |
141 | ifeq ($(USE_GUI),1) | |
142 | PORTNAME = msw | |
143 | endif | |
144 | ifeq ($(BUILD),debug) | |
145 | ifeq ($(DEBUG_FLAG),default) | |
146 | WXDEBUGFLAG = d | |
147 | endif | |
148 | endif | |
149 | ifeq ($(DEBUG_FLAG),1) | |
150 | WXDEBUGFLAG = d | |
151 | endif | |
152 | ifeq ($(UNICODE),1) | |
153 | WXUNICODEFLAG = u | |
154 | endif | |
155 | ifeq ($(WXUNIV),1) | |
156 | WXUNIVNAME = univ | |
157 | endif | |
158 | ifeq ($(SHARED),1) | |
159 | WXDLLFLAG = dll | |
160 | endif | |
161 | ifeq ($(SHARED),0) | |
162 | LIBTYPE_SUFFIX = lib | |
163 | endif | |
164 | ifeq ($(SHARED),1) | |
165 | LIBTYPE_SUFFIX = dll | |
166 | endif | |
167 | ifeq ($(MONOLITHIC),0) | |
168 | EXTRALIBS_FOR_BASE = | |
169 | endif | |
170 | ifeq ($(MONOLITHIC),1) | |
171 | EXTRALIBS_FOR_BASE = | |
172 | endif | |
173 | ifeq ($(USE_GUI),1) | |
174 | __test_gui___depname = $(OBJS)\test_gui.exe | |
175 | endif | |
176 | ifeq ($(WXUNIV),1) | |
177 | __WXUNIV_DEFINE_p_3 = --define __WXUNIVERSAL__ | |
178 | endif | |
179 | ifeq ($(BUILD),debug) | |
180 | ifeq ($(DEBUG_FLAG),default) | |
181 | __DEBUG_DEFINE_p_3 = --define __WXDEBUG__ | |
182 | endif | |
183 | endif | |
184 | ifeq ($(DEBUG_FLAG),1) | |
185 | __DEBUG_DEFINE_p_3 = --define __WXDEBUG__ | |
186 | endif | |
187 | ifeq ($(USE_EXCEPTIONS),0) | |
188 | __EXCEPTIONS_DEFINE_p_3 = --define wxNO_EXCEPTIONS | |
189 | endif | |
190 | ifeq ($(USE_RTTI),0) | |
191 | __RTTI_DEFINE_p_3 = --define wxNO_RTTI | |
192 | endif | |
193 | ifeq ($(USE_THREADS),0) | |
194 | __THREAD_DEFINE_p_3 = --define wxNO_THREADS | |
195 | endif | |
196 | ifeq ($(UNICODE),0) | |
197 | __UNICODE_DEFINE_p_3 = --define wxUSE_UNICODE=0 | |
198 | endif | |
199 | ifeq ($(UNICODE),1) | |
200 | __UNICODE_DEFINE_p_3 = --define _UNICODE | |
201 | endif | |
202 | ifeq ($(MSLU),1) | |
203 | __MSLU_DEFINE_p_3 = --define wxUSE_UNICODE_MSLU=1 | |
204 | endif | |
205 | ifeq ($(USE_GDIPLUS),1) | |
206 | __GFXCTX_DEFINE_p_3 = --define wxUSE_GRAPHICS_CONTEXT=1 | |
207 | endif | |
208 | ifeq ($(SHARED),1) | |
209 | __DLLFLAG_p_3 = --define WXUSINGDLL | |
210 | endif | |
211 | ifeq ($(MONOLITHIC),0) | |
212 | ifeq ($(USE_MEDIA),1) | |
213 | __WXLIB_MEDIA_p = \ | |
214 | -lwx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_media | |
215 | endif | |
216 | endif | |
217 | ifeq ($(MONOLITHIC),0) | |
218 | __WXLIB_XRC_p = \ | |
219 | -lwx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_xrc | |
220 | endif | |
221 | ifeq ($(MONOLITHIC),0) | |
222 | __WXLIB_ADV_p = \ | |
223 | -lwx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_adv | |
224 | endif | |
225 | ifeq ($(MONOLITHIC),0) | |
226 | __WXLIB_HTML_p = \ | |
227 | -lwx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_html | |
228 | endif | |
229 | ifeq ($(MONOLITHIC),0) | |
230 | __WXLIB_CORE_p = \ | |
231 | -lwx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_core | |
232 | endif | |
233 | ifeq ($(USE_GUI),1) | |
234 | __LIB_TIFF_p = -lwxtiff$(WXDEBUGFLAG) | |
235 | endif | |
236 | ifeq ($(USE_GUI),1) | |
237 | __LIB_JPEG_p = -lwxjpeg$(WXDEBUGFLAG) | |
238 | endif | |
239 | ifeq ($(USE_GUI),1) | |
240 | __LIB_PNG_p = -lwxpng$(WXDEBUGFLAG) | |
241 | endif | |
242 | ifeq ($(MONOLITHIC),0) | |
243 | __WXLIB_NET_p = \ | |
244 | -lwxbase$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_net | |
245 | endif | |
246 | ifeq ($(MONOLITHIC),0) | |
247 | __WXLIB_XML_p = \ | |
248 | -lwxbase$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_xml | |
249 | endif | |
250 | ifeq ($(BUILD),debug) | |
251 | __OPTIMIZEFLAG = -O0 | |
252 | endif | |
253 | ifeq ($(BUILD),release) | |
254 | __OPTIMIZEFLAG = -O2 | |
255 | endif | |
256 | ifeq ($(USE_RTTI),0) | |
257 | __RTTIFLAG = -fno-rtti | |
258 | endif | |
259 | ifeq ($(USE_RTTI),1) | |
260 | __RTTIFLAG = | |
261 | endif | |
262 | ifeq ($(USE_EXCEPTIONS),0) | |
263 | __EXCEPTIONSFLAG = -fno-exceptions | |
264 | endif | |
265 | ifeq ($(USE_EXCEPTIONS),1) | |
266 | __EXCEPTIONSFLAG = | |
267 | endif | |
268 | ifeq ($(WXUNIV),1) | |
269 | __WXUNIV_DEFINE_p = -D__WXUNIVERSAL__ | |
270 | endif | |
271 | ifeq ($(BUILD),debug) | |
272 | ifeq ($(DEBUG_FLAG),default) | |
273 | __DEBUG_DEFINE_p = -D__WXDEBUG__ | |
274 | endif | |
275 | endif | |
276 | ifeq ($(DEBUG_FLAG),1) | |
277 | __DEBUG_DEFINE_p = -D__WXDEBUG__ | |
278 | endif | |
279 | ifeq ($(USE_EXCEPTIONS),0) | |
280 | __EXCEPTIONS_DEFINE_p = -DwxNO_EXCEPTIONS | |
281 | endif | |
282 | ifeq ($(USE_RTTI),0) | |
283 | __RTTI_DEFINE_p = -DwxNO_RTTI | |
284 | endif | |
285 | ifeq ($(USE_THREADS),0) | |
286 | __THREAD_DEFINE_p = -DwxNO_THREADS | |
287 | endif | |
288 | ifeq ($(UNICODE),0) | |
289 | __UNICODE_DEFINE_p = -DwxUSE_UNICODE=0 | |
290 | endif | |
291 | ifeq ($(UNICODE),1) | |
292 | __UNICODE_DEFINE_p = -D_UNICODE | |
293 | endif | |
294 | ifeq ($(MSLU),1) | |
295 | __MSLU_DEFINE_p = -DwxUSE_UNICODE_MSLU=1 | |
296 | endif | |
297 | ifeq ($(USE_GDIPLUS),1) | |
298 | __GFXCTX_DEFINE_p = -DwxUSE_GRAPHICS_CONTEXT=1 | |
299 | endif | |
300 | ifeq ($(SHARED),1) | |
301 | __DLLFLAG_p = -DWXUSINGDLL | |
302 | endif | |
303 | ifeq ($(MONOLITHIC),0) | |
304 | __WXLIB_BASE_p = \ | |
305 | -lwxbase$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR) | |
306 | endif | |
307 | ifeq ($(MONOLITHIC),1) | |
308 | __WXLIB_MONO_p = \ | |
309 | -lwx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR) | |
310 | endif | |
311 | ifeq ($(MSLU),1) | |
312 | __UNICOWS_LIB_p = -lunicows | |
313 | endif | |
314 | ifeq ($(USE_GDIPLUS),1) | |
315 | __GDIPLUS_LIB_p = -lgdiplus | |
316 | endif | |
317 | ifeq ($(BUILD),debug) | |
318 | ifeq ($(DEBUG_INFO),default) | |
319 | __DEBUGINFO = -g | |
320 | endif | |
321 | endif | |
322 | ifeq ($(BUILD),release) | |
323 | ifeq ($(DEBUG_INFO),default) | |
324 | __DEBUGINFO = | |
325 | endif | |
326 | endif | |
327 | ifeq ($(DEBUG_INFO),0) | |
328 | __DEBUGINFO = | |
329 | endif | |
330 | ifeq ($(DEBUG_INFO),1) | |
331 | __DEBUGINFO = -g | |
332 | endif | |
333 | ifeq ($(USE_THREADS),0) | |
334 | __THREADSFLAG = | |
335 | endif | |
336 | ifeq ($(USE_THREADS),1) | |
337 | __THREADSFLAG = -mthreads | |
338 | endif | |
339 | ||
340 | ||
341 | all: $(OBJS) | |
342 | $(OBJS): | |
343 | -if not exist $(OBJS) mkdir $(OBJS) | |
344 | ||
345 | ### Targets: ### | |
346 | ||
347 | all: $(OBJS)\test.exe $(__test_gui___depname) data fr $(OBJS)\printfbench.exe | |
348 | ||
349 | clean: | |
350 | -if exist $(OBJS)\*.o del $(OBJS)\*.o | |
351 | -if exist $(OBJS)\*.d del $(OBJS)\*.d | |
352 | -if exist $(OBJS)\test.exe del $(OBJS)\test.exe | |
353 | -if exist $(OBJS)\test_gui.exe del $(OBJS)\test_gui.exe | |
354 | -if exist $(OBJS)\printfbench.exe del $(OBJS)\printfbench.exe | |
355 | ||
356 | $(OBJS)\test.exe: $(TEST_OBJECTS) | |
357 | $(CXX) -o $@ $(TEST_OBJECTS) $(__DEBUGINFO) $(__THREADSFLAG) -L$(LIBDIRNAME) $(CPPUNIT_LIBS) $(LDFLAGS) $(__WXLIB_NET_p) $(__WXLIB_BASE_p) $(__WXLIB_XML_p) $(__WXLIB_MONO_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 | |
358 | ||
359 | ifeq ($(USE_GUI),1) | |
360 | $(OBJS)\test_gui.exe: $(TEST_GUI_OBJECTS) $(OBJS)\test_gui_sample_rc.o | |
361 | $(CXX) -o $@ $(TEST_GUI_OBJECTS) $(__DEBUGINFO) $(__THREADSFLAG) -L$(LIBDIRNAME) $(CPPUNIT_LIBS) $(LDFLAGS) $(__WXLIB_MEDIA_p) $(__WXLIB_XRC_p) $(__WXLIB_XML_p) $(__WXLIB_ADV_p) $(__WXLIB_HTML_p) $(__WXLIB_CORE_p) $(__WXLIB_NET_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 | |
362 | endif | |
363 | ||
364 | data: | |
365 | if not exist $(OBJS) mkdir $(OBJS) | |
366 | for %%f in (testdata.fc) do if not exist $(OBJS)\%%f copy .\%%f $(OBJS) | |
367 | ||
368 | fr: | |
369 | if not exist $(OBJS)\intl\fr mkdir $(OBJS)\intl\fr | |
370 | for %%f in (internat.po internat.mo) do if not exist $(OBJS)\intl\fr\%%f copy .\intl\fr\%%f $(OBJS)\intl\fr | |
371 | ||
372 | $(OBJS)\printfbench.exe: $(PRINTFBENCH_OBJECTS) | |
373 | $(CXX) -o $@ $(PRINTFBENCH_OBJECTS) $(__DEBUGINFO) $(__THREADSFLAG) -L$(LIBDIRNAME) $(CPPUNIT_LIBS) $(LDFLAGS) $(__WXLIB_BASE_p) $(__WXLIB_MONO_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 | |
374 | ||
375 | $(OBJS)\test_dummy.o: ./dummy.cpp | |
376 | $(CXX) -c -o $@ $(TEST_CXXFLAGS) $(CPPDEPS) $< | |
377 | ||
378 | $(OBJS)\test_test.o: ./test.cpp | |
379 | $(CXX) -c -o $@ $(TEST_CXXFLAGS) $(CPPDEPS) $< | |
380 | ||
381 | $(OBJS)\test_archivetest.o: ./archive/archivetest.cpp | |
382 | $(CXX) -c -o $@ $(TEST_CXXFLAGS) $(CPPDEPS) $< | |
383 | ||
384 | $(OBJS)\test_ziptest.o: ./archive/ziptest.cpp | |
385 | $(CXX) -c -o $@ $(TEST_CXXFLAGS) $(CPPDEPS) $< | |
386 | ||
387 | $(OBJS)\test_tartest.o: ./archive/tartest.cpp | |
388 | $(CXX) -c -o $@ $(TEST_CXXFLAGS) $(CPPDEPS) $< | |
389 | ||
390 | $(OBJS)\test_arrays.o: ./arrays/arrays.cpp | |
391 | $(CXX) -c -o $@ $(TEST_CXXFLAGS) $(CPPDEPS) $< | |
392 | ||
393 | $(OBJS)\test_base64.o: ./base64/base64.cpp | |
394 | $(CXX) -c -o $@ $(TEST_CXXFLAGS) $(CPPDEPS) $< | |
395 | ||
396 | $(OBJS)\test_cmdlinetest.o: ./cmdline/cmdlinetest.cpp | |
397 | $(CXX) -c -o $@ $(TEST_CXXFLAGS) $(CPPDEPS) $< | |
398 | ||
399 | $(OBJS)\test_fileconf.o: ./config/fileconf.cpp | |
400 | $(CXX) -c -o $@ $(TEST_CXXFLAGS) $(CPPDEPS) $< | |
401 | ||
402 | $(OBJS)\test_datetimetest.o: ./datetime/datetimetest.cpp | |
403 | $(CXX) -c -o $@ $(TEST_CXXFLAGS) $(CPPDEPS) $< | |
404 | ||
405 | $(OBJS)\test_evthandler.o: ./events/evthandler.cpp | |
406 | $(CXX) -c -o $@ $(TEST_CXXFLAGS) $(CPPDEPS) $< | |
407 | ||
408 | $(OBJS)\test_timertest.o: ./events/timertest.cpp | |
409 | $(CXX) -c -o $@ $(TEST_CXXFLAGS) $(CPPDEPS) $< | |
410 | ||
411 | $(OBJS)\test_filekind.o: ./filekind/filekind.cpp | |
412 | $(CXX) -c -o $@ $(TEST_CXXFLAGS) $(CPPDEPS) $< | |
413 | ||
414 | $(OBJS)\test_filenametest.o: ./filename/filenametest.cpp | |
415 | $(CXX) -c -o $@ $(TEST_CXXFLAGS) $(CPPDEPS) $< | |
416 | ||
417 | $(OBJS)\test_filesystest.o: ./filesys/filesystest.cpp | |
418 | $(CXX) -c -o $@ $(TEST_CXXFLAGS) $(CPPDEPS) $< | |
419 | ||
420 | $(OBJS)\test_fontmaptest.o: ./fontmap/fontmaptest.cpp | |
421 | $(CXX) -c -o $@ $(TEST_CXXFLAGS) $(CPPDEPS) $< | |
422 | ||
423 | $(OBJS)\test_formatconvertertest.o: ./formatconverter/formatconvertertest.cpp | |
424 | $(CXX) -c -o $@ $(TEST_CXXFLAGS) $(CPPDEPS) $< | |
425 | ||
426 | $(OBJS)\test_hashes.o: ./hashes/hashes.cpp | |
427 | $(CXX) -c -o $@ $(TEST_CXXFLAGS) $(CPPDEPS) $< | |
428 | ||
429 | $(OBJS)\test_intltest.o: ./intl/intltest.cpp | |
430 | $(CXX) -c -o $@ $(TEST_CXXFLAGS) $(CPPDEPS) $< | |
431 | ||
432 | $(OBJS)\test_lists.o: ./lists/lists.cpp | |
433 | $(CXX) -c -o $@ $(TEST_CXXFLAGS) $(CPPDEPS) $< | |
434 | ||
435 | $(OBJS)\test_longlongtest.o: ./longlong/longlongtest.cpp | |
436 | $(CXX) -c -o $@ $(TEST_CXXFLAGS) $(CPPDEPS) $< | |
437 | ||
438 | $(OBJS)\test_convautotest.o: ./mbconv/convautotest.cpp | |
439 | $(CXX) -c -o $@ $(TEST_CXXFLAGS) $(CPPDEPS) $< | |
440 | ||
441 | $(OBJS)\test_mbconvtest.o: ./mbconv/mbconvtest.cpp | |
442 | $(CXX) -c -o $@ $(TEST_CXXFLAGS) $(CPPDEPS) $< | |
443 | ||
444 | $(OBJS)\test_misctests.o: ./misc/misctests.cpp | |
445 | $(CXX) -c -o $@ $(TEST_CXXFLAGS) $(CPPDEPS) $< | |
446 | ||
447 | $(OBJS)\test_ipc.o: ./net/ipc.cpp | |
448 | $(CXX) -c -o $@ $(TEST_CXXFLAGS) $(CPPDEPS) $< | |
449 | ||
450 | $(OBJS)\test_socket.o: ./net/socket.cpp | |
451 | $(CXX) -c -o $@ $(TEST_CXXFLAGS) $(CPPDEPS) $< | |
452 | ||
453 | $(OBJS)\test_regextest.o: ./regex/regextest.cpp | |
454 | $(CXX) -c -o $@ $(TEST_CXXFLAGS) $(CPPDEPS) $< | |
455 | ||
456 | $(OBJS)\test_wxregextest.o: ./regex/wxregextest.cpp | |
457 | $(CXX) -c -o $@ $(TEST_CXXFLAGS) $(CPPDEPS) $< | |
458 | ||
459 | $(OBJS)\test_scopeguardtest.o: ./scopeguard/scopeguardtest.cpp | |
460 | $(CXX) -c -o $@ $(TEST_CXXFLAGS) $(CPPDEPS) $< | |
461 | ||
462 | $(OBJS)\test_iostream.o: ./strings/iostream.cpp | |
463 | $(CXX) -c -o $@ $(TEST_CXXFLAGS) $(CPPDEPS) $< | |
464 | ||
465 | $(OBJS)\test_strings.o: ./strings/strings.cpp | |
466 | $(CXX) -c -o $@ $(TEST_CXXFLAGS) $(CPPDEPS) $< | |
467 | ||
468 | $(OBJS)\test_stdstrings.o: ./strings/stdstrings.cpp | |
469 | $(CXX) -c -o $@ $(TEST_CXXFLAGS) $(CPPDEPS) $< | |
470 | ||
471 | $(OBJS)\test_tokenizer.o: ./strings/tokenizer.cpp | |
472 | $(CXX) -c -o $@ $(TEST_CXXFLAGS) $(CPPDEPS) $< | |
473 | ||
474 | $(OBJS)\test_unichar.o: ./strings/unichar.cpp | |
475 | $(CXX) -c -o $@ $(TEST_CXXFLAGS) $(CPPDEPS) $< | |
476 | ||
477 | $(OBJS)\test_unicode.o: ./strings/unicode.cpp | |
478 | $(CXX) -c -o $@ $(TEST_CXXFLAGS) $(CPPDEPS) $< | |
479 | ||
480 | $(OBJS)\test_vararg.o: ./strings/vararg.cpp | |
481 | $(CXX) -c -o $@ $(TEST_CXXFLAGS) $(CPPDEPS) $< | |
482 | ||
483 | $(OBJS)\test_crt.o: ./strings/crt.cpp | |
484 | $(CXX) -c -o $@ $(TEST_CXXFLAGS) $(CPPDEPS) $< | |
485 | ||
486 | $(OBJS)\test_vsnprintf.o: ./strings/vsnprintf.cpp | |
487 | $(CXX) -c -o $@ $(TEST_CXXFLAGS) $(CPPDEPS) $< | |
488 | ||
489 | $(OBJS)\test_bstream.o: ./streams/bstream.cpp | |
490 | $(CXX) -c -o $@ $(TEST_CXXFLAGS) $(CPPDEPS) $< | |
491 | ||
492 | $(OBJS)\test_datastreamtest.o: ./streams/datastreamtest.cpp | |
493 | $(CXX) -c -o $@ $(TEST_CXXFLAGS) $(CPPDEPS) $< | |
494 | ||
495 | $(OBJS)\test_ffilestream.o: ./streams/ffilestream.cpp | |
496 | $(CXX) -c -o $@ $(TEST_CXXFLAGS) $(CPPDEPS) $< | |
497 | ||
498 | $(OBJS)\test_fileback.o: ./streams/fileback.cpp | |
499 | $(CXX) -c -o $@ $(TEST_CXXFLAGS) $(CPPDEPS) $< | |
500 | ||
501 | $(OBJS)\test_filestream.o: ./streams/filestream.cpp | |
502 | $(CXX) -c -o $@ $(TEST_CXXFLAGS) $(CPPDEPS) $< | |
503 | ||
504 | $(OBJS)\test_iostreams.o: ./streams/iostreams.cpp | |
505 | $(CXX) -c -o $@ $(TEST_CXXFLAGS) $(CPPDEPS) $< | |
506 | ||
507 | $(OBJS)\test_largefile.o: ./streams/largefile.cpp | |
508 | $(CXX) -c -o $@ $(TEST_CXXFLAGS) $(CPPDEPS) $< | |
509 | ||
510 | $(OBJS)\test_memstream.o: ./streams/memstream.cpp | |
511 | $(CXX) -c -o $@ $(TEST_CXXFLAGS) $(CPPDEPS) $< | |
512 | ||
513 | $(OBJS)\test_socketstream.o: ./streams/socketstream.cpp | |
514 | $(CXX) -c -o $@ $(TEST_CXXFLAGS) $(CPPDEPS) $< | |
515 | ||
516 | $(OBJS)\test_sstream.o: ./streams/sstream.cpp | |
517 | $(CXX) -c -o $@ $(TEST_CXXFLAGS) $(CPPDEPS) $< | |
518 | ||
519 | $(OBJS)\test_tempfile.o: ./streams/tempfile.cpp | |
520 | $(CXX) -c -o $@ $(TEST_CXXFLAGS) $(CPPDEPS) $< | |
521 | ||
522 | $(OBJS)\test_textstreamtest.o: ./streams/textstreamtest.cpp | |
523 | $(CXX) -c -o $@ $(TEST_CXXFLAGS) $(CPPDEPS) $< | |
524 | ||
525 | $(OBJS)\test_zlibstream.o: ./streams/zlibstream.cpp | |
526 | $(CXX) -c -o $@ $(TEST_CXXFLAGS) $(CPPDEPS) $< | |
527 | ||
528 | $(OBJS)\test_textfiletest.o: ./textfile/textfiletest.cpp | |
529 | $(CXX) -c -o $@ $(TEST_CXXFLAGS) $(CPPDEPS) $< | |
530 | ||
531 | $(OBJS)\test_atomic.o: ./thread/atomic.cpp | |
532 | $(CXX) -c -o $@ $(TEST_CXXFLAGS) $(CPPDEPS) $< | |
533 | ||
534 | $(OBJS)\test_queue.o: ./thread/queue.cpp | |
535 | $(CXX) -c -o $@ $(TEST_CXXFLAGS) $(CPPDEPS) $< | |
536 | ||
537 | $(OBJS)\test_tls.o: ./thread/tls.cpp | |
538 | $(CXX) -c -o $@ $(TEST_CXXFLAGS) $(CPPDEPS) $< | |
539 | ||
540 | $(OBJS)\test_uris.o: ./uris/uris.cpp | |
541 | $(CXX) -c -o $@ $(TEST_CXXFLAGS) $(CPPDEPS) $< | |
542 | ||
543 | $(OBJS)\test_vectors.o: ./vectors/vectors.cpp | |
544 | $(CXX) -c -o $@ $(TEST_CXXFLAGS) $(CPPDEPS) $< | |
545 | ||
546 | $(OBJS)\test_evtconnection.o: ./weakref/evtconnection.cpp | |
547 | $(CXX) -c -o $@ $(TEST_CXXFLAGS) $(CPPDEPS) $< | |
548 | ||
549 | $(OBJS)\test_weakref.o: ./weakref/weakref.cpp | |
550 | $(CXX) -c -o $@ $(TEST_CXXFLAGS) $(CPPDEPS) $< | |
551 | ||
552 | $(OBJS)\test_xlocale.o: ./xlocale/xlocale.cpp | |
553 | $(CXX) -c -o $@ $(TEST_CXXFLAGS) $(CPPDEPS) $< | |
554 | ||
555 | $(OBJS)\test_xmltest.o: ./xml/xmltest.cpp | |
556 | $(CXX) -c -o $@ $(TEST_CXXFLAGS) $(CPPDEPS) $< | |
557 | ||
558 | $(OBJS)\test_gui_sample_rc.o: ./../samples/sample.rc | |
559 | windres --use-temp-file -i$< -o$@ --define __WXMSW__ $(__WXUNIV_DEFINE_p_3) $(__DEBUG_DEFINE_p_3) $(__EXCEPTIONS_DEFINE_p_3) $(__RTTI_DEFINE_p_3) $(__THREAD_DEFINE_p_3) $(__UNICODE_DEFINE_p_3) $(__MSLU_DEFINE_p_3) $(__GFXCTX_DEFINE_p_3) --include-dir $(SETUPHDIR) --include-dir ./../include --include-dir . $(__DLLFLAG_p_3) --include-dir ./../samples --define NOPCH | |
560 | ||
561 | $(OBJS)\test_gui_dummy.o: ./dummy.cpp | |
562 | $(CXX) -c -o $@ $(TEST_GUI_CXXFLAGS) $(CPPDEPS) $< | |
563 | ||
564 | $(OBJS)\test_gui_test.o: ./test.cpp | |
565 | $(CXX) -c -o $@ $(TEST_GUI_CXXFLAGS) $(CPPDEPS) $< | |
566 | ||
567 | $(OBJS)\test_gui_rect.o: ./geometry/rect.cpp | |
568 | $(CXX) -c -o $@ $(TEST_GUI_CXXFLAGS) $(CPPDEPS) $< | |
569 | ||
570 | $(OBJS)\test_gui_size.o: ./geometry/size.cpp | |
571 | $(CXX) -c -o $@ $(TEST_GUI_CXXFLAGS) $(CPPDEPS) $< | |
572 | ||
573 | $(OBJS)\test_gui_point.o: ./geometry/point.cpp | |
574 | $(CXX) -c -o $@ $(TEST_GUI_CXXFLAGS) $(CPPDEPS) $< | |
575 | ||
576 | $(OBJS)\test_gui_config.o: ./config/config.cpp | |
577 | $(CXX) -c -o $@ $(TEST_GUI_CXXFLAGS) $(CPPDEPS) $< | |
578 | ||
579 | $(OBJS)\test_gui_comboboxtest.o: ./controls/comboboxtest.cpp | |
580 | $(CXX) -c -o $@ $(TEST_GUI_CXXFLAGS) $(CPPDEPS) $< | |
581 | ||
582 | $(OBJS)\test_gui_headerctrltest.o: ./controls/headerctrltest.cpp | |
583 | $(CXX) -c -o $@ $(TEST_GUI_CXXFLAGS) $(CPPDEPS) $< | |
584 | ||
585 | $(OBJS)\test_gui_listctrltest.o: ./controls/listctrltest.cpp | |
586 | $(CXX) -c -o $@ $(TEST_GUI_CXXFLAGS) $(CPPDEPS) $< | |
587 | ||
588 | $(OBJS)\test_gui_textctrltest.o: ./controls/textctrltest.cpp | |
589 | $(CXX) -c -o $@ $(TEST_GUI_CXXFLAGS) $(CPPDEPS) $< | |
590 | ||
591 | $(OBJS)\test_gui_textentrytest.o: ./controls/textentrytest.cpp | |
592 | $(CXX) -c -o $@ $(TEST_GUI_CXXFLAGS) $(CPPDEPS) $< | |
593 | ||
594 | $(OBJS)\test_gui_treectrltest.o: ./controls/treectrltest.cpp | |
595 | $(CXX) -c -o $@ $(TEST_GUI_CXXFLAGS) $(CPPDEPS) $< | |
596 | ||
597 | $(OBJS)\test_gui_propagation.o: ./events/propagation.cpp | |
598 | $(CXX) -c -o $@ $(TEST_GUI_CXXFLAGS) $(CPPDEPS) $< | |
599 | ||
600 | $(OBJS)\test_gui_rawbmp.o: ./image/rawbmp.cpp | |
601 | $(CXX) -c -o $@ $(TEST_GUI_CXXFLAGS) $(CPPDEPS) $< | |
602 | ||
603 | $(OBJS)\test_gui_htmlwindow.o: ./html/htmlwindow.cpp | |
604 | $(CXX) -c -o $@ $(TEST_GUI_CXXFLAGS) $(CPPDEPS) $< | |
605 | ||
606 | $(OBJS)\test_gui_guifuncs.o: ./misc/guifuncs.cpp | |
607 | $(CXX) -c -o $@ $(TEST_GUI_CXXFLAGS) $(CPPDEPS) $< | |
608 | ||
609 | $(OBJS)\test_gui_selstoretest.o: ./misc/selstoretest.cpp | |
610 | $(CXX) -c -o $@ $(TEST_GUI_CXXFLAGS) $(CPPDEPS) $< | |
611 | ||
612 | $(OBJS)\test_gui_garbage.o: ./misc/garbage.cpp | |
613 | $(CXX) -c -o $@ $(TEST_GUI_CXXFLAGS) $(CPPDEPS) $< | |
614 | ||
615 | $(OBJS)\test_gui_socket.o: ./net/socket.cpp | |
616 | $(CXX) -c -o $@ $(TEST_GUI_CXXFLAGS) $(CPPDEPS) $< | |
617 | ||
618 | $(OBJS)\test_gui_clientsize.o: ./window/clientsize.cpp | |
619 | $(CXX) -c -o $@ $(TEST_GUI_CXXFLAGS) $(CPPDEPS) $< | |
620 | ||
621 | $(OBJS)\test_gui_setsize.o: ./window/setsize.cpp | |
622 | $(CXX) -c -o $@ $(TEST_GUI_CXXFLAGS) $(CPPDEPS) $< | |
623 | ||
624 | $(OBJS)\printfbench_dummy.o: ./dummy.cpp | |
625 | $(CXX) -c -o $@ $(PRINTFBENCH_CXXFLAGS) $(CPPDEPS) $< | |
626 | ||
627 | $(OBJS)\printfbench_printfbench.o: ./benchmarks/printfbench.cpp | |
628 | $(CXX) -c -o $@ $(PRINTFBENCH_CXXFLAGS) $(CPPDEPS) $< | |
629 | ||
630 | .PHONY: all clean data fr | |
631 | ||
632 | ||
633 | SHELL := $(COMSPEC) | |
634 | ||
635 | # Dependencies tracking: | |
636 | -include $(OBJS)/*.d |