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