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