]>
Commit | Line | Data |
---|---|---|
0c45b8e0 | 1 | # Makefile.in generated automatically by automake 1.4-p6 from Makefile.am |
62f079c5 | 2 | |
93b85586 | 3 | # Copyright (C) 1994, 1995-8, 1999, 2001 Free Software Foundation, Inc. |
62f079c5 BK |
4 | # This Makefile.in is free software; the Free Software Foundation |
5 | # gives unlimited permission to copy and/or distribute it, | |
6 | # with or without modifications, as long as this notice is preserved. | |
7 | ||
8 | # This program is distributed in the hope that it will be useful, | |
9 | # but WITHOUT ANY WARRANTY, to the extent permitted by law; without | |
10 | # even the implied warranty of MERCHANTABILITY or FITNESS FOR A | |
11 | # PARTICULAR PURPOSE. | |
12 | ||
13 | ||
14 | SHELL = @SHELL@ | |
15 | ||
16 | srcdir = @srcdir@ | |
17 | top_srcdir = @top_srcdir@ | |
18 | VPATH = @srcdir@ | |
19 | prefix = @prefix@ | |
20 | exec_prefix = @exec_prefix@ | |
21 | ||
22 | bindir = @bindir@ | |
23 | sbindir = @sbindir@ | |
24 | libexecdir = @libexecdir@ | |
25 | datadir = @datadir@ | |
26 | sysconfdir = @sysconfdir@ | |
27 | sharedstatedir = @sharedstatedir@ | |
28 | localstatedir = @localstatedir@ | |
29 | libdir = @libdir@ | |
30 | infodir = @infodir@ | |
31 | mandir = @mandir@ | |
32 | includedir = @includedir@ | |
33 | oldincludedir = /usr/include | |
34 | ||
35 | DESTDIR = | |
36 | ||
37 | pkgdatadir = $(datadir)/@PACKAGE@ | |
38 | pkglibdir = $(libdir)/@PACKAGE@ | |
39 | pkgincludedir = $(includedir)/@PACKAGE@ | |
40 | ||
41 | top_builddir = .. | |
42 | ||
43 | ACLOCAL = @ACLOCAL@ | |
44 | AUTOCONF = @AUTOCONF@ | |
45 | AUTOMAKE = @AUTOMAKE@ | |
46 | AUTOHEADER = @AUTOHEADER@ | |
47 | ||
48 | INSTALL = @INSTALL@ | |
49 | INSTALL_PROGRAM = @INSTALL_PROGRAM@ $(AM_INSTALL_PROGRAM_FLAGS) | |
50 | INSTALL_DATA = @INSTALL_DATA@ | |
51 | INSTALL_SCRIPT = @INSTALL_SCRIPT@ | |
52 | transform = @program_transform_name@ | |
53 | ||
54 | NORMAL_INSTALL = : | |
55 | PRE_INSTALL = : | |
56 | POST_INSTALL = : | |
57 | NORMAL_UNINSTALL = : | |
58 | PRE_UNINSTALL = : | |
59 | POST_UNINSTALL = : | |
60 | build_alias = @build_alias@ | |
61 | build_triplet = @build@ | |
62 | host_alias = @host_alias@ | |
63 | host_triplet = @host@ | |
64 | target_alias = @target_alias@ | |
65 | target_triplet = @target@ | |
66 | AR = @AR@ | |
67 | AS = @AS@ | |
4a9d5109 | 68 | ATOMICITY_INC_SRCDIR = @ATOMICITY_INC_SRCDIR@ |
ab3bc736 | 69 | AWK = @AWK@ |
6aa43d99 | 70 | BASIC_FILE_CC = @BASIC_FILE_CC@ |
4a9d5109 | 71 | BASIC_FILE_H = @BASIC_FILE_H@ |
62f079c5 | 72 | CC = @CC@ |
6aa43d99 | 73 | CCODECVT_CC = @CCODECVT_CC@ |
33590f13 | 74 | CCODECVT_H = @CCODECVT_H@ |
6aa43d99 BK |
75 | CCOLLATE_CC = @CCOLLATE_CC@ |
76 | CCTYPE_CC = @CCTYPE_CC@ | |
77 | CLOCALE_CC = @CLOCALE_CC@ | |
4a9d5109 | 78 | CLOCALE_H = @CLOCALE_H@ |
6aa43d99 BK |
79 | CLOCALE_INTERNAL_H = @CLOCALE_INTERNAL_H@ |
80 | CMESSAGES_CC = @CMESSAGES_CC@ | |
33590f13 | 81 | CMESSAGES_H = @CMESSAGES_H@ |
6aa43d99 BK |
82 | CMONEY_CC = @CMONEY_CC@ |
83 | CNUMERIC_CC = @CNUMERIC_CC@ | |
62f079c5 | 84 | CPP = @CPP@ |
4a9d5109 | 85 | CSTDIO_H = @CSTDIO_H@ |
6aa43d99 | 86 | CTIME_CC = @CTIME_CC@ |
1c26d8fd | 87 | CTIME_H = @CTIME_H@ |
62f079c5 | 88 | CXXCPP = @CXXCPP@ |
62f079c5 BK |
89 | C_INCLUDE_DIR = @C_INCLUDE_DIR@ |
90 | DEBUG_FLAGS = @DEBUG_FLAGS@ | |
91 | DLLTOOL = @DLLTOOL@ | |
92 | EXEEXT = @EXEEXT@ | |
93 | EXTRA_CXX_FLAGS = @EXTRA_CXX_FLAGS@ | |
94 | GCJ = @GCJ@ | |
95 | GCJFLAGS = @GCJFLAGS@ | |
4a9d5109 | 96 | GLIBCPP_IS_CROSS_COMPILING = @GLIBCPP_IS_CROSS_COMPILING@ |
62f079c5 BK |
97 | LIBMATHOBJS = @LIBMATHOBJS@ |
98 | LIBMATH_INCLUDES = @LIBMATH_INCLUDES@ | |
f8e4b51d | 99 | LIBSUPCXX_PICFLAGS = @LIBSUPCXX_PICFLAGS@ |
62f079c5 | 100 | LIBTOOL = @LIBTOOL@ |
263c6fa8 | 101 | LIBUNWIND_FLAG = @LIBUNWIND_FLAG@ |
62f079c5 BK |
102 | LN_S = @LN_S@ |
103 | MAINT = @MAINT@ | |
104 | MAKEINFO = @MAKEINFO@ | |
105 | OBJDUMP = @OBJDUMP@ | |
106 | OBJEXT = @OBJEXT@ | |
107 | OPTIMIZE_CXXFLAGS = @OPTIMIZE_CXXFLAGS@ | |
108 | OPT_LDFLAGS = @OPT_LDFLAGS@ | |
4a9d5109 | 109 | OS_INC_SRCDIR = @OS_INC_SRCDIR@ |
62f079c5 BK |
110 | PACKAGE = @PACKAGE@ |
111 | RANLIB = @RANLIB@ | |
112 | SECTION_FLAGS = @SECTION_FLAGS@ | |
113 | SECTION_LDFLAGS = @SECTION_LDFLAGS@ | |
114 | STRIP = @STRIP@ | |
6aa43d99 | 115 | SYMVER_MAP = @SYMVER_MAP@ |
33590f13 | 116 | USE_NLS = @USE_NLS@ |
62f079c5 BK |
117 | VERSION = @VERSION@ |
118 | WARN_FLAGS = @WARN_FLAGS@ | |
119 | WERROR = @WERROR@ | |
501e321e | 120 | check_msgfmt = @check_msgfmt@ |
62f079c5 BK |
121 | enable_shared = @enable_shared@ |
122 | enable_static = @enable_static@ | |
46840bcd | 123 | glibcpp_CXX = @glibcpp_CXX@ |
33590f13 | 124 | glibcpp_MOFILES = @glibcpp_MOFILES@ |
58ac1d7f | 125 | glibcpp_PCHFLAGS = @glibcpp_PCHFLAGS@ |
4e10943d | 126 | glibcpp_POFILES = @glibcpp_POFILES@ |
62f079c5 | 127 | glibcpp_basedir = @glibcpp_basedir@ |
33590f13 | 128 | glibcpp_localedir = @glibcpp_localedir@ |
c6192d88 | 129 | glibcpp_prefixdir = @glibcpp_prefixdir@ |
4a9d5109 | 130 | glibcpp_thread_h = @glibcpp_thread_h@ |
62f079c5 BK |
131 | glibcpp_toolexecdir = @glibcpp_toolexecdir@ |
132 | glibcpp_toolexeclibdir = @glibcpp_toolexeclibdir@ | |
133 | gxx_include_dir = @gxx_include_dir@ | |
134 | ifGNUmake = @ifGNUmake@ | |
4e10943d | 135 | libtool_VERSION = @libtool_VERSION@ |
62f079c5 | 136 | toplevel_srcdir = @toplevel_srcdir@ |
62f079c5 | 137 | |
8b5fd469 | 138 | AUTOMAKE_OPTIONS = cygnus dejagnu |
62f079c5 | 139 | |
a1af4623 AJ |
140 | mkinstalldirs = $(SHELL) $(toplevel_srcdir)/mkinstalldirs |
141 | ||
c6192d88 | 142 | DEJATOOL = libstdc++-v3 |
62f079c5 | 143 | |
58ac1d7f BK |
144 | EXPECT = `if [ -f @glibcpp_builddir@/../../expect/expect ] ; then \ |
145 | echo @glibcpp_builddir@/../../expect/expect ; \ | |
146 | else echo expect ; fi` | |
62f079c5 | 147 | |
c6192d88 | 148 | |
58ac1d7f BK |
149 | RUNTEST = `if [ -f @glibcpp_srcdir@/../dejagnu/runtest ] ; then \ |
150 | echo @glibcpp_srcdir@/../dejagnu/runtest ; \ | |
151 | else echo runtest; fi` | |
c6192d88 BK |
152 | |
153 | ||
2c839a4e | 154 | AM_RUNTESTFLAGS = |
c6192d88 | 155 | RUNTESTFLAGS = |
8ea08b7d | 156 | |
0676e930 BK |
157 | glibcpp_srcdir = @glibcpp_srcdir@ |
158 | glibcpp_builddir = @glibcpp_builddir@ | |
159 | testsuite_flags_script = ${glibcpp_builddir}/scripts/testsuite_flags | |
160 | CXX = `${testsuite_flags_script} --build-cxx` | |
161 | ||
58ac1d7f BK |
162 | CXXLINK = \ |
163 | LD_RUN_PATH=$${LD_RUN_PATH:+$$LD_RUN_PATH:}${glibcpp_builddir}/src/.libs\ | |
164 | $(LIBTOOL) --tag=CXX --mode=link $(CXX) \ | |
165 | $(AM_CXXFLAGS) $(CXXFLAGS) $(LDFLAGS) -o $@ | |
747d0967 BK |
166 | |
167 | ||
0676e930 BK |
168 | GLIBCPP_INCLUDES = @GLIBCPP_INCLUDES@ |
169 | LIBSUPCXX_INCLUDES = @LIBSUPCXX_INCLUDES@ | |
170 | TOPLEVEL_INCLUDES = @TOPLEVEL_INCLUDES@ | |
58ac1d7f BK |
171 | INCLUDES = \ |
172 | -nostdinc++ \ | |
173 | @GLIBCPP_INCLUDES@ @LIBSUPCXX_INCLUDES@ @TOPLEVEL_INCLUDES@ | |
49bc23b7 | 174 | |
8ea08b7d PE |
175 | |
176 | noinst_LIBRARIES = libv3test.a | |
162c7cd9 | 177 | libv3test_a_SOURCES = testsuite_hooks.cc testsuite_allocator.cc |
c4c064e7 BK |
178 | @GLIBCPP_TEST_ABI_TRUE@noinst_PROGRAMS = @GLIBCPP_TEST_ABI_TRUE@abi_check |
179 | @GLIBCPP_TEST_ABI_FALSE@noinst_PROGRAMS = | |
747d0967 | 180 | abi_check_SOURCES = abi_check.cc |
6b543e86 | 181 | |
a1af4623 AJ |
182 | baseline_dir = @baseline_dir@ |
183 | baseline_file = ${baseline_dir}/baseline_symbols.txt | |
0676e930 BK |
184 | extract_symvers = @glibcpp_srcdir@/scripts/extract_symvers |
185 | ||
186 | # These two special 'check-script' rules use the bash script 'check' | |
187 | # to do testing. This script is not as portable as the dejagnu test | |
188 | # harness, and is thus off by default. It does produce interesting | |
189 | # output however, including various performance analysis items like | |
190 | # compile time, execution time, and binary size. | |
191 | check_survey = ${glibcpp_builddir}/scripts/check_survey | |
192 | ||
193 | # Runs the testsuite/performance tests. | |
194 | # Some of these tests create large (~75MB) files, allocate huge | |
195 | # ammounts of memory, or otherwise tie up machine resources. Thus, | |
196 | # running this is off by default. | |
197 | check_performance = ${glibcpp_srcdir}/scripts/check_performance | |
c4c064e7 | 198 | |
6b543e86 | 199 | # By adding these files here, automake will remove them for 'make clean' |
58ac1d7f | 200 | CLEANFILES = *.txt *.tst *.exe core* filebuf_* tmp* ostream_* *.log *.sum \ |
0676e930 | 201 | testsuite_* site.exp abi_check baseline_symbols |
6b543e86 | 202 | |
58b08ac3 | 203 | CONFIG_HEADER = ../config.h |
62f079c5 | 204 | CONFIG_CLEAN_FILES = |
8ea08b7d PE |
205 | LIBRARIES = $(noinst_LIBRARIES) |
206 | ||
207 | ||
208 | DEFS = @DEFS@ -I. -I$(srcdir) -I.. | |
209 | CPPFLAGS = @CPPFLAGS@ | |
210 | LDFLAGS = @LDFLAGS@ | |
211 | LIBS = @LIBS@ | |
212 | libv3test_a_LIBADD = | |
162c7cd9 SW |
213 | libv3test_a_OBJECTS = testsuite_hooks.$(OBJEXT) \ |
214 | testsuite_allocator.$(OBJEXT) | |
c4c064e7 | 215 | @GLIBCPP_TEST_ABI_FALSE@noinst_PROGRAMS = |
747d0967 BK |
216 | PROGRAMS = $(noinst_PROGRAMS) |
217 | ||
218 | abi_check_OBJECTS = abi_check.$(OBJEXT) | |
219 | abi_check_LDADD = $(LDADD) | |
220 | abi_check_DEPENDENCIES = | |
221 | abi_check_LDFLAGS = | |
8ea08b7d PE |
222 | CXXFLAGS = @CXXFLAGS@ |
223 | CXXCOMPILE = $(CXX) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) | |
224 | LTCXXCOMPILE = $(LIBTOOL) --mode=compile $(CXX) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) | |
225 | CXXLD = $(CXX) | |
58ac1d7f | 226 | DIST_COMMON = Makefile.am Makefile.in |
62f079c5 BK |
227 | |
228 | ||
229 | DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST) | |
230 | ||
58ac1d7f | 231 | TAR = gtar |
62f079c5 | 232 | GZIP_ENV = --best |
747d0967 BK |
233 | SOURCES = $(libv3test_a_SOURCES) $(abi_check_SOURCES) |
234 | OBJECTS = $(libv3test_a_OBJECTS) $(abi_check_OBJECTS) | |
8ea08b7d | 235 | |
62f079c5 BK |
236 | all: all-redirect |
237 | .SUFFIXES: | |
8ea08b7d | 238 | .SUFFIXES: .S .c .cc .lo .o .obj .s |
62f079c5 | 239 | $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) |
8b5fd469 | 240 | cd $(top_srcdir) && $(AUTOMAKE) --cygnus testsuite/Makefile |
62f079c5 | 241 | |
8b5fd469 | 242 | Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status |
62f079c5 BK |
243 | cd $(top_builddir) \ |
244 | && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status | |
245 | ||
8ea08b7d PE |
246 | |
247 | mostlyclean-noinstLIBRARIES: | |
248 | ||
249 | clean-noinstLIBRARIES: | |
250 | -test -z "$(noinst_LIBRARIES)" || rm -f $(noinst_LIBRARIES) | |
251 | ||
252 | distclean-noinstLIBRARIES: | |
253 | ||
254 | maintainer-clean-noinstLIBRARIES: | |
255 | ||
8b5fd469 LR |
256 | .c.o: |
257 | $(COMPILE) -c $< | |
258 | ||
8ea08b7d PE |
259 | # FIXME: We should only use cygpath when building on Windows, |
260 | # and only if it is available. | |
261 | .c.obj: | |
262 | $(COMPILE) -c `cygpath -w $<` | |
263 | ||
264 | .s.o: | |
265 | $(COMPILE) -c $< | |
266 | ||
267 | .S.o: | |
268 | $(COMPILE) -c $< | |
269 | ||
270 | mostlyclean-compile: | |
271 | -rm -f *.o core *.core | |
272 | -rm -f *.$(OBJEXT) | |
273 | ||
274 | clean-compile: | |
275 | ||
276 | distclean-compile: | |
277 | -rm -f *.tab.c | |
278 | ||
279 | maintainer-clean-compile: | |
280 | ||
8b5fd469 LR |
281 | .c.lo: |
282 | $(LIBTOOL) --mode=compile $(COMPILE) -c $< | |
283 | ||
8ea08b7d PE |
284 | .s.lo: |
285 | $(LIBTOOL) --mode=compile $(COMPILE) -c $< | |
286 | ||
287 | .S.lo: | |
288 | $(LIBTOOL) --mode=compile $(COMPILE) -c $< | |
289 | ||
290 | mostlyclean-libtool: | |
291 | -rm -f *.lo | |
292 | ||
293 | clean-libtool: | |
294 | -rm -rf .libs _libs | |
295 | ||
296 | distclean-libtool: | |
297 | ||
298 | maintainer-clean-libtool: | |
299 | ||
300 | libv3test.a: $(libv3test_a_OBJECTS) $(libv3test_a_DEPENDENCIES) | |
301 | -rm -f libv3test.a | |
302 | $(AR) cru libv3test.a $(libv3test_a_OBJECTS) $(libv3test_a_LIBADD) | |
303 | $(RANLIB) libv3test.a | |
747d0967 BK |
304 | |
305 | mostlyclean-noinstPROGRAMS: | |
306 | ||
307 | clean-noinstPROGRAMS: | |
308 | -test -z "$(noinst_PROGRAMS)" || rm -f $(noinst_PROGRAMS) | |
309 | ||
310 | distclean-noinstPROGRAMS: | |
311 | ||
312 | maintainer-clean-noinstPROGRAMS: | |
313 | ||
314 | abi_check$(EXEEXT): $(abi_check_OBJECTS) $(abi_check_DEPENDENCIES) | |
315 | @rm -f abi_check$(EXEEXT) | |
316 | $(CXXLINK) $(abi_check_LDFLAGS) $(abi_check_OBJECTS) $(abi_check_LDADD) $(LIBS) | |
8ea08b7d PE |
317 | .cc.o: |
318 | $(CXXCOMPILE) -c $< | |
319 | .cc.obj: | |
320 | $(CXXCOMPILE) -c `cygpath -w $<` | |
321 | .cc.lo: | |
322 | $(LTCXXCOMPILE) -c $< | |
323 | ||
62f079c5 | 324 | tags: TAGS |
62f079c5 | 325 | |
8ea08b7d PE |
326 | ID: $(HEADERS) $(SOURCES) $(LISP) |
327 | list='$(SOURCES) $(HEADERS)'; \ | |
328 | unique=`for i in $$list; do echo $$i; done | \ | |
329 | awk ' { files[$$0] = 1; } \ | |
330 | END { for (i in files) print i; }'`; \ | |
331 | here=`pwd` && cd $(srcdir) \ | |
332 | && mkid -f$$here/ID $$unique $(LISP) | |
333 | ||
334 | TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) $(LISP) | |
335 | tags=; \ | |
336 | here=`pwd`; \ | |
337 | list='$(SOURCES) $(HEADERS)'; \ | |
338 | unique=`for i in $$list; do echo $$i; done | \ | |
339 | awk ' { files[$$0] = 1; } \ | |
340 | END { for (i in files) print i; }'`; \ | |
341 | test -z "$(ETAGS_ARGS)$$unique$(LISP)$$tags" \ | |
58ac1d7f | 342 | || (cd $(srcdir) && etags $(ETAGS_ARGS) $$tags $$unique $(LISP) -o $$here/TAGS) |
8ea08b7d PE |
343 | |
344 | mostlyclean-tags: | |
345 | ||
346 | clean-tags: | |
347 | ||
348 | distclean-tags: | |
349 | -rm -f TAGS ID | |
350 | ||
351 | maintainer-clean-tags: | |
62f079c5 BK |
352 | |
353 | distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir) | |
354 | ||
355 | subdir = testsuite | |
356 | ||
357 | distdir: $(DISTFILES) | |
358 | @for file in $(DISTFILES); do \ | |
8b5fd469 | 359 | if test -f $$file; then d=.; else d=$(srcdir); fi; \ |
62f079c5 BK |
360 | if test -d $$d/$$file; then \ |
361 | cp -pr $$d/$$file $(distdir)/$$file; \ | |
362 | else \ | |
363 | test -f $(distdir)/$$file \ | |
364 | || ln $$d/$$file $(distdir)/$$file 2> /dev/null \ | |
365 | || cp -p $$d/$$file $(distdir)/$$file || :; \ | |
366 | fi; \ | |
367 | done | |
368 | ||
62f079c5 BK |
369 | RUNTESTDEFAULTFLAGS = --tool $(DEJATOOL) --srcdir $$srcdir |
370 | ||
371 | check-DEJAGNU: site.exp | |
372 | srcdir=`cd $(srcdir) && pwd`; export srcdir; \ | |
373 | EXPECT=$(EXPECT); export EXPECT; \ | |
8b5fd469 LR |
374 | if [ -f $(top_builddir)/../expect/expect ]; then \ |
375 | TCL_LIBRARY=`cd $(top_srcdir)/../tcl/library && pwd`; \ | |
376 | export TCL_LIBRARY; \ | |
377 | fi; \ | |
62f079c5 BK |
378 | runtest=$(RUNTEST); \ |
379 | if $(SHELL) -c "$$runtest --version" > /dev/null 2>&1; then \ | |
380 | $$runtest $(RUNTESTDEFAULTFLAGS) $(RUNTESTFLAGS); \ | |
381 | else echo "WARNING: could not find \`runtest'" 1>&2; :;\ | |
382 | fi | |
383 | site.exp: Makefile | |
384 | @echo 'Making a new site.exp file...' | |
385 | @test ! -f site.bak || rm -f site.bak | |
386 | @echo '## these variables are automatically generated by make ##' > $@-t | |
387 | @echo '# Do not edit here. If you wish to override these values' >> $@-t | |
388 | @echo '# edit the last section' >> $@-t | |
389 | @echo 'set tool $(DEJATOOL)' >> $@-t | |
390 | @echo 'set srcdir $(srcdir)' >> $@-t | |
391 | @echo 'set objdir' `pwd` >> $@-t | |
392 | @echo 'set host_alias $(host_alias)' >> $@-t | |
393 | @echo 'set host_triplet $(host_triplet)' >> $@-t | |
394 | @echo 'set target_alias $(target_alias)' >> $@-t | |
395 | @echo 'set target_triplet $(target_triplet)' >> $@-t | |
396 | @echo 'set build_alias $(build_alias)' >> $@-t | |
397 | @echo 'set build_triplet $(build_triplet)' >> $@-t | |
398 | @echo '## All variables above are generated by configure. Do Not Edit ##' >> $@-t | |
58ac1d7f | 399 | @test ! -f site.exp || sed '1,/^## All variables above are.*##/ d' site.exp >> $@-t |
62f079c5 BK |
400 | @test ! -f site.exp || mv site.exp site.bak |
401 | @mv $@-t site.exp | |
402 | info-am: | |
403 | info: info-am | |
404 | dvi-am: | |
405 | dvi: dvi-am | |
8b5fd469 | 406 | check-am: |
c4c064e7 | 407 | $(MAKE) $(AM_MAKEFLAGS) check-DEJAGNU check-local |
62f079c5 BK |
408 | check: check-am |
409 | installcheck-am: | |
410 | installcheck: installcheck-am | |
8b5fd469 LR |
411 | install-info-am: |
412 | install-info: install-info-am | |
62f079c5 BK |
413 | install-exec-am: |
414 | install-exec: install-exec-am | |
415 | ||
416 | install-data-am: | |
417 | install-data: install-data-am | |
418 | ||
419 | install-am: all-am | |
420 | @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am | |
421 | install: install-am | |
422 | uninstall-am: | |
423 | uninstall: uninstall-am | |
6b543e86 | 424 | all-am: Makefile $(LIBRARIES) $(PROGRAMS) all-local |
62f079c5 BK |
425 | all-redirect: all-am |
426 | install-strip: | |
427 | $(MAKE) $(AM_MAKEFLAGS) AM_INSTALL_PROGRAM_FLAGS=-s install | |
428 | installdirs: | |
429 | ||
430 | ||
431 | mostlyclean-generic: | |
432 | ||
433 | clean-generic: | |
6b543e86 | 434 | -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES) |
62f079c5 BK |
435 | |
436 | distclean-generic: | |
437 | -rm -f Makefile $(CONFIG_CLEAN_FILES) | |
438 | -rm -f config.cache config.log stamp-h stamp-h[0-9]* | |
439 | ||
440 | maintainer-clean-generic: | |
8ea08b7d | 441 | mostlyclean-am: mostlyclean-noinstLIBRARIES mostlyclean-compile \ |
747d0967 BK |
442 | mostlyclean-libtool mostlyclean-noinstPROGRAMS \ |
443 | mostlyclean-tags mostlyclean-generic | |
62f079c5 BK |
444 | |
445 | mostlyclean: mostlyclean-am | |
446 | ||
747d0967 BK |
447 | clean-am: clean-noinstLIBRARIES clean-compile clean-libtool \ |
448 | clean-noinstPROGRAMS clean-tags clean-generic \ | |
449 | mostlyclean-am | |
62f079c5 BK |
450 | |
451 | clean: clean-am | |
452 | ||
8ea08b7d | 453 | distclean-am: distclean-noinstLIBRARIES distclean-compile \ |
747d0967 BK |
454 | distclean-libtool distclean-noinstPROGRAMS \ |
455 | distclean-tags distclean-generic clean-am | |
62f079c5 BK |
456 | -rm -f libtool |
457 | ||
458 | distclean: distclean-am | |
459 | ||
8ea08b7d PE |
460 | maintainer-clean-am: maintainer-clean-noinstLIBRARIES \ |
461 | maintainer-clean-compile maintainer-clean-libtool \ | |
747d0967 BK |
462 | maintainer-clean-noinstPROGRAMS maintainer-clean-tags \ |
463 | maintainer-clean-generic distclean-am | |
62f079c5 BK |
464 | @echo "This command is intended for maintainers to use;" |
465 | @echo "it deletes files that may require special tools to rebuild." | |
466 | ||
467 | maintainer-clean: maintainer-clean-am | |
468 | ||
8ea08b7d PE |
469 | .PHONY: mostlyclean-noinstLIBRARIES distclean-noinstLIBRARIES \ |
470 | clean-noinstLIBRARIES maintainer-clean-noinstLIBRARIES \ | |
471 | mostlyclean-compile distclean-compile clean-compile \ | |
472 | maintainer-clean-compile mostlyclean-libtool distclean-libtool \ | |
747d0967 BK |
473 | clean-libtool maintainer-clean-libtool mostlyclean-noinstPROGRAMS \ |
474 | distclean-noinstPROGRAMS clean-noinstPROGRAMS \ | |
475 | maintainer-clean-noinstPROGRAMS tags mostlyclean-tags distclean-tags \ | |
476 | clean-tags maintainer-clean-tags distdir check-DEJAGNU info-am info \ | |
c4c064e7 BK |
477 | dvi-am dvi check-local check check-am installcheck-am installcheck \ |
478 | install-info-am install-info install-exec-am install-exec \ | |
479 | install-data-am install-data install-am install uninstall-am uninstall \ | |
480 | all-local all-redirect all-am all installdirs mostlyclean-generic \ | |
481 | distclean-generic clean-generic maintainer-clean-generic clean \ | |
482 | mostlyclean distclean maintainer-clean | |
483 | ||
62f079c5 | 484 | |
c4c064e7 | 485 | all-local: stamp_wchar |
62f079c5 | 486 | |
6b543e86 | 487 | # Enable wchar_t tests if capable. |
c4c064e7 BK |
488 | @GLIBCPP_TEST_WCHAR_T_TRUE@stamp_wchar: |
489 | @GLIBCPP_TEST_WCHAR_T_TRUE@ touch testsuite_wchar_t | |
490 | @GLIBCPP_TEST_WCHAR_T_FALSE@stamp_wchar: | |
491 | ||
492 | # Override this so local rules are possible. | |
493 | check-am: | |
494 | $(MAKE) $(AM_MAKEFLAGS) check-DEJAGNU; \ | |
495 | $(MAKE) $(AM_MAKEFLAGS) check-local | |
496 | ||
497 | check-local: check-abi | |
498 | ||
499 | current_symbols.txt: ${extract_symvers} ../src/.libs/libstdc++.so | |
500 | -@(${extract_symvers} ../src/.libs/libstdc++.so current_symbols.txt) | |
501 | ||
502 | baseline_symbols: | |
503 | -@(output=${baseline_file}; \ | |
504 | if test ! -f $${output}; then \ | |
505 | echo "Baseline file doesn't exist."; \ | |
506 | echo "Try 'make new-abi-baseline' to create it."; \ | |
507 | exit 1; \ | |
508 | fi; \ | |
509 | touch baseline_symbols) | |
510 | ||
511 | new-abi-baseline: | |
a1af4623 | 512 | -@$(mkinstalldirs) ${baseline_dir} |
c4c064e7 BK |
513 | -@(output=${baseline_file}; \ |
514 | if test -f $${output}; then \ | |
515 | output=$${output}.new; \ | |
516 | t=`echo $${output} | sed 's=.*config/abi/=='`; \ | |
517 | echo "Baseline file already exists, writing to $${t} instead."; \ | |
518 | fi; \ | |
519 | ${extract_symvers} ../src/.libs/libstdc++.so $${output}) | |
520 | ||
521 | # Use 'new-abi-baseline' to create an initial symbol file. Then run | |
522 | # 'check-abi' to test for changes against that file. | |
523 | @GLIBCPP_TEST_ABI_TRUE@check-abi: abi_check baseline_symbols current_symbols.txt | |
524 | @GLIBCPP_TEST_ABI_TRUE@ -@(./abi_check --check ./current_symbols.txt ${baseline_file}) | |
6b543e86 | 525 | |
c4c064e7 BK |
526 | @GLIBCPP_TEST_ABI_TRUE@check-abi-verbose: abi_check baseline_symbols current_symbols.txt |
527 | @GLIBCPP_TEST_ABI_TRUE@ -@(./abi_check --check-verbose ./current_symbols.txt ${baseline_file}) | |
528 | @GLIBCPP_TEST_ABI_FALSE@check-abi: | |
529 | @GLIBCPP_TEST_ABI_FALSE@check-abi-verbose: | |
0676e930 BK |
530 | check-script: ${check_survey} |
531 | -@(chmod + ${check_survey}; \ | |
532 | ${check_survey} 0) | |
533 | ||
534 | check-script-install: ${check_survey} | |
535 | -@(chmod + ${check_survey}; \ | |
536 | ${check_survey} 0) | |
537 | check-performance: ${check_performance} | |
538 | -@(chmod + ${check_performance}; \ | |
539 | ${check_performance} ${glibcpp_srcdir} ${glibcpp_builddir}) | |
6b543e86 | 540 | |
62f079c5 BK |
541 | # Tell versions [3.59,3.63) of GNU make to not export all variables. |
542 | # Otherwise a system limit (for SysV at least) may be exceeded. | |
543 | .NOEXPORT: |