Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
LSH
lsh
Commits
a931a5a2
Commit
a931a5a2
authored
Mar 05, 2002
by
Niels Möller
Browse files
Don't use m4 to generate test
programs. Rev: src/testsuite/Makefile.am:1.42
parent
186eedf2
Changes
1
Show whitespace changes
Inline
Side-by-side
src/testsuite/Makefile.am
View file @
a931a5a2
...
...
@@ -30,10 +30,11 @@ TS_ALL = $(TS_PROGS) $(TS_SH) $(TS_MORE_PROGS) $(TS_MORE_SH)
# SUFFIXES = .c .o
noinst_PROGRAMS
=
$(TS_PROGS)
LDADD
=
../liblsh.a ../nettle/libnettle.a
$(
addprefix
../,@LIBARGP@
)
LDADD
=
testutils.o ../liblsh.a ../nettle/libnettle.a
\
$(
addprefix
../,@LIBARGP@
)
EXTRA_DIST
=
macros.m4
$(SOURCES:.c=.m4)
$(TS_SH)
$(TS_MORE_SH)
\
functions.sh runtests key-1.private
EXTRA_DIST
=
testutils.c testutils.h
$(TS_SH)
$(TS_MORE_SH)
\
functions.sh run
-
tests key-1.private
# FIXME: Get a rm -rf temphome somewhere?
CLEANFILES
=
foo foo.pub test-seed-1 test-seed-2 test.out1 test.out2
\
...
...
@@ -45,10 +46,10 @@ DISTCLEANFILES = yarrow-seed-file
all
:
@
echo
make check to build testprograms.
M4FLAGS
=
-P
#-s
%.c
:
macros.m4 %.m4
$(M4)
$(M4FLAGS)
$^
>
$@
T
test
-s
$@
T
&&
mv
-f
$@
T
$@
#
M4FLAGS = -P #-s
#
%.c: macros.m4 %.m4
#
$(M4) $(M4FLAGS) $^ > $@T
#
test -s $@T && mv -f $@T $@
.PHONY
:
check-some check-more
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment