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 \
145 echo @glibcpp_builddir@/../../expect/expect ; \
146 else echo expect ; fi`
149 RUNTEST = `if [ -f @glibcpp_srcdir@/../dejagnu/runtest ] ; then \
150 echo @glibcpp_srcdir@/../dejagnu/runtest ; \
151 else echo runtest; fi`
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`
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 $@
168 GLIBCPP_INCLUDES = @GLIBCPP_INCLUDES@
169 LIBSUPCXX_INCLUDES = @LIBSUPCXX_INCLUDES@
170 TOPLEVEL_INCLUDES = @TOPLEVEL_INCLUDES@
173 @GLIBCPP_INCLUDES@ @LIBSUPCXX_INCLUDES@ @TOPLEVEL_INCLUDES@
176 noinst_LIBRARIES = libv3test.a
177 libv3test_a_SOURCES = testsuite_hooks.cc testsuite_allocator.cc
178 @GLIBCPP_TEST_ABI_TRUE@noinst_PROGRAMS = @GLIBCPP_TEST_ABI_TRUE@abi_check
179 @GLIBCPP_TEST_ABI_FALSE@noinst_PROGRAMS =
180 abi_check_SOURCES = abi_check.cc
182 baseline_dir = @baseline_dir@
183 baseline_file = ${baseline_dir}/baseline_symbols.txt
184 extract_symvers = @glibcpp_srcdir@/scripts/extract_symvers
186 # These two special 'check-script' rules use the bash script
187 # 'check_survey' to do testing. This script is not as portable as the
188 # dejagnu test harness, and is thus off by default. It does produce
189 # interesting output however, including various performance analysis
190 # items like compile time, execution time, and binary size.
191 survey_script = ${glibcpp_builddir}/scripts/check_survey
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 performance_script = ${glibcpp_srcdir}/scripts/check_performance
199 # By adding these files here, automake will remove them for 'make clean'
200 CLEANFILES = *.txt *.tst *.exe core* filebuf_* tmp* ostream_* *.log *.sum \
201 testsuite_* site.exp abi_check baseline_symbols *.performance
203 CONFIG_HEADER = ../config.h
205 LIBRARIES = $(noinst_LIBRARIES)
208 DEFS = @DEFS@ -I. -I$(srcdir) -I..
209 CPPFLAGS = @CPPFLAGS@
213 libv3test_a_OBJECTS = testsuite_hooks.$(OBJEXT) \
214 testsuite_allocator.$(OBJEXT)
215 @GLIBCPP_TEST_ABI_FALSE@noinst_PROGRAMS =
216 PROGRAMS = $(noinst_PROGRAMS)
218 abi_check_OBJECTS = abi_check.$(OBJEXT)
219 abi_check_LDADD = $(LDADD)
220 abi_check_DEPENDENCIES =
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)
226 DIST_COMMON = Makefile.am Makefile.in
229 DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST)
233 SOURCES = $(libv3test_a_SOURCES) $(abi_check_SOURCES)
234 OBJECTS = $(libv3test_a_OBJECTS) $(abi_check_OBJECTS)
238 .SUFFIXES: .S .c .cc .lo .o .obj .s
239 $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4)
240 cd $(top_srcdir) && $(AUTOMAKE) --cygnus testsuite/Makefile
242 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
244 && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
247 mostlyclean-noinstLIBRARIES:
249 clean-noinstLIBRARIES:
250 -test -z "$(noinst_LIBRARIES)" || rm -f $(noinst_LIBRARIES)
252 distclean-noinstLIBRARIES:
254 maintainer-clean-noinstLIBRARIES:
259 # FIXME: We should only use cygpath when building on Windows,
260 # and only if it is available.
262 $(COMPILE) -c `cygpath -w $<`
271 -rm -f *.o core *.core
279 maintainer-clean-compile:
282 $(LIBTOOL) --mode=compile $(COMPILE) -c $<
285 $(LIBTOOL) --mode=compile $(COMPILE) -c $<
288 $(LIBTOOL) --mode=compile $(COMPILE) -c $<
298 maintainer-clean-libtool:
300 libv3test.a: $(libv3test_a_OBJECTS) $(libv3test_a_DEPENDENCIES)
302 $(AR) cru libv3test.a $(libv3test_a_OBJECTS) $(libv3test_a_LIBADD)
303 $(RANLIB) libv3test.a
305 mostlyclean-noinstPROGRAMS:
307 clean-noinstPROGRAMS:
308 -test -z "$(noinst_PROGRAMS)" || rm -f $(noinst_PROGRAMS)
310 distclean-noinstPROGRAMS:
312 maintainer-clean-noinstPROGRAMS:
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)
320 $(CXXCOMPILE) -c `cygpath -w $<`
322 $(LTCXXCOMPILE) -c $<
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)
334 TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) $(LISP)
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" \
342 || (cd $(srcdir) && etags $(ETAGS_ARGS) $$tags $$unique $(LISP) -o $$here/TAGS)
351 maintainer-clean-tags:
353 distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir)
357 distdir: $(DISTFILES)
358 @for file in $(DISTFILES); do \
359 if test -f $$file; then d=.; else d=$(srcdir); fi; \
360 if test -d $$d/$$file; then \
361 cp -pr $$d/$$file $(distdir)/$$file; \
363 test -f $(distdir)/$$file \
364 || ln $$d/$$file $(distdir)/$$file 2> /dev/null \
365 || cp -p $$d/$$file $(distdir)/$$file || :; \
369 RUNTESTDEFAULTFLAGS = --tool $(DEJATOOL) --srcdir $$srcdir
371 check-DEJAGNU: site.exp
372 srcdir=`cd $(srcdir) && pwd`; export srcdir; \
373 EXPECT=$(EXPECT); export EXPECT; \
374 if [ -f $(top_builddir)/../expect/expect ]; then \
375 TCL_LIBRARY=`cd $(top_srcdir)/../tcl/library && pwd`; \
376 export TCL_LIBRARY; \
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; :;\
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
399 @test ! -f site.exp || sed '1,/^## All variables above are.*##/ d' site.exp >> $@-t
400 @test ! -f site.exp || mv site.exp site.bak
407 $(MAKE) $(AM_MAKEFLAGS) check-DEJAGNU check-local
410 installcheck: installcheck-am
412 install-info: install-info-am
414 install-exec: install-exec-am
417 install-data: install-data-am
420 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
423 uninstall: uninstall-am
424 all-am: Makefile $(LIBRARIES) $(PROGRAMS) all-local
427 $(MAKE) $(AM_MAKEFLAGS) AM_INSTALL_PROGRAM_FLAGS=-s install
434 -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
437 -rm -f Makefile $(CONFIG_CLEAN_FILES)
438 -rm -f config.cache config.log stamp-h stamp-h[0-9]*
440 maintainer-clean-generic:
441 mostlyclean-am: mostlyclean-noinstLIBRARIES mostlyclean-compile \
442 mostlyclean-libtool mostlyclean-noinstPROGRAMS \
443 mostlyclean-tags mostlyclean-generic
445 mostlyclean: mostlyclean-am
447 clean-am: clean-noinstLIBRARIES clean-compile clean-libtool \
448 clean-noinstPROGRAMS clean-tags clean-generic \
453 distclean-am: distclean-noinstLIBRARIES distclean-compile \
454 distclean-libtool distclean-noinstPROGRAMS \
455 distclean-tags distclean-generic clean-am
458 distclean: distclean-am
460 maintainer-clean-am: maintainer-clean-noinstLIBRARIES \
461 maintainer-clean-compile maintainer-clean-libtool \
462 maintainer-clean-noinstPROGRAMS maintainer-clean-tags \
463 maintainer-clean-generic distclean-am
464 @echo "This command is intended for maintainers to use;"
465 @echo "it deletes files that may require special tools to rebuild."
467 maintainer-clean: maintainer-clean-am
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 \
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 \
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
485 all-local: stamp_wchar
487 # Enable wchar_t tests if capable.
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:
492 # Override this so local rules are possible.
494 $(MAKE) $(AM_MAKEFLAGS) check-DEJAGNU; \
495 $(MAKE) $(AM_MAKEFLAGS) check-local
497 check-local: check-abi
499 current_symbols.txt: ${extract_symvers} ../src/.libs/libstdc++.so
500 -@(${extract_symvers} ../src/.libs/libstdc++.so current_symbols.txt)
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."; \
509 touch baseline_symbols)
512 -@$(mkinstalldirs) ${baseline_dir}
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."; \
519 ${extract_symvers} ../src/.libs/libstdc++.so $${output})
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})
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:
530 check-script: ${survey_script}
531 -@(chmod + ${survey_script}; \
534 check-script-install: ${survey_script}
535 -@(chmod + ${survey_script}; \
537 check-performance: ${performance_script}
538 -@(chmod + ${performance_script}; \
539 ${performance_script} ${glibcpp_srcdir} ${glibcpp_builddir})
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.