]> git.saurik.com Git - wxWidgets.git/blame_incremental - tests/Makefile.in
Minor compilo
[wxWidgets.git] / tests / Makefile.in
... / ...
CommitLineData
1# =========================================================================
2# This makefile was generated by
3# Bakefile 0.1.4 (http://bakefile.sourceforge.net)
4# Do not modify, all changes will be overwritten!
5# =========================================================================
6
7
8@MAKE_SET@
9
10prefix = @prefix@
11exec_prefix = @exec_prefix@
12INSTALL = @INSTALL@
13EXEEXT = @EXEEXT@
14RESCOMP = @RESCOMP@
15SETFILE = @SETFILE@
16srcdir = @srcdir@
17top_srcdir = @top_srcdir@
18top_builddir = @top_builddir@
19CXX = @CXX@
20CXXFLAGS = @CXXFLAGS@
21CPPFLAGS = @CPPFLAGS@
22LDFLAGS = @LDFLAGS@
23WX_LIB_FLAVOUR = @WX_LIB_FLAVOUR@
24CPPUNIT_CFLAGS = @CPPUNIT_CFLAGS@
25CPPUNIT_LIBS = @CPPUNIT_LIBS@
26TOOLKIT = @TOOLKIT@
27TOOLKIT_LOWERCASE = @TOOLKIT_LOWERCASE@
28TOOLKIT_VERSION = @TOOLKIT_VERSION@
29TOOLCHAIN_NAME = @TOOLCHAIN_NAME@
30EXTRALIBS = @EXTRALIBS@
31EXTRALIBS_GUI = @EXTRALIBS_GUI@
32HOST_SUFFIX = @HOST_SUFFIX@
33SAMPLES_RPATH_FLAG = @SAMPLES_RPATH_FLAG@
34SAMPLES_RPATH_POSTLINK = @SAMPLES_RPATH_POSTLINK@
35
36### Variables: ###
37
38DESTDIR =
39WX_RELEASE = 2.5
40WX_VERSION = $(WX_RELEASE).3
41LIBDIRNAME = $(top_builddir)lib
42TEST_CXXFLAGS = $(__test_PCH_INC) -D__WX$(TOOLKIT)__ $(__WXUNIV_DEFINE_p) \
43 -I$(srcdir) $(__DLLFLAG_p) $(CPPUNIT_CFLAGS) $(CPPFLAGS) $(CXXFLAGS)
44TEST_OBJECTS = \
45 test_test.o \
46 test_archivetest.o \
47 test_arrays.o \
48 test_datetimetest.o \
49 test_fileconftest.o \
50 test_filenametest.o \
51 test_filesystest.o \
52 test_fontmaptest.o \
53 test_formatconvertertest.o \
54 test_hashes.o \
55 test_lists.o \
56 test_longlongtest.o \
57 test_mbconvtest.o \
58 test_regextest.o \
59 test_wxregextest.o \
60 test_strings.o \
61 test_stdstrings.o \
62 test_unicode.o \
63 test_crt.o \
64 test_bstream.o \
65 test_datastreamtest.o \
66 test_ffilestream.o \
67 test_filestream.o \
68 test_memstream.o \
69 test_sstream.o \
70 test_textstreamtest.o \
71 test_zlibstream.o \
72 test_uris.o
73TEST_ODEP = $(___pch_testprec_test_testprec_h_gch___depname)
74TEST_GUI_CXXFLAGS = $(__test_gui_PCH_INC) -D__WX$(TOOLKIT)__ \
75 $(__WXUNIV_DEFINE_p) -I$(srcdir) $(__DLLFLAG_p) -I$(srcdir)/../samples \
76 $(CPPUNIT_CFLAGS) $(CPPFLAGS) $(CXXFLAGS)
77TEST_GUI_OBJECTS = \
78 $(__test_gui___win32rc) \
79 $(__test_gui_os2_lib_res) \
80 test_gui_test.o \
81 test_gui_rect.o \
82 test_gui_size.o \
83 test_gui_point.o
84TEST_GUI_ODEP = $(___pch_testprec_test_gui_testprec_h_gch___depname)
85
86### Conditionally set variables: ###
87
88@COND_DEPS_TRACKING_0@CXXC = $(CXX)
89@COND_DEPS_TRACKING_1@CXXC = $(top_builddir)./bk-deps $(CXX)
90@COND_USE_GUI_0@PORTNAME = base
91@COND_USE_GUI_1@PORTNAME = $(TOOLKIT_LOWERCASE)$(TOOLKIT_VERSION)
92@COND_TOOLKIT_MAC@WXBASEPORT = _carbon
93@COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT@WXDEBUGFLAG = d
94@COND_DEBUG_FLAG_1@WXDEBUGFLAG = d
95@COND_UNICODE_1@WXUNICODEFLAG = u
96@COND_WXUNIV_1@WXUNIVNAME = univ
97@COND_MONOLITHIC_0@EXTRALIBS_FOR_BASE = $(EXTRALIBS)
98@COND_MONOLITHIC_1@EXTRALIBS_FOR_BASE = $(EXTRALIBS) $(EXTRALIBS_GUI)
99@COND_MONOLITHIC_0@EXTRALIBS_FOR_GUI = $(EXTRALIBS_GUI)
100@COND_MONOLITHIC_1@EXTRALIBS_FOR_GUI =
101@COND_PLATFORM_MAC_1@__test___mac_setfilecmd = \
102@COND_PLATFORM_MAC_1@ $(SETFILE) -t APPL test$(EXEEXT)
103@COND_GCC_PCH_1@__test_PCH_INC = -I.pch/testprec_test
104@COND_GCC_PCH_1@___pch_testprec_test_testprec_h_gch___depname \
105@COND_GCC_PCH_1@ = .pch/testprec_test/testprec.h.gch
106COND_MONOLITHIC_0___WXLIB_NET_p = \
107 -lwx_base$(WXBASEPORT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_net-$(WX_RELEASE)$(HOST_SUFFIX)
108@COND_MONOLITHIC_0@__WXLIB_NET_p = $(COND_MONOLITHIC_0___WXLIB_NET_p)
109@COND_USE_GUI_1@__test_gui___depname = test_gui$(EXEEXT)
110@COND_PLATFORM_MAC_1@__test_gui___mac_setfilecmd = \
111@COND_PLATFORM_MAC_1@ $(SETFILE) -a C test_gui$(EXEEXT)
112@COND_PLATFORM_MAC_1@__test_gui___mac_rezcmd = $(__MACOSX_RESOURCES_p_1)
113@COND_WXUNIV_1@__WXUNIV_DEFINE_p_4 = -d __WXUNIVERSAL__
114@COND_WXUNIV_1@__WXUNIV_DEFINE_p_5 = --define __WXUNIVERSAL__
115@COND_SHARED_1@__DLLFLAG_p_4 = -d WXUSINGDLL
116@COND_SHARED_1@__DLLFLAG_p_5 = --define WXUSINGDLL
117@COND_PLATFORM_WIN32_1@__test_gui___win32rc = test_gui_sample_rc.o
118@COND_PLATFORM_OS2_1@__test_gui_os2_lib_res = \
119@COND_PLATFORM_OS2_1@ $(top_srcdir)/include/wx/os2/wx.res
120@COND_PLATFORM_MACOSX_1@__test_gui_bundle___depname = test_gui_bundle
121@COND_TOOLKIT_COCOA@____test_gui_BUNDLE_TGT_REF_DEP = \
122@COND_TOOLKIT_COCOA@ test_gui.app/Contents/PkgInfo
123@COND_TOOLKIT_MAC@____test_gui_BUNDLE_TGT_REF_DEP = \
124@COND_TOOLKIT_MAC@ test_gui.app/Contents/PkgInfo
125@COND_GCC_PCH_1@__test_gui_PCH_INC = -I.pch/testprec_test_gui
126@COND_GCC_PCH_1@___pch_testprec_test_gui_testprec_h_gch___depname \
127@COND_GCC_PCH_1@ = .pch/testprec_test_gui/testprec.h.gch
128COND_MONOLITHIC_0___WXLIB_CORE_p = \
129 -lwx_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_core-$(WX_RELEASE)$(HOST_SUFFIX)
130@COND_MONOLITHIC_0@__WXLIB_CORE_p = $(COND_MONOLITHIC_0___WXLIB_CORE_p)
131COND_TOOLKIT_MAC___MACOSX_RESOURCES_p_1 = $(RESCOMP) -d __DARWIN__ -t APPL -d \
132 __WX$(TOOLKIT)__ $(__WXUNIV_DEFINE_p_4) -i $(srcdir) $(__DLLFLAG_p_4) -i \
133 $(srcdir)/../samples -i $(top_srcdir)/include -o test_gui$(EXEEXT) Carbon.r \
134 $(LIBDIRNAME)/libwx_$(TOOLCHAIN_NAME).3.r sample.r
135@COND_TOOLKIT_MAC@__MACOSX_RESOURCES_p_1 = $(COND_TOOLKIT_MAC___MACOSX_RESOURCES_p_1)
136@COND_WXUNIV_1@__WXUNIV_DEFINE_p = -D__WXUNIVERSAL__
137@COND_SHARED_1@__DLLFLAG_p = -DWXUSINGDLL
138COND_MONOLITHIC_0___WXLIB_BASE_p = \
139 -lwx_base$(WXBASEPORT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)-$(WX_RELEASE)$(HOST_SUFFIX)
140@COND_MONOLITHIC_0@__WXLIB_BASE_p = $(COND_MONOLITHIC_0___WXLIB_BASE_p)
141COND_MONOLITHIC_1___WXLIB_MONO_p = \
142 -lwx_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)-$(WX_RELEASE)$(HOST_SUFFIX)
143@COND_MONOLITHIC_1@__WXLIB_MONO_p = $(COND_MONOLITHIC_1___WXLIB_MONO_p)
144@COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@__LIB_TIFF_p \
145@COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@ = \
146@COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@ -lwxtiff$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)-$(WX_RELEASE)$(HOST_SUFFIX)
147@COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@__LIB_JPEG_p \
148@COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@ = \
149@COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@ -lwxjpeg$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)-$(WX_RELEASE)$(HOST_SUFFIX)
150@COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@__LIB_PNG_p \
151@COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@ = \
152@COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@ -lwxpng$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)-$(WX_RELEASE)$(HOST_SUFFIX)
153@COND_WXUSE_ZLIB_BUILTIN@__LIB_ZLIB_p = \
154@COND_WXUSE_ZLIB_BUILTIN@ -lwxzlib$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)-$(WX_RELEASE)$(HOST_SUFFIX)
155@COND_WXUSE_ODBC_BUILTIN@__LIB_ODBC_p = \
156@COND_WXUSE_ODBC_BUILTIN@ -lwxodbc$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)-$(WX_RELEASE)$(HOST_SUFFIX)
157COND_WXUSE_REGEX_BUILTIN___LIB_REGEX_p = \
158 -lwxregex$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)-$(WX_RELEASE)$(HOST_SUFFIX)
159@COND_WXUSE_REGEX_BUILTIN@__LIB_REGEX_p = $(COND_WXUSE_REGEX_BUILTIN___LIB_REGEX_p)
160@COND_WXUSE_EXPAT_BUILTIN@__LIB_EXPAT_p = \
161@COND_WXUSE_EXPAT_BUILTIN@ -lwxexpat$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)-$(WX_RELEASE)$(HOST_SUFFIX)
162
163### Targets: ###
164
165all: test$(EXEEXT) $(__test_gui___depname) $(__test_gui_bundle___depname) data
166
167install: all
168
169uninstall:
170
171install-strip: install
172
173clean:
174 rm -rf ./.deps ./.pch
175 rm -f ./*.o
176 rm -f test$(EXEEXT)
177 rm -f test_gui$(EXEEXT)
178 rm -rf test_gui.app
179
180distclean: clean
181 rm -f configure config.cache config.log config.status bk-deps bk-make-pch shared-ld-sh Makefile
182
183test$(EXEEXT): $(TEST_OBJECTS)
184 $(CXX) -o $@ $(TEST_OBJECTS) $(LDFLAGS) -L$(LIBDIRNAME) $(SAMPLES_RPATH_FLAG) $(CPPUNIT_LIBS) $(__WXLIB_NET_p) $(__WXLIB_BASE_p) $(__WXLIB_MONO_p) $(__LIB_TIFF_p) $(__LIB_JPEG_p) $(__LIB_PNG_p) $(__LIB_ZLIB_p) $(__LIB_ODBC_p) $(__LIB_REGEX_p) $(__LIB_EXPAT_p) $(EXTRALIBS_FOR_BASE)
185
186 $(__test___mac_setfilecmd)
187 $(SAMPLES_RPATH_POSTLINK)
188
189@COND_GCC_PCH_1@.pch/testprec_test/testprec.h.gch:
190@COND_GCC_PCH_1@ $(top_builddir)./bk-make-pch .pch/testprec_test/testprec.h.gch testprec.h $(CXX) $(TEST_CXXFLAGS)
191
192@COND_USE_GUI_1@test_gui$(EXEEXT): $(TEST_GUI_OBJECTS) $(__test_gui___win32rc)
193@COND_USE_GUI_1@ $(CXX) -o $@ $(TEST_GUI_OBJECTS) $(LDFLAGS) -L$(LIBDIRNAME) $(SAMPLES_RPATH_FLAG) $(CPPUNIT_LIBS) $(__WXLIB_CORE_p) $(__WXLIB_BASE_p) $(__WXLIB_MONO_p) $(__LIB_TIFF_p) $(__LIB_JPEG_p) $(__LIB_PNG_p) $(__LIB_ZLIB_p) $(__LIB_ODBC_p) $(__LIB_REGEX_p) $(__LIB_EXPAT_p) $(EXTRALIBS_FOR_BASE) $(EXTRALIBS_FOR_GUI)
194@COND_USE_GUI_1@ $(__test_gui___mac_rezcmd)
195@COND_USE_GUI_1@ $(__test_gui___mac_setfilecmd)
196@COND_USE_GUI_1@ $(SAMPLES_RPATH_POSTLINK)
197
198test_gui.app/Contents/PkgInfo: $(__test_gui___depname) $(top_srcdir)/src/mac/carbon/Info.plist.in $(LIBDIRNAME)/libwx_$(TOOLCHAIN_NAME).3.rsrc $(top_srcdir)/src/mac/carbon/wxmac.icns
199 mkdir -p test_gui.app/Contents
200 mkdir -p test_gui.app/Contents/MacOS
201 mkdir -p test_gui.app/Contents/Resources
202
203
204 sed -e "s/IDENTIFIER/`echo $(srcdir) | sed -e 's,\.\./,,g' | sed -e 's,/,.,g'`/" \
205 -e "s/EXECUTABLE/test_gui/" \
206 -e "s/VERSION/$(WX_VERSION)/" \
207 $(top_srcdir)/src/mac/carbon/Info.plist.in >test_gui.app/Contents/Info.plist
208
209
210 echo -n "APPL????" >test_gui.app/Contents/PkgInfo
211
212
213 ln -f test_gui$(EXEEXT) test_gui.app/Contents/MacOS/test_gui
214
215
216 cp -f $(LIBDIRNAME)/libwx_$(TOOLCHAIN_NAME).3.rsrc test_gui.app/Contents/Resources/test_gui.rsrc
217 cp -f $(top_srcdir)/src/mac/carbon/wxmac.icns test_gui.app/Contents/Resources/wxmac.icns
218
219@COND_PLATFORM_MACOSX_1@test_gui_bundle: $(____test_gui_BUNDLE_TGT_REF_DEP)
220
221@COND_GCC_PCH_1@.pch/testprec_test_gui/testprec.h.gch:
222@COND_GCC_PCH_1@ $(top_builddir)./bk-make-pch .pch/testprec_test_gui/testprec.h.gch testprec.h $(CXX) $(TEST_GUI_CXXFLAGS)
223
224data:
225 @mkdir -p .
226 @for f in testdata.fc; do \
227 if test \( ! -s ./$$f \) -o \( $(srcdir)/$$f -nt ./$$f \) ; then \
228 cp -pRf $(srcdir)/$$f . ; \
229 fi; \
230 done
231
232test_test.o: $(srcdir)/test.cpp $(TEST_ODEP)
233 $(CXXC) -c -o $@ $(TEST_CXXFLAGS) $<
234
235test_archivetest.o: $(srcdir)/archive/archivetest.cpp $(TEST_ODEP)
236 $(CXXC) -c -o $@ $(TEST_CXXFLAGS) $<
237
238test_arrays.o: $(srcdir)/arrays/arrays.cpp $(TEST_ODEP)
239 $(CXXC) -c -o $@ $(TEST_CXXFLAGS) $<
240
241test_datetimetest.o: $(srcdir)/datetime/datetimetest.cpp $(TEST_ODEP)
242 $(CXXC) -c -o $@ $(TEST_CXXFLAGS) $<
243
244test_fileconftest.o: $(srcdir)/fileconf/fileconftest.cpp $(TEST_ODEP)
245 $(CXXC) -c -o $@ $(TEST_CXXFLAGS) $<
246
247test_filenametest.o: $(srcdir)/filename/filenametest.cpp $(TEST_ODEP)
248 $(CXXC) -c -o $@ $(TEST_CXXFLAGS) $<
249
250test_filesystest.o: $(srcdir)/filesys/filesystest.cpp $(TEST_ODEP)
251 $(CXXC) -c -o $@ $(TEST_CXXFLAGS) $<
252
253test_fontmaptest.o: $(srcdir)/fontmap/fontmaptest.cpp $(TEST_ODEP)
254 $(CXXC) -c -o $@ $(TEST_CXXFLAGS) $<
255
256test_formatconvertertest.o: $(srcdir)/formatconverter/formatconvertertest.cpp $(TEST_ODEP)
257 $(CXXC) -c -o $@ $(TEST_CXXFLAGS) $<
258
259test_hashes.o: $(srcdir)/hashes/hashes.cpp $(TEST_ODEP)
260 $(CXXC) -c -o $@ $(TEST_CXXFLAGS) $<
261
262test_lists.o: $(srcdir)/lists/lists.cpp $(TEST_ODEP)
263 $(CXXC) -c -o $@ $(TEST_CXXFLAGS) $<
264
265test_longlongtest.o: $(srcdir)/longlong/longlongtest.cpp $(TEST_ODEP)
266 $(CXXC) -c -o $@ $(TEST_CXXFLAGS) $<
267
268test_mbconvtest.o: $(srcdir)/mbconv/mbconvtest.cpp $(TEST_ODEP)
269 $(CXXC) -c -o $@ $(TEST_CXXFLAGS) $<
270
271test_regextest.o: $(srcdir)/regex/regextest.cpp $(TEST_ODEP)
272 $(CXXC) -c -o $@ $(TEST_CXXFLAGS) $<
273
274test_wxregextest.o: $(srcdir)/regex/wxregextest.cpp $(TEST_ODEP)
275 $(CXXC) -c -o $@ $(TEST_CXXFLAGS) $<
276
277test_strings.o: $(srcdir)/strings/strings.cpp $(TEST_ODEP)
278 $(CXXC) -c -o $@ $(TEST_CXXFLAGS) $<
279
280test_stdstrings.o: $(srcdir)/strings/stdstrings.cpp $(TEST_ODEP)
281 $(CXXC) -c -o $@ $(TEST_CXXFLAGS) $<
282
283test_unicode.o: $(srcdir)/strings/unicode.cpp $(TEST_ODEP)
284 $(CXXC) -c -o $@ $(TEST_CXXFLAGS) $<
285
286test_crt.o: $(srcdir)/strings/crt.cpp $(TEST_ODEP)
287 $(CXXC) -c -o $@ $(TEST_CXXFLAGS) $<
288
289test_bstream.o: $(srcdir)/streams/bstream.cpp $(TEST_ODEP)
290 $(CXXC) -c -o $@ $(TEST_CXXFLAGS) $<
291
292test_datastreamtest.o: $(srcdir)/streams/datastreamtest.cpp $(TEST_ODEP)
293 $(CXXC) -c -o $@ $(TEST_CXXFLAGS) $<
294
295test_ffilestream.o: $(srcdir)/streams/ffilestream.cpp $(TEST_ODEP)
296 $(CXXC) -c -o $@ $(TEST_CXXFLAGS) $<
297
298test_filestream.o: $(srcdir)/streams/filestream.cpp $(TEST_ODEP)
299 $(CXXC) -c -o $@ $(TEST_CXXFLAGS) $<
300
301test_memstream.o: $(srcdir)/streams/memstream.cpp $(TEST_ODEP)
302 $(CXXC) -c -o $@ $(TEST_CXXFLAGS) $<
303
304test_sstream.o: $(srcdir)/streams/sstream.cpp $(TEST_ODEP)
305 $(CXXC) -c -o $@ $(TEST_CXXFLAGS) $<
306
307test_textstreamtest.o: $(srcdir)/streams/textstreamtest.cpp $(TEST_ODEP)
308 $(CXXC) -c -o $@ $(TEST_CXXFLAGS) $<
309
310test_zlibstream.o: $(srcdir)/streams/zlibstream.cpp $(TEST_ODEP)
311 $(CXXC) -c -o $@ $(TEST_CXXFLAGS) $<
312
313test_uris.o: $(srcdir)/uris/uris.cpp $(TEST_ODEP)
314 $(CXXC) -c -o $@ $(TEST_CXXFLAGS) $<
315
316test_gui_sample_rc.o: $(srcdir)/../samples/sample.rc $(TEST_GUI_ODEP)
317 $(RESCOMP) -i$< -o$@ --define __WX$(TOOLKIT)__ $(__WXUNIV_DEFINE_p_5) --include-dir $(srcdir) $(__DLLFLAG_p_5) --include-dir $(srcdir)/../samples --include-dir $(top_srcdir)/include
318
319test_gui_test.o: $(srcdir)/test.cpp $(TEST_GUI_ODEP)
320 $(CXXC) -c -o $@ $(TEST_GUI_CXXFLAGS) $<
321
322test_gui_rect.o: $(srcdir)/geometry/rect.cpp $(TEST_GUI_ODEP)
323 $(CXXC) -c -o $@ $(TEST_GUI_CXXFLAGS) $<
324
325test_gui_size.o: $(srcdir)/geometry/size.cpp $(TEST_GUI_ODEP)
326 $(CXXC) -c -o $@ $(TEST_GUI_CXXFLAGS) $<
327
328test_gui_point.o: $(srcdir)/geometry/point.cpp $(TEST_GUI_ODEP)
329 $(CXXC) -c -o $@ $(TEST_GUI_CXXFLAGS) $<
330
331
332# Include dependency info, if present:
333@IF_GNU_MAKE@-include .deps/*.d
334
335.PHONY: all install uninstall clean distclean test_gui_bundle data