Commit 8206398f authored by Niels Möller's avatar Niels Möller

* src/Makefile.am.in: Try to create all machine independent files

in $(srcdir).
* src/testsuite/Makefile.am: Likewise.

Rev: src/Makefile.am.in:1.88
Rev: src/testsuite/Makefile.am:1.19
parent 92290437
......@@ -76,40 +76,40 @@ liblsh_a_LIBADD = @LIBOBJS@
atoms_defines.h: atoms.in process_atoms
$(BASH) $(srcdir)/process_atoms header <$(srcdir)/atoms.in >$@T
test -s $@T && mv -f $@T $@
test -s $@T && mv -f $@T $(srcdir)/$@
# With the next version of gperf, add -F ", 0"
GPERF_FLAGS = -LANSI-C -t -c -C -l -k1,3,7,$$ -N gperf_atom
atoms_gperf.c: atoms.in process_atoms
$(BASH) $(srcdir)/process_atoms gperf <$(srcdir)/atoms.in \
| gperf >$@T $(GPERF_FLAGS)
test -s $@T && mv -f $@T $@
test -s $@T && mv -f $@T $(srcdir)/$@
atoms_table.c: atoms.in process_atoms
$(BASH) $(srcdir)/process_atoms table <$(srcdir)/atoms.in >$@T
test -s $@T && mv -f $@T $@
test -s $@T && mv -f $@T $(srcdir)/$@
PRIME_LIMIT = 1024
prime_table.h: prime_table
./prime_table $(PRIME_LIMIT) >$@T
test -s $@T && mv -f $@T $@
test -s $@T && mv -f $@T $(srcdir)/$@
prime_table_LDADD =
sexp_table.h: sexp_chars.in $(srcdir)/scm/make-char-classes.scm
$(SCHEME) -e main -s $(srcdir)/scm/make-char-classes.scm <$< >$@T
test -s $@T && mv -f $@T $@
test -s $@T && mv -f $@T $(srcdir)/$@
digit_table_LDADD =
digit_table.h: digit_table
./digit_table >$@T
test -s $@T && mv -f $@T $@
test -s $@T && mv -f $@T $(srcdir)/$@
packet_types.h: ssh.h invert-defs
$(srcdir)/invert-defs <ssh.h >$@T
test -s $@T && mv -f $@T $@
test -s $@T && mv -f $@T $(srcdir)/$@
lsh_krb_checkpw_LDADD=@KRB_LIBS@
......@@ -176,6 +176,6 @@ MAINTAINERCLEANFILES += $(DEP_FILES)
%.x: % $(srcdir)/scm/gaba.scm $(srcdir)/scm/compiler.scm
$(SCHEME) -e main -l $(srcdir)/scm/compiler.scm \
-s $(srcdir)/scm/gaba.scm <$< >$@T
test -s $@T && mv -f $@T $@
test -s $@T && mv -f $@T $(srcdir)/$@
include $(top_srcdir)/misc/ctags.mk
......@@ -33,7 +33,7 @@ all:
M4FLAGS = -P #-s
%.c: macros.m4 %.m4
$(M4) $(M4FLAGS) $^ > $@T
test -s $@T && mv -f $@T $@
test -s $@T && mv -f $@T $(srcdir)/$@
.PHONY: check-some check-more
......
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