MFi386: revision 1.8

This commit is contained in:
Yoshihiro Takahashi 2002-04-25 13:28:10 +00:00
parent 5497ee0acf
commit f9ef610bd0

View File

@ -1,5 +1,6 @@
# $FreeBSD$
FILES= kgzldr.o
SRCS= start.s boot.c inflate.c lib.c crt.s sio.s
OBJS= ${SRCS:N*.h:R:S/$/.o/g}
CFLAGS= -fno-builtin
@ -10,23 +11,20 @@ CFLAGS+=-Os
.endif
CFLAGS+=-DKZIP
LDFLAGS=-nostdlib -static -r
NOMAN=
BINDIR= /usr/lib
BINMODE=444
STRIP=
.PATH: ${.CURDIR}/../../../kern
.PATH: ${.CURDIR}/../../i386/kgzldr
AFLAGS+=--defsym PC98=1
CLEANFILES=${FILES}
M4?= m4
M4FLAGS=-DOBJFORMAT=${OBJFORMAT}
BOOT_COMCONSOLE_PORT?= 0x238
M4FLAGS+=-DSIOPRT=${BOOT_COMCONSOLE_PORT}
all: kgzldr.o
kgzldr.o: ${OBJS}
${CC} ${LDFLAGS} -o ${.TARGET} ${OBJS}