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