[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Guile-commits] 134/437: Correct make distcheck.
From: |
Andy Wingo |
Subject: |
[Guile-commits] 134/437: Correct make distcheck. |
Date: |
Mon, 2 Jul 2018 05:14:02 -0400 (EDT) |
wingo pushed a commit to branch lightning
in repository guile.
commit e6f1df7124f6061f123881300560cf1899bf140b
Author: pcpa <address@hidden>
Date: Mon Dec 3 07:26:40 2012 -0200
Correct make distcheck.
2012-12-03 Paulo Andrade <address@hidden>
* configure.ac, check/Makefile.am, check/check.sh,
doc/Makefile.am, include/lightning/Makefile.am,
lib/Makefile.am: Correct make distcheck.
---
ChangeLog | 6 ++++++
check/Makefile.am | 4 ++--
check/check.sh | 2 +-
check/run-test | 2 +-
configure.ac | 12 +++++++++---
doc/Makefile.am | 3 ---
include/lightning/Makefile.am | 16 ++++++++++++++--
lib/Makefile.am | 2 +-
8 files changed, 34 insertions(+), 13 deletions(-)
diff --git a/ChangeLog b/ChangeLog
index b65011a..5985a8b 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2012-12-03 Paulo Andrade <address@hidden>
+
+ * 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 <address@hidden>
* lib/jit_ppc.c: Assign copyright ownership to FSF.
diff --git a/check/Makefile.am b/check/Makefile.am
index bb4ec40..6445b6e 100644
--- a/check/Makefile.am
+++ b/check/Makefile.am
@@ -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
diff --git a/check/check.sh b/check/check.sh
index 54e48c6..edf1f21 100755
--- a/check/check.sh
+++ b/check/check.sh
@@ -1,2 +1,2 @@
#!/bin/sh
-./lightning `basename $0`
+./lightning $srcdir/`basename $0`.tst
diff --git a/check/run-test b/check/run-test
index 931abc7..288be5b 100755
--- a/check/run-test
+++ b/check/run-test
@@ -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
diff --git a/configure.ac b/configure.ac
index 1d8dd3e..bac8e05 100644
--- a/configure.ac
+++ b/configure.ac
@@ -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])
diff --git a/doc/Makefile.am b/doc/Makefile.am
index b53a4aa..3baca2d 100644
--- a/doc/Makefile.am
+++ b/doc/Makefile.am
@@ -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
diff --git a/include/lightning/Makefile.am b/include/lightning/Makefile.am
index ab5b2f3..94aadcd 100644
--- a/include/lightning/Makefile.am
+++ b/include/lightning/Makefile.am
@@ -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
diff --git a/lib/Makefile.am b/lib/Makefile.am
index c4464cd..2b28377 100644
--- a/lib/Makefile.am
+++ b/lib/Makefile.am
@@ -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 \
- [Guile-commits] 166/437: Correct extra regressions found by the call.tst test case., (continued)
- [Guile-commits] 166/437: Correct extra regressions found by the call.tst test case., Andy Wingo, 2018/07/02
- [Guile-commits] 165/437: Add simple test case to test argument and return values., Andy Wingo, 2018/07/02
- [Guile-commits] 158/437: Add new test case to check stack integrity on complex stack frames., Andy Wingo, 2018/07/02
- [Guile-commits] 150/437: Add jit_ellipis and remove jit_prepare argument., Andy Wingo, 2018/07/02
- [Guile-commits] 108/437: fix x86_64 jit_bner_{f,d}, Andy Wingo, 2018/07/02
- [Guile-commits] 122/437: Correct ALU add and sub operations with 64 bit immediate operands., Andy Wingo, 2018/07/02
- [Guile-commits] 119/437: Correct branches and several ALU operations with 64 immediates, Andy Wingo, 2018/07/02
- [Guile-commits] 135/437: Correct implementation problems on ix86., Andy Wingo, 2018/07/02
- [Guile-commits] 169/437: Correct wrong and confusing reverse float comparison logic, Andy Wingo, 2018/07/02
- [Guile-commits] 139/437: Implement sqrt codes in mips., Andy Wingo, 2018/07/02
- [Guile-commits] 134/437: Correct make distcheck.,
Andy Wingo <=
- [Guile-commits] 156/437: Simplify listing of test cases with alternate jit generation options, Andy Wingo, 2018/07/02
- [Guile-commits] 157/437: Add two extra test cases for float operations., Andy Wingo, 2018/07/02
- [Guile-commits] 161/437: Add new register clobber detection test case., Andy Wingo, 2018/07/02
- [Guile-commits] 164/437: Add new carry test case., Andy Wingo, 2018/07/02
- [Guile-commits] 138/437: Correct mips backend implementation to pass initial tests., Andy Wingo, 2018/07/02
- [Guile-commits] 163/437: Add missing jit_htonr to ppc backend., Andy Wingo, 2018/07/02
- [Guile-commits] 177/437: Correct reference to dangling pointer and better note bounds checking, Andy Wingo, 2018/07/02
- [Guile-commits] 167/437: Change type of return of jit_arg* and argument to jit_getarg*, Andy Wingo, 2018/07/02
- [Guile-commits] 168/437: Add new extensive float comparison and conversion test case, Andy Wingo, 2018/07/02
- [Guile-commits] 192/437: Correct SPARC optimized assembly example in documentation, Andy Wingo, 2018/07/02