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