mirror of
https://gcc.gnu.org/git/gcc.git
synced 2024-12-02 16:23:56 +08:00
Makefile.am (check-am): Do not override.
2003-06-30 Phil Edwards <pme@gcc.gnu.org> * testsuite/Makefile.am (check-am): Do not override. (baseline_symbols): Declare as PHONY, so no need to 'touch' it. * testsuite/Makefile.in: Regenerate. From-SVN: r68738
This commit is contained in:
parent
90b97100a7
commit
7685a26d92
@ -1,3 +1,9 @@
|
|||||||
|
2003-06-30 Phil Edwards <pme@gcc.gnu.org>
|
||||||
|
|
||||||
|
* testsuite/Makefile.am (check-am): Do not override.
|
||||||
|
(baseline_symbols): Declare as PHONY, so no need to 'touch' it.
|
||||||
|
* testsuite/Makefile.in: Regenerate.
|
||||||
|
|
||||||
2003-06-30 Doug Gregor <dgregor@apple.com>
|
2003-06-30 Doug Gregor <dgregor@apple.com>
|
||||||
|
|
||||||
* testsuite/24_iterators/insert_iterator.cc (test01, test02):
|
* testsuite/24_iterators/insert_iterator.cc (test01, test02):
|
||||||
|
@ -78,11 +78,7 @@ else
|
|||||||
stamp_wchar:
|
stamp_wchar:
|
||||||
endif
|
endif
|
||||||
|
|
||||||
# Override this so local rules are possible.
|
# This is automatically run after the generated check-DEJAGNU rule.
|
||||||
check-am:
|
|
||||||
$(MAKE) $(AM_MAKEFLAGS) check-DEJAGNU; \
|
|
||||||
$(MAKE) $(AM_MAKEFLAGS) check-local
|
|
||||||
|
|
||||||
check-local: check-abi
|
check-local: check-abi
|
||||||
|
|
||||||
baseline_dir = @baseline_dir@
|
baseline_dir = @baseline_dir@
|
||||||
@ -98,8 +94,7 @@ baseline_symbols:
|
|||||||
echo "Baseline file doesn't exist."; \
|
echo "Baseline file doesn't exist."; \
|
||||||
echo "Try 'make new-abi-baseline' to create it."; \
|
echo "Try 'make new-abi-baseline' to create it."; \
|
||||||
exit 1; \
|
exit 1; \
|
||||||
fi; \
|
fi; true)
|
||||||
touch baseline_symbols)
|
|
||||||
|
|
||||||
new-abi-baseline:
|
new-abi-baseline:
|
||||||
-@$(mkinstalldirs) ${baseline_dir}
|
-@$(mkinstalldirs) ${baseline_dir}
|
||||||
@ -152,6 +147,8 @@ check-performance: ${performance_script}
|
|||||||
-@(chmod + ${performance_script}; \
|
-@(chmod + ${performance_script}; \
|
||||||
${performance_script} ${glibcpp_srcdir} ${glibcpp_builddir})
|
${performance_script} ${glibcpp_srcdir} ${glibcpp_builddir})
|
||||||
|
|
||||||
|
.PHONY: baseline_symbols new-abi-baseline check-abi check-abi-verbose \
|
||||||
|
check-script check-script-install check-performance
|
||||||
|
|
||||||
# By adding these files here, automake will remove them for 'make clean'
|
# By adding these files here, automake will remove them for 'make clean'
|
||||||
CLEANFILES = *.txt *.tst *.exe core* filebuf_* tmp* ostream_* *.log *.sum \
|
CLEANFILES = *.txt *.tst *.exe core* filebuf_* tmp* ostream_* *.log *.sum \
|
||||||
|
@ -141,14 +141,10 @@ mkinstalldirs = $(SHELL) $(toplevel_srcdir)/mkinstalldirs
|
|||||||
|
|
||||||
DEJATOOL = libstdc++-v3
|
DEJATOOL = libstdc++-v3
|
||||||
|
|
||||||
EXPECT = `if [ -f @glibcpp_builddir@/../../expect/expect ] ; then \
|
EXPECT = `if [ -f @glibcpp_builddir@/../../expect/expect ] ; then echo @glibcpp_builddir@/../../expect/expect ; else echo expect ; fi`
|
||||||
echo @glibcpp_builddir@/../../expect/expect ; \
|
|
||||||
else echo expect ; fi`
|
|
||||||
|
|
||||||
|
|
||||||
RUNTEST = `if [ -f @glibcpp_srcdir@/../dejagnu/runtest ] ; then \
|
RUNTEST = `if [ -f @glibcpp_srcdir@/../dejagnu/runtest ] ; then echo @glibcpp_srcdir@/../dejagnu/runtest ; else echo runtest; fi`
|
||||||
echo @glibcpp_srcdir@/../dejagnu/runtest ; \
|
|
||||||
else echo runtest; fi`
|
|
||||||
|
|
||||||
|
|
||||||
AM_RUNTESTFLAGS =
|
AM_RUNTESTFLAGS =
|
||||||
@ -159,23 +155,18 @@ glibcpp_builddir = @glibcpp_builddir@
|
|||||||
testsuite_flags_script = ${glibcpp_builddir}/scripts/testsuite_flags
|
testsuite_flags_script = ${glibcpp_builddir}/scripts/testsuite_flags
|
||||||
CXX = `${testsuite_flags_script} --build-cxx`
|
CXX = `${testsuite_flags_script} --build-cxx`
|
||||||
|
|
||||||
CXXLINK = \
|
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 $@
|
||||||
LD_RUN_PATH=$${LD_RUN_PATH:+$$LD_RUN_PATH:}${glibcpp_builddir}/src/.libs\
|
|
||||||
$(LIBTOOL) --tag=CXX --mode=link $(CXX) \
|
|
||||||
$(AM_CXXFLAGS) $(CXXFLAGS) $(LDFLAGS) -o $@
|
|
||||||
|
|
||||||
|
|
||||||
GLIBCPP_INCLUDES = @GLIBCPP_INCLUDES@
|
GLIBCPP_INCLUDES = @GLIBCPP_INCLUDES@
|
||||||
LIBSUPCXX_INCLUDES = @LIBSUPCXX_INCLUDES@
|
LIBSUPCXX_INCLUDES = @LIBSUPCXX_INCLUDES@
|
||||||
TOPLEVEL_INCLUDES = @TOPLEVEL_INCLUDES@
|
TOPLEVEL_INCLUDES = @TOPLEVEL_INCLUDES@
|
||||||
INCLUDES = \
|
INCLUDES = -nostdinc++ @GLIBCPP_INCLUDES@ @LIBSUPCXX_INCLUDES@ @TOPLEVEL_INCLUDES@
|
||||||
-nostdinc++ \
|
|
||||||
@GLIBCPP_INCLUDES@ @LIBSUPCXX_INCLUDES@ @TOPLEVEL_INCLUDES@
|
|
||||||
|
|
||||||
|
|
||||||
noinst_LIBRARIES = libv3test.a
|
noinst_LIBRARIES = libv3test.a
|
||||||
libv3test_a_SOURCES = testsuite_hooks.cc testsuite_allocator.cc
|
libv3test_a_SOURCES = testsuite_hooks.cc testsuite_allocator.cc
|
||||||
@GLIBCPP_TEST_ABI_TRUE@noinst_PROGRAMS = @GLIBCPP_TEST_ABI_TRUE@abi_check
|
@GLIBCPP_TEST_ABI_TRUE@noinst_PROGRAMS = abi_check
|
||||||
@GLIBCPP_TEST_ABI_FALSE@noinst_PROGRAMS =
|
@GLIBCPP_TEST_ABI_FALSE@noinst_PROGRAMS =
|
||||||
abi_check_SOURCES = abi_check.cc
|
abi_check_SOURCES = abi_check.cc
|
||||||
|
|
||||||
@ -197,8 +188,7 @@ survey_script = ${glibcpp_builddir}/scripts/check_survey
|
|||||||
performance_script = ${glibcpp_srcdir}/scripts/check_performance
|
performance_script = ${glibcpp_srcdir}/scripts/check_performance
|
||||||
|
|
||||||
# By adding these files here, automake will remove them for 'make clean'
|
# By adding these files here, automake will remove them for 'make clean'
|
||||||
CLEANFILES = *.txt *.tst *.exe core* filebuf_* tmp* ostream_* *.log *.sum \
|
CLEANFILES = *.txt *.tst *.exe core* filebuf_* tmp* ostream_* *.log *.sum testsuite_* site.exp abi_check baseline_symbols
|
||||||
testsuite_* site.exp abi_check baseline_symbols
|
|
||||||
|
|
||||||
CONFIG_HEADER = ../config.h
|
CONFIG_HEADER = ../config.h
|
||||||
CONFIG_CLEAN_FILES =
|
CONFIG_CLEAN_FILES =
|
||||||
@ -228,7 +218,7 @@ DIST_COMMON = Makefile.am Makefile.in
|
|||||||
|
|
||||||
DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST)
|
DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST)
|
||||||
|
|
||||||
TAR = gtar
|
TAR = tar
|
||||||
GZIP_ENV = --best
|
GZIP_ENV = --best
|
||||||
SOURCES = $(libv3test_a_SOURCES) $(abi_check_SOURCES)
|
SOURCES = $(libv3test_a_SOURCES) $(abi_check_SOURCES)
|
||||||
OBJECTS = $(libv3test_a_OBJECTS) $(abi_check_OBJECTS)
|
OBJECTS = $(libv3test_a_OBJECTS) $(abi_check_OBJECTS)
|
||||||
@ -339,7 +329,7 @@ TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) $(LISP)
|
|||||||
awk ' { files[$$0] = 1; } \
|
awk ' { files[$$0] = 1; } \
|
||||||
END { for (i in files) print i; }'`; \
|
END { for (i in files) print i; }'`; \
|
||||||
test -z "$(ETAGS_ARGS)$$unique$(LISP)$$tags" \
|
test -z "$(ETAGS_ARGS)$$unique$(LISP)$$tags" \
|
||||||
|| (cd $(srcdir) && etags $(ETAGS_ARGS) $$tags $$unique $(LISP) -o $$here/TAGS)
|
|| (cd $(srcdir) && etags -o $$here/TAGS $(ETAGS_ARGS) $$tags $$unique $(LISP))
|
||||||
|
|
||||||
mostlyclean-tags:
|
mostlyclean-tags:
|
||||||
|
|
||||||
@ -396,7 +386,7 @@ site.exp: Makefile
|
|||||||
@echo 'set build_alias $(build_alias)' >> $@-t
|
@echo 'set build_alias $(build_alias)' >> $@-t
|
||||||
@echo 'set build_triplet $(build_triplet)' >> $@-t
|
@echo 'set build_triplet $(build_triplet)' >> $@-t
|
||||||
@echo '## All variables above are generated by configure. Do Not Edit ##' >> $@-t
|
@echo '## All variables above are generated by configure. Do Not Edit ##' >> $@-t
|
||||||
@test ! -f site.exp || sed '1,/^## All variables above are.*##/ d' site.exp >> $@-t
|
@test ! -f $(srcdir)/site.exp || sed '1,/^## All variables above are.*##/ d' $(srcdir)/site.exp >> $@-t
|
||||||
@test ! -f site.exp || mv site.exp site.bak
|
@test ! -f site.exp || mv site.exp site.bak
|
||||||
@mv $@-t site.exp
|
@mv $@-t site.exp
|
||||||
info-am:
|
info-am:
|
||||||
@ -489,11 +479,7 @@ all-local: stamp_wchar
|
|||||||
@GLIBCPP_TEST_WCHAR_T_TRUE@ touch testsuite_wchar_t
|
@GLIBCPP_TEST_WCHAR_T_TRUE@ touch testsuite_wchar_t
|
||||||
@GLIBCPP_TEST_WCHAR_T_FALSE@stamp_wchar:
|
@GLIBCPP_TEST_WCHAR_T_FALSE@stamp_wchar:
|
||||||
|
|
||||||
# Override this so local rules are possible.
|
# This is automatically run after the generated check-DEJAGNU rule.
|
||||||
check-am:
|
|
||||||
$(MAKE) $(AM_MAKEFLAGS) check-DEJAGNU; \
|
|
||||||
$(MAKE) $(AM_MAKEFLAGS) check-local
|
|
||||||
|
|
||||||
check-local: check-abi
|
check-local: check-abi
|
||||||
|
|
||||||
current_symbols.txt: ${extract_symvers} ../src/.libs/libstdc++.so
|
current_symbols.txt: ${extract_symvers} ../src/.libs/libstdc++.so
|
||||||
@ -505,8 +491,7 @@ baseline_symbols:
|
|||||||
echo "Baseline file doesn't exist."; \
|
echo "Baseline file doesn't exist."; \
|
||||||
echo "Try 'make new-abi-baseline' to create it."; \
|
echo "Try 'make new-abi-baseline' to create it."; \
|
||||||
exit 1; \
|
exit 1; \
|
||||||
fi; \
|
fi; true)
|
||||||
touch baseline_symbols)
|
|
||||||
|
|
||||||
new-abi-baseline:
|
new-abi-baseline:
|
||||||
-@$(mkinstalldirs) ${baseline_dir}
|
-@$(mkinstalldirs) ${baseline_dir}
|
||||||
@ -541,6 +526,9 @@ check-performance: ${performance_script}
|
|||||||
-@(chmod + ${performance_script}; \
|
-@(chmod + ${performance_script}; \
|
||||||
${performance_script} ${glibcpp_srcdir} ${glibcpp_builddir})
|
${performance_script} ${glibcpp_srcdir} ${glibcpp_builddir})
|
||||||
|
|
||||||
|
.PHONY: baseline_symbols new-abi-baseline check-abi check-abi-verbose \
|
||||||
|
check-script check-script-install check-performance
|
||||||
|
|
||||||
# Tell versions [3.59,3.63) of GNU make to not export all variables.
|
# Tell versions [3.59,3.63) of GNU make to not export all variables.
|
||||||
# Otherwise a system limit (for SysV at least) may be exceeded.
|
# Otherwise a system limit (for SysV at least) may be exceeded.
|
||||||
.NOEXPORT:
|
.NOEXPORT:
|
||||||
|
Loading…
Reference in New Issue
Block a user