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