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