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