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