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