summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorMarco Bodrato <bodrato@mail.dm.unipi.it>2020-10-25 18:30:13 +0100
committerMarco Bodrato <bodrato@mail.dm.unipi.it>2020-10-25 18:30:13 +0100
commit77ac915f191c3f22737cd9d712b0d18458548a0f (patch)
treee9852358eac5f4739254543ba7ca2200225bac7b /tests
parentd6f60584ce8af85cf277f4403c1dab9f29187823 (diff)
downloadgmp-77ac915f191c3f22737cd9d712b0d18458548a0f.tar.gz
tests/devel/Makefile.am: Remove redundancies
Diffstat (limited to 'tests')
-rw-r--r--tests/devel/Makefile.am15
1 files changed, 5 insertions, 10 deletions
diff --git a/tests/devel/Makefile.am b/tests/devel/Makefile.am
index fdc18780e..6c939a57a 100644
--- a/tests/devel/Makefile.am
+++ b/tests/devel/Makefile.am
@@ -25,13 +25,9 @@ LDADD = $(top_builddir)/tests/libtests.la $(top_builddir)/libgmp.la
EXTRA_PROGRAMS = \
sqrtrem_1_2 primes try test-add_ssaaaa test-sub_ddmmss
-BUILT_SOURCES =
-DISTCLEANFILES = $(BUILT_SOURCES)
-EXTRA_DIST =
+EXTRA_DIST = gen-test-longlong_h.c
-nodist_SOURCES = test-add_ssaaaa.c test-sub_ddmmss.c
-
-allprogs: $(EXTRA_PROGRAMS) test-add_ssaaaa test-sub_ddmmss
+allprogs: $(EXTRA_PROGRAMS)
CLEANFILES = $(EXTRA_PROGRAMS)
@@ -40,13 +36,12 @@ $(top_builddir)/tests/libtests.la:
test-add_ssaaaa.c: gen-test-longlong_h$(EXEEXT_FOR_BUILD)
./gen-test-longlong_h add >test-add_ssaaaa.c || (rm -f test-add_ssaaaa.c; exit 1)
-#BUILT_SOURCES += test-add_ssaaaa.c
+CLEANFILES += test-add_ssaaaa.c
test-sub_ddmmss.c: gen-test-longlong_h$(EXEEXT_FOR_BUILD)
./gen-test-longlong_h sub >test-sub_ddmmss.c || (rm -f test-sub_ddmmss.c; exit 1)
-#BUILT_SOURCES += test-sub_ddmmss.c
+CLEANFILES += test-sub_ddmmss.c
gen-test-longlong_h$(EXEEXT_FOR_BUILD): gen-test-longlong_h.c
$(CC_FOR_BUILD) `test -f 'gen-test-longlong_h.c' || echo '$(srcdir)/'`gen-test-longlong_h.c -o gen-test-longlong_h$(EXEEXT_FOR_BUILD)
-DISTCLEANFILES += gen-test-longlong_h$(EXEEXT_FOR_BUILD)
-EXTRA_DIST += gen-test-longlong_h.c
+CLEANFILES += gen-test-longlong_h$(EXEEXT_FOR_BUILD)