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