[Gmp-commit] /var/hg/gmp-6.2: New Makefile.am version which works somewhat be...

mercurial at gmplib.org mercurial at gmplib.org
Sun Jun 21 10:16:18 UTC 2020


details:   /var/hg/gmp-6.2/rev/1745d66e4755
changeset: 18066:1745d66e4755
user:      Torbjorn Granlund <tg at gmplib.org>
date:      Sun Jun 21 12:16:12 2020 +0200
description:
New Makefile.am version which works somewhat better.

diffstat:

 tests/devel/Makefile.am |  10 +++-------
 1 files changed, 3 insertions(+), 7 deletions(-)

diffs (33 lines):

diff -r 1b1f82a8d904 -r 1745d66e4755 tests/devel/Makefile.am
--- a/tests/devel/Makefile.am	Sat Jun 20 01:11:20 2020 +0200
+++ b/tests/devel/Makefile.am	Sun Jun 21 12:16:12 2020 +0200
@@ -25,12 +25,8 @@
 EXTRA_PROGRAMS = \
   sqrtrem_1_2 primes try test-add_ssaaaa test-sub_ddmmss
 
-BUILT_SOURCES =
-DISTCLEANFILES = $(BUILT_SOURCES)
 EXTRA_DIST =
 
-nodist_SOURCES = test-add_ssaaaa.c test-sub_ddmmss.c
-
 allprogs: $(EXTRA_PROGRAMS) test-add_ssaaaa test-sub_ddmmss
 
 CLEANFILES = $(EXTRA_PROGRAMS)
@@ -40,13 +36,13 @@
 
 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)
+CLEANFILES += gen-test-longlong_h$(EXEEXT_FOR_BUILD)
 EXTRA_DIST += gen-test-longlong_h.c



More information about the gmp-commit mailing list