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