Commit 57641213 authored by Niels Möller's avatar Niels Möller
Browse files

* testsuite/Makefile.am (M4_FILES): New variable. Explicitly list

those C source files that should be generated by m4.

Rev: src/nettle/testsuite/Makefile.am:1.10
parent 843eed90
......@@ -7,17 +7,20 @@ TS_PROGS = aes-test arcfour-test blowfish-test cast128-test \
serpent-test twofish-test \
cbc-test
M4_FILES = aes-test.m4 arcfour-test.m4 blowfish-test.m4 cast128-test.m4 \
des-test.m4 des3-test.m4 \
md5-test.m4 md5-compat-test.m4 sha1-test.m4 \
serpent-test.m4 twofish-test.m4 \
cbc-test.m4
noinst_PROGRAMS = $(TS_PROGS)
LDADD = testutils.o ../libnettle.a
EXTRA_DIST = $(SOURCES:.c=.m4) testutils.c testutils.h run-tests
des-compat-test.c:
true
EXTRA_DIST = $(M4_FILES) macros.m4 testutils.c testutils.h run-tests
M4FLAGS = -P -s
# M4FLAGS = -P
%.c: macros.m4 %.m4
$(M4_FILES:.m4=.c): %.c: macros.m4 %.m4
$(M4) $(M4FLAGS) $^ > $@T
test -s $@T && mv -f $@T $@
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment