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