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