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