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