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