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