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