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