1 # Makefile.in generated automatically by automake 1.4-p6 from Makefile.am
3 # Copyright (C) 1994, 1995-8, 1999, 2001 Free Software Foundation, Inc.
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.
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
17 top_srcdir = @top_srcdir@
20 exec_prefix = @exec_prefix@
24 libexecdir = @libexecdir@
26 sysconfdir = @sysconfdir@
27 sharedstatedir = @sharedstatedir@
28 localstatedir = @localstatedir@
32 includedir = @includedir@
33 oldincludedir = /usr/include
37 pkgdatadir = $(datadir)/@PACKAGE@
38 pkglibdir = $(libdir)/@PACKAGE@
39 pkgincludedir = $(includedir)/@PACKAGE@
46 AUTOHEADER = @AUTOHEADER@
49 INSTALL_PROGRAM = @INSTALL_PROGRAM@ $(AM_INSTALL_PROGRAM_FLAGS)
50 INSTALL_DATA = @INSTALL_DATA@
51 INSTALL_SCRIPT = @INSTALL_SCRIPT@
52 transform = @program_transform_name@
60 build_alias = @build_alias@
61 build_triplet = @build@
62 host_alias = @host_alias@
64 target_alias = @target_alias@
65 target_triplet = @target@
68 ATOMICITY_INC_SRCDIR = @ATOMICITY_INC_SRCDIR@
70 BASIC_FILE_CC = @BASIC_FILE_CC@
71 BASIC_FILE_H = @BASIC_FILE_H@
73 CCODECVT_CC = @CCODECVT_CC@
74 CCODECVT_H = @CCODECVT_H@
75 CCOLLATE_CC = @CCOLLATE_CC@
76 CCTYPE_CC = @CCTYPE_CC@
77 CLOCALE_CC = @CLOCALE_CC@
78 CLOCALE_H = @CLOCALE_H@
79 CLOCALE_INTERNAL_H = @CLOCALE_INTERNAL_H@
80 CMESSAGES_CC = @CMESSAGES_CC@
81 CMESSAGES_H = @CMESSAGES_H@
82 CMONEY_CC = @CMONEY_CC@
83 CNUMERIC_CC = @CNUMERIC_CC@
89 C_INCLUDE_DIR = @C_INCLUDE_DIR@
90 DEBUG_FLAGS = @DEBUG_FLAGS@
93 EXTRA_CXX_FLAGS = @EXTRA_CXX_FLAGS@
96 GLIBCPP_IS_CROSS_COMPILING = @GLIBCPP_IS_CROSS_COMPILING@
97 LIBMATHOBJS = @LIBMATHOBJS@
98 LIBMATH_INCLUDES = @LIBMATH_INCLUDES@
99 LIBSUPCXX_PICFLAGS = @LIBSUPCXX_PICFLAGS@
101 LIBUNWIND_FLAG = @LIBUNWIND_FLAG@
104 MAKEINFO = @MAKEINFO@
107 OPTIMIZE_CXXFLAGS = @OPTIMIZE_CXXFLAGS@
108 OPT_LDFLAGS = @OPT_LDFLAGS@
109 OS_INC_SRCDIR = @OS_INC_SRCDIR@
112 SECTION_FLAGS = @SECTION_FLAGS@
113 SECTION_LDFLAGS = @SECTION_LDFLAGS@
115 SYMVER_MAP = @SYMVER_MAP@
118 WARN_FLAGS = @WARN_FLAGS@
120 check_msgfmt = @check_msgfmt@
121 enable_shared = @enable_shared@
122 enable_static = @enable_static@
123 glibcpp_CXX = @glibcpp_CXX@
124 glibcpp_MOFILES = @glibcpp_MOFILES@
125 glibcpp_PCHFLAGS = @glibcpp_PCHFLAGS@
126 glibcpp_POFILES = @glibcpp_POFILES@
127 glibcpp_basedir = @glibcpp_basedir@
128 glibcpp_localedir = @glibcpp_localedir@
129 glibcpp_prefixdir = @glibcpp_prefixdir@
130 glibcpp_thread_h = @glibcpp_thread_h@
131 glibcpp_toolexecdir = @glibcpp_toolexecdir@
132 glibcpp_toolexeclibdir = @glibcpp_toolexeclibdir@
133 gxx_include_dir = @gxx_include_dir@
134 ifGNUmake = @ifGNUmake@
135 libtool_VERSION = @libtool_VERSION@
136 toplevel_srcdir = @toplevel_srcdir@
138 AUTOMAKE_OPTIONS = cygnus dejagnu
140 mkinstalldirs = $(SHELL) $(toplevel_srcdir)/mkinstalldirs
142 DEJATOOL = libstdc++-v3
144 EXPECT = `if [ -f @glibcpp_builddir@/../../expect/expect ] ; then echo @glibcpp_builddir@/../../expect/expect ; else echo expect ; fi`
147 RUNTEST = `if [ -f @glibcpp_srcdir@/../dejagnu/runtest ] ; then echo @glibcpp_srcdir@/../dejagnu/runtest ; else echo runtest; fi`
153 glibcpp_srcdir = @glibcpp_srcdir@
154 glibcpp_builddir = @glibcpp_builddir@
155 testsuite_flags_script = ${glibcpp_builddir}/scripts/testsuite_flags
156 CXX = `${testsuite_flags_script} --build-cxx`
158 CXXLINK = LD_RUN_PATH=$${LD_RUN_PATH:+$$LD_RUN_PATH:}${glibcpp_builddir}/src/.libs $(LIBTOOL) --tag=CXX --mode=link $(CXX) $(AM_CXXFLAGS) $(CXXFLAGS) $(LDFLAGS) -o $@
161 GLIBCPP_INCLUDES = @GLIBCPP_INCLUDES@
162 LIBSUPCXX_INCLUDES = @LIBSUPCXX_INCLUDES@
163 TOPLEVEL_INCLUDES = @TOPLEVEL_INCLUDES@
164 INCLUDES = -nostdinc++ @GLIBCPP_INCLUDES@ @LIBSUPCXX_INCLUDES@ @TOPLEVEL_INCLUDES@
167 noinst_LIBRARIES = libv3test.a
168 libv3test_a_SOURCES = testsuite_hooks.cc testsuite_allocator.cc
169 @GLIBCPP_TEST_ABI_TRUE@noinst_PROGRAMS = abi_check
170 @GLIBCPP_TEST_ABI_FALSE@noinst_PROGRAMS =
171 abi_check_SOURCES = abi_check.cc
173 baseline_dir = @baseline_dir@
174 baseline_file = ${baseline_dir}/baseline_symbols.txt
175 extract_symvers = @glibcpp_srcdir@/scripts/extract_symvers
177 # These two special 'check-script' rules use the bash script
178 # 'check_survey' to do testing. This script is not as portable as the
179 # dejagnu test harness, and is thus off by default. It does produce
180 # interesting output however, including various performance analysis
181 # items like compile time, execution time, and binary size.
182 survey_script = ${glibcpp_builddir}/scripts/check_survey
184 # Runs the testsuite/performance tests.
185 # Some of these tests create large (~75MB) files, allocate huge
186 # ammounts of memory, or otherwise tie up machine resources. Thus,
187 # running this is off by default.
188 performance_script = ${glibcpp_srcdir}/scripts/check_performance
190 # By adding these files here, automake will remove them for 'make clean'
191 CLEANFILES = *.txt *.tst *.exe core* filebuf_* tmp* ostream_* *.log *.sum testsuite_* site.exp abi_check baseline_symbols
193 CONFIG_HEADER = ../config.h
195 LIBRARIES = $(noinst_LIBRARIES)
198 DEFS = @DEFS@ -I. -I$(srcdir) -I..
199 CPPFLAGS = @CPPFLAGS@
203 libv3test_a_OBJECTS = testsuite_hooks.$(OBJEXT) \
204 testsuite_allocator.$(OBJEXT)
205 @GLIBCPP_TEST_ABI_FALSE@noinst_PROGRAMS =
206 PROGRAMS = $(noinst_PROGRAMS)
208 abi_check_OBJECTS = abi_check.$(OBJEXT)
209 abi_check_LDADD = $(LDADD)
210 abi_check_DEPENDENCIES =
212 CXXFLAGS = @CXXFLAGS@
213 CXXCOMPILE = $(CXX) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS)
214 LTCXXCOMPILE = $(LIBTOOL) --mode=compile $(CXX) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS)
216 DIST_COMMON = Makefile.am Makefile.in
219 DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST)
223 SOURCES = $(libv3test_a_SOURCES) $(abi_check_SOURCES)
224 OBJECTS = $(libv3test_a_OBJECTS) $(abi_check_OBJECTS)
228 .SUFFIXES: .S .c .cc .lo .o .obj .s
229 $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4)
230 cd $(top_srcdir) && $(AUTOMAKE) --cygnus testsuite/Makefile
232 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
234 && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
237 mostlyclean-noinstLIBRARIES:
239 clean-noinstLIBRARIES:
240 -test -z "$(noinst_LIBRARIES)" || rm -f $(noinst_LIBRARIES)
242 distclean-noinstLIBRARIES:
244 maintainer-clean-noinstLIBRARIES:
249 # FIXME: We should only use cygpath when building on Windows,
250 # and only if it is available.
252 $(COMPILE) -c `cygpath -w $<`
261 -rm -f *.o core *.core
269 maintainer-clean-compile:
272 $(LIBTOOL) --mode=compile $(COMPILE) -c $<
275 $(LIBTOOL) --mode=compile $(COMPILE) -c $<
278 $(LIBTOOL) --mode=compile $(COMPILE) -c $<
288 maintainer-clean-libtool:
290 libv3test.a: $(libv3test_a_OBJECTS) $(libv3test_a_DEPENDENCIES)
292 $(AR) cru libv3test.a $(libv3test_a_OBJECTS) $(libv3test_a_LIBADD)
293 $(RANLIB) libv3test.a
295 mostlyclean-noinstPROGRAMS:
297 clean-noinstPROGRAMS:
298 -test -z "$(noinst_PROGRAMS)" || rm -f $(noinst_PROGRAMS)
300 distclean-noinstPROGRAMS:
302 maintainer-clean-noinstPROGRAMS:
304 abi_check$(EXEEXT): $(abi_check_OBJECTS) $(abi_check_DEPENDENCIES)
305 @rm -f abi_check$(EXEEXT)
306 $(CXXLINK) $(abi_check_LDFLAGS) $(abi_check_OBJECTS) $(abi_check_LDADD) $(LIBS)
310 $(CXXCOMPILE) -c `cygpath -w $<`
312 $(LTCXXCOMPILE) -c $<
316 ID: $(HEADERS) $(SOURCES) $(LISP)
317 list='$(SOURCES) $(HEADERS)'; \
318 unique=`for i in $$list; do echo $$i; done | \
319 awk ' { files[$$0] = 1; } \
320 END { for (i in files) print i; }'`; \
321 here=`pwd` && cd $(srcdir) \
322 && mkid -f$$here/ID $$unique $(LISP)
324 TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) $(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 test -z "$(ETAGS_ARGS)$$unique$(LISP)$$tags" \
332 || (cd $(srcdir) && etags -o $$here/TAGS $(ETAGS_ARGS) $$tags $$unique $(LISP))
341 maintainer-clean-tags:
343 distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir)
347 distdir: $(DISTFILES)
348 @for file in $(DISTFILES); do \
349 if test -f $$file; then d=.; else d=$(srcdir); fi; \
350 if test -d $$d/$$file; then \
351 cp -pr $$d/$$file $(distdir)/$$file; \
353 test -f $(distdir)/$$file \
354 || ln $$d/$$file $(distdir)/$$file 2> /dev/null \
355 || cp -p $$d/$$file $(distdir)/$$file || :; \
359 RUNTESTDEFAULTFLAGS = --tool $(DEJATOOL) --srcdir $$srcdir
361 check-DEJAGNU: site.exp
362 srcdir=`cd $(srcdir) && pwd`; export srcdir; \
363 EXPECT=$(EXPECT); export EXPECT; \
364 if [ -f $(top_builddir)/../expect/expect ]; then \
365 TCL_LIBRARY=`cd $(top_srcdir)/../tcl/library && pwd`; \
366 export TCL_LIBRARY; \
368 runtest=$(RUNTEST); \
369 if $(SHELL) -c "$$runtest --version" > /dev/null 2>&1; then \
370 $$runtest $(RUNTESTDEFAULTFLAGS) $(RUNTESTFLAGS); \
371 else echo "WARNING: could not find \`runtest'" 1>&2; :;\
374 @echo 'Making a new site.exp file...'
375 @test ! -f site.bak || rm -f site.bak
376 @echo '## these variables are automatically generated by make ##' > $@-t
377 @echo '# Do not edit here. If you wish to override these values' >> $@-t
378 @echo '# edit the last section' >> $@-t
379 @echo 'set tool $(DEJATOOL)' >> $@-t
380 @echo 'set srcdir $(srcdir)' >> $@-t
381 @echo 'set objdir' `pwd` >> $@-t
382 @echo 'set host_alias $(host_alias)' >> $@-t
383 @echo 'set host_triplet $(host_triplet)' >> $@-t
384 @echo 'set target_alias $(target_alias)' >> $@-t
385 @echo 'set target_triplet $(target_triplet)' >> $@-t
386 @echo 'set build_alias $(build_alias)' >> $@-t
387 @echo 'set build_triplet $(build_triplet)' >> $@-t
388 @echo '## All variables above are generated by configure. Do Not Edit ##' >> $@-t
389 @test ! -f $(srcdir)/site.exp || sed '1,/^## All variables above are.*##/ d' $(srcdir)/site.exp >> $@-t
390 @test ! -f site.exp || mv site.exp site.bak
397 $(MAKE) $(AM_MAKEFLAGS) check-DEJAGNU check-local
400 installcheck: installcheck-am
402 install-info: install-info-am
404 install-exec: install-exec-am
407 install-data: install-data-am
410 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
413 uninstall: uninstall-am
414 all-am: Makefile $(LIBRARIES) $(PROGRAMS) all-local
417 $(MAKE) $(AM_MAKEFLAGS) AM_INSTALL_PROGRAM_FLAGS=-s install
424 -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
427 -rm -f Makefile $(CONFIG_CLEAN_FILES)
428 -rm -f config.cache config.log stamp-h stamp-h[0-9]*
430 maintainer-clean-generic:
431 mostlyclean-am: mostlyclean-noinstLIBRARIES mostlyclean-compile \
432 mostlyclean-libtool mostlyclean-noinstPROGRAMS \
433 mostlyclean-tags mostlyclean-generic
435 mostlyclean: mostlyclean-am
437 clean-am: clean-noinstLIBRARIES clean-compile clean-libtool \
438 clean-noinstPROGRAMS clean-tags clean-generic \
443 distclean-am: distclean-noinstLIBRARIES distclean-compile \
444 distclean-libtool distclean-noinstPROGRAMS \
445 distclean-tags distclean-generic clean-am
448 distclean: distclean-am
450 maintainer-clean-am: maintainer-clean-noinstLIBRARIES \
451 maintainer-clean-compile maintainer-clean-libtool \
452 maintainer-clean-noinstPROGRAMS maintainer-clean-tags \
453 maintainer-clean-generic distclean-am
454 @echo "This command is intended for maintainers to use;"
455 @echo "it deletes files that may require special tools to rebuild."
457 maintainer-clean: maintainer-clean-am
459 .PHONY: mostlyclean-noinstLIBRARIES distclean-noinstLIBRARIES \
460 clean-noinstLIBRARIES maintainer-clean-noinstLIBRARIES \
461 mostlyclean-compile distclean-compile clean-compile \
462 maintainer-clean-compile mostlyclean-libtool distclean-libtool \
463 clean-libtool maintainer-clean-libtool mostlyclean-noinstPROGRAMS \
464 distclean-noinstPROGRAMS clean-noinstPROGRAMS \
465 maintainer-clean-noinstPROGRAMS tags mostlyclean-tags distclean-tags \
466 clean-tags maintainer-clean-tags distdir check-DEJAGNU info-am info \
467 dvi-am dvi check-local check check-am installcheck-am installcheck \
468 install-info-am install-info install-exec-am install-exec \
469 install-data-am install-data install-am install uninstall-am uninstall \
470 all-local all-redirect all-am all installdirs mostlyclean-generic \
471 distclean-generic clean-generic maintainer-clean-generic clean \
472 mostlyclean distclean maintainer-clean
475 all-local: stamp_wchar
477 # Enable wchar_t tests if capable.
478 @GLIBCPP_TEST_WCHAR_T_TRUE@stamp_wchar:
479 @GLIBCPP_TEST_WCHAR_T_TRUE@ touch testsuite_wchar_t
480 @GLIBCPP_TEST_WCHAR_T_FALSE@stamp_wchar:
482 # This is automatically run after the generated check-DEJAGNU rule.
483 check-local: check-abi
485 current_symbols.txt: ${extract_symvers} ../src/.libs/libstdc++.so
486 -@(${extract_symvers} ../src/.libs/libstdc++.so current_symbols.txt)
489 -@(output=${baseline_file}; \
490 if test ! -f $${output}; then \
491 echo "Baseline file doesn't exist."; \
492 echo "Try 'make new-abi-baseline' to create it."; \
497 -@$(mkinstalldirs) ${baseline_dir}
498 -@(output=${baseline_file}; \
499 if test -f $${output}; then \
500 output=$${output}.new; \
501 t=`echo $${output} | sed 's=.*config/abi/=='`; \
502 echo "Baseline file already exists, writing to $${t} instead."; \
504 ${extract_symvers} ../src/.libs/libstdc++.so $${output})
506 # Use 'new-abi-baseline' to create an initial symbol file. Then run
507 # 'check-abi' to test for changes against that file.
508 @GLIBCPP_TEST_ABI_TRUE@check-abi: abi_check baseline_symbols current_symbols.txt
509 @GLIBCPP_TEST_ABI_TRUE@ -@(./abi_check --check ./current_symbols.txt ${baseline_file} \
510 @GLIBCPP_TEST_ABI_TRUE@ 2>&1 | tee libstdc++-v3-abi.sum)
512 @GLIBCPP_TEST_ABI_TRUE@check-abi-verbose: abi_check baseline_symbols current_symbols.txt
513 @GLIBCPP_TEST_ABI_TRUE@ -@(./abi_check --check-verbose ./current_symbols.txt ${baseline_file} \
514 @GLIBCPP_TEST_ABI_TRUE@ 2>&1 | tee libstdc++-v3-abi.sum)
516 @GLIBCPP_TEST_ABI_FALSE@check-abi:
517 @GLIBCPP_TEST_ABI_FALSE@check-abi-verbose:
518 check-script: ${survey_script}
519 -@(chmod + ${survey_script}; \
522 check-script-install: ${survey_script}
523 -@(chmod + ${survey_script}; \
525 check-performance: ${performance_script}
526 -@(chmod + ${performance_script}; \
527 ${performance_script} ${glibcpp_srcdir} ${glibcpp_builddir})
529 .PHONY: baseline_symbols new-abi-baseline check-abi check-abi-verbose \
530 check-script check-script-install check-performance
532 # Tell versions [3.59,3.63) of GNU make to not export all variables.
533 # Otherwise a system limit (for SysV at least) may be exceeded.