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