]>
Commit | Line | Data |
---|---|---|
670ec357 VS |
1 | # ========================================================================= |
2 | # This makefile was generated by | |
a7ebaf0d | 3 | # Bakefile 0.2.8 (http://www.bakefile.org) |
670ec357 VS |
4 | # Do not modify, all changes will be overwritten! |
5 | # ========================================================================= | |
6 | ||
7 | ||
8 | @MAKE_SET@ | |
9 | ||
10 | prefix = @prefix@ | |
11 | exec_prefix = @exec_prefix@ | |
6e0fbb3d | 12 | datarootdir = @datarootdir@ |
670ec357 VS |
13 | INSTALL = @INSTALL@ |
14 | EXEEXT = @EXEEXT@ | |
cf9b63b3 | 15 | WINDRES = @WINDRES@ |
670ec357 | 16 | SETFILE = @SETFILE@ |
72a7c559 | 17 | ICC_PCH_USE_SWITCH = @ICC_PCH_USE_SWITCH@ |
69199aad VZ |
18 | BK_DEPS = @BK_DEPS@ |
19 | BK_MAKE_PCH = @BK_MAKE_PCH@ | |
670ec357 VS |
20 | srcdir = @srcdir@ |
21 | top_srcdir = @top_srcdir@ | |
69199aad | 22 | LIBS = @LIBS@ |
670ec357 VS |
23 | CXX = @CXX@ |
24 | CXXFLAGS = @CXXFLAGS@ | |
25 | CPPFLAGS = @CPPFLAGS@ | |
26 | LDFLAGS = @LDFLAGS@ | |
589e20d0 | 27 | WX_LIB_FLAVOUR = @WX_LIB_FLAVOUR@ |
670ec357 VS |
28 | CPPUNIT_CFLAGS = @CPPUNIT_CFLAGS@ |
29 | CPPUNIT_LIBS = @CPPUNIT_LIBS@ | |
30 | TOOLKIT = @TOOLKIT@ | |
31 | TOOLKIT_LOWERCASE = @TOOLKIT_LOWERCASE@ | |
32 | TOOLKIT_VERSION = @TOOLKIT_VERSION@ | |
8ced02f6 | 33 | TOOLCHAIN_FULLNAME = @TOOLCHAIN_FULLNAME@ |
670ec357 | 34 | EXTRALIBS = @EXTRALIBS@ |
5e05df3c | 35 | EXTRALIBS_XML = @EXTRALIBS_XML@ |
c39058f6 | 36 | EXTRALIBS_HTML = @EXTRALIBS_HTML@ |
9e48b1f5 | 37 | EXTRALIBS_MEDIA = @EXTRALIBS_MEDIA@ |
0e3165d7 | 38 | EXTRALIBS_GUI = @EXTRALIBS_GUI@ |
9e48b1f5 | 39 | EXTRALIBS_SDL = @EXTRALIBS_SDL@ |
173f3c03 | 40 | CXXWARNINGS = @CXXWARNINGS@ |
670ec357 VS |
41 | HOST_SUFFIX = @HOST_SUFFIX@ |
42 | SAMPLES_RPATH_FLAG = @SAMPLES_RPATH_FLAG@ | |
69199aad | 43 | wx_top_builddir = @wx_top_builddir@ |
670ec357 VS |
44 | |
45 | ### Variables: ### | |
46 | ||
47 | DESTDIR = | |
ae4ccf12 | 48 | WX_RELEASE = 2.9 |
ece5e6a4 | 49 | WX_VERSION = $(WX_RELEASE).1 |
69199aad | 50 | LIBDIRNAME = $(wx_top_builddir)/lib |
8899b155 | 51 | TEST_CXXFLAGS = $(__test_PCH_INC) -D__WX$(TOOLKIT)__ $(__WXUNIV_DEFINE_p) \ |
d12d9eda VZ |
52 | $(__DEBUG_DEFINE_p) $(__EXCEPTIONS_DEFINE_p) $(__RTTI_DEFINE_p) \ |
53 | $(__THREAD_DEFINE_p) -I$(srcdir) $(__DLLFLAG_p) -DwxUSE_GUI=0 \ | |
54 | $(CPPUNIT_CFLAGS) $(CXXWARNINGS) $(CPPFLAGS) $(CXXFLAGS) | |
670ec357 VS |
55 | TEST_OBJECTS = \ |
56 | test_test.o \ | |
178c7760 | 57 | test_anytest.o \ |
17a7bf57 | 58 | test_archivetest.o \ |
e6477b92 | 59 | test_ziptest.o \ |
cdd7933f | 60 | test_tartest.o \ |
dd65d8c8 | 61 | test_arrays.o \ |
a8098f86 | 62 | test_base64.o \ |
5769cf0f | 63 | test_cmdlinetest.o \ |
9222c613 | 64 | test_fileconf.o \ |
113e181a | 65 | test_datetimetest.o \ |
4fc218c2 | 66 | test_evthandler.o \ |
6b8ef0b3 | 67 | test_evtsource.o \ |
45cb7053 | 68 | test_stopwatch.o \ |
438febca | 69 | test_timertest.o \ |
ca5016d4 | 70 | test_exec.o \ |
227989f3 | 71 | test_filetest.o \ |
0912690b | 72 | test_filekind.o \ |
113e181a RN |
73 | test_filenametest.o \ |
74 | test_filesystest.o \ | |
75 | test_fontmaptest.o \ | |
76 | test_formatconvertertest.o \ | |
6b8ef0b3 | 77 | test_fswatchertest.o \ |
f9c3d39b | 78 | test_hashes.o \ |
02f935fb | 79 | test_intltest.o \ |
7d9cfc54 | 80 | test_lists.o \ |
ece5e6a4 | 81 | test_logtest.o \ |
113e181a | 82 | test_longlongtest.o \ |
d31a29b5 | 83 | test_convautotest.o \ |
113e181a | 84 | test_mbconvtest.o \ |
604fba2d | 85 | test_misctests.o \ |
7db064f6 | 86 | test_typeinfotest.o \ |
e7ce668e | 87 | test_ipc.o \ |
62fb86a5 | 88 | test_socket.o \ |
113e181a RN |
89 | test_regextest.o \ |
90 | test_wxregextest.o \ | |
3c589493 | 91 | test_scopeguardtest.o \ |
99d8bc65 | 92 | test_iostream.o \ |
1cd53e88 | 93 | test_strings.o \ |
405b7d91 | 94 | test_stdstrings.o \ |
20a34d96 | 95 | test_tokenizer.o \ |
c9f78968 | 96 | test_unichar.o \ |
387f829e | 97 | test_unicode.o \ |
c9f78968 | 98 | test_vararg.o \ |
cf8ee08b | 99 | test_crt.o \ |
3b2cb431 | 100 | test_vsnprintf.o \ |
7735998c | 101 | test_bstream.o \ |
7d9cfc54 | 102 | test_datastreamtest.o \ |
7735998c | 103 | test_ffilestream.o \ |
e2255c89 | 104 | test_fileback.o \ |
7735998c | 105 | test_filestream.o \ |
1530fc09 | 106 | test_iostreams.o \ |
cb327439 | 107 | test_largefile.o \ |
7735998c | 108 | test_memstream.o \ |
f9caf1af | 109 | test_socketstream.o \ |
ceec2216 | 110 | test_sstream.o \ |
72a7c559 | 111 | test_stdstream.o \ |
e1265174 | 112 | test_tempfile.o \ |
8899b155 | 113 | test_textstreamtest.o \ |
816b59de | 114 | test_zlibstream.o \ |
fb86a4bb | 115 | test_textfiletest.o \ |
173f3c03 | 116 | test_atomic.o \ |
1f5496a0 | 117 | test_misc.o \ |
6aaee6af | 118 | test_queue.o \ |
8b73c531 | 119 | test_tls.o \ |
e966f815 | 120 | test_uris.o \ |
21fe35af | 121 | test_url.o \ |
6490a288 VZ |
122 | test_vectors.o \ |
123 | test_evtconnection.o \ | |
6e4ae332 | 124 | test_weakref.o \ |
5e05df3c VS |
125 | test_xlocale.o \ |
126 | test_xmltest.o | |
8ece421c | 127 | TEST_ODEP = $(_____pch_testprec_test_testprec_h_gch___depname) |
a0744a6b | 128 | TEST_GUI_CXXFLAGS = $(__test_gui_PCH_INC) -D__WX$(TOOLKIT)__ \ |
d12d9eda VZ |
129 | $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) $(__EXCEPTIONS_DEFINE_p) \ |
130 | $(__RTTI_DEFINE_p) $(__THREAD_DEFINE_p) -I$(srcdir) $(__DLLFLAG_p) \ | |
131 | -I$(srcdir)/../samples $(CPPUNIT_CFLAGS) $(CXXWARNINGS) $(CPPFLAGS) \ | |
132 | $(CXXFLAGS) | |
a0744a6b VS |
133 | TEST_GUI_OBJECTS = \ |
134 | $(__test_gui___win32rc) \ | |
135 | $(__test_gui_os2_lib_res) \ | |
98a50e20 | 136 | test_gui_test.o \ |
d3c073a2 DE |
137 | test_gui_rect.o \ |
138 | test_gui_size.o \ | |
9222c613 | 139 | test_gui_point.o \ |
27297c82 | 140 | test_gui_bitmap.o \ |
b0edecea | 141 | test_gui_colour.o \ |
a37da0fa | 142 | test_gui_ellipsization.o \ |
b3710b10 | 143 | test_gui_measuring.o \ |
c0d9b217 | 144 | test_gui_config.o \ |
dc7f9c9c | 145 | test_gui_comboboxtest.o \ |
56873923 | 146 | test_gui_headerctrltest.o \ |
32ee98eb | 147 | test_gui_label.o \ |
56873923 | 148 | test_gui_listctrltest.o \ |
c8f80d27 | 149 | test_gui_textctrltest.o \ |
f0f6a32d | 150 | test_gui_textentrytest.o \ |
fa97ee24 | 151 | test_gui_treectrltest.o \ |
031b101f | 152 | test_gui_clone.o \ |
1649d288 | 153 | test_gui_propagation.o \ |
5b06a80f | 154 | test_gui_fonttest.o \ |
21fe35af | 155 | test_gui_image.o \ |
3e50a139 | 156 | test_gui_rawbmp.o \ |
c39058f6 | 157 | test_gui_htmlwindow.o \ |
841a25bb | 158 | test_gui_guifuncs.o \ |
1a86d2e5 | 159 | test_gui_selstoretest.o \ |
9e48b1f5 | 160 | test_gui_garbage.o \ |
e3527f7b | 161 | test_gui_settings.o \ |
1156062f | 162 | test_gui_socket.o \ |
869c7a94 | 163 | test_gui_boxsizer.o \ |
5af86f4d VZ |
164 | test_gui_clientsize.o \ |
165 | test_gui_setsize.o | |
8ece421c | 166 | TEST_GUI_ODEP = $(_____pch_testprec_test_gui_testprec_h_gch___depname) |
670ec357 VS |
167 | |
168 | ### Conditionally set variables: ### | |
169 | ||
170 | @COND_DEPS_TRACKING_0@CXXC = $(CXX) | |
69199aad | 171 | @COND_DEPS_TRACKING_1@CXXC = $(BK_DEPS) $(CXX) |
9e48b1f5 | 172 | @COND_USE_PLUGINS_0@PLUGIN_ADV_EXTRALIBS = $(EXTRALIBS_SDL) |
670ec357 VS |
173 | @COND_USE_GUI_0@PORTNAME = base |
174 | @COND_USE_GUI_1@PORTNAME = $(TOOLKIT_LOWERCASE)$(TOOLKIT_VERSION) | |
175 | @COND_TOOLKIT_MAC@WXBASEPORT = _carbon | |
d12d9eda | 176 | @COND_BUILD_debug@WXDEBUGFLAG = d |
670ec357 VS |
177 | @COND_UNICODE_1@WXUNICODEFLAG = u |
178 | @COND_WXUNIV_1@WXUNIVNAME = univ | |
0e3165d7 DE |
179 | @COND_MONOLITHIC_0@EXTRALIBS_FOR_BASE = $(EXTRALIBS) |
180 | @COND_MONOLITHIC_1@EXTRALIBS_FOR_BASE = $(EXTRALIBS) $(EXTRALIBS_GUI) | |
a0744a6b VS |
181 | @COND_MONOLITHIC_0@EXTRALIBS_FOR_GUI = $(EXTRALIBS_GUI) |
182 | @COND_MONOLITHIC_1@EXTRALIBS_FOR_GUI = | |
6e0fbb3d | 183 | @COND_PLATFORM_MAC_0@__test___mac_setfilecmd = @true |
670ec357 VS |
184 | @COND_PLATFORM_MAC_1@__test___mac_setfilecmd = \ |
185 | @COND_PLATFORM_MAC_1@ $(SETFILE) -t APPL test$(EXEEXT) | |
8ece421c | 186 | @COND_GCC_PCH_1@__test_PCH_INC = -I./.pch/testprec_test |
72a7c559 | 187 | @COND_ICC_PCH_1@__test_PCH_INC = $(ICC_PCH_USE_SWITCH) \ |
8ece421c VZ |
188 | @COND_ICC_PCH_1@ ./.pch/testprec_test/testprec.h.gch |
189 | @COND_USE_PCH_1@_____pch_testprec_test_testprec_h_gch___depname \ | |
190 | @COND_USE_PCH_1@ = ./.pch/testprec_test/testprec.h.gch | |
a0744a6b | 191 | @COND_USE_GUI_1@__test_gui___depname = test_gui$(EXEEXT) |
6e0fbb3d | 192 | @COND_PLATFORM_MAC_0@__test_gui___mac_setfilecmd = @true |
a0744a6b | 193 | @COND_PLATFORM_MAC_1@__test_gui___mac_setfilecmd = \ |
8b73c531 | 194 | @COND_PLATFORM_MAC_1@ $(SETFILE) -t APPL test_gui$(EXEEXT) |
a0744a6b | 195 | @COND_WXUNIV_1@__WXUNIV_DEFINE_p_5 = --define __WXUNIVERSAL__ |
d12d9eda | 196 | @COND_DEBUG_FLAG_0@__DEBUG_DEFINE_p_5 = --define wxDEBUG_LEVEL=0 |
8c9f8f91 | 197 | @COND_USE_EXCEPTIONS_0@__EXCEPTIONS_DEFINE_p_5 = --define wxNO_EXCEPTIONS |
8c9f8f91 | 198 | @COND_USE_RTTI_0@__RTTI_DEFINE_p_5 = --define wxNO_RTTI |
8c9f8f91 | 199 | @COND_USE_THREADS_0@__THREAD_DEFINE_p_5 = --define wxNO_THREADS |
a0744a6b | 200 | @COND_SHARED_1@__DLLFLAG_p_5 = --define WXUSINGDLL |
8ced02f6 DE |
201 | @COND_TOOLKIT_MSW@__RCDEFDIR_p_1 = --include-dir \ |
202 | @COND_TOOLKIT_MSW@ $(LIBDIRNAME)/wx/include/$(TOOLCHAIN_FULLNAME) | |
a0744a6b VS |
203 | @COND_PLATFORM_WIN32_1@__test_gui___win32rc = test_gui_sample_rc.o |
204 | @COND_PLATFORM_OS2_1@__test_gui_os2_lib_res = \ | |
205 | @COND_PLATFORM_OS2_1@ $(top_srcdir)/include/wx/os2/wx.res | |
e8352927 VS |
206 | @COND_PLATFORM_MACOSX_1_USE_GUI_1@__test_gui_app_Contents_PkgInfo___depname \ |
207 | @COND_PLATFORM_MACOSX_1_USE_GUI_1@ = test_gui.app/Contents/PkgInfo | |
208 | @COND_PLATFORM_MACOSX_1_USE_GUI_1@__test_gui_bundle___depname \ | |
209 | @COND_PLATFORM_MACOSX_1_USE_GUI_1@ = test_gui_bundle | |
a0744a6b | 210 | @COND_TOOLKIT_MAC@____test_gui_BUNDLE_TGT_REF_DEP = \ |
e8352927 | 211 | @COND_TOOLKIT_MAC@ $(__test_gui_app_Contents_PkgInfo___depname) |
f0f6a32d VZ |
212 | @COND_TOOLKIT_OSX_CARBON@____test_gui_BUNDLE_TGT_REF_DEP \ |
213 | @COND_TOOLKIT_OSX_CARBON@ = $(__test_gui_app_Contents_PkgInfo___depname) | |
214 | @COND_TOOLKIT_OSX_COCOA@____test_gui_BUNDLE_TGT_REF_DEP \ | |
215 | @COND_TOOLKIT_OSX_COCOA@ = $(__test_gui_app_Contents_PkgInfo___depname) | |
216 | @COND_TOOLKIT_OSX_IPHONE@____test_gui_BUNDLE_TGT_REF_DEP \ | |
217 | @COND_TOOLKIT_OSX_IPHONE@ = $(__test_gui_app_Contents_PkgInfo___depname) | |
218 | @COND_TOOLKIT_COCOA@____test_gui_BUNDLE_TGT_REF_DEP = \ | |
219 | @COND_TOOLKIT_COCOA@ $(__test_gui_app_Contents_PkgInfo___depname) | |
8ece421c | 220 | @COND_GCC_PCH_1@__test_gui_PCH_INC = -I./.pch/testprec_test_gui |
72a7c559 | 221 | @COND_ICC_PCH_1@__test_gui_PCH_INC = $(ICC_PCH_USE_SWITCH) \ |
8ece421c VZ |
222 | @COND_ICC_PCH_1@ ./.pch/testprec_test_gui/testprec.h.gch |
223 | @COND_USE_PCH_1@_____pch_testprec_test_gui_testprec_h_gch___depname \ | |
224 | @COND_USE_PCH_1@ = ./.pch/testprec_test_gui/testprec.h.gch | |
9e48b1f5 FM |
225 | COND_MONOLITHIC_0_USE_MEDIA_1___WXLIB_MEDIA_p = \ |
226 | -lwx_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_media-$(WX_RELEASE)$(HOST_SUFFIX) | |
227 | @COND_MONOLITHIC_0_USE_MEDIA_1@__WXLIB_MEDIA_p = $(COND_MONOLITHIC_0_USE_MEDIA_1___WXLIB_MEDIA_p) | |
228 | COND_MONOLITHIC_0___WXLIB_XRC_p = \ | |
229 | -lwx_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_xrc-$(WX_RELEASE)$(HOST_SUFFIX) | |
230 | @COND_MONOLITHIC_0@__WXLIB_XRC_p = $(COND_MONOLITHIC_0___WXLIB_XRC_p) | |
231 | COND_MONOLITHIC_0___WXLIB_ADV_p = \ | |
232 | -lwx_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_adv-$(WX_RELEASE)$(HOST_SUFFIX) | |
233 | @COND_MONOLITHIC_0@__WXLIB_ADV_p = $(COND_MONOLITHIC_0___WXLIB_ADV_p) | |
c39058f6 VS |
234 | COND_MONOLITHIC_0___WXLIB_HTML_p = \ |
235 | -lwx_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_html-$(WX_RELEASE)$(HOST_SUFFIX) | |
236 | @COND_MONOLITHIC_0@__WXLIB_HTML_p = $(COND_MONOLITHIC_0___WXLIB_HTML_p) | |
a0744a6b VS |
237 | COND_MONOLITHIC_0___WXLIB_CORE_p = \ |
238 | -lwx_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_core-$(WX_RELEASE)$(HOST_SUFFIX) | |
239 | @COND_MONOLITHIC_0@__WXLIB_CORE_p = $(COND_MONOLITHIC_0___WXLIB_CORE_p) | |
8ece421c VZ |
240 | @COND_USE_GUI_1_wxUSE_LIBTIFF_builtin@__LIB_TIFF_p \ |
241 | @COND_USE_GUI_1_wxUSE_LIBTIFF_builtin@ = \ | |
242 | @COND_USE_GUI_1_wxUSE_LIBTIFF_builtin@ -lwxtiff$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)-$(WX_RELEASE)$(HOST_SUFFIX) | |
243 | @COND_USE_GUI_1_wxUSE_LIBJPEG_builtin@__LIB_JPEG_p \ | |
244 | @COND_USE_GUI_1_wxUSE_LIBJPEG_builtin@ = \ | |
245 | @COND_USE_GUI_1_wxUSE_LIBJPEG_builtin@ -lwxjpeg$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)-$(WX_RELEASE)$(HOST_SUFFIX) | |
246 | @COND_USE_GUI_1_wxUSE_LIBPNG_builtin@__LIB_PNG_p \ | |
247 | @COND_USE_GUI_1_wxUSE_LIBPNG_builtin@ = \ | |
248 | @COND_USE_GUI_1_wxUSE_LIBPNG_builtin@ -lwxpng$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)-$(WX_RELEASE)$(HOST_SUFFIX) | |
7b4138e2 | 249 | @COND_WXUNIV_1@__WXUNIV_DEFINE_p = -D__WXUNIVERSAL__ |
d12d9eda | 250 | @COND_DEBUG_FLAG_0@__DEBUG_DEFINE_p = -DwxDEBUG_LEVEL=0 |
7b4138e2 FM |
251 | @COND_USE_EXCEPTIONS_0@__EXCEPTIONS_DEFINE_p = -DwxNO_EXCEPTIONS |
252 | @COND_USE_RTTI_0@__RTTI_DEFINE_p = -DwxNO_RTTI | |
253 | @COND_USE_THREADS_0@__THREAD_DEFINE_p = -DwxNO_THREADS | |
254 | @COND_SHARED_1@__DLLFLAG_p = -DWXUSINGDLL | |
1156062f VZ |
255 | COND_MONOLITHIC_0___WXLIB_NET_p = \ |
256 | -lwx_base$(WXBASEPORT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_net-$(WX_RELEASE)$(HOST_SUFFIX) | |
257 | @COND_MONOLITHIC_0@__WXLIB_NET_p = $(COND_MONOLITHIC_0___WXLIB_NET_p) | |
9e48b1f5 FM |
258 | COND_MONOLITHIC_0___WXLIB_XML_p = \ |
259 | -lwx_base$(WXBASEPORT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_xml-$(WX_RELEASE)$(HOST_SUFFIX) | |
260 | @COND_MONOLITHIC_0@__WXLIB_XML_p = $(COND_MONOLITHIC_0___WXLIB_XML_p) | |
ceec2216 | 261 | COND_MONOLITHIC_0___WXLIB_BASE_p = \ |
a1bf307a | 262 | -lwx_base$(WXBASEPORT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)-$(WX_RELEASE)$(HOST_SUFFIX) |
ceec2216 | 263 | @COND_MONOLITHIC_0@__WXLIB_BASE_p = $(COND_MONOLITHIC_0___WXLIB_BASE_p) |
670ec357 | 264 | COND_MONOLITHIC_1___WXLIB_MONO_p = \ |
a1bf307a | 265 | -lwx_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)-$(WX_RELEASE)$(HOST_SUFFIX) |
670ec357 | 266 | @COND_MONOLITHIC_1@__WXLIB_MONO_p = $(COND_MONOLITHIC_1___WXLIB_MONO_p) |
8ece421c VZ |
267 | @COND_wxUSE_ZLIB_builtin@__LIB_ZLIB_p = \ |
268 | @COND_wxUSE_ZLIB_builtin@ -lwxzlib$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)-$(WX_RELEASE)$(HOST_SUFFIX) | |
269 | COND_wxUSE_REGEX_builtin___LIB_REGEX_p = \ | |
ceec2216 | 270 | -lwxregex$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)-$(WX_RELEASE)$(HOST_SUFFIX) |
8ece421c VZ |
271 | @COND_wxUSE_REGEX_builtin@__LIB_REGEX_p = $(COND_wxUSE_REGEX_builtin___LIB_REGEX_p) |
272 | @COND_wxUSE_EXPAT_builtin@__LIB_EXPAT_p = \ | |
273 | @COND_wxUSE_EXPAT_builtin@ -lwxexpat$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)-$(WX_RELEASE)$(HOST_SUFFIX) | |
670ec357 VS |
274 | |
275 | ### Targets: ### | |
276 | ||
7b4138e2 | 277 | all: test$(EXEEXT) $(__test_gui___depname) $(__test_gui_bundle___depname) data fr |
670ec357 | 278 | |
8ece421c | 279 | install: |
670ec357 VS |
280 | |
281 | uninstall: | |
282 | ||
283 | install-strip: install | |
284 | ||
285 | clean: | |
286 | rm -rf ./.deps ./.pch | |
287 | rm -f ./*.o | |
288 | rm -f test$(EXEEXT) | |
a0744a6b VS |
289 | rm -f test_gui$(EXEEXT) |
290 | rm -rf test_gui.app | |
670ec357 VS |
291 | |
292 | distclean: clean | |
cb327439 | 293 | rm -f config.cache config.log config.status bk-deps bk-make-pch shared-ld-sh Makefile |
670ec357 VS |
294 | |
295 | test$(EXEEXT): $(TEST_OBJECTS) | |
7b4138e2 | 296 | $(CXX) -o $@ $(TEST_OBJECTS) -L$(LIBDIRNAME) $(SAMPLES_RPATH_FLAG) $(CPPUNIT_LIBS) $(LDFLAGS) $(__WXLIB_NET_p) $(__WXLIB_XML_p) $(EXTRALIBS_XML) $(__WXLIB_BASE_p) $(__WXLIB_MONO_p) $(__LIB_ZLIB_p) $(__LIB_REGEX_p) $(__LIB_EXPAT_p) $(EXTRALIBS_FOR_BASE) $(LIBS) |
670ec357 | 297 | |
d3c073a2 | 298 | $(__test___mac_setfilecmd) |
670ec357 | 299 | |
8ece421c VZ |
300 | @COND_USE_PCH_1@./.pch/testprec_test/testprec.h.gch: |
301 | @COND_USE_PCH_1@ $(BK_MAKE_PCH) ./.pch/testprec_test/testprec.h.gch testprec.h $(CXX) $(TEST_CXXFLAGS) | |
8899b155 | 302 | |
a0744a6b | 303 | @COND_USE_GUI_1@test_gui$(EXEEXT): $(TEST_GUI_OBJECTS) $(__test_gui___win32rc) |
9e48b1f5 | 304 | @COND_USE_GUI_1@ $(CXX) -o $@ $(TEST_GUI_OBJECTS) -L$(LIBDIRNAME) $(SAMPLES_RPATH_FLAG) $(CPPUNIT_LIBS) $(LDFLAGS) $(__WXLIB_MEDIA_p) $(EXTRALIBS_MEDIA) $(__WXLIB_XRC_p) $(__WXLIB_XML_p) $(EXTRALIBS_XML) $(__WXLIB_ADV_p) $(PLUGIN_ADV_EXTRALIBS) $(__WXLIB_HTML_p) $(EXTRALIBS_HTML) $(__WXLIB_CORE_p) $(__WXLIB_NET_p) $(__WXLIB_BASE_p) $(__WXLIB_MONO_p) $(__LIB_TIFF_p) $(__LIB_JPEG_p) $(__LIB_PNG_p) $(EXTRALIBS_FOR_GUI) $(__LIB_ZLIB_p) $(__LIB_REGEX_p) $(__LIB_EXPAT_p) $(EXTRALIBS_FOR_BASE) $(LIBS) |
8b73c531 | 305 | @COND_USE_GUI_1@ |
d3c073a2 | 306 | @COND_USE_GUI_1@ $(__test_gui___mac_setfilecmd) |
a0744a6b | 307 | |
4eba7d7d | 308 | @COND_PLATFORM_MACOSX_1_USE_GUI_1@test_gui.app/Contents/PkgInfo: $(__test_gui___depname) $(top_srcdir)/src/osx/carbon/Info.plist.in $(top_srcdir)/src/osx/carbon/wxmac.icns |
e8352927 VS |
309 | @COND_PLATFORM_MACOSX_1_USE_GUI_1@ mkdir -p test_gui.app/Contents |
310 | @COND_PLATFORM_MACOSX_1_USE_GUI_1@ mkdir -p test_gui.app/Contents/MacOS | |
311 | @COND_PLATFORM_MACOSX_1_USE_GUI_1@ mkdir -p test_gui.app/Contents/Resources | |
312 | @COND_PLATFORM_MACOSX_1_USE_GUI_1@ | |
313 | @COND_PLATFORM_MACOSX_1_USE_GUI_1@ | |
314 | @COND_PLATFORM_MACOSX_1_USE_GUI_1@ sed -e "s/IDENTIFIER/`echo $(srcdir) | sed -e 's,\.\./,,g' | sed -e 's,/,.,g'`/" \ | |
315 | @COND_PLATFORM_MACOSX_1_USE_GUI_1@ -e "s/EXECUTABLE/test_gui/" \ | |
316 | @COND_PLATFORM_MACOSX_1_USE_GUI_1@ -e "s/VERSION/$(WX_VERSION)/" \ | |
4eba7d7d | 317 | @COND_PLATFORM_MACOSX_1_USE_GUI_1@ $(top_srcdir)/src/osx/carbon/Info.plist.in >test_gui.app/Contents/Info.plist |
e8352927 VS |
318 | @COND_PLATFORM_MACOSX_1_USE_GUI_1@ |
319 | @COND_PLATFORM_MACOSX_1_USE_GUI_1@ | |
320 | @COND_PLATFORM_MACOSX_1_USE_GUI_1@ echo -n "APPL????" >test_gui.app/Contents/PkgInfo | |
321 | @COND_PLATFORM_MACOSX_1_USE_GUI_1@ | |
322 | @COND_PLATFORM_MACOSX_1_USE_GUI_1@ | |
23513e07 | 323 | @COND_PLATFORM_MACOSX_1_USE_GUI_1@ ln -f test_gui$(EXEEXT) test_gui.app/Contents/MacOS/test_gui |
e8352927 VS |
324 | @COND_PLATFORM_MACOSX_1_USE_GUI_1@ |
325 | @COND_PLATFORM_MACOSX_1_USE_GUI_1@ | |
4eba7d7d | 326 | @COND_PLATFORM_MACOSX_1_USE_GUI_1@ cp -f $(top_srcdir)/src/osx/carbon/wxmac.icns test_gui.app/Contents/Resources/wxmac.icns |
a0744a6b | 327 | |
e8352927 | 328 | @COND_PLATFORM_MACOSX_1_USE_GUI_1@test_gui_bundle: $(____test_gui_BUNDLE_TGT_REF_DEP) |
a0744a6b | 329 | |
8ece421c VZ |
330 | @COND_USE_PCH_1@./.pch/testprec_test_gui/testprec.h.gch: |
331 | @COND_USE_PCH_1@ $(BK_MAKE_PCH) ./.pch/testprec_test_gui/testprec.h.gch testprec.h $(CXX) $(TEST_GUI_CXXFLAGS) | |
a0744a6b | 332 | |
387f829e VS |
333 | data: |
334 | @mkdir -p . | |
21fe35af | 335 | @for f in horse.ani horse.bmp horse.cur horse.gif horse.ico horse.jpg horse.pcx horse.png horse.pnm horse.tga horse.tif horse.xpm; do \ |
0d90d6ea | 336 | if test ! -f ./$$f -a ! -d ./$$f ; \ |
cb327439 MW |
337 | then x=yep ; \ |
338 | else x=`find $(srcdir)/$$f -newer ./$$f -print` ; \ | |
387f829e | 339 | fi; \ |
cb327439 MW |
340 | case "$$x" in ?*) \ |
341 | cp -pRf $(srcdir)/$$f . ;; \ | |
342 | esac; \ | |
387f829e VS |
343 | done |
344 | ||
02f935fb VS |
345 | fr: |
346 | @mkdir -p ./intl/fr | |
347 | @for f in internat.po internat.mo; do \ | |
348 | if test ! -f ./intl/fr/$$f -a ! -d ./intl/fr/$$f ; \ | |
349 | then x=yep ; \ | |
350 | else x=`find $(srcdir)/intl/fr/$$f -newer ./intl/fr/$$f -print` ; \ | |
351 | fi; \ | |
352 | case "$$x" in ?*) \ | |
353 | cp -pRf $(srcdir)/intl/fr/$$f ./intl/fr ;; \ | |
354 | esac; \ | |
355 | done | |
356 | ||
8899b155 | 357 | test_test.o: $(srcdir)/test.cpp $(TEST_ODEP) |
cb327439 | 358 | $(CXXC) -c -o $@ $(TEST_CXXFLAGS) $(srcdir)/test.cpp |
8899b155 | 359 | |
178c7760 JS |
360 | test_anytest.o: $(srcdir)/any/anytest.cpp $(TEST_ODEP) |
361 | $(CXXC) -c -o $@ $(TEST_CXXFLAGS) $(srcdir)/any/anytest.cpp | |
362 | ||
8899b155 | 363 | test_archivetest.o: $(srcdir)/archive/archivetest.cpp $(TEST_ODEP) |
cb327439 | 364 | $(CXXC) -c -o $@ $(TEST_CXXFLAGS) $(srcdir)/archive/archivetest.cpp |
670ec357 | 365 | |
e6477b92 MW |
366 | test_ziptest.o: $(srcdir)/archive/ziptest.cpp $(TEST_ODEP) |
367 | $(CXXC) -c -o $@ $(TEST_CXXFLAGS) $(srcdir)/archive/ziptest.cpp | |
368 | ||
cdd7933f MW |
369 | test_tartest.o: $(srcdir)/archive/tartest.cpp $(TEST_ODEP) |
370 | $(CXXC) -c -o $@ $(TEST_CXXFLAGS) $(srcdir)/archive/tartest.cpp | |
371 | ||
8899b155 | 372 | test_arrays.o: $(srcdir)/arrays/arrays.cpp $(TEST_ODEP) |
cb327439 | 373 | $(CXXC) -c -o $@ $(TEST_CXXFLAGS) $(srcdir)/arrays/arrays.cpp |
17a7bf57 | 374 | |
a8098f86 VZ |
375 | test_base64.o: $(srcdir)/base64/base64.cpp $(TEST_ODEP) |
376 | $(CXXC) -c -o $@ $(TEST_CXXFLAGS) $(srcdir)/base64/base64.cpp | |
377 | ||
5769cf0f VZ |
378 | test_cmdlinetest.o: $(srcdir)/cmdline/cmdlinetest.cpp $(TEST_ODEP) |
379 | $(CXXC) -c -o $@ $(TEST_CXXFLAGS) $(srcdir)/cmdline/cmdlinetest.cpp | |
380 | ||
9222c613 VZ |
381 | test_fileconf.o: $(srcdir)/config/fileconf.cpp $(TEST_ODEP) |
382 | $(CXXC) -c -o $@ $(TEST_CXXFLAGS) $(srcdir)/config/fileconf.cpp | |
383 | ||
8899b155 | 384 | test_datetimetest.o: $(srcdir)/datetime/datetimetest.cpp $(TEST_ODEP) |
cb327439 | 385 | $(CXXC) -c -o $@ $(TEST_CXXFLAGS) $(srcdir)/datetime/datetimetest.cpp |
e70833fb | 386 | |
4fc218c2 VZ |
387 | test_evthandler.o: $(srcdir)/events/evthandler.cpp $(TEST_ODEP) |
388 | $(CXXC) -c -o $@ $(TEST_CXXFLAGS) $(srcdir)/events/evthandler.cpp | |
389 | ||
6b8ef0b3 VZ |
390 | test_evtsource.o: $(srcdir)/events/evtsource.cpp $(TEST_ODEP) |
391 | $(CXXC) -c -o $@ $(TEST_CXXFLAGS) $(srcdir)/events/evtsource.cpp | |
392 | ||
45cb7053 FM |
393 | test_stopwatch.o: $(srcdir)/events/stopwatch.cpp $(TEST_ODEP) |
394 | $(CXXC) -c -o $@ $(TEST_CXXFLAGS) $(srcdir)/events/stopwatch.cpp | |
395 | ||
438febca VZ |
396 | test_timertest.o: $(srcdir)/events/timertest.cpp $(TEST_ODEP) |
397 | $(CXXC) -c -o $@ $(TEST_CXXFLAGS) $(srcdir)/events/timertest.cpp | |
398 | ||
ca5016d4 FM |
399 | test_exec.o: $(srcdir)/exec/exec.cpp $(TEST_ODEP) |
400 | $(CXXC) -c -o $@ $(TEST_CXXFLAGS) $(srcdir)/exec/exec.cpp | |
401 | ||
227989f3 VZ |
402 | test_filetest.o: $(srcdir)/file/filetest.cpp $(TEST_ODEP) |
403 | $(CXXC) -c -o $@ $(TEST_CXXFLAGS) $(srcdir)/file/filetest.cpp | |
404 | ||
0912690b MW |
405 | test_filekind.o: $(srcdir)/filekind/filekind.cpp $(TEST_ODEP) |
406 | $(CXXC) -c -o $@ $(TEST_CXXFLAGS) $(srcdir)/filekind/filekind.cpp | |
407 | ||
8899b155 | 408 | test_filenametest.o: $(srcdir)/filename/filenametest.cpp $(TEST_ODEP) |
cb327439 | 409 | $(CXXC) -c -o $@ $(TEST_CXXFLAGS) $(srcdir)/filename/filenametest.cpp |
ab921f5f | 410 | |
8899b155 | 411 | test_filesystest.o: $(srcdir)/filesys/filesystest.cpp $(TEST_ODEP) |
cb327439 | 412 | $(CXXC) -c -o $@ $(TEST_CXXFLAGS) $(srcdir)/filesys/filesystest.cpp |
3fa86423 | 413 | |
8899b155 | 414 | test_fontmaptest.o: $(srcdir)/fontmap/fontmaptest.cpp $(TEST_ODEP) |
cb327439 | 415 | $(CXXC) -c -o $@ $(TEST_CXXFLAGS) $(srcdir)/fontmap/fontmaptest.cpp |
4827cbd9 | 416 | |
8899b155 | 417 | test_formatconvertertest.o: $(srcdir)/formatconverter/formatconvertertest.cpp $(TEST_ODEP) |
cb327439 | 418 | $(CXXC) -c -o $@ $(TEST_CXXFLAGS) $(srcdir)/formatconverter/formatconvertertest.cpp |
dd65d8c8 | 419 | |
6b8ef0b3 VZ |
420 | test_fswatchertest.o: $(srcdir)/fswatcher/fswatchertest.cpp $(TEST_ODEP) |
421 | $(CXXC) -c -o $@ $(TEST_CXXFLAGS) $(srcdir)/fswatcher/fswatchertest.cpp | |
422 | ||
8899b155 | 423 | test_hashes.o: $(srcdir)/hashes/hashes.cpp $(TEST_ODEP) |
cb327439 | 424 | $(CXXC) -c -o $@ $(TEST_CXXFLAGS) $(srcdir)/hashes/hashes.cpp |
cf1014a2 | 425 | |
02f935fb VS |
426 | test_intltest.o: $(srcdir)/intl/intltest.cpp $(TEST_ODEP) |
427 | $(CXXC) -c -o $@ $(TEST_CXXFLAGS) $(srcdir)/intl/intltest.cpp | |
428 | ||
7d9cfc54 | 429 | test_lists.o: $(srcdir)/lists/lists.cpp $(TEST_ODEP) |
cb327439 | 430 | $(CXXC) -c -o $@ $(TEST_CXXFLAGS) $(srcdir)/lists/lists.cpp |
7d9cfc54 | 431 | |
ece5e6a4 VZ |
432 | test_logtest.o: $(srcdir)/log/logtest.cpp $(TEST_ODEP) |
433 | $(CXXC) -c -o $@ $(TEST_CXXFLAGS) $(srcdir)/log/logtest.cpp | |
434 | ||
8899b155 | 435 | test_longlongtest.o: $(srcdir)/longlong/longlongtest.cpp $(TEST_ODEP) |
cb327439 | 436 | $(CXXC) -c -o $@ $(TEST_CXXFLAGS) $(srcdir)/longlong/longlongtest.cpp |
f9c3d39b | 437 | |
d31a29b5 VZ |
438 | test_convautotest.o: $(srcdir)/mbconv/convautotest.cpp $(TEST_ODEP) |
439 | $(CXXC) -c -o $@ $(TEST_CXXFLAGS) $(srcdir)/mbconv/convautotest.cpp | |
440 | ||
8899b155 | 441 | test_mbconvtest.o: $(srcdir)/mbconv/mbconvtest.cpp $(TEST_ODEP) |
cb327439 | 442 | $(CXXC) -c -o $@ $(TEST_CXXFLAGS) $(srcdir)/mbconv/mbconvtest.cpp |
1b035b8c | 443 | |
604fba2d VZ |
444 | test_misctests.o: $(srcdir)/misc/misctests.cpp $(TEST_ODEP) |
445 | $(CXXC) -c -o $@ $(TEST_CXXFLAGS) $(srcdir)/misc/misctests.cpp | |
446 | ||
7db064f6 JS |
447 | test_typeinfotest.o: $(srcdir)/misc/typeinfotest.cpp $(TEST_ODEP) |
448 | $(CXXC) -c -o $@ $(TEST_CXXFLAGS) $(srcdir)/misc/typeinfotest.cpp | |
449 | ||
e7ce668e VZ |
450 | test_ipc.o: $(srcdir)/net/ipc.cpp $(TEST_ODEP) |
451 | $(CXXC) -c -o $@ $(TEST_CXXFLAGS) $(srcdir)/net/ipc.cpp | |
452 | ||
62fb86a5 VZ |
453 | test_socket.o: $(srcdir)/net/socket.cpp $(TEST_ODEP) |
454 | $(CXXC) -c -o $@ $(TEST_CXXFLAGS) $(srcdir)/net/socket.cpp | |
455 | ||
8899b155 | 456 | test_regextest.o: $(srcdir)/regex/regextest.cpp $(TEST_ODEP) |
cb327439 | 457 | $(CXXC) -c -o $@ $(TEST_CXXFLAGS) $(srcdir)/regex/regextest.cpp |
dd65d8c8 | 458 | |
8899b155 | 459 | test_wxregextest.o: $(srcdir)/regex/wxregextest.cpp $(TEST_ODEP) |
cb327439 | 460 | $(CXXC) -c -o $@ $(TEST_CXXFLAGS) $(srcdir)/regex/wxregextest.cpp |
dd65d8c8 | 461 | |
3c589493 VZ |
462 | test_scopeguardtest.o: $(srcdir)/scopeguard/scopeguardtest.cpp $(TEST_ODEP) |
463 | $(CXXC) -c -o $@ $(TEST_CXXFLAGS) $(srcdir)/scopeguard/scopeguardtest.cpp | |
464 | ||
1530fc09 VZ |
465 | test_iostream.o: $(srcdir)/strings/iostream.cpp $(TEST_ODEP) |
466 | $(CXXC) -c -o $@ $(TEST_CXXFLAGS) $(srcdir)/strings/iostream.cpp | |
467 | ||
8899b155 | 468 | test_strings.o: $(srcdir)/strings/strings.cpp $(TEST_ODEP) |
cb327439 | 469 | $(CXXC) -c -o $@ $(TEST_CXXFLAGS) $(srcdir)/strings/strings.cpp |
dd65d8c8 | 470 | |
8899b155 | 471 | test_stdstrings.o: $(srcdir)/strings/stdstrings.cpp $(TEST_ODEP) |
cb327439 | 472 | $(CXXC) -c -o $@ $(TEST_CXXFLAGS) $(srcdir)/strings/stdstrings.cpp |
1cd53e88 | 473 | |
20a34d96 VZ |
474 | test_tokenizer.o: $(srcdir)/strings/tokenizer.cpp $(TEST_ODEP) |
475 | $(CXXC) -c -o $@ $(TEST_CXXFLAGS) $(srcdir)/strings/tokenizer.cpp | |
476 | ||
c9f78968 VS |
477 | test_unichar.o: $(srcdir)/strings/unichar.cpp $(TEST_ODEP) |
478 | $(CXXC) -c -o $@ $(TEST_CXXFLAGS) $(srcdir)/strings/unichar.cpp | |
479 | ||
8899b155 | 480 | test_unicode.o: $(srcdir)/strings/unicode.cpp $(TEST_ODEP) |
cb327439 | 481 | $(CXXC) -c -o $@ $(TEST_CXXFLAGS) $(srcdir)/strings/unicode.cpp |
405b7d91 | 482 | |
c9f78968 VS |
483 | test_vararg.o: $(srcdir)/strings/vararg.cpp $(TEST_ODEP) |
484 | $(CXXC) -c -o $@ $(TEST_CXXFLAGS) $(srcdir)/strings/vararg.cpp | |
485 | ||
8899b155 | 486 | test_crt.o: $(srcdir)/strings/crt.cpp $(TEST_ODEP) |
cb327439 | 487 | $(CXXC) -c -o $@ $(TEST_CXXFLAGS) $(srcdir)/strings/crt.cpp |
387f829e | 488 | |
3b2cb431 JS |
489 | test_vsnprintf.o: $(srcdir)/strings/vsnprintf.cpp $(TEST_ODEP) |
490 | $(CXXC) -c -o $@ $(TEST_CXXFLAGS) $(srcdir)/strings/vsnprintf.cpp | |
491 | ||
8899b155 | 492 | test_bstream.o: $(srcdir)/streams/bstream.cpp $(TEST_ODEP) |
cb327439 | 493 | $(CXXC) -c -o $@ $(TEST_CXXFLAGS) $(srcdir)/streams/bstream.cpp |
cf8ee08b | 494 | |
7d9cfc54 | 495 | test_datastreamtest.o: $(srcdir)/streams/datastreamtest.cpp $(TEST_ODEP) |
cb327439 | 496 | $(CXXC) -c -o $@ $(TEST_CXXFLAGS) $(srcdir)/streams/datastreamtest.cpp |
7d9cfc54 | 497 | |
8899b155 | 498 | test_ffilestream.o: $(srcdir)/streams/ffilestream.cpp $(TEST_ODEP) |
cb327439 | 499 | $(CXXC) -c -o $@ $(TEST_CXXFLAGS) $(srcdir)/streams/ffilestream.cpp |
7735998c | 500 | |
e2255c89 MW |
501 | test_fileback.o: $(srcdir)/streams/fileback.cpp $(TEST_ODEP) |
502 | $(CXXC) -c -o $@ $(TEST_CXXFLAGS) $(srcdir)/streams/fileback.cpp | |
503 | ||
8899b155 | 504 | test_filestream.o: $(srcdir)/streams/filestream.cpp $(TEST_ODEP) |
cb327439 MW |
505 | $(CXXC) -c -o $@ $(TEST_CXXFLAGS) $(srcdir)/streams/filestream.cpp |
506 | ||
1530fc09 VZ |
507 | test_iostreams.o: $(srcdir)/streams/iostreams.cpp $(TEST_ODEP) |
508 | $(CXXC) -c -o $@ $(TEST_CXXFLAGS) $(srcdir)/streams/iostreams.cpp | |
509 | ||
cb327439 MW |
510 | test_largefile.o: $(srcdir)/streams/largefile.cpp $(TEST_ODEP) |
511 | $(CXXC) -c -o $@ $(TEST_CXXFLAGS) $(srcdir)/streams/largefile.cpp | |
7735998c | 512 | |
8899b155 | 513 | test_memstream.o: $(srcdir)/streams/memstream.cpp $(TEST_ODEP) |
cb327439 | 514 | $(CXXC) -c -o $@ $(TEST_CXXFLAGS) $(srcdir)/streams/memstream.cpp |
7735998c | 515 | |
f9caf1af VZ |
516 | test_socketstream.o: $(srcdir)/streams/socketstream.cpp $(TEST_ODEP) |
517 | $(CXXC) -c -o $@ $(TEST_CXXFLAGS) $(srcdir)/streams/socketstream.cpp | |
518 | ||
8899b155 | 519 | test_sstream.o: $(srcdir)/streams/sstream.cpp $(TEST_ODEP) |
cb327439 | 520 | $(CXXC) -c -o $@ $(TEST_CXXFLAGS) $(srcdir)/streams/sstream.cpp |
7735998c | 521 | |
72a7c559 VZ |
522 | test_stdstream.o: $(srcdir)/streams/stdstream.cpp $(TEST_ODEP) |
523 | $(CXXC) -c -o $@ $(TEST_CXXFLAGS) $(srcdir)/streams/stdstream.cpp | |
524 | ||
e1265174 MW |
525 | test_tempfile.o: $(srcdir)/streams/tempfile.cpp $(TEST_ODEP) |
526 | $(CXXC) -c -o $@ $(TEST_CXXFLAGS) $(srcdir)/streams/tempfile.cpp | |
527 | ||
8899b155 | 528 | test_textstreamtest.o: $(srcdir)/streams/textstreamtest.cpp $(TEST_ODEP) |
cb327439 | 529 | $(CXXC) -c -o $@ $(TEST_CXXFLAGS) $(srcdir)/streams/textstreamtest.cpp |
ceec2216 | 530 | |
8899b155 | 531 | test_zlibstream.o: $(srcdir)/streams/zlibstream.cpp $(TEST_ODEP) |
cb327439 | 532 | $(CXXC) -c -o $@ $(TEST_CXXFLAGS) $(srcdir)/streams/zlibstream.cpp |
7735998c | 533 | |
fb86a4bb VZ |
534 | test_textfiletest.o: $(srcdir)/textfile/textfiletest.cpp $(TEST_ODEP) |
535 | $(CXXC) -c -o $@ $(TEST_CXXFLAGS) $(srcdir)/textfile/textfiletest.cpp | |
536 | ||
173f3c03 VZ |
537 | test_atomic.o: $(srcdir)/thread/atomic.cpp $(TEST_ODEP) |
538 | $(CXXC) -c -o $@ $(TEST_CXXFLAGS) $(srcdir)/thread/atomic.cpp | |
539 | ||
1f5496a0 FM |
540 | test_misc.o: $(srcdir)/thread/misc.cpp $(TEST_ODEP) |
541 | $(CXXC) -c -o $@ $(TEST_CXXFLAGS) $(srcdir)/thread/misc.cpp | |
542 | ||
6aaee6af VZ |
543 | test_queue.o: $(srcdir)/thread/queue.cpp $(TEST_ODEP) |
544 | $(CXXC) -c -o $@ $(TEST_CXXFLAGS) $(srcdir)/thread/queue.cpp | |
545 | ||
8b73c531 VZ |
546 | test_tls.o: $(srcdir)/thread/tls.cpp $(TEST_ODEP) |
547 | $(CXXC) -c -o $@ $(TEST_CXXFLAGS) $(srcdir)/thread/tls.cpp | |
548 | ||
8899b155 | 549 | test_uris.o: $(srcdir)/uris/uris.cpp $(TEST_ODEP) |
cb327439 | 550 | $(CXXC) -c -o $@ $(TEST_CXXFLAGS) $(srcdir)/uris/uris.cpp |
edcccd84 | 551 | |
21fe35af FM |
552 | test_url.o: $(srcdir)/uris/url.cpp $(TEST_ODEP) |
553 | $(CXXC) -c -o $@ $(TEST_CXXFLAGS) $(srcdir)/uris/url.cpp | |
554 | ||
e966f815 VS |
555 | test_vectors.o: $(srcdir)/vectors/vectors.cpp $(TEST_ODEP) |
556 | $(CXXC) -c -o $@ $(TEST_CXXFLAGS) $(srcdir)/vectors/vectors.cpp | |
557 | ||
6490a288 VZ |
558 | test_evtconnection.o: $(srcdir)/weakref/evtconnection.cpp $(TEST_ODEP) |
559 | $(CXXC) -c -o $@ $(TEST_CXXFLAGS) $(srcdir)/weakref/evtconnection.cpp | |
560 | ||
561 | test_weakref.o: $(srcdir)/weakref/weakref.cpp $(TEST_ODEP) | |
562 | $(CXXC) -c -o $@ $(TEST_CXXFLAGS) $(srcdir)/weakref/weakref.cpp | |
563 | ||
6e4ae332 VZ |
564 | test_xlocale.o: $(srcdir)/xlocale/xlocale.cpp $(TEST_ODEP) |
565 | $(CXXC) -c -o $@ $(TEST_CXXFLAGS) $(srcdir)/xlocale/xlocale.cpp | |
566 | ||
5e05df3c VS |
567 | test_xmltest.o: $(srcdir)/xml/xmltest.cpp $(TEST_ODEP) |
568 | $(CXXC) -c -o $@ $(TEST_CXXFLAGS) $(srcdir)/xml/xmltest.cpp | |
569 | ||
0d90d6ea | 570 | test_gui_sample_rc.o: $(srcdir)/../samples/sample.rc $(TEST_GUI_ODEP) |
da8b1d4b | 571 | $(WINDRES) -i$< -o$@ --define __WX$(TOOLKIT)__ $(__WXUNIV_DEFINE_p_5) $(__DEBUG_DEFINE_p_5) $(__EXCEPTIONS_DEFINE_p_5) $(__RTTI_DEFINE_p_5) $(__THREAD_DEFINE_p_5) --include-dir $(srcdir) $(__DLLFLAG_p_5) --include-dir $(srcdir)/../samples $(__RCDEFDIR_p_1) --include-dir $(top_srcdir)/include |
a0744a6b VS |
572 | |
573 | test_gui_test.o: $(srcdir)/test.cpp $(TEST_GUI_ODEP) | |
cb327439 | 574 | $(CXXC) -c -o $@ $(TEST_GUI_CXXFLAGS) $(srcdir)/test.cpp |
a0744a6b | 575 | |
98a50e20 | 576 | test_gui_rect.o: $(srcdir)/geometry/rect.cpp $(TEST_GUI_ODEP) |
cb327439 | 577 | $(CXXC) -c -o $@ $(TEST_GUI_CXXFLAGS) $(srcdir)/geometry/rect.cpp |
98a50e20 | 578 | |
d3c073a2 | 579 | test_gui_size.o: $(srcdir)/geometry/size.cpp $(TEST_GUI_ODEP) |
cb327439 | 580 | $(CXXC) -c -o $@ $(TEST_GUI_CXXFLAGS) $(srcdir)/geometry/size.cpp |
d3c073a2 DE |
581 | |
582 | test_gui_point.o: $(srcdir)/geometry/point.cpp $(TEST_GUI_ODEP) | |
cb327439 | 583 | $(CXXC) -c -o $@ $(TEST_GUI_CXXFLAGS) $(srcdir)/geometry/point.cpp |
b3710b10 | 584 | |
27297c82 VZ |
585 | test_gui_bitmap.o: $(srcdir)/graphics/bitmap.cpp $(TEST_GUI_ODEP) |
586 | $(CXXC) -c -o $@ $(TEST_GUI_CXXFLAGS) $(srcdir)/graphics/bitmap.cpp | |
587 | ||
b0edecea VZ |
588 | test_gui_colour.o: $(srcdir)/graphics/colour.cpp $(TEST_GUI_ODEP) |
589 | $(CXXC) -c -o $@ $(TEST_GUI_CXXFLAGS) $(srcdir)/graphics/colour.cpp | |
590 | ||
a37da0fa FM |
591 | test_gui_ellipsization.o: $(srcdir)/graphics/ellipsization.cpp $(TEST_GUI_ODEP) |
592 | $(CXXC) -c -o $@ $(TEST_GUI_CXXFLAGS) $(srcdir)/graphics/ellipsization.cpp | |
593 | ||
b3710b10 VZ |
594 | test_gui_measuring.o: $(srcdir)/graphics/measuring.cpp $(TEST_GUI_ODEP) |
595 | $(CXXC) -c -o $@ $(TEST_GUI_CXXFLAGS) $(srcdir)/graphics/measuring.cpp | |
d3c073a2 | 596 | |
9222c613 VZ |
597 | test_gui_config.o: $(srcdir)/config/config.cpp $(TEST_GUI_ODEP) |
598 | $(CXXC) -c -o $@ $(TEST_GUI_CXXFLAGS) $(srcdir)/config/config.cpp | |
599 | ||
dc7f9c9c VZ |
600 | test_gui_comboboxtest.o: $(srcdir)/controls/comboboxtest.cpp $(TEST_GUI_ODEP) |
601 | $(CXXC) -c -o $@ $(TEST_GUI_CXXFLAGS) $(srcdir)/controls/comboboxtest.cpp | |
602 | ||
56873923 VZ |
603 | test_gui_headerctrltest.o: $(srcdir)/controls/headerctrltest.cpp $(TEST_GUI_ODEP) |
604 | $(CXXC) -c -o $@ $(TEST_GUI_CXXFLAGS) $(srcdir)/controls/headerctrltest.cpp | |
605 | ||
32ee98eb FM |
606 | test_gui_label.o: $(srcdir)/controls/label.cpp $(TEST_GUI_ODEP) |
607 | $(CXXC) -c -o $@ $(TEST_GUI_CXXFLAGS) $(srcdir)/controls/label.cpp | |
608 | ||
56873923 VZ |
609 | test_gui_listctrltest.o: $(srcdir)/controls/listctrltest.cpp $(TEST_GUI_ODEP) |
610 | $(CXXC) -c -o $@ $(TEST_GUI_CXXFLAGS) $(srcdir)/controls/listctrltest.cpp | |
611 | ||
c0d9b217 VZ |
612 | test_gui_textctrltest.o: $(srcdir)/controls/textctrltest.cpp $(TEST_GUI_ODEP) |
613 | $(CXXC) -c -o $@ $(TEST_GUI_CXXFLAGS) $(srcdir)/controls/textctrltest.cpp | |
614 | ||
f0f6a32d VZ |
615 | test_gui_textentrytest.o: $(srcdir)/controls/textentrytest.cpp $(TEST_GUI_ODEP) |
616 | $(CXXC) -c -o $@ $(TEST_GUI_CXXFLAGS) $(srcdir)/controls/textentrytest.cpp | |
617 | ||
fa97ee24 VZ |
618 | test_gui_treectrltest.o: $(srcdir)/controls/treectrltest.cpp $(TEST_GUI_ODEP) |
619 | $(CXXC) -c -o $@ $(TEST_GUI_CXXFLAGS) $(srcdir)/controls/treectrltest.cpp | |
620 | ||
031b101f VZ |
621 | test_gui_clone.o: $(srcdir)/events/clone.cpp $(TEST_GUI_ODEP) |
622 | $(CXXC) -c -o $@ $(TEST_GUI_CXXFLAGS) $(srcdir)/events/clone.cpp | |
623 | ||
1649d288 VZ |
624 | test_gui_propagation.o: $(srcdir)/events/propagation.cpp $(TEST_GUI_ODEP) |
625 | $(CXXC) -c -o $@ $(TEST_GUI_CXXFLAGS) $(srcdir)/events/propagation.cpp | |
626 | ||
5b06a80f FM |
627 | test_gui_fonttest.o: $(srcdir)/font/fonttest.cpp $(TEST_GUI_ODEP) |
628 | $(CXXC) -c -o $@ $(TEST_GUI_CXXFLAGS) $(srcdir)/font/fonttest.cpp | |
629 | ||
21fe35af FM |
630 | test_gui_image.o: $(srcdir)/image/image.cpp $(TEST_GUI_ODEP) |
631 | $(CXXC) -c -o $@ $(TEST_GUI_CXXFLAGS) $(srcdir)/image/image.cpp | |
632 | ||
3e50a139 VZ |
633 | test_gui_rawbmp.o: $(srcdir)/image/rawbmp.cpp $(TEST_GUI_ODEP) |
634 | $(CXXC) -c -o $@ $(TEST_GUI_CXXFLAGS) $(srcdir)/image/rawbmp.cpp | |
635 | ||
c39058f6 VS |
636 | test_gui_htmlwindow.o: $(srcdir)/html/htmlwindow.cpp $(TEST_GUI_ODEP) |
637 | $(CXXC) -c -o $@ $(TEST_GUI_CXXFLAGS) $(srcdir)/html/htmlwindow.cpp | |
638 | ||
841a25bb VZ |
639 | test_gui_guifuncs.o: $(srcdir)/misc/guifuncs.cpp $(TEST_GUI_ODEP) |
640 | $(CXXC) -c -o $@ $(TEST_GUI_CXXFLAGS) $(srcdir)/misc/guifuncs.cpp | |
641 | ||
c8f80d27 VZ |
642 | test_gui_selstoretest.o: $(srcdir)/misc/selstoretest.cpp $(TEST_GUI_ODEP) |
643 | $(CXXC) -c -o $@ $(TEST_GUI_CXXFLAGS) $(srcdir)/misc/selstoretest.cpp | |
9e48b1f5 FM |
644 | |
645 | test_gui_garbage.o: $(srcdir)/misc/garbage.cpp $(TEST_GUI_ODEP) | |
646 | $(CXXC) -c -o $@ $(TEST_GUI_CXXFLAGS) $(srcdir)/misc/garbage.cpp | |
c8f80d27 | 647 | |
e3527f7b FM |
648 | test_gui_settings.o: $(srcdir)/misc/settings.cpp $(TEST_GUI_ODEP) |
649 | $(CXXC) -c -o $@ $(TEST_GUI_CXXFLAGS) $(srcdir)/misc/settings.cpp | |
650 | ||
1156062f VZ |
651 | test_gui_socket.o: $(srcdir)/net/socket.cpp $(TEST_GUI_ODEP) |
652 | $(CXXC) -c -o $@ $(TEST_GUI_CXXFLAGS) $(srcdir)/net/socket.cpp | |
653 | ||
869c7a94 VZ |
654 | test_gui_boxsizer.o: $(srcdir)/sizers/boxsizer.cpp $(TEST_GUI_ODEP) |
655 | $(CXXC) -c -o $@ $(TEST_GUI_CXXFLAGS) $(srcdir)/sizers/boxsizer.cpp | |
656 | ||
1a86d2e5 VZ |
657 | test_gui_clientsize.o: $(srcdir)/window/clientsize.cpp $(TEST_GUI_ODEP) |
658 | $(CXXC) -c -o $@ $(TEST_GUI_CXXFLAGS) $(srcdir)/window/clientsize.cpp | |
659 | ||
5af86f4d VZ |
660 | test_gui_setsize.o: $(srcdir)/window/setsize.cpp $(TEST_GUI_ODEP) |
661 | $(CXXC) -c -o $@ $(TEST_GUI_CXXFLAGS) $(srcdir)/window/setsize.cpp | |
662 | ||
670ec357 | 663 | |
449cb073 VZ |
664 | # notice the ugly hack with using CXXWARNINGS: we can't use CPPFLAGS as |
665 | # currently the value in the makefile would be ignored if we did, but | |
666 | # warnings don't matter when we expect compilation to fail anyhow so we can | |
667 | # use this variable to enable the compilation of code which is supposed to | |
668 | # fail | |
669 | failtest: | |
670 | @$(RM) test_evthandler.o | |
48c56e04 | 671 | @for d in GLOBAL STATIC METHOD FUNCTOR NO_HANDLER DERIVED WRONG_CLASS; do \ |
449cb073 VZ |
672 | if $(MAKE) CXXWARNINGS=-DTEST_INVALID_BIND_$$d test_evthandler.o 2>/dev/null; then \ |
673 | echo "*** Compilation with TEST_INVALID_BIND_$$d unexpectedly succeeded.">&2; \ | |
674 | exit 1; \ | |
675 | fi; \ | |
676 | done; \ | |
677 | exit 0 | |
678 | ||
679 | .PHONY: failtest | |
680 | ||
670ec357 | 681 | # Include dependency info, if present: |
8ece421c | 682 | @IF_GNU_MAKE@-include ./.deps/*.d |
670ec357 | 683 | |
02f935fb | 684 | .PHONY: all install uninstall clean distclean test_gui_bundle data fr |