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