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