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