From 48fe834fda9075da8f4333e4803ed1e2e521cfb8 Mon Sep 17 00:00:00 2001 From: Mike Smith Date: Wed, 4 Nov 1998 00:30:47 +0000 Subject: [PATCH] Add required parts for BootForth building (currently disabled and untested). Only suitable for i386 at the moment, as we are missing setjmp/longjmp on the Alpha. --- sys/boot/i386/loader/Makefile | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/sys/boot/i386/loader/Makefile b/sys/boot/i386/loader/Makefile index d99154f47d5a..f072b010d7a3 100644 --- a/sys/boot/i386/loader/Makefile +++ b/sys/boot/i386/loader/Makefile @@ -1,4 +1,4 @@ -# $Id: Makefile,v 1.14 1998/10/22 20:23:58 msmith Exp $ +# $Id: Makefile,v 1.15 1998/10/23 22:32:27 msmith Exp $ BASE= loader PROG= ${BASE} @@ -14,6 +14,11 @@ SRCS= main.c conf.c HAVE_PNP= yes HAVE_ISABUS= yes +# Enable BootForth +#BOOT_FORTH= yes +#CFLAGS+= -DBOOT_FORTH -I${.CURDIR}/../../ficl +#LIBFICL= ${.CURDIR}/../../ficl/libficl.a + # Always add MI sources .PATH: ${.CURDIR}/../../common .include <${.CURDIR}/../../common/Makefile.inc> @@ -52,8 +57,8 @@ CFLAGS+= -elf CFLAGS+= -DNEW_LINKER_SET # Debug me! -#CFLAGS+= -g -#LDFLAGS+= -g +CFLAGS+= -g +LDFLAGS+= -g vers.o: sh ${.CURDIR}/newvers.sh ${.CURDIR}/version ${NEWVERSWHAT} @@ -70,9 +75,9 @@ ${BASE}.bin: ${BASE}.sym # Cannot use ${OBJS} above this line .include -${BASE}.sym: ${OBJS} ${LIBI386} vers.o +${BASE}.sym: ${OBJS} ${LIBI386} ${LIBSTAND} ${LIBFICL} vers.o ${CC} ${LDFLAGS} -o ${.TARGET} ${BTXCRT} ${OBJS} vers.o \ - ${LIBSTAND} ${LIBI386} ${LIBSTAND} + ${LIBFICL} ${LIBSTAND} ${LIBI386} ${LIBSTAND} # If it's not there, don't consider it a target .if exists(${.CURDIR}/../../../i386/include)