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