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