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