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