]> git.saurik.com Git - wxWidgets.git/blame - tests/makefile.gcc
don't show warning to the user if session manager detection failed, this is annoying...
[wxWidgets.git] / tests / makefile.gcc
CommitLineData
670ec357
VS
1# =========================================================================
2# This makefile was generated by
6e0fbb3d 3# Bakefile 0.2.3 (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
0d90d6ea 15CPPDEPS = -MT$@ -MF$@.d -MD
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 \
0912690b 41 $(OBJS)\test_filekind.o \
113e181a
RN
42 $(OBJS)\test_filenametest.o \
43 $(OBJS)\test_filesystest.o \
44 $(OBJS)\test_fontmaptest.o \
45 $(OBJS)\test_formatconvertertest.o \
f9c3d39b 46 $(OBJS)\test_hashes.o \
02f935fb 47 $(OBJS)\test_intltest.o \
7d9cfc54 48 $(OBJS)\test_lists.o \
113e181a 49 $(OBJS)\test_longlongtest.o \
d31a29b5 50 $(OBJS)\test_convautotest.o \
113e181a 51 $(OBJS)\test_mbconvtest.o \
e7ce668e 52 $(OBJS)\test_ipc.o \
113e181a
RN
53 $(OBJS)\test_regextest.o \
54 $(OBJS)\test_wxregextest.o \
0d90d6ea 55 $(OBJS)\test_scopeguardtest.o \
99d8bc65 56 $(OBJS)\test_iostream.o \
1cd53e88 57 $(OBJS)\test_strings.o \
405b7d91 58 $(OBJS)\test_stdstrings.o \
20a34d96 59 $(OBJS)\test_tokenizer.o \
c9f78968 60 $(OBJS)\test_unichar.o \
387f829e 61 $(OBJS)\test_unicode.o \
c9f78968 62 $(OBJS)\test_vararg.o \
cf8ee08b 63 $(OBJS)\test_crt.o \
3b2cb431 64 $(OBJS)\test_vsnprintf.o \
7735998c 65 $(OBJS)\test_bstream.o \
7d9cfc54 66 $(OBJS)\test_datastreamtest.o \
7735998c 67 $(OBJS)\test_ffilestream.o \
e2255c89 68 $(OBJS)\test_fileback.o \
7735998c 69 $(OBJS)\test_filestream.o \
f9caf1af 70 $(OBJS)\test_iostreams.o \
cb327439 71 $(OBJS)\test_largefile.o \
7735998c 72 $(OBJS)\test_memstream.o \
f9caf1af 73 $(OBJS)\test_socketstream.o \
c33fae85 74 $(OBJS)\test_sstream.o \
e1265174 75 $(OBJS)\test_tempfile.o \
8899b155 76 $(OBJS)\test_textstreamtest.o \
816b59de 77 $(OBJS)\test_zlibstream.o \
d31a29b5 78 $(OBJS)\test_textfiletest.o \
173f3c03 79 $(OBJS)\test_atomic.o \
6aaee6af 80 $(OBJS)\test_queue.o \
e966f815 81 $(OBJS)\test_uris.o \
6490a288
VZ
82 $(OBJS)\test_vectors.o \
83 $(OBJS)\test_evtconnection.o \
6e4ae332 84 $(OBJS)\test_weakref.o \
5e05df3c
VS
85 $(OBJS)\test_xlocale.o \
86 $(OBJS)\test_xmltest.o
8c9f8f91
JS
87TEST_GUI_CXXFLAGS = $(__DEBUGINFO) $(__OPTIMIZEFLAG) $(__THREADSFLAG) \
88 $(GCCFLAGS) -DHAVE_W32API_H -D__WXMSW__ $(__WXUNIV_DEFINE_p) \
89 $(__DEBUG_DEFINE_p) $(__EXCEPTIONS_DEFINE_p) $(__RTTI_DEFINE_p) \
2113bc77 90 $(__THREAD_DEFINE_p) $(__UNICODE_DEFINE_p) $(__MSLU_DEFINE_p) \
3abcf424
RD
91 $(__GFXCTX_DEFINE_p) -I$(SETUPHDIR) -I.\..\include -W -Wall -I. $(__DLLFLAG_p) \
92 -I.\..\samples -DNOPCH $(CPPUNIT_CFLAGS) $(__RTTIFLAG) $(__EXCEPTIONSFLAG) \
2113bc77 93 -Wno-ctor-dtor-privacy $(CPPFLAGS) $(CXXFLAGS)
a0744a6b
VS
94TEST_GUI_OBJECTS = \
95 $(OBJS)\test_gui_sample_rc.o \
96 $(OBJS)\test_gui_dummy.o \
98a50e20 97 $(OBJS)\test_gui_test.o \
cb327439
MW
98 $(OBJS)\test_gui_rect.o \
99 $(OBJS)\test_gui_size.o \
9222c613 100 $(OBJS)\test_gui_point.o \
c0d9b217 101 $(OBJS)\test_gui_config.o \
c8f80d27 102 $(OBJS)\test_gui_textctrltest.o \
3e50a139 103 $(OBJS)\test_gui_rawbmp.o \
1a86d2e5 104 $(OBJS)\test_gui_selstoretest.o \
5af86f4d
VZ
105 $(OBJS)\test_gui_clientsize.o \
106 $(OBJS)\test_gui_setsize.o
c2c04edc
KO
107PRINTFBENCH_CXXFLAGS = $(__DEBUGINFO) $(__OPTIMIZEFLAG) $(__THREADSFLAG) \
108 $(GCCFLAGS) -DHAVE_W32API_H -D__WXMSW__ $(__WXUNIV_DEFINE_p) \
109 $(__DEBUG_DEFINE_p) $(__EXCEPTIONS_DEFINE_p) $(__RTTI_DEFINE_p) \
110 $(__THREAD_DEFINE_p) $(__UNICODE_DEFINE_p) $(__MSLU_DEFINE_p) \
3abcf424
RD
111 $(__GFXCTX_DEFINE_p) -I$(SETUPHDIR) -I.\..\include -W -Wall -I. $(__DLLFLAG_p) \
112 -DwxUSE_GUI=0 $(CPPUNIT_CFLAGS) $(__RTTIFLAG) $(__EXCEPTIONSFLAG) \
113 -Wno-ctor-dtor-privacy $(CPPFLAGS) $(CXXFLAGS)
c2c04edc
KO
114PRINTFBENCH_OBJECTS = \
115 $(OBJS)\printfbench_dummy.o \
116 $(OBJS)\printfbench_printfbench.o
670ec357
VS
117
118### Conditionally set variables: ###
119
120ifeq ($(GCC_VERSION),2.95)
121GCCFLAGS = -fvtable-thunks
122endif
123ifeq ($(USE_GUI),0)
124PORTNAME = base
125endif
126ifeq ($(USE_GUI),1)
127PORTNAME = msw
128endif
129ifeq ($(BUILD),debug)
130ifeq ($(DEBUG_FLAG),default)
131WXDEBUGFLAG = d
132endif
133endif
134ifeq ($(DEBUG_FLAG),1)
135WXDEBUGFLAG = d
136endif
137ifeq ($(UNICODE),1)
138WXUNICODEFLAG = u
139endif
140ifeq ($(WXUNIV),1)
141WXUNIVNAME = univ
142endif
143ifeq ($(SHARED),1)
144WXDLLFLAG = dll
145endif
cb327439
MW
146ifeq ($(SHARED),0)
147LIBTYPE_SUFFIX = lib
148endif
149ifeq ($(SHARED),1)
150LIBTYPE_SUFFIX = dll
151endif
dd65d8c8
RN
152ifeq ($(MONOLITHIC),0)
153EXTRALIBS_FOR_BASE =
154endif
155ifeq ($(MONOLITHIC),1)
156EXTRALIBS_FOR_BASE =
157endif
a0744a6b
VS
158ifeq ($(MONOLITHIC),0)
159__WXLIB_NET_p = \
160 -lwxbase$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_net
161endif
5e05df3c
VS
162ifeq ($(MONOLITHIC),0)
163__WXLIB_XML_p = \
164 -lwxbase$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_xml
165endif
a0744a6b
VS
166ifeq ($(USE_GUI),1)
167__test_gui___depname = $(OBJS)\test_gui.exe
168endif
169ifeq ($(WXUNIV),1)
170__WXUNIV_DEFINE_p_3 = --define __WXUNIVERSAL__
171endif
670ec357 172ifeq ($(BUILD),debug)
a0744a6b
VS
173ifeq ($(DEBUG_FLAG),default)
174__DEBUG_DEFINE_p_3 = --define __WXDEBUG__
175endif
176endif
177ifeq ($(DEBUG_FLAG),1)
178__DEBUG_DEFINE_p_3 = --define __WXDEBUG__
179endif
8c9f8f91
JS
180ifeq ($(USE_EXCEPTIONS),0)
181__EXCEPTIONS_DEFINE_p_3 = --define wxNO_EXCEPTIONS
182endif
183ifeq ($(USE_RTTI),0)
184__RTTI_DEFINE_p_3 = --define wxNO_RTTI
185endif
186ifeq ($(USE_THREADS),0)
187__THREAD_DEFINE_p_3 = --define wxNO_THREADS
188endif
7379e476
VZ
189ifeq ($(UNICODE),0)
190__UNICODE_DEFINE_p_3 = --define wxUSE_UNICODE=0
191endif
a0744a6b
VS
192ifeq ($(UNICODE),1)
193__UNICODE_DEFINE_p_3 = --define _UNICODE
194endif
2113bc77
MW
195ifeq ($(MSLU),1)
196__MSLU_DEFINE_p_3 = --define wxUSE_UNICODE_MSLU=1
197endif
3abcf424
RD
198ifeq ($(USE_GDIPLUS),1)
199__GFXCTX_DEFINE_p_3 = --define wxUSE_GRAPHICS_CONTEXT=1
200endif
a0744a6b
VS
201ifeq ($(SHARED),1)
202__DLLFLAG_p_3 = --define WXUSINGDLL
203endif
204ifeq ($(MONOLITHIC),0)
205__WXLIB_CORE_p = \
206 -lwx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_core
207endif
3b2cb431
JS
208ifeq ($(USE_GUI),1)
209__LIB_TIFF_p = -lwxtiff$(WXDEBUGFLAG)
210endif
211ifeq ($(USE_GUI),1)
212__LIB_JPEG_p = -lwxjpeg$(WXDEBUGFLAG)
213endif
214ifeq ($(USE_GUI),1)
215__LIB_PNG_p = -lwxpng$(WXDEBUGFLAG)
216endif
a0744a6b
VS
217ifeq ($(BUILD),debug)
218__OPTIMIZEFLAG = -O0
670ec357
VS
219endif
220ifeq ($(BUILD),release)
a0744a6b 221__OPTIMIZEFLAG = -O2
670ec357 222endif
e1265174
MW
223ifeq ($(USE_RTTI),0)
224__RTTIFLAG = -fno-rtti
225endif
226ifeq ($(USE_RTTI),1)
227__RTTIFLAG =
670ec357
VS
228endif
229ifeq ($(USE_EXCEPTIONS),0)
e1265174 230__EXCEPTIONSFLAG = -fno-exceptions
670ec357
VS
231endif
232ifeq ($(USE_EXCEPTIONS),1)
e1265174 233__EXCEPTIONSFLAG =
670ec357
VS
234endif
235ifeq ($(WXUNIV),1)
236__WXUNIV_DEFINE_p = -D__WXUNIVERSAL__
237endif
238ifeq ($(BUILD),debug)
239ifeq ($(DEBUG_FLAG),default)
240__DEBUG_DEFINE_p = -D__WXDEBUG__
241endif
242endif
243ifeq ($(DEBUG_FLAG),1)
244__DEBUG_DEFINE_p = -D__WXDEBUG__
245endif
8c9f8f91
JS
246ifeq ($(USE_EXCEPTIONS),0)
247__EXCEPTIONS_DEFINE_p = -DwxNO_EXCEPTIONS
248endif
249ifeq ($(USE_RTTI),0)
250__RTTI_DEFINE_p = -DwxNO_RTTI
251endif
252ifeq ($(USE_THREADS),0)
253__THREAD_DEFINE_p = -DwxNO_THREADS
254endif
7379e476
VZ
255ifeq ($(UNICODE),0)
256__UNICODE_DEFINE_p = -DwxUSE_UNICODE=0
257endif
670ec357
VS
258ifeq ($(UNICODE),1)
259__UNICODE_DEFINE_p = -D_UNICODE
260endif
2113bc77
MW
261ifeq ($(MSLU),1)
262__MSLU_DEFINE_p = -DwxUSE_UNICODE_MSLU=1
263endif
3abcf424
RD
264ifeq ($(USE_GDIPLUS),1)
265__GFXCTX_DEFINE_p = -DwxUSE_GRAPHICS_CONTEXT=1
266endif
a0744a6b
VS
267ifeq ($(SHARED),1)
268__DLLFLAG_p = -DWXUSINGDLL
113e181a
RN
269endif
270ifeq ($(MONOLITHIC),0)
c33fae85
RN
271__WXLIB_BASE_p = \
272 -lwxbase$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)
670ec357
VS
273endif
274ifeq ($(MONOLITHIC),1)
275__WXLIB_MONO_p = \
c33fae85 276 -lwx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)
670ec357 277endif
670ec357
VS
278ifeq ($(MSLU),1)
279__UNICOWS_LIB_p = -lunicows
280endif
3abcf424
RD
281ifeq ($(USE_GDIPLUS),1)
282__GDIPLUS_LIB_p = -lgdiplus
283endif
670ec357
VS
284ifeq ($(BUILD),debug)
285ifeq ($(DEBUG_INFO),default)
286__DEBUGINFO = -g
287endif
288endif
289ifeq ($(BUILD),release)
290ifeq ($(DEBUG_INFO),default)
291__DEBUGINFO =
292endif
293endif
294ifeq ($(DEBUG_INFO),0)
295__DEBUGINFO =
296endif
297ifeq ($(DEBUG_INFO),1)
298__DEBUGINFO = -g
299endif
8c9f8f91
JS
300ifeq ($(USE_THREADS),0)
301__THREADSFLAG =
302endif
303ifeq ($(USE_THREADS),1)
304__THREADSFLAG = -mthreads
305endif
670ec357
VS
306
307
308all: $(OBJS)
309$(OBJS):
310 -if not exist $(OBJS) mkdir $(OBJS)
311
312### Targets: ###
313
02f935fb 314all: $(OBJS)\test.exe $(__test_gui___depname) data fr $(OBJS)\printfbench.exe
670ec357
VS
315
316clean:
317 -if exist $(OBJS)\*.o del $(OBJS)\*.o
0d90d6ea 318 -if exist $(OBJS)\*.d del $(OBJS)\*.d
670ec357 319 -if exist $(OBJS)\test.exe del $(OBJS)\test.exe
a0744a6b 320 -if exist $(OBJS)\test_gui.exe del $(OBJS)\test_gui.exe
c2c04edc 321 -if exist $(OBJS)\printfbench.exe del $(OBJS)\printfbench.exe
670ec357
VS
322
323$(OBJS)\test.exe: $(TEST_OBJECTS)
5e05df3c 324 $(CXX) -o $@ $(TEST_OBJECTS) $(LDFLAGS) $(__DEBUGINFO) $(__THREADSFLAG) -L$(LIBDIRNAME) $(CPPUNIT_LIBS) $(__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
670ec357 325
a0744a6b
VS
326ifeq ($(USE_GUI),1)
327$(OBJS)\test_gui.exe: $(TEST_GUI_OBJECTS) $(OBJS)\test_gui_sample_rc.o
6aaee6af 328 $(CXX) -o $@ $(TEST_GUI_OBJECTS) $(LDFLAGS) $(__DEBUGINFO) $(__THREADSFLAG) -L$(LIBDIRNAME) $(CPPUNIT_LIBS) $(__WXLIB_CORE_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
a0744a6b
VS
329endif
330
387f829e
VS
331data:
332 if not exist $(OBJS) mkdir $(OBJS)
333 for %%f in (testdata.fc) do if not exist $(OBJS)\%%f copy .\%%f $(OBJS)
334
02f935fb
VS
335fr:
336 if not exist $(OBJS)\intl\fr mkdir $(OBJS)\intl\fr
337 for %%f in (internat.po internat.mo) do if not exist $(OBJS)\intl\fr\%%f copy .\intl\fr\%%f $(OBJS)\intl\fr
338
c2c04edc 339$(OBJS)\printfbench.exe: $(PRINTFBENCH_OBJECTS)
6aaee6af 340 $(CXX) -o $@ $(PRINTFBENCH_OBJECTS) $(LDFLAGS) $(__DEBUGINFO) $(__THREADSFLAG) -L$(LIBDIRNAME) $(CPPUNIT_LIBS) $(__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
c2c04edc 341
8899b155 342$(OBJS)\test_dummy.o: ./dummy.cpp
0d90d6ea 343 $(CXX) -c -o $@ $(TEST_CXXFLAGS) $(CPPDEPS) $<
8899b155 344
670ec357 345$(OBJS)\test_test.o: ./test.cpp
0d90d6ea 346 $(CXX) -c -o $@ $(TEST_CXXFLAGS) $(CPPDEPS) $<
670ec357 347
8899b155 348$(OBJS)\test_archivetest.o: ./archive/archivetest.cpp
0d90d6ea 349 $(CXX) -c -o $@ $(TEST_CXXFLAGS) $(CPPDEPS) $<
8899b155 350
e6477b92 351$(OBJS)\test_ziptest.o: ./archive/ziptest.cpp
0d90d6ea 352 $(CXX) -c -o $@ $(TEST_CXXFLAGS) $(CPPDEPS) $<
e6477b92 353
cdd7933f
MW
354$(OBJS)\test_tartest.o: ./archive/tartest.cpp
355 $(CXX) -c -o $@ $(TEST_CXXFLAGS) $(CPPDEPS) $<
356
dd65d8c8 357$(OBJS)\test_arrays.o: ./arrays/arrays.cpp
0d90d6ea 358 $(CXX) -c -o $@ $(TEST_CXXFLAGS) $(CPPDEPS) $<
e70833fb 359
9222c613
VZ
360$(OBJS)\test_base64.o: ./base64/base64.cpp
361 $(CXX) -c -o $@ $(TEST_CXXFLAGS) $(CPPDEPS) $<
5769cf0f
VZ
362
363$(OBJS)\test_cmdlinetest.o: ./cmdline/cmdlinetest.cpp
364 $(CXX) -c -o $@ $(TEST_CXXFLAGS) $(CPPDEPS) $<
9222c613
VZ
365
366$(OBJS)\test_fileconf.o: ./config/fileconf.cpp
0d90d6ea 367 $(CXX) -c -o $@ $(TEST_CXXFLAGS) $(CPPDEPS) $<
bc10103e 368
9222c613 369$(OBJS)\test_datetimetest.o: ./datetime/datetimetest.cpp
0d90d6ea 370 $(CXX) -c -o $@ $(TEST_CXXFLAGS) $(CPPDEPS) $<
ab921f5f 371
0912690b 372$(OBJS)\test_filekind.o: ./filekind/filekind.cpp
0d90d6ea 373 $(CXX) -c -o $@ $(TEST_CXXFLAGS) $(CPPDEPS) $<
3fa86423 374
0912690b 375$(OBJS)\test_filenametest.o: ./filename/filenametest.cpp
0d90d6ea 376 $(CXX) -c -o $@ $(TEST_CXXFLAGS) $(CPPDEPS) $<
4827cbd9 377
0912690b 378$(OBJS)\test_filesystest.o: ./filesys/filesystest.cpp
0d90d6ea 379 $(CXX) -c -o $@ $(TEST_CXXFLAGS) $(CPPDEPS) $<
3c70014d 380
113e181a 381$(OBJS)\test_fontmaptest.o: ./fontmap/fontmaptest.cpp
0d90d6ea 382 $(CXX) -c -o $@ $(TEST_CXXFLAGS) $(CPPDEPS) $<
dd65d8c8 383
113e181a 384$(OBJS)\test_formatconvertertest.o: ./formatconverter/formatconvertertest.cpp
0d90d6ea 385 $(CXX) -c -o $@ $(TEST_CXXFLAGS) $(CPPDEPS) $<
cf1014a2 386
f9c3d39b 387$(OBJS)\test_hashes.o: ./hashes/hashes.cpp
0d90d6ea 388 $(CXX) -c -o $@ $(TEST_CXXFLAGS) $(CPPDEPS) $<
f9c3d39b 389
02f935fb
VS
390$(OBJS)\test_intltest.o: ./intl/intltest.cpp
391 $(CXX) -c -o $@ $(TEST_CXXFLAGS) $(CPPDEPS) $<
392
7d9cfc54 393$(OBJS)\test_lists.o: ./lists/lists.cpp
0d90d6ea 394 $(CXX) -c -o $@ $(TEST_CXXFLAGS) $(CPPDEPS) $<
7d9cfc54 395
113e181a 396$(OBJS)\test_longlongtest.o: ./longlong/longlongtest.cpp
0d90d6ea 397 $(CXX) -c -o $@ $(TEST_CXXFLAGS) $(CPPDEPS) $<
1b035b8c 398
d31a29b5
VZ
399$(OBJS)\test_convautotest.o: ./mbconv/convautotest.cpp
400 $(CXX) -c -o $@ $(TEST_CXXFLAGS) $(CPPDEPS) $<
401
113e181a 402$(OBJS)\test_mbconvtest.o: ./mbconv/mbconvtest.cpp
0d90d6ea 403 $(CXX) -c -o $@ $(TEST_CXXFLAGS) $(CPPDEPS) $<
dd65d8c8 404
e7ce668e
VZ
405$(OBJS)\test_ipc.o: ./net/ipc.cpp
406 $(CXX) -c -o $@ $(TEST_CXXFLAGS) $(CPPDEPS) $<
407
113e181a 408$(OBJS)\test_regextest.o: ./regex/regextest.cpp
0d90d6ea 409 $(CXX) -c -o $@ $(TEST_CXXFLAGS) $(CPPDEPS) $<
dd65d8c8 410
113e181a 411$(OBJS)\test_wxregextest.o: ./regex/wxregextest.cpp
0d90d6ea
JS
412 $(CXX) -c -o $@ $(TEST_CXXFLAGS) $(CPPDEPS) $<
413
414$(OBJS)\test_scopeguardtest.o: ./scopeguard/scopeguardtest.cpp
415 $(CXX) -c -o $@ $(TEST_CXXFLAGS) $(CPPDEPS) $<
dd65d8c8 416
f9caf1af
VZ
417$(OBJS)\test_iostream.o: ./strings/iostream.cpp
418 $(CXX) -c -o $@ $(TEST_CXXFLAGS) $(CPPDEPS) $<
419
1cd53e88 420$(OBJS)\test_strings.o: ./strings/strings.cpp
0d90d6ea 421 $(CXX) -c -o $@ $(TEST_CXXFLAGS) $(CPPDEPS) $<
1cd53e88 422
405b7d91 423$(OBJS)\test_stdstrings.o: ./strings/stdstrings.cpp
0d90d6ea 424 $(CXX) -c -o $@ $(TEST_CXXFLAGS) $(CPPDEPS) $<
405b7d91 425
20a34d96
VZ
426$(OBJS)\test_tokenizer.o: ./strings/tokenizer.cpp
427 $(CXX) -c -o $@ $(TEST_CXXFLAGS) $(CPPDEPS) $<
428
c9f78968
VS
429$(OBJS)\test_unichar.o: ./strings/unichar.cpp
430 $(CXX) -c -o $@ $(TEST_CXXFLAGS) $(CPPDEPS) $<
431
387f829e 432$(OBJS)\test_unicode.o: ./strings/unicode.cpp
0d90d6ea 433 $(CXX) -c -o $@ $(TEST_CXXFLAGS) $(CPPDEPS) $<
387f829e 434
c9f78968
VS
435$(OBJS)\test_vararg.o: ./strings/vararg.cpp
436 $(CXX) -c -o $@ $(TEST_CXXFLAGS) $(CPPDEPS) $<
437
cf8ee08b 438$(OBJS)\test_crt.o: ./strings/crt.cpp
0d90d6ea 439 $(CXX) -c -o $@ $(TEST_CXXFLAGS) $(CPPDEPS) $<
cf8ee08b 440
3b2cb431
JS
441$(OBJS)\test_vsnprintf.o: ./strings/vsnprintf.cpp
442 $(CXX) -c -o $@ $(TEST_CXXFLAGS) $(CPPDEPS) $<
443
7735998c 444$(OBJS)\test_bstream.o: ./streams/bstream.cpp
0d90d6ea 445 $(CXX) -c -o $@ $(TEST_CXXFLAGS) $(CPPDEPS) $<
7735998c 446
7d9cfc54 447$(OBJS)\test_datastreamtest.o: ./streams/datastreamtest.cpp
0d90d6ea 448 $(CXX) -c -o $@ $(TEST_CXXFLAGS) $(CPPDEPS) $<
7d9cfc54 449
7735998c 450$(OBJS)\test_ffilestream.o: ./streams/ffilestream.cpp
0d90d6ea 451 $(CXX) -c -o $@ $(TEST_CXXFLAGS) $(CPPDEPS) $<
7735998c 452
e2255c89
MW
453$(OBJS)\test_fileback.o: ./streams/fileback.cpp
454 $(CXX) -c -o $@ $(TEST_CXXFLAGS) $(CPPDEPS) $<
455
7735998c 456$(OBJS)\test_filestream.o: ./streams/filestream.cpp
0d90d6ea 457 $(CXX) -c -o $@ $(TEST_CXXFLAGS) $(CPPDEPS) $<
7735998c 458
f9caf1af
VZ
459$(OBJS)\test_iostreams.o: ./streams/iostreams.cpp
460 $(CXX) -c -o $@ $(TEST_CXXFLAGS) $(CPPDEPS) $<
461
cb327439 462$(OBJS)\test_largefile.o: ./streams/largefile.cpp
0d90d6ea 463 $(CXX) -c -o $@ $(TEST_CXXFLAGS) $(CPPDEPS) $<
cb327439 464
7735998c 465$(OBJS)\test_memstream.o: ./streams/memstream.cpp
0d90d6ea 466 $(CXX) -c -o $@ $(TEST_CXXFLAGS) $(CPPDEPS) $<
7735998c 467
f9caf1af
VZ
468$(OBJS)\test_socketstream.o: ./streams/socketstream.cpp
469 $(CXX) -c -o $@ $(TEST_CXXFLAGS) $(CPPDEPS) $<
470
c33fae85 471$(OBJS)\test_sstream.o: ./streams/sstream.cpp
0d90d6ea 472 $(CXX) -c -o $@ $(TEST_CXXFLAGS) $(CPPDEPS) $<
e1265174
MW
473
474$(OBJS)\test_tempfile.o: ./streams/tempfile.cpp
0d90d6ea 475 $(CXX) -c -o $@ $(TEST_CXXFLAGS) $(CPPDEPS) $<
c33fae85 476
8899b155 477$(OBJS)\test_textstreamtest.o: ./streams/textstreamtest.cpp
0d90d6ea 478 $(CXX) -c -o $@ $(TEST_CXXFLAGS) $(CPPDEPS) $<
8899b155 479
7735998c 480$(OBJS)\test_zlibstream.o: ./streams/zlibstream.cpp
0d90d6ea 481 $(CXX) -c -o $@ $(TEST_CXXFLAGS) $(CPPDEPS) $<
d31a29b5
VZ
482
483$(OBJS)\test_textfiletest.o: ./textfile/textfiletest.cpp
484 $(CXX) -c -o $@ $(TEST_CXXFLAGS) $(CPPDEPS) $<
7735998c 485
173f3c03
VZ
486$(OBJS)\test_atomic.o: ./thread/atomic.cpp
487 $(CXX) -c -o $@ $(TEST_CXXFLAGS) $(CPPDEPS) $<
488
6aaee6af
VZ
489$(OBJS)\test_queue.o: ./thread/queue.cpp
490 $(CXX) -c -o $@ $(TEST_CXXFLAGS) $(CPPDEPS) $<
491
dd65d8c8 492$(OBJS)\test_uris.o: ./uris/uris.cpp
0d90d6ea 493 $(CXX) -c -o $@ $(TEST_CXXFLAGS) $(CPPDEPS) $<
edcccd84 494
e966f815
VS
495$(OBJS)\test_vectors.o: ./vectors/vectors.cpp
496 $(CXX) -c -o $@ $(TEST_CXXFLAGS) $(CPPDEPS) $<
497
6490a288
VZ
498$(OBJS)\test_evtconnection.o: ./weakref/evtconnection.cpp
499 $(CXX) -c -o $@ $(TEST_CXXFLAGS) $(CPPDEPS) $<
500
501$(OBJS)\test_weakref.o: ./weakref/weakref.cpp
502 $(CXX) -c -o $@ $(TEST_CXXFLAGS) $(CPPDEPS) $<
503
6e4ae332
VZ
504$(OBJS)\test_xlocale.o: ./xlocale/xlocale.cpp
505 $(CXX) -c -o $@ $(TEST_CXXFLAGS) $(CPPDEPS) $<
506
5e05df3c
VS
507$(OBJS)\test_xmltest.o: ./xml/xmltest.cpp
508 $(CXX) -c -o $@ $(TEST_CXXFLAGS) $(CPPDEPS) $<
509
a0744a6b 510$(OBJS)\test_gui_sample_rc.o: ./../samples/sample.rc
c9f78968 511 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
512
513$(OBJS)\test_gui_dummy.o: ./dummy.cpp
0d90d6ea 514 $(CXX) -c -o $@ $(TEST_GUI_CXXFLAGS) $(CPPDEPS) $<
a0744a6b
VS
515
516$(OBJS)\test_gui_test.o: ./test.cpp
0d90d6ea 517 $(CXX) -c -o $@ $(TEST_GUI_CXXFLAGS) $(CPPDEPS) $<
a0744a6b 518
98a50e20 519$(OBJS)\test_gui_rect.o: ./geometry/rect.cpp
0d90d6ea 520 $(CXX) -c -o $@ $(TEST_GUI_CXXFLAGS) $(CPPDEPS) $<
98a50e20 521
cb327439 522$(OBJS)\test_gui_size.o: ./geometry/size.cpp
0d90d6ea 523 $(CXX) -c -o $@ $(TEST_GUI_CXXFLAGS) $(CPPDEPS) $<
cb327439
MW
524
525$(OBJS)\test_gui_point.o: ./geometry/point.cpp
0d90d6ea 526 $(CXX) -c -o $@ $(TEST_GUI_CXXFLAGS) $(CPPDEPS) $<
cb327439 527
9222c613
VZ
528$(OBJS)\test_gui_config.o: ./config/config.cpp
529 $(CXX) -c -o $@ $(TEST_GUI_CXXFLAGS) $(CPPDEPS) $<
530
c0d9b217
VZ
531$(OBJS)\test_gui_textctrltest.o: ./controls/textctrltest.cpp
532 $(CXX) -c -o $@ $(TEST_GUI_CXXFLAGS) $(CPPDEPS) $<
533
3e50a139
VZ
534$(OBJS)\test_gui_rawbmp.o: ./image/rawbmp.cpp
535 $(CXX) -c -o $@ $(TEST_GUI_CXXFLAGS) $(CPPDEPS) $<
536
c8f80d27
VZ
537$(OBJS)\test_gui_selstoretest.o: ./misc/selstoretest.cpp
538 $(CXX) -c -o $@ $(TEST_GUI_CXXFLAGS) $(CPPDEPS) $<
539
1a86d2e5
VZ
540$(OBJS)\test_gui_clientsize.o: ./window/clientsize.cpp
541 $(CXX) -c -o $@ $(TEST_GUI_CXXFLAGS) $(CPPDEPS) $<
542
5af86f4d
VZ
543$(OBJS)\test_gui_setsize.o: ./window/setsize.cpp
544 $(CXX) -c -o $@ $(TEST_GUI_CXXFLAGS) $(CPPDEPS) $<
545
c2c04edc
KO
546$(OBJS)\printfbench_dummy.o: ./dummy.cpp
547 $(CXX) -c -o $@ $(PRINTFBENCH_CXXFLAGS) $(CPPDEPS) $<
548
549$(OBJS)\printfbench_printfbench.o: ./benchmarks/printfbench.cpp
550 $(CXX) -c -o $@ $(PRINTFBENCH_CXXFLAGS) $(CPPDEPS) $<
551
02f935fb 552.PHONY: all clean data fr
cb327439 553
8c9f8f91 554
6e0fbb3d
VS
555SHELL := $(COMSPEC)
556
0d90d6ea
JS
557# Dependencies tracking:
558-include $(OBJS)/*.d