From: Niels Möller Date: Sat, 27 Oct 2012 11:46:36 +0000 (+0200) Subject: Fixed make dist, testsuite/testutils.c was lost. X-Git-Tag: nettle_2.6_release_20130116~46 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0f46bfe91a8d230062e909ae557dfc8522eb99dd;p=thirdparty%2Fnettle.git Fixed make dist, testsuite/testutils.c was lost. --- diff --git a/ChangeLog b/ChangeLog index 7c6a3d7f..49f22312 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,11 @@ 2012-10-27 Niels Möller + * testsuite/Makefile.in (TS_SOURCES, CXX_SOURCES): Include sources + unconditionally. + (TS_CXX): Moved @IF_CXX@ conditional here. + (DISTFILES): Use $(SOURCES), which now includes all C source + files. testutils.c was lost in a the 2012-09-20 change. + * x86_64/salsa20-crypt.asm: Include x86_64/salsa20.m4. Make all exits go via .Lend and W64_EXIT. diff --git a/testsuite/Makefile.in b/testsuite/Makefile.in index 55598867..967c420d 100644 --- a/testsuite/Makefile.in +++ b/testsuite/Makefile.in @@ -34,25 +34,23 @@ TS_HOGWEED_SOURCES = sexp-test.c sexp-format-test.c \ rsa-test.c rsa-encrypt-test.c rsa-keygen-test.c \ dsa-test.c dsa-keygen-test.c -TS_SOURCES = $(TS_NETTLE_SOURCES) @IF_HOGWEED@ $(TS_HOGWEED_SOURCES) -CXX_SOURCES = @IF_CXX@ cxx-test.cxx +TS_SOURCES = $(TS_NETTLE_SOURCES) $(TS_HOGWEED_SOURCES) +CXX_SOURCES = cxx-test.cxx TS_NETTLE = $(TS_NETTLE_SOURCES:.c=$(EXEEXT)) TS_HOGWEED = $(TS_HOGWEED_SOURCES:.c=$(EXEEXT)) TS_C = $(TS_NETTLE) @IF_HOGWEED@ $(TS_HOGWEED) -TS_CXX = $(CXX_SOURCES:.cxx=$(EXEEXT)) +TS_CXX = @IF_CXX@ $(CXX_SOURCES:.cxx=$(EXEEXT)) TARGETS = $(TS_C) $(TS_CXX) TS_SH = sexp-conv-test pkcs1-conv-test symbols-test TS_ALL = $(TARGETS) $(TS_SH) EXTRA_SOURCES = sha1-huge-test.c EXTRA_TARGETS = $(EXTRA_SOURCES:.c=$(EXEEXT)) -# C source files to be built +# Includes all C source files, regardless of configuration SOURCES = $(TS_SOURCES) $(EXTRA_SOURCES) testutils.c -# Includes all C source files, regardless of configuration -DISTFILES = $(TS_NETTLE_SOURCES) $(TS_HOGWEED_SOURCES) \ - $(EXTRA_SOURCES) cxx-test.cxx Makefile.in .test-rules.make \ +DISTFILES = $(SOURCES) $(CXX_SOURCES) Makefile.in .test-rules.make \ $(TS_SH) setup-env teardown-env \ gold-bug.txt testutils.h @@ -127,5 +125,7 @@ distclean: clean tags: etags -o $(srcdir)/TAGS --include $(top_srcdir) $(srcdir)/*.c $(srcdir)/*.h +# Includes dependency files for everything, including objects which +# the current configuration will not build. DEP_FILES = $(SOURCES:.c=.$(OBJEXT).d) $(CXX_SOURCES:.cxx=.$(OBJEXT).d) @DEP_INCLUDE@ $(DEP_FILES)