| |
|
| if grep -q FORCE_REG arch/$machine/machine.h; then |
if grep -q FORCE_REG arch/$machine/machine.h; then |
| OPTS=`for i in $OPTS; do echo -n "$i-reg "; done`$OPTS |
OPTS=`for i in $OPTS; do echo -n "$i-reg "; done`$OPTS |
| |
else |
| |
AC_DEFINE_UNQUOTED(FORCE_REG_UNNECESSARY,,[defined if the platform does not need FORCE_REG]) |
| fi |
fi |
| AC_SUBST(OPTS) |
AC_SUBST(OPTS) |
| |
|
| AC_MSG_CHECKING([for gforth]) |
AC_MSG_CHECKING([for gforth]) |
| GFORTH="`cd / && which gforth 2>/dev/null`" |
GFORTH="`cd / && which gforth 2>/dev/null`" |
| if test -z "$GFORTH"; then |
if test -z "$GFORTH"; then |
| PREFORTH='echo "You need to configure with a gforth in $$PATH to build this part" && false' |
PREFORTH='echo "You need to configure with a gforth in \$PATH to build this part" && false' |
| else |
else |
| PREFORTH="$GFORTH -i `cd / && gforth --debug -e bye 2>&1 |grep "Opened image file: "|sed 's/Opened image file: //'`" ; |
PREFORTH="$GFORTH -i `cd / && gforth --debug -e bye 2>&1 |grep "Opened image file: "|sed 's/Opened image file: //'`" ; |
| fi |
fi |
| vmgen |
vmgen |
| machpc.fs |
machpc.fs |
| envos.fs |
envos.fs |
| |
preforth |
| engine/Makefile |
engine/Makefile |
| engine/libcc.h |
engine/libcc.h |
| doc/version.texi |
doc/version.texi |
| chmod +x gforthmi |
chmod +x gforthmi |
| chmod +x vmgen |
chmod +x vmgen |
| chmod +x build-ec |
chmod +x build-ec |
| |
chmod +x preforth |
| test -d kernel||mkdir kernel |
test -d kernel||mkdir kernel |
| $srcdir/mkinstalldirs include/gforth/$PACKAGE_VERSION |
$srcdir/mkinstalldirs include/gforth/$PACKAGE_VERSION |
| ln -sf ../../../engine/config.h ../../../engine/libcc.h include/gforth/$PACKAGE_VERSION]],[[PACKAGE_VERSION=$PACKAGE_VERSION]]) |
ln -sf ../../../engine/config.h ../../../engine/libcc.h include/gforth/$PACKAGE_VERSION]],[[PACKAGE_VERSION=$PACKAGE_VERSION]]) |