]> git.saurik.com Git - wxWidgets.git/blob - tests/makefile.gcc
partial support for border metrics of non-TLW
[wxWidgets.git] / tests / makefile.gcc
1 # =========================================================================
2 # This makefile was generated by
3 # Bakefile 0.2.4 (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_filekind.o \
42 $(OBJS)\test_filenametest.o \
43 $(OBJS)\test_filesystest.o \
44 $(OBJS)\test_fontmaptest.o \
45 $(OBJS)\test_formatconvertertest.o \
46 $(OBJS)\test_hashes.o \
47 $(OBJS)\test_intltest.o \
48 $(OBJS)\test_lists.o \
49 $(OBJS)\test_longlongtest.o \
50 $(OBJS)\test_convautotest.o \
51 $(OBJS)\test_mbconvtest.o \
52 $(OBJS)\test_misctests.o \
53 $(OBJS)\test_ipc.o \
54 $(OBJS)\test_socket.o \
55 $(OBJS)\test_regextest.o \
56 $(OBJS)\test_wxregextest.o \
57 $(OBJS)\test_scopeguardtest.o \
58 $(OBJS)\test_iostream.o \
59 $(OBJS)\test_strings.o \
60 $(OBJS)\test_stdstrings.o \
61 $(OBJS)\test_tokenizer.o \
62 $(OBJS)\test_unichar.o \
63 $(OBJS)\test_unicode.o \
64 $(OBJS)\test_vararg.o \
65 $(OBJS)\test_crt.o \
66 $(OBJS)\test_vsnprintf.o \
67 $(OBJS)\test_bstream.o \
68 $(OBJS)\test_datastreamtest.o \
69 $(OBJS)\test_ffilestream.o \
70 $(OBJS)\test_fileback.o \
71 $(OBJS)\test_filestream.o \
72 $(OBJS)\test_iostreams.o \
73 $(OBJS)\test_largefile.o \
74 $(OBJS)\test_memstream.o \
75 $(OBJS)\test_socketstream.o \
76 $(OBJS)\test_sstream.o \
77 $(OBJS)\test_tempfile.o \
78 $(OBJS)\test_textstreamtest.o \
79 $(OBJS)\test_zlibstream.o \
80 $(OBJS)\test_textfiletest.o \
81 $(OBJS)\test_atomic.o \
82 $(OBJS)\test_queue.o \
83 $(OBJS)\test_tls.o \
84 $(OBJS)\test_uris.o \
85 $(OBJS)\test_vectors.o \
86 $(OBJS)\test_evtconnection.o \
87 $(OBJS)\test_weakref.o \
88 $(OBJS)\test_xlocale.o \
89 $(OBJS)\test_xmltest.o
90 TEST_GUI_CXXFLAGS = $(__DEBUGINFO) $(__OPTIMIZEFLAG) $(__THREADSFLAG) \
91 $(GCCFLAGS) -DHAVE_W32API_H -D__WXMSW__ $(__WXUNIV_DEFINE_p) \
92 $(__DEBUG_DEFINE_p) $(__EXCEPTIONS_DEFINE_p) $(__RTTI_DEFINE_p) \
93 $(__THREAD_DEFINE_p) $(__UNICODE_DEFINE_p) $(__MSLU_DEFINE_p) \
94 $(__GFXCTX_DEFINE_p) -I$(SETUPHDIR) -I.\..\include -W -Wall -I. $(__DLLFLAG_p) \
95 -I.\..\samples -DNOPCH $(CPPUNIT_CFLAGS) $(__RTTIFLAG) $(__EXCEPTIONSFLAG) \
96 -Wno-ctor-dtor-privacy $(CPPFLAGS) $(CXXFLAGS)
97 TEST_GUI_OBJECTS = \
98 $(OBJS)\test_gui_sample_rc.o \
99 $(OBJS)\test_gui_dummy.o \
100 $(OBJS)\test_gui_test.o \
101 $(OBJS)\test_gui_rect.o \
102 $(OBJS)\test_gui_size.o \
103 $(OBJS)\test_gui_point.o \
104 $(OBJS)\test_gui_config.o \
105 $(OBJS)\test_gui_comboboxtest.o \
106 $(OBJS)\test_gui_textctrltest.o \
107 $(OBJS)\test_gui_textentrytest.o \
108 $(OBJS)\test_gui_rawbmp.o \
109 $(OBJS)\test_gui_htmlwindow.o \
110 $(OBJS)\test_gui_guifuncs.o \
111 $(OBJS)\test_gui_selstoretest.o \
112 $(OBJS)\test_gui_clientsize.o \
113 $(OBJS)\test_gui_setsize.o
114 PRINTFBENCH_CXXFLAGS = $(__DEBUGINFO) $(__OPTIMIZEFLAG) $(__THREADSFLAG) \
115 $(GCCFLAGS) -DHAVE_W32API_H -D__WXMSW__ $(__WXUNIV_DEFINE_p) \
116 $(__DEBUG_DEFINE_p) $(__EXCEPTIONS_DEFINE_p) $(__RTTI_DEFINE_p) \
117 $(__THREAD_DEFINE_p) $(__UNICODE_DEFINE_p) $(__MSLU_DEFINE_p) \
118 $(__GFXCTX_DEFINE_p) -I$(SETUPHDIR) -I.\..\include -W -Wall -I. $(__DLLFLAG_p) \
119 -DwxUSE_GUI=0 $(CPPUNIT_CFLAGS) $(__RTTIFLAG) $(__EXCEPTIONSFLAG) \
120 -Wno-ctor-dtor-privacy $(CPPFLAGS) $(CXXFLAGS)
121 PRINTFBENCH_OBJECTS = \
122 $(OBJS)\printfbench_dummy.o \
123 $(OBJS)\printfbench_printfbench.o
124
125 ### Conditionally set variables: ###
126
127 ifeq ($(GCC_VERSION),2.95)
128 GCCFLAGS = -fvtable-thunks
129 endif
130 ifeq ($(USE_GUI),0)
131 PORTNAME = base
132 endif
133 ifeq ($(USE_GUI),1)
134 PORTNAME = msw
135 endif
136 ifeq ($(BUILD),debug)
137 ifeq ($(DEBUG_FLAG),default)
138 WXDEBUGFLAG = d
139 endif
140 endif
141 ifeq ($(DEBUG_FLAG),1)
142 WXDEBUGFLAG = d
143 endif
144 ifeq ($(UNICODE),1)
145 WXUNICODEFLAG = u
146 endif
147 ifeq ($(WXUNIV),1)
148 WXUNIVNAME = univ
149 endif
150 ifeq ($(SHARED),1)
151 WXDLLFLAG = dll
152 endif
153 ifeq ($(SHARED),0)
154 LIBTYPE_SUFFIX = lib
155 endif
156 ifeq ($(SHARED),1)
157 LIBTYPE_SUFFIX = dll
158 endif
159 ifeq ($(MONOLITHIC),0)
160 EXTRALIBS_FOR_BASE =
161 endif
162 ifeq ($(MONOLITHIC),1)
163 EXTRALIBS_FOR_BASE =
164 endif
165 ifeq ($(MONOLITHIC),0)
166 __WXLIB_NET_p = \
167 -lwxbase$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_net
168 endif
169 ifeq ($(MONOLITHIC),0)
170 __WXLIB_XML_p = \
171 -lwxbase$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_xml
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 __WXLIB_HTML_p = \
213 -lwx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_html
214 endif
215 ifeq ($(MONOLITHIC),0)
216 __WXLIB_CORE_p = \
217 -lwx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_core
218 endif
219 ifeq ($(USE_GUI),1)
220 __LIB_TIFF_p = -lwxtiff$(WXDEBUGFLAG)
221 endif
222 ifeq ($(USE_GUI),1)
223 __LIB_JPEG_p = -lwxjpeg$(WXDEBUGFLAG)
224 endif
225 ifeq ($(USE_GUI),1)
226 __LIB_PNG_p = -lwxpng$(WXDEBUGFLAG)
227 endif
228 ifeq ($(BUILD),debug)
229 __OPTIMIZEFLAG = -O0
230 endif
231 ifeq ($(BUILD),release)
232 __OPTIMIZEFLAG = -O2
233 endif
234 ifeq ($(USE_RTTI),0)
235 __RTTIFLAG = -fno-rtti
236 endif
237 ifeq ($(USE_RTTI),1)
238 __RTTIFLAG =
239 endif
240 ifeq ($(USE_EXCEPTIONS),0)
241 __EXCEPTIONSFLAG = -fno-exceptions
242 endif
243 ifeq ($(USE_EXCEPTIONS),1)
244 __EXCEPTIONSFLAG =
245 endif
246 ifeq ($(WXUNIV),1)
247 __WXUNIV_DEFINE_p = -D__WXUNIVERSAL__
248 endif
249 ifeq ($(BUILD),debug)
250 ifeq ($(DEBUG_FLAG),default)
251 __DEBUG_DEFINE_p = -D__WXDEBUG__
252 endif
253 endif
254 ifeq ($(DEBUG_FLAG),1)
255 __DEBUG_DEFINE_p = -D__WXDEBUG__
256 endif
257 ifeq ($(USE_EXCEPTIONS),0)
258 __EXCEPTIONS_DEFINE_p = -DwxNO_EXCEPTIONS
259 endif
260 ifeq ($(USE_RTTI),0)
261 __RTTI_DEFINE_p = -DwxNO_RTTI
262 endif
263 ifeq ($(USE_THREADS),0)
264 __THREAD_DEFINE_p = -DwxNO_THREADS
265 endif
266 ifeq ($(UNICODE),0)
267 __UNICODE_DEFINE_p = -DwxUSE_UNICODE=0
268 endif
269 ifeq ($(UNICODE),1)
270 __UNICODE_DEFINE_p = -D_UNICODE
271 endif
272 ifeq ($(MSLU),1)
273 __MSLU_DEFINE_p = -DwxUSE_UNICODE_MSLU=1
274 endif
275 ifeq ($(USE_GDIPLUS),1)
276 __GFXCTX_DEFINE_p = -DwxUSE_GRAPHICS_CONTEXT=1
277 endif
278 ifeq ($(SHARED),1)
279 __DLLFLAG_p = -DWXUSINGDLL
280 endif
281 ifeq ($(MONOLITHIC),0)
282 __WXLIB_BASE_p = \
283 -lwxbase$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)
284 endif
285 ifeq ($(MONOLITHIC),1)
286 __WXLIB_MONO_p = \
287 -lwx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)
288 endif
289 ifeq ($(MSLU),1)
290 __UNICOWS_LIB_p = -lunicows
291 endif
292 ifeq ($(USE_GDIPLUS),1)
293 __GDIPLUS_LIB_p = -lgdiplus
294 endif
295 ifeq ($(BUILD),debug)
296 ifeq ($(DEBUG_INFO),default)
297 __DEBUGINFO = -g
298 endif
299 endif
300 ifeq ($(BUILD),release)
301 ifeq ($(DEBUG_INFO),default)
302 __DEBUGINFO =
303 endif
304 endif
305 ifeq ($(DEBUG_INFO),0)
306 __DEBUGINFO =
307 endif
308 ifeq ($(DEBUG_INFO),1)
309 __DEBUGINFO = -g
310 endif
311 ifeq ($(USE_THREADS),0)
312 __THREADSFLAG =
313 endif
314 ifeq ($(USE_THREADS),1)
315 __THREADSFLAG = -mthreads
316 endif
317
318
319 all: $(OBJS)
320 $(OBJS):
321 -if not exist $(OBJS) mkdir $(OBJS)
322
323 ### Targets: ###
324
325 all: $(OBJS)\test.exe $(__test_gui___depname) data fr $(OBJS)\printfbench.exe
326
327 clean:
328 -if exist $(OBJS)\*.o del $(OBJS)\*.o
329 -if exist $(OBJS)\*.d del $(OBJS)\*.d
330 -if exist $(OBJS)\test.exe del $(OBJS)\test.exe
331 -if exist $(OBJS)\test_gui.exe del $(OBJS)\test_gui.exe
332 -if exist $(OBJS)\printfbench.exe del $(OBJS)\printfbench.exe
333
334 $(OBJS)\test.exe: $(TEST_OBJECTS)
335 $(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
336
337 ifeq ($(USE_GUI),1)
338 $(OBJS)\test_gui.exe: $(TEST_GUI_OBJECTS) $(OBJS)\test_gui_sample_rc.o
339 $(CXX) -o $@ $(TEST_GUI_OBJECTS) $(__DEBUGINFO) $(__THREADSFLAG) -L$(LIBDIRNAME) $(CPPUNIT_LIBS) $(LDFLAGS) $(__WXLIB_HTML_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
340 endif
341
342 data:
343 if not exist $(OBJS) mkdir $(OBJS)
344 for %%f in (testdata.fc) do if not exist $(OBJS)\%%f copy .\%%f $(OBJS)
345
346 fr:
347 if not exist $(OBJS)\intl\fr mkdir $(OBJS)\intl\fr
348 for %%f in (internat.po internat.mo) do if not exist $(OBJS)\intl\fr\%%f copy .\intl\fr\%%f $(OBJS)\intl\fr
349
350 $(OBJS)\printfbench.exe: $(PRINTFBENCH_OBJECTS)
351 $(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
352
353 $(OBJS)\test_dummy.o: ./dummy.cpp
354 $(CXX) -c -o $@ $(TEST_CXXFLAGS) $(CPPDEPS) $<
355
356 $(OBJS)\test_test.o: ./test.cpp
357 $(CXX) -c -o $@ $(TEST_CXXFLAGS) $(CPPDEPS) $<
358
359 $(OBJS)\test_archivetest.o: ./archive/archivetest.cpp
360 $(CXX) -c -o $@ $(TEST_CXXFLAGS) $(CPPDEPS) $<
361
362 $(OBJS)\test_ziptest.o: ./archive/ziptest.cpp
363 $(CXX) -c -o $@ $(TEST_CXXFLAGS) $(CPPDEPS) $<
364
365 $(OBJS)\test_tartest.o: ./archive/tartest.cpp
366 $(CXX) -c -o $@ $(TEST_CXXFLAGS) $(CPPDEPS) $<
367
368 $(OBJS)\test_arrays.o: ./arrays/arrays.cpp
369 $(CXX) -c -o $@ $(TEST_CXXFLAGS) $(CPPDEPS) $<
370
371 $(OBJS)\test_base64.o: ./base64/base64.cpp
372 $(CXX) -c -o $@ $(TEST_CXXFLAGS) $(CPPDEPS) $<
373
374 $(OBJS)\test_cmdlinetest.o: ./cmdline/cmdlinetest.cpp
375 $(CXX) -c -o $@ $(TEST_CXXFLAGS) $(CPPDEPS) $<
376
377 $(OBJS)\test_fileconf.o: ./config/fileconf.cpp
378 $(CXX) -c -o $@ $(TEST_CXXFLAGS) $(CPPDEPS) $<
379
380 $(OBJS)\test_datetimetest.o: ./datetime/datetimetest.cpp
381 $(CXX) -c -o $@ $(TEST_CXXFLAGS) $(CPPDEPS) $<
382
383 $(OBJS)\test_filekind.o: ./filekind/filekind.cpp
384 $(CXX) -c -o $@ $(TEST_CXXFLAGS) $(CPPDEPS) $<
385
386 $(OBJS)\test_filenametest.o: ./filename/filenametest.cpp
387 $(CXX) -c -o $@ $(TEST_CXXFLAGS) $(CPPDEPS) $<
388
389 $(OBJS)\test_filesystest.o: ./filesys/filesystest.cpp
390 $(CXX) -c -o $@ $(TEST_CXXFLAGS) $(CPPDEPS) $<
391
392 $(OBJS)\test_fontmaptest.o: ./fontmap/fontmaptest.cpp
393 $(CXX) -c -o $@ $(TEST_CXXFLAGS) $(CPPDEPS) $<
394
395 $(OBJS)\test_formatconvertertest.o: ./formatconverter/formatconvertertest.cpp
396 $(CXX) -c -o $@ $(TEST_CXXFLAGS) $(CPPDEPS) $<
397
398 $(OBJS)\test_hashes.o: ./hashes/hashes.cpp
399 $(CXX) -c -o $@ $(TEST_CXXFLAGS) $(CPPDEPS) $<
400
401 $(OBJS)\test_intltest.o: ./intl/intltest.cpp
402 $(CXX) -c -o $@ $(TEST_CXXFLAGS) $(CPPDEPS) $<
403
404 $(OBJS)\test_lists.o: ./lists/lists.cpp
405 $(CXX) -c -o $@ $(TEST_CXXFLAGS) $(CPPDEPS) $<
406
407 $(OBJS)\test_longlongtest.o: ./longlong/longlongtest.cpp
408 $(CXX) -c -o $@ $(TEST_CXXFLAGS) $(CPPDEPS) $<
409
410 $(OBJS)\test_convautotest.o: ./mbconv/convautotest.cpp
411 $(CXX) -c -o $@ $(TEST_CXXFLAGS) $(CPPDEPS) $<
412
413 $(OBJS)\test_mbconvtest.o: ./mbconv/mbconvtest.cpp
414 $(CXX) -c -o $@ $(TEST_CXXFLAGS) $(CPPDEPS) $<
415
416 $(OBJS)\test_misctests.o: ./misc/misctests.cpp
417 $(CXX) -c -o $@ $(TEST_CXXFLAGS) $(CPPDEPS) $<
418
419 $(OBJS)\test_ipc.o: ./net/ipc.cpp
420 $(CXX) -c -o $@ $(TEST_CXXFLAGS) $(CPPDEPS) $<
421
422 $(OBJS)\test_socket.o: ./net/socket.cpp
423 $(CXX) -c -o $@ $(TEST_CXXFLAGS) $(CPPDEPS) $<
424
425 $(OBJS)\test_regextest.o: ./regex/regextest.cpp
426 $(CXX) -c -o $@ $(TEST_CXXFLAGS) $(CPPDEPS) $<
427
428 $(OBJS)\test_wxregextest.o: ./regex/wxregextest.cpp
429 $(CXX) -c -o $@ $(TEST_CXXFLAGS) $(CPPDEPS) $<
430
431 $(OBJS)\test_scopeguardtest.o: ./scopeguard/scopeguardtest.cpp
432 $(CXX) -c -o $@ $(TEST_CXXFLAGS) $(CPPDEPS) $<
433
434 $(OBJS)\test_iostream.o: ./strings/iostream.cpp
435 $(CXX) -c -o $@ $(TEST_CXXFLAGS) $(CPPDEPS) $<
436
437 $(OBJS)\test_strings.o: ./strings/strings.cpp
438 $(CXX) -c -o $@ $(TEST_CXXFLAGS) $(CPPDEPS) $<
439
440 $(OBJS)\test_stdstrings.o: ./strings/stdstrings.cpp
441 $(CXX) -c -o $@ $(TEST_CXXFLAGS) $(CPPDEPS) $<
442
443 $(OBJS)\test_tokenizer.o: ./strings/tokenizer.cpp
444 $(CXX) -c -o $@ $(TEST_CXXFLAGS) $(CPPDEPS) $<
445
446 $(OBJS)\test_unichar.o: ./strings/unichar.cpp
447 $(CXX) -c -o $@ $(TEST_CXXFLAGS) $(CPPDEPS) $<
448
449 $(OBJS)\test_unicode.o: ./strings/unicode.cpp
450 $(CXX) -c -o $@ $(TEST_CXXFLAGS) $(CPPDEPS) $<
451
452 $(OBJS)\test_vararg.o: ./strings/vararg.cpp
453 $(CXX) -c -o $@ $(TEST_CXXFLAGS) $(CPPDEPS) $<
454
455 $(OBJS)\test_crt.o: ./strings/crt.cpp
456 $(CXX) -c -o $@ $(TEST_CXXFLAGS) $(CPPDEPS) $<
457
458 $(OBJS)\test_vsnprintf.o: ./strings/vsnprintf.cpp
459 $(CXX) -c -o $@ $(TEST_CXXFLAGS) $(CPPDEPS) $<
460
461 $(OBJS)\test_bstream.o: ./streams/bstream.cpp
462 $(CXX) -c -o $@ $(TEST_CXXFLAGS) $(CPPDEPS) $<
463
464 $(OBJS)\test_datastreamtest.o: ./streams/datastreamtest.cpp
465 $(CXX) -c -o $@ $(TEST_CXXFLAGS) $(CPPDEPS) $<
466
467 $(OBJS)\test_ffilestream.o: ./streams/ffilestream.cpp
468 $(CXX) -c -o $@ $(TEST_CXXFLAGS) $(CPPDEPS) $<
469
470 $(OBJS)\test_fileback.o: ./streams/fileback.cpp
471 $(CXX) -c -o $@ $(TEST_CXXFLAGS) $(CPPDEPS) $<
472
473 $(OBJS)\test_filestream.o: ./streams/filestream.cpp
474 $(CXX) -c -o $@ $(TEST_CXXFLAGS) $(CPPDEPS) $<
475
476 $(OBJS)\test_iostreams.o: ./streams/iostreams.cpp
477 $(CXX) -c -o $@ $(TEST_CXXFLAGS) $(CPPDEPS) $<
478
479 $(OBJS)\test_largefile.o: ./streams/largefile.cpp
480 $(CXX) -c -o $@ $(TEST_CXXFLAGS) $(CPPDEPS) $<
481
482 $(OBJS)\test_memstream.o: ./streams/memstream.cpp
483 $(CXX) -c -o $@ $(TEST_CXXFLAGS) $(CPPDEPS) $<
484
485 $(OBJS)\test_socketstream.o: ./streams/socketstream.cpp
486 $(CXX) -c -o $@ $(TEST_CXXFLAGS) $(CPPDEPS) $<
487
488 $(OBJS)\test_sstream.o: ./streams/sstream.cpp
489 $(CXX) -c -o $@ $(TEST_CXXFLAGS) $(CPPDEPS) $<
490
491 $(OBJS)\test_tempfile.o: ./streams/tempfile.cpp
492 $(CXX) -c -o $@ $(TEST_CXXFLAGS) $(CPPDEPS) $<
493
494 $(OBJS)\test_textstreamtest.o: ./streams/textstreamtest.cpp
495 $(CXX) -c -o $@ $(TEST_CXXFLAGS) $(CPPDEPS) $<
496
497 $(OBJS)\test_zlibstream.o: ./streams/zlibstream.cpp
498 $(CXX) -c -o $@ $(TEST_CXXFLAGS) $(CPPDEPS) $<
499
500 $(OBJS)\test_textfiletest.o: ./textfile/textfiletest.cpp
501 $(CXX) -c -o $@ $(TEST_CXXFLAGS) $(CPPDEPS) $<
502
503 $(OBJS)\test_atomic.o: ./thread/atomic.cpp
504 $(CXX) -c -o $@ $(TEST_CXXFLAGS) $(CPPDEPS) $<
505
506 $(OBJS)\test_queue.o: ./thread/queue.cpp
507 $(CXX) -c -o $@ $(TEST_CXXFLAGS) $(CPPDEPS) $<
508
509 $(OBJS)\test_tls.o: ./thread/tls.cpp
510 $(CXX) -c -o $@ $(TEST_CXXFLAGS) $(CPPDEPS) $<
511
512 $(OBJS)\test_uris.o: ./uris/uris.cpp
513 $(CXX) -c -o $@ $(TEST_CXXFLAGS) $(CPPDEPS) $<
514
515 $(OBJS)\test_vectors.o: ./vectors/vectors.cpp
516 $(CXX) -c -o $@ $(TEST_CXXFLAGS) $(CPPDEPS) $<
517
518 $(OBJS)\test_evtconnection.o: ./weakref/evtconnection.cpp
519 $(CXX) -c -o $@ $(TEST_CXXFLAGS) $(CPPDEPS) $<
520
521 $(OBJS)\test_weakref.o: ./weakref/weakref.cpp
522 $(CXX) -c -o $@ $(TEST_CXXFLAGS) $(CPPDEPS) $<
523
524 $(OBJS)\test_xlocale.o: ./xlocale/xlocale.cpp
525 $(CXX) -c -o $@ $(TEST_CXXFLAGS) $(CPPDEPS) $<
526
527 $(OBJS)\test_xmltest.o: ./xml/xmltest.cpp
528 $(CXX) -c -o $@ $(TEST_CXXFLAGS) $(CPPDEPS) $<
529
530 $(OBJS)\test_gui_sample_rc.o: ./../samples/sample.rc
531 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
532
533 $(OBJS)\test_gui_dummy.o: ./dummy.cpp
534 $(CXX) -c -o $@ $(TEST_GUI_CXXFLAGS) $(CPPDEPS) $<
535
536 $(OBJS)\test_gui_test.o: ./test.cpp
537 $(CXX) -c -o $@ $(TEST_GUI_CXXFLAGS) $(CPPDEPS) $<
538
539 $(OBJS)\test_gui_rect.o: ./geometry/rect.cpp
540 $(CXX) -c -o $@ $(TEST_GUI_CXXFLAGS) $(CPPDEPS) $<
541
542 $(OBJS)\test_gui_size.o: ./geometry/size.cpp
543 $(CXX) -c -o $@ $(TEST_GUI_CXXFLAGS) $(CPPDEPS) $<
544
545 $(OBJS)\test_gui_point.o: ./geometry/point.cpp
546 $(CXX) -c -o $@ $(TEST_GUI_CXXFLAGS) $(CPPDEPS) $<
547
548 $(OBJS)\test_gui_config.o: ./config/config.cpp
549 $(CXX) -c -o $@ $(TEST_GUI_CXXFLAGS) $(CPPDEPS) $<
550
551 $(OBJS)\test_gui_comboboxtest.o: ./controls/comboboxtest.cpp
552 $(CXX) -c -o $@ $(TEST_GUI_CXXFLAGS) $(CPPDEPS) $<
553
554 $(OBJS)\test_gui_textctrltest.o: ./controls/textctrltest.cpp
555 $(CXX) -c -o $@ $(TEST_GUI_CXXFLAGS) $(CPPDEPS) $<
556
557 $(OBJS)\test_gui_textentrytest.o: ./controls/textentrytest.cpp
558 $(CXX) -c -o $@ $(TEST_GUI_CXXFLAGS) $(CPPDEPS) $<
559
560 $(OBJS)\test_gui_rawbmp.o: ./image/rawbmp.cpp
561 $(CXX) -c -o $@ $(TEST_GUI_CXXFLAGS) $(CPPDEPS) $<
562
563 $(OBJS)\test_gui_htmlwindow.o: ./html/htmlwindow.cpp
564 $(CXX) -c -o $@ $(TEST_GUI_CXXFLAGS) $(CPPDEPS) $<
565
566 $(OBJS)\test_gui_guifuncs.o: ./misc/guifuncs.cpp
567 $(CXX) -c -o $@ $(TEST_GUI_CXXFLAGS) $(CPPDEPS) $<
568
569 $(OBJS)\test_gui_selstoretest.o: ./misc/selstoretest.cpp
570 $(CXX) -c -o $@ $(TEST_GUI_CXXFLAGS) $(CPPDEPS) $<
571
572 $(OBJS)\test_gui_clientsize.o: ./window/clientsize.cpp
573 $(CXX) -c -o $@ $(TEST_GUI_CXXFLAGS) $(CPPDEPS) $<
574
575 $(OBJS)\test_gui_setsize.o: ./window/setsize.cpp
576 $(CXX) -c -o $@ $(TEST_GUI_CXXFLAGS) $(CPPDEPS) $<
577
578 $(OBJS)\printfbench_dummy.o: ./dummy.cpp
579 $(CXX) -c -o $@ $(PRINTFBENCH_CXXFLAGS) $(CPPDEPS) $<
580
581 $(OBJS)\printfbench_printfbench.o: ./benchmarks/printfbench.cpp
582 $(CXX) -c -o $@ $(PRINTFBENCH_CXXFLAGS) $(CPPDEPS) $<
583
584 .PHONY: all clean data fr
585
586
587 SHELL := $(COMSPEC)
588
589 # Dependencies tracking:
590 -include $(OBJS)/*.d