1
Fork 0
mirror of https://git.savannah.gnu.org/git/guile.git synced 2025-05-02 21:10:27 +02:00

Correct make distcheck.

2012-12-03 Paulo Andrade <pcpa@gnu.org>

	* configure.ac, check/Makefile.am, check/check.sh,
	doc/Makefile.am, include/lightning/Makefile.am,
	lib/Makefile.am: Correct make distcheck.
This commit is contained in:
pcpa 2012-12-03 07:26:40 -02:00
parent 90a187a12e
commit e6f1df7124
8 changed files with 34 additions and 13 deletions

View file

@ -1,3 +1,9 @@
2012-12-03 Paulo Andrade <pcpa@gnu.org>
* configure.ac, check/Makefile.am, check/check.sh,
doc/Makefile.am, include/lightning/Makefile.am,
lib/Makefile.am: Correct make distcheck.
2012-12-02 Paulo Andrade <pcpa@gnu.org>
* lib/jit_ppc.c: Assign copyright ownership to FSF.

View file

@ -32,7 +32,7 @@ EXTRA_DIST = \
divi.tst divi.ok \
fib.tst fib.ok \
rpn.tst rpn.ok \
check.sh \
check.sh run-test \
all.tst
TESTS = 3to2 add allocai bp divi fib rpn
@ -41,7 +41,7 @@ CLEANFILES = $(TESTS)
# Not so pretty but good for a prototype
$(TESTS): check.sh
$(LN_S) check.sh $@
$(LN_S) $(srcdir)/check.sh $@
TESTS_ENVIRONMENT=$(srcdir)/run-test

View file

@ -1,2 +1,2 @@
#!/bin/sh
./lightning `basename $0`
./lightning $srcdir/`basename $0`.tst

View file

@ -1,6 +1,6 @@
#! /bin/sh
./lightning $1.tst | tr -d \\r > $1.log
$1 | tr -d \\r > $1.log
if cmp -s $srcdir/$1.ok $1.log; then
rm $1.log
else

View file

@ -58,13 +58,19 @@ fi
cpu=
case "$target_cpu" in
i?x86|x86_64) cpu=x86 ;;
*) ;;
i?x86|x86_64) cpu=x86 ;;
*arm*) cpu=arm ;;
*mips*) cpu=mips ;;
*ppc*) cpu=ppc ;;
*) ;;
esac
if test x$cpu = x; then
AC_MSG_ERROR([cpu $target_cpu not supported])
fi
AM_CONDITIONAL(cpu_x86, [test cpu-$cpu = cpu-x86])
AM_CONDITIONAL(cpu_arm, [test cpu-$cpu = cpu-arm])
AM_CONDITIONAL(cpu_mips, [test cpu-$cpu = cpu-mips])
AM_CONDITIONAL(cpu_ppc, [test cpu-$cpu = cpu-ppc])
AM_CONDITIONAL(cpu_x86, [test cpu-$cpu = cpu-x86])
AC_SUBST([LIGHTNING_CFLAGS])

View file

@ -1,6 +1,3 @@
TEXI2DVI=$(top_srcdir)/m4/texi2dvi
HELP2MAN = $(top_srcdir)/m4/help2man
info_TEXINFOS = lightning.texi
EXTRA_TEXINFOS = u-lightning.texi p-lightning.texi
MOSTLYCLEANFILES = lightning.tmp

View file

@ -12,12 +12,24 @@
# GNU General Public License for more details.
#
includedir = $(includedir)/lightning
lightning_includedir = $(includedir)/lightning
EXTRA_DIST = \
jit_private.h
if cpu_arm
lightning_include_HEADERS = \
jit_arm.h
endif
if cpu_mips
lightning_include_HEADERS = \
jit_mips.h
endif
if cpu_ppc
lightning_include_HEADERS = \
jit_ppc.h
endif
if cpu_x86
include_HEADERS = \
lightning_include_HEADERS = \
jit_x86.h
endif

View file

@ -25,7 +25,7 @@ EXTRA_DIST = \
jit_arm.c \
jit_arm-cpu.c \
jit_arm-swf.c \
jit_x86-vfp.c \
jit_arm-vfp.c \
jit_mips.c \
jit_mips-cpu.c \
jit_mips-fpu.c \