mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-04 09:09:56 +00:00
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.
This commit is contained in:
parent
cbb5c0dd58
commit
48fe834fda
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=40877
@ -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 <bsd.prog.mk>
|
||||
|
||||
${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)
|
||||
|
Loading…
Reference in New Issue
Block a user