]> git.saurik.com Git - wxWidgets.git/blame - tests/makefile.gcc
add const qualifiers
[wxWidgets.git] / tests / makefile.gcc
CommitLineData
670ec357
VS
1# =========================================================================
2# This makefile was generated by
6e0fbb3d 3# Bakefile 0.2.3 (http://www.bakefile.org)
670ec357
VS
4# Do not modify, all changes will be overwritten!
5# =========================================================================
6
7include ../build/msw/config.gcc
8
9# -------------------------------------------------------------------------
10# Do not modify the rest of this file!
11# -------------------------------------------------------------------------
12
13### Variables: ###
14
0d90d6ea 15CPPDEPS = -MT$@ -MF$@.d -MD
ae4ccf12 16WX_RELEASE_NODOT = 29
173f3c03 17COMPILER_PREFIX = gcc
670ec357 18OBJS = \
173f3c03
VZ
19 $(COMPILER_PREFIX)_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)
20LIBDIRNAME = .\..\lib\$(COMPILER_PREFIX)_$(LIBTYPE_SUFFIX)$(CFG)
670ec357
VS
21SETUPHDIR = \
22 $(LIBDIRNAME)\$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)
8c9f8f91
JS
23TEST_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) \
3abcf424
RD
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)
670ec357 30TEST_OBJECTS = \
8899b155 31 $(OBJS)\test_dummy.o \
670ec357 32 $(OBJS)\test_test.o \
8899b155 33 $(OBJS)\test_archivetest.o \
e6477b92 34 $(OBJS)\test_ziptest.o \
cdd7933f 35 $(OBJS)\test_tartest.o \
dd65d8c8 36 $(OBJS)\test_arrays.o \
9222c613
VZ
37 $(OBJS)\test_base64.o \
38 $(OBJS)\test_fileconf.o \
113e181a 39 $(OBJS)\test_datetimetest.o \
0912690b 40 $(OBJS)\test_filekind.o \
113e181a
RN
41 $(OBJS)\test_filenametest.o \
42 $(OBJS)\test_filesystest.o \
43 $(OBJS)\test_fontmaptest.o \
44 $(OBJS)\test_formatconvertertest.o \
f9c3d39b 45 $(OBJS)\test_hashes.o \
02f935fb 46 $(OBJS)\test_intltest.o \
7d9cfc54 47 $(OBJS)\test_lists.o \
113e181a 48 $(OBJS)\test_longlongtest.o \
d31a29b5 49 $(OBJS)\test_convautotest.o \
113e181a
RN
50 $(OBJS)\test_mbconvtest.o \
51 $(OBJS)\test_regextest.o \
52 $(OBJS)\test_wxregextest.o \
0d90d6ea 53 $(OBJS)\test_scopeguardtest.o \
99d8bc65 54 $(OBJS)\test_iostream.o \
1cd53e88 55 $(OBJS)\test_strings.o \
405b7d91 56 $(OBJS)\test_stdstrings.o \
20a34d96 57 $(OBJS)\test_tokenizer.o \
c9f78968 58 $(OBJS)\test_unichar.o \
387f829e 59 $(OBJS)\test_unicode.o \
c9f78968 60 $(OBJS)\test_vararg.o \
cf8ee08b 61 $(OBJS)\test_crt.o \
3b2cb431 62 $(OBJS)\test_vsnprintf.o \
7735998c 63 $(OBJS)\test_bstream.o \
7d9cfc54 64 $(OBJS)\test_datastreamtest.o \
7735998c 65 $(OBJS)\test_ffilestream.o \
e2255c89 66 $(OBJS)\test_fileback.o \
7735998c 67 $(OBJS)\test_filestream.o \
cb327439 68 $(OBJS)\test_largefile.o \
7735998c 69 $(OBJS)\test_memstream.o \
c33fae85 70 $(OBJS)\test_sstream.o \
e1265174 71 $(OBJS)\test_tempfile.o \
8899b155 72 $(OBJS)\test_textstreamtest.o \
816b59de 73 $(OBJS)\test_zlibstream.o \
d31a29b5 74 $(OBJS)\test_textfiletest.o \
173f3c03 75 $(OBJS)\test_atomic.o \
6aaee6af 76 $(OBJS)\test_queue.o \
e966f815 77 $(OBJS)\test_uris.o \
6490a288
VZ
78 $(OBJS)\test_vectors.o \
79 $(OBJS)\test_evtconnection.o \
6e4ae332
VZ
80 $(OBJS)\test_weakref.o \
81 $(OBJS)\test_xlocale.o
8c9f8f91
JS
82TEST_GUI_CXXFLAGS = $(__DEBUGINFO) $(__OPTIMIZEFLAG) $(__THREADSFLAG) \
83 $(GCCFLAGS) -DHAVE_W32API_H -D__WXMSW__ $(__WXUNIV_DEFINE_p) \
84 $(__DEBUG_DEFINE_p) $(__EXCEPTIONS_DEFINE_p) $(__RTTI_DEFINE_p) \
2113bc77 85 $(__THREAD_DEFINE_p) $(__UNICODE_DEFINE_p) $(__MSLU_DEFINE_p) \
3abcf424
RD
86 $(__GFXCTX_DEFINE_p) -I$(SETUPHDIR) -I.\..\include -W -Wall -I. $(__DLLFLAG_p) \
87 -I.\..\samples -DNOPCH $(CPPUNIT_CFLAGS) $(__RTTIFLAG) $(__EXCEPTIONSFLAG) \
2113bc77 88 -Wno-ctor-dtor-privacy $(CPPFLAGS) $(CXXFLAGS)
a0744a6b
VS
89TEST_GUI_OBJECTS = \
90 $(OBJS)\test_gui_sample_rc.o \
91 $(OBJS)\test_gui_dummy.o \
98a50e20 92 $(OBJS)\test_gui_test.o \
cb327439
MW
93 $(OBJS)\test_gui_rect.o \
94 $(OBJS)\test_gui_size.o \
9222c613 95 $(OBJS)\test_gui_point.o \
c0d9b217 96 $(OBJS)\test_gui_config.o \
301d7a0d 97 $(OBJS)\test_gui_clientsize.o \
c0d9b217 98 $(OBJS)\test_gui_textctrltest.o
c2c04edc
KO
99PRINTFBENCH_CXXFLAGS = $(__DEBUGINFO) $(__OPTIMIZEFLAG) $(__THREADSFLAG) \
100 $(GCCFLAGS) -DHAVE_W32API_H -D__WXMSW__ $(__WXUNIV_DEFINE_p) \
101 $(__DEBUG_DEFINE_p) $(__EXCEPTIONS_DEFINE_p) $(__RTTI_DEFINE_p) \
102 $(__THREAD_DEFINE_p) $(__UNICODE_DEFINE_p) $(__MSLU_DEFINE_p) \
3abcf424
RD
103 $(__GFXCTX_DEFINE_p) -I$(SETUPHDIR) -I.\..\include -W -Wall -I. $(__DLLFLAG_p) \
104 -DwxUSE_GUI=0 $(CPPUNIT_CFLAGS) $(__RTTIFLAG) $(__EXCEPTIONSFLAG) \
105 -Wno-ctor-dtor-privacy $(CPPFLAGS) $(CXXFLAGS)
c2c04edc
KO
106PRINTFBENCH_OBJECTS = \
107 $(OBJS)\printfbench_dummy.o \
108 $(OBJS)\printfbench_printfbench.o
670ec357
VS
109
110### Conditionally set variables: ###
111
112ifeq ($(GCC_VERSION),2.95)
113GCCFLAGS = -fvtable-thunks
114endif
115ifeq ($(USE_GUI),0)
116PORTNAME = base
117endif
118ifeq ($(USE_GUI),1)
119PORTNAME = msw
120endif
121ifeq ($(BUILD),debug)
122ifeq ($(DEBUG_FLAG),default)
123WXDEBUGFLAG = d
124endif
125endif
126ifeq ($(DEBUG_FLAG),1)
127WXDEBUGFLAG = d
128endif
129ifeq ($(UNICODE),1)
130WXUNICODEFLAG = u
131endif
132ifeq ($(WXUNIV),1)
133WXUNIVNAME = univ
134endif
135ifeq ($(SHARED),1)
136WXDLLFLAG = dll
137endif
cb327439
MW
138ifeq ($(SHARED),0)
139LIBTYPE_SUFFIX = lib
140endif
141ifeq ($(SHARED),1)
142LIBTYPE_SUFFIX = dll
143endif
dd65d8c8
RN
144ifeq ($(MONOLITHIC),0)
145EXTRALIBS_FOR_BASE =
146endif
147ifeq ($(MONOLITHIC),1)
148EXTRALIBS_FOR_BASE =
149endif
a0744a6b
VS
150ifeq ($(MONOLITHIC),0)
151__WXLIB_NET_p = \
152 -lwxbase$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_net
153endif
154ifeq ($(USE_GUI),1)
155__test_gui___depname = $(OBJS)\test_gui.exe
156endif
157ifeq ($(WXUNIV),1)
158__WXUNIV_DEFINE_p_3 = --define __WXUNIVERSAL__
159endif
670ec357 160ifeq ($(BUILD),debug)
a0744a6b
VS
161ifeq ($(DEBUG_FLAG),default)
162__DEBUG_DEFINE_p_3 = --define __WXDEBUG__
163endif
164endif
165ifeq ($(DEBUG_FLAG),1)
166__DEBUG_DEFINE_p_3 = --define __WXDEBUG__
167endif
8c9f8f91
JS
168ifeq ($(USE_EXCEPTIONS),0)
169__EXCEPTIONS_DEFINE_p_3 = --define wxNO_EXCEPTIONS
170endif
171ifeq ($(USE_RTTI),0)
172__RTTI_DEFINE_p_3 = --define wxNO_RTTI
173endif
174ifeq ($(USE_THREADS),0)
175__THREAD_DEFINE_p_3 = --define wxNO_THREADS
176endif
7379e476
VZ
177ifeq ($(UNICODE),0)
178__UNICODE_DEFINE_p_3 = --define wxUSE_UNICODE=0
179endif
a0744a6b
VS
180ifeq ($(UNICODE),1)
181__UNICODE_DEFINE_p_3 = --define _UNICODE
182endif
2113bc77
MW
183ifeq ($(MSLU),1)
184__MSLU_DEFINE_p_3 = --define wxUSE_UNICODE_MSLU=1
185endif
3abcf424
RD
186ifeq ($(USE_GDIPLUS),1)
187__GFXCTX_DEFINE_p_3 = --define wxUSE_GRAPHICS_CONTEXT=1
188endif
a0744a6b
VS
189ifeq ($(SHARED),1)
190__DLLFLAG_p_3 = --define WXUSINGDLL
191endif
192ifeq ($(MONOLITHIC),0)
193__WXLIB_CORE_p = \
194 -lwx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_core
195endif
3b2cb431
JS
196ifeq ($(USE_GUI),1)
197__LIB_TIFF_p = -lwxtiff$(WXDEBUGFLAG)
198endif
199ifeq ($(USE_GUI),1)
200__LIB_JPEG_p = -lwxjpeg$(WXDEBUGFLAG)
201endif
202ifeq ($(USE_GUI),1)
203__LIB_PNG_p = -lwxpng$(WXDEBUGFLAG)
204endif
a0744a6b
VS
205ifeq ($(BUILD),debug)
206__OPTIMIZEFLAG = -O0
670ec357
VS
207endif
208ifeq ($(BUILD),release)
a0744a6b 209__OPTIMIZEFLAG = -O2
670ec357 210endif
e1265174
MW
211ifeq ($(USE_RTTI),0)
212__RTTIFLAG = -fno-rtti
213endif
214ifeq ($(USE_RTTI),1)
215__RTTIFLAG =
670ec357
VS
216endif
217ifeq ($(USE_EXCEPTIONS),0)
e1265174 218__EXCEPTIONSFLAG = -fno-exceptions
670ec357
VS
219endif
220ifeq ($(USE_EXCEPTIONS),1)
e1265174 221__EXCEPTIONSFLAG =
670ec357
VS
222endif
223ifeq ($(WXUNIV),1)
224__WXUNIV_DEFINE_p = -D__WXUNIVERSAL__
225endif
226ifeq ($(BUILD),debug)
227ifeq ($(DEBUG_FLAG),default)
228__DEBUG_DEFINE_p = -D__WXDEBUG__
229endif
230endif
231ifeq ($(DEBUG_FLAG),1)
232__DEBUG_DEFINE_p = -D__WXDEBUG__
233endif
8c9f8f91
JS
234ifeq ($(USE_EXCEPTIONS),0)
235__EXCEPTIONS_DEFINE_p = -DwxNO_EXCEPTIONS
236endif
237ifeq ($(USE_RTTI),0)
238__RTTI_DEFINE_p = -DwxNO_RTTI
239endif
240ifeq ($(USE_THREADS),0)
241__THREAD_DEFINE_p = -DwxNO_THREADS
242endif
7379e476
VZ
243ifeq ($(UNICODE),0)
244__UNICODE_DEFINE_p = -DwxUSE_UNICODE=0
245endif
670ec357
VS
246ifeq ($(UNICODE),1)
247__UNICODE_DEFINE_p = -D_UNICODE
248endif
2113bc77
MW
249ifeq ($(MSLU),1)
250__MSLU_DEFINE_p = -DwxUSE_UNICODE_MSLU=1
251endif
3abcf424
RD
252ifeq ($(USE_GDIPLUS),1)
253__GFXCTX_DEFINE_p = -DwxUSE_GRAPHICS_CONTEXT=1
254endif
a0744a6b
VS
255ifeq ($(SHARED),1)
256__DLLFLAG_p = -DWXUSINGDLL
113e181a
RN
257endif
258ifeq ($(MONOLITHIC),0)
c33fae85
RN
259__WXLIB_BASE_p = \
260 -lwxbase$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)
670ec357
VS
261endif
262ifeq ($(MONOLITHIC),1)
263__WXLIB_MONO_p = \
c33fae85 264 -lwx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)
670ec357 265endif
670ec357
VS
266ifeq ($(MSLU),1)
267__UNICOWS_LIB_p = -lunicows
268endif
3abcf424
RD
269ifeq ($(USE_GDIPLUS),1)
270__GDIPLUS_LIB_p = -lgdiplus
271endif
670ec357
VS
272ifeq ($(BUILD),debug)
273ifeq ($(DEBUG_INFO),default)
274__DEBUGINFO = -g
275endif
276endif
277ifeq ($(BUILD),release)
278ifeq ($(DEBUG_INFO),default)
279__DEBUGINFO =
280endif
281endif
282ifeq ($(DEBUG_INFO),0)
283__DEBUGINFO =
284endif
285ifeq ($(DEBUG_INFO),1)
286__DEBUGINFO = -g
287endif
8c9f8f91
JS
288ifeq ($(USE_THREADS),0)
289__THREADSFLAG =
290endif
291ifeq ($(USE_THREADS),1)
292__THREADSFLAG = -mthreads
293endif
670ec357
VS
294
295
296all: $(OBJS)
297$(OBJS):
298 -if not exist $(OBJS) mkdir $(OBJS)
299
300### Targets: ###
301
02f935fb 302all: $(OBJS)\test.exe $(__test_gui___depname) data fr $(OBJS)\printfbench.exe
670ec357
VS
303
304clean:
305 -if exist $(OBJS)\*.o del $(OBJS)\*.o
0d90d6ea 306 -if exist $(OBJS)\*.d del $(OBJS)\*.d
670ec357 307 -if exist $(OBJS)\test.exe del $(OBJS)\test.exe
a0744a6b 308 -if exist $(OBJS)\test_gui.exe del $(OBJS)\test_gui.exe
c2c04edc 309 -if exist $(OBJS)\printfbench.exe del $(OBJS)\printfbench.exe
670ec357
VS
310
311$(OBJS)\test.exe: $(TEST_OBJECTS)
6aaee6af 312 $(CXX) -o $@ $(TEST_OBJECTS) $(LDFLAGS) $(__DEBUGINFO) $(__THREADSFLAG) -L$(LIBDIRNAME) $(CPPUNIT_LIBS) $(__WXLIB_NET_p) $(__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
670ec357 313
a0744a6b
VS
314ifeq ($(USE_GUI),1)
315$(OBJS)\test_gui.exe: $(TEST_GUI_OBJECTS) $(OBJS)\test_gui_sample_rc.o
6aaee6af 316 $(CXX) -o $@ $(TEST_GUI_OBJECTS) $(LDFLAGS) $(__DEBUGINFO) $(__THREADSFLAG) -L$(LIBDIRNAME) $(CPPUNIT_LIBS) $(__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
a0744a6b
VS
317endif
318
387f829e
VS
319data:
320 if not exist $(OBJS) mkdir $(OBJS)
321 for %%f in (testdata.fc) do if not exist $(OBJS)\%%f copy .\%%f $(OBJS)
322
02f935fb
VS
323fr:
324 if not exist $(OBJS)\intl\fr mkdir $(OBJS)\intl\fr
325 for %%f in (internat.po internat.mo) do if not exist $(OBJS)\intl\fr\%%f copy .\intl\fr\%%f $(OBJS)\intl\fr
326
c2c04edc 327$(OBJS)\printfbench.exe: $(PRINTFBENCH_OBJECTS)
6aaee6af 328 $(CXX) -o $@ $(PRINTFBENCH_OBJECTS) $(LDFLAGS) $(__DEBUGINFO) $(__THREADSFLAG) -L$(LIBDIRNAME) $(CPPUNIT_LIBS) $(__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
c2c04edc 329
8899b155 330$(OBJS)\test_dummy.o: ./dummy.cpp
0d90d6ea 331 $(CXX) -c -o $@ $(TEST_CXXFLAGS) $(CPPDEPS) $<
8899b155 332
670ec357 333$(OBJS)\test_test.o: ./test.cpp
0d90d6ea 334 $(CXX) -c -o $@ $(TEST_CXXFLAGS) $(CPPDEPS) $<
670ec357 335
8899b155 336$(OBJS)\test_archivetest.o: ./archive/archivetest.cpp
0d90d6ea 337 $(CXX) -c -o $@ $(TEST_CXXFLAGS) $(CPPDEPS) $<
8899b155 338
e6477b92 339$(OBJS)\test_ziptest.o: ./archive/ziptest.cpp
0d90d6ea 340 $(CXX) -c -o $@ $(TEST_CXXFLAGS) $(CPPDEPS) $<
e6477b92 341
cdd7933f
MW
342$(OBJS)\test_tartest.o: ./archive/tartest.cpp
343 $(CXX) -c -o $@ $(TEST_CXXFLAGS) $(CPPDEPS) $<
344
dd65d8c8 345$(OBJS)\test_arrays.o: ./arrays/arrays.cpp
0d90d6ea 346 $(CXX) -c -o $@ $(TEST_CXXFLAGS) $(CPPDEPS) $<
e70833fb 347
9222c613
VZ
348$(OBJS)\test_base64.o: ./base64/base64.cpp
349 $(CXX) -c -o $@ $(TEST_CXXFLAGS) $(CPPDEPS) $<
350
351$(OBJS)\test_fileconf.o: ./config/fileconf.cpp
0d90d6ea 352 $(CXX) -c -o $@ $(TEST_CXXFLAGS) $(CPPDEPS) $<
bc10103e 353
9222c613 354$(OBJS)\test_datetimetest.o: ./datetime/datetimetest.cpp
0d90d6ea 355 $(CXX) -c -o $@ $(TEST_CXXFLAGS) $(CPPDEPS) $<
ab921f5f 356
0912690b 357$(OBJS)\test_filekind.o: ./filekind/filekind.cpp
0d90d6ea 358 $(CXX) -c -o $@ $(TEST_CXXFLAGS) $(CPPDEPS) $<
3fa86423 359
0912690b 360$(OBJS)\test_filenametest.o: ./filename/filenametest.cpp
0d90d6ea 361 $(CXX) -c -o $@ $(TEST_CXXFLAGS) $(CPPDEPS) $<
4827cbd9 362
0912690b 363$(OBJS)\test_filesystest.o: ./filesys/filesystest.cpp
0d90d6ea 364 $(CXX) -c -o $@ $(TEST_CXXFLAGS) $(CPPDEPS) $<
3c70014d 365
113e181a 366$(OBJS)\test_fontmaptest.o: ./fontmap/fontmaptest.cpp
0d90d6ea 367 $(CXX) -c -o $@ $(TEST_CXXFLAGS) $(CPPDEPS) $<
dd65d8c8 368
113e181a 369$(OBJS)\test_formatconvertertest.o: ./formatconverter/formatconvertertest.cpp
0d90d6ea 370 $(CXX) -c -o $@ $(TEST_CXXFLAGS) $(CPPDEPS) $<
cf1014a2 371
f9c3d39b 372$(OBJS)\test_hashes.o: ./hashes/hashes.cpp
0d90d6ea 373 $(CXX) -c -o $@ $(TEST_CXXFLAGS) $(CPPDEPS) $<
f9c3d39b 374
02f935fb
VS
375$(OBJS)\test_intltest.o: ./intl/intltest.cpp
376 $(CXX) -c -o $@ $(TEST_CXXFLAGS) $(CPPDEPS) $<
377
7d9cfc54 378$(OBJS)\test_lists.o: ./lists/lists.cpp
0d90d6ea 379 $(CXX) -c -o $@ $(TEST_CXXFLAGS) $(CPPDEPS) $<
7d9cfc54 380
113e181a 381$(OBJS)\test_longlongtest.o: ./longlong/longlongtest.cpp
0d90d6ea 382 $(CXX) -c -o $@ $(TEST_CXXFLAGS) $(CPPDEPS) $<
1b035b8c 383
d31a29b5
VZ
384$(OBJS)\test_convautotest.o: ./mbconv/convautotest.cpp
385 $(CXX) -c -o $@ $(TEST_CXXFLAGS) $(CPPDEPS) $<
386
113e181a 387$(OBJS)\test_mbconvtest.o: ./mbconv/mbconvtest.cpp
0d90d6ea 388 $(CXX) -c -o $@ $(TEST_CXXFLAGS) $(CPPDEPS) $<
dd65d8c8 389
113e181a 390$(OBJS)\test_regextest.o: ./regex/regextest.cpp
0d90d6ea 391 $(CXX) -c -o $@ $(TEST_CXXFLAGS) $(CPPDEPS) $<
dd65d8c8 392
113e181a 393$(OBJS)\test_wxregextest.o: ./regex/wxregextest.cpp
0d90d6ea
JS
394 $(CXX) -c -o $@ $(TEST_CXXFLAGS) $(CPPDEPS) $<
395
396$(OBJS)\test_scopeguardtest.o: ./scopeguard/scopeguardtest.cpp
397 $(CXX) -c -o $@ $(TEST_CXXFLAGS) $(CPPDEPS) $<
dd65d8c8 398
99d8bc65
VZ
399$(OBJS)\test_iostream.o: ./strings/iostream.cpp
400 $(CXX) -c -o $@ $(TEST_CXXFLAGS) $(CPPDEPS) $<
401
1cd53e88 402$(OBJS)\test_strings.o: ./strings/strings.cpp
0d90d6ea 403 $(CXX) -c -o $@ $(TEST_CXXFLAGS) $(CPPDEPS) $<
1cd53e88 404
405b7d91 405$(OBJS)\test_stdstrings.o: ./strings/stdstrings.cpp
0d90d6ea 406 $(CXX) -c -o $@ $(TEST_CXXFLAGS) $(CPPDEPS) $<
405b7d91 407
20a34d96
VZ
408$(OBJS)\test_tokenizer.o: ./strings/tokenizer.cpp
409 $(CXX) -c -o $@ $(TEST_CXXFLAGS) $(CPPDEPS) $<
410
c9f78968
VS
411$(OBJS)\test_unichar.o: ./strings/unichar.cpp
412 $(CXX) -c -o $@ $(TEST_CXXFLAGS) $(CPPDEPS) $<
413
387f829e 414$(OBJS)\test_unicode.o: ./strings/unicode.cpp
0d90d6ea 415 $(CXX) -c -o $@ $(TEST_CXXFLAGS) $(CPPDEPS) $<
387f829e 416
c9f78968
VS
417$(OBJS)\test_vararg.o: ./strings/vararg.cpp
418 $(CXX) -c -o $@ $(TEST_CXXFLAGS) $(CPPDEPS) $<
419
cf8ee08b 420$(OBJS)\test_crt.o: ./strings/crt.cpp
0d90d6ea 421 $(CXX) -c -o $@ $(TEST_CXXFLAGS) $(CPPDEPS) $<
cf8ee08b 422
3b2cb431
JS
423$(OBJS)\test_vsnprintf.o: ./strings/vsnprintf.cpp
424 $(CXX) -c -o $@ $(TEST_CXXFLAGS) $(CPPDEPS) $<
425
7735998c 426$(OBJS)\test_bstream.o: ./streams/bstream.cpp
0d90d6ea 427 $(CXX) -c -o $@ $(TEST_CXXFLAGS) $(CPPDEPS) $<
7735998c 428
7d9cfc54 429$(OBJS)\test_datastreamtest.o: ./streams/datastreamtest.cpp
0d90d6ea 430 $(CXX) -c -o $@ $(TEST_CXXFLAGS) $(CPPDEPS) $<
7d9cfc54 431
7735998c 432$(OBJS)\test_ffilestream.o: ./streams/ffilestream.cpp
0d90d6ea 433 $(CXX) -c -o $@ $(TEST_CXXFLAGS) $(CPPDEPS) $<
7735998c 434
e2255c89
MW
435$(OBJS)\test_fileback.o: ./streams/fileback.cpp
436 $(CXX) -c -o $@ $(TEST_CXXFLAGS) $(CPPDEPS) $<
437
7735998c 438$(OBJS)\test_filestream.o: ./streams/filestream.cpp
0d90d6ea 439 $(CXX) -c -o $@ $(TEST_CXXFLAGS) $(CPPDEPS) $<
7735998c 440
cb327439 441$(OBJS)\test_largefile.o: ./streams/largefile.cpp
0d90d6ea 442 $(CXX) -c -o $@ $(TEST_CXXFLAGS) $(CPPDEPS) $<
cb327439 443
7735998c 444$(OBJS)\test_memstream.o: ./streams/memstream.cpp
0d90d6ea 445 $(CXX) -c -o $@ $(TEST_CXXFLAGS) $(CPPDEPS) $<
7735998c 446
c33fae85 447$(OBJS)\test_sstream.o: ./streams/sstream.cpp
0d90d6ea 448 $(CXX) -c -o $@ $(TEST_CXXFLAGS) $(CPPDEPS) $<
e1265174
MW
449
450$(OBJS)\test_tempfile.o: ./streams/tempfile.cpp
0d90d6ea 451 $(CXX) -c -o $@ $(TEST_CXXFLAGS) $(CPPDEPS) $<
c33fae85 452
8899b155 453$(OBJS)\test_textstreamtest.o: ./streams/textstreamtest.cpp
0d90d6ea 454 $(CXX) -c -o $@ $(TEST_CXXFLAGS) $(CPPDEPS) $<
8899b155 455
7735998c 456$(OBJS)\test_zlibstream.o: ./streams/zlibstream.cpp
0d90d6ea 457 $(CXX) -c -o $@ $(TEST_CXXFLAGS) $(CPPDEPS) $<
d31a29b5
VZ
458
459$(OBJS)\test_textfiletest.o: ./textfile/textfiletest.cpp
460 $(CXX) -c -o $@ $(TEST_CXXFLAGS) $(CPPDEPS) $<
7735998c 461
173f3c03
VZ
462$(OBJS)\test_atomic.o: ./thread/atomic.cpp
463 $(CXX) -c -o $@ $(TEST_CXXFLAGS) $(CPPDEPS) $<
464
6aaee6af
VZ
465$(OBJS)\test_queue.o: ./thread/queue.cpp
466 $(CXX) -c -o $@ $(TEST_CXXFLAGS) $(CPPDEPS) $<
467
dd65d8c8 468$(OBJS)\test_uris.o: ./uris/uris.cpp
0d90d6ea 469 $(CXX) -c -o $@ $(TEST_CXXFLAGS) $(CPPDEPS) $<
edcccd84 470
e966f815
VS
471$(OBJS)\test_vectors.o: ./vectors/vectors.cpp
472 $(CXX) -c -o $@ $(TEST_CXXFLAGS) $(CPPDEPS) $<
473
6490a288
VZ
474$(OBJS)\test_evtconnection.o: ./weakref/evtconnection.cpp
475 $(CXX) -c -o $@ $(TEST_CXXFLAGS) $(CPPDEPS) $<
476
477$(OBJS)\test_weakref.o: ./weakref/weakref.cpp
478 $(CXX) -c -o $@ $(TEST_CXXFLAGS) $(CPPDEPS) $<
479
6e4ae332
VZ
480$(OBJS)\test_xlocale.o: ./xlocale/xlocale.cpp
481 $(CXX) -c -o $@ $(TEST_CXXFLAGS) $(CPPDEPS) $<
482
a0744a6b 483$(OBJS)\test_gui_sample_rc.o: ./../samples/sample.rc
c9f78968 484 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
a0744a6b
VS
485
486$(OBJS)\test_gui_dummy.o: ./dummy.cpp
0d90d6ea 487 $(CXX) -c -o $@ $(TEST_GUI_CXXFLAGS) $(CPPDEPS) $<
a0744a6b
VS
488
489$(OBJS)\test_gui_test.o: ./test.cpp
0d90d6ea 490 $(CXX) -c -o $@ $(TEST_GUI_CXXFLAGS) $(CPPDEPS) $<
a0744a6b 491
98a50e20 492$(OBJS)\test_gui_rect.o: ./geometry/rect.cpp
0d90d6ea 493 $(CXX) -c -o $@ $(TEST_GUI_CXXFLAGS) $(CPPDEPS) $<
98a50e20 494
cb327439 495$(OBJS)\test_gui_size.o: ./geometry/size.cpp
0d90d6ea 496 $(CXX) -c -o $@ $(TEST_GUI_CXXFLAGS) $(CPPDEPS) $<
cb327439
MW
497
498$(OBJS)\test_gui_point.o: ./geometry/point.cpp
0d90d6ea 499 $(CXX) -c -o $@ $(TEST_GUI_CXXFLAGS) $(CPPDEPS) $<
cb327439 500
9222c613
VZ
501$(OBJS)\test_gui_config.o: ./config/config.cpp
502 $(CXX) -c -o $@ $(TEST_GUI_CXXFLAGS) $(CPPDEPS) $<
503
301d7a0d
VS
504$(OBJS)\test_gui_clientsize.o: ./controls/clientsize.cpp
505 $(CXX) -c -o $@ $(TEST_GUI_CXXFLAGS) $(CPPDEPS) $<
506
c0d9b217
VZ
507$(OBJS)\test_gui_textctrltest.o: ./controls/textctrltest.cpp
508 $(CXX) -c -o $@ $(TEST_GUI_CXXFLAGS) $(CPPDEPS) $<
509
c2c04edc
KO
510$(OBJS)\printfbench_dummy.o: ./dummy.cpp
511 $(CXX) -c -o $@ $(PRINTFBENCH_CXXFLAGS) $(CPPDEPS) $<
512
513$(OBJS)\printfbench_printfbench.o: ./benchmarks/printfbench.cpp
514 $(CXX) -c -o $@ $(PRINTFBENCH_CXXFLAGS) $(CPPDEPS) $<
515
02f935fb 516.PHONY: all clean data fr
cb327439 517
8c9f8f91 518
6e0fbb3d
VS
519SHELL := $(COMSPEC)
520
0d90d6ea
JS
521# Dependencies tracking:
522-include $(OBJS)/*.d