[GOLD] make clean

Alan Modra amodra@gmail.com
Fri Nov 2 04:49:00 GMT 2018


Cleans a few more test files.  Applied.

	* Makefile.am (MOSTLYCLEANFILES): Define.
	* Makefile.in: Regnerate.
	* testsuite/Makefile.am (MOSTLYCLEANFILES): Add ver_test_14 and
	gnu_property_test.
	* testsuite/Makefile.in: Regnerate.

diff --git a/gold/Makefile.am b/gold/Makefile.am
index 3586ebd35f..fd0a359185 100644
--- a/gold/Makefile.am
+++ b/gold/Makefile.am
@@ -315,6 +315,7 @@ bootstrap-test-r: ld2-r
 
 check_PROGRAMS = ld1 ld2 ld1-r ld2-r
 TESTS = bootstrap-test bootstrap-test-r
+MOSTLYCLEANFILES = bootstrap-test bootstrap-test-r
 
 # Verify that changing the number of threads doesn't change the
 # treehash computation, by building ld1 and ld3 the same way except
@@ -324,6 +325,7 @@ TESTS = bootstrap-test bootstrap-test-r
 # because the treehash can still operate in that mode.
 check_PROGRAMS += ld4
 TESTS += bootstrap-test-treehash-chunksize
+MOSTLYCLEANFILES += bootstrap-test-treehash-chunksize
 
 gcctestdir3/ld: ld-new
 	test -d gcctestdir3 || mkdir -p gcctestdir3
@@ -358,6 +360,7 @@ ld3_LDFLAGS += -Wl,--thread-count=13
 ld4_LDFLAGS += -Wl,--thread-count=3
 check_PROGRAMS += ld3
 TESTS += bootstrap-test-treehash-chunksize
+MOSTLYCLEANFILES += bootstrap-test-treehash-chunksize
 
 bootstrap-test-treehash: ld1 ld3
 	rm -f $@
diff --git a/gold/testsuite/Makefile.am b/gold/testsuite/Makefile.am
index c1c5539cdb..f4c1f4686f 100644
--- a/gold/testsuite/Makefile.am
+++ b/gold/testsuite/Makefile.am
@@ -1875,6 +1875,7 @@ ver_test_13.o: ver_test_13.c
 
 check_SCRIPTS += ver_test_14.sh
 check_DATA += ver_test_14.syms
+MOSTLYCLEANFILES += ver_test_14
 ver_test_14.syms: ver_test_14
 	$(TEST_OBJDUMP) -T $< | $(TEST_CXXFILT) >$@
 ver_test_14: gcctestdir/ld ver_test_main.o ver_test_1.so ver_test_2.so ver_test_4.so ver_test_14.script
@@ -3267,6 +3268,7 @@ endif DEFAULT_TARGET_X86_64
 if DEFAULT_TARGET_X86_64
 check_SCRIPTS += gnu_property_test.sh
 check_DATA += gnu_property_test.stdout
+MOSTLYCLEANFILES += gnu_property_test
 gnu_property_test.stdout: gnu_property_test
 	$(TEST_READELF) -n $< >$@
 gnu_property_test: gcctestdir/ld gnu_property_a.o gnu_property_b.o gnu_property_c.o

-- 
Alan Modra
Australia Development Lab, IBM



More information about the Binutils mailing list