2002-01-18 09:00:38 +00:00
|
|
|
# $FreeBSD$
|
|
|
|
|
2004-02-09 16:01:45 +00:00
|
|
|
PROG= kgzldr.o
|
2004-02-13 15:24:25 +00:00
|
|
|
STRIP=
|
2004-02-09 16:01:45 +00:00
|
|
|
BINMODE=${LIBMODE}
|
|
|
|
BINDIR= ${LIBDIR}
|
|
|
|
NOMAN=
|
2004-02-07 12:19:44 +00:00
|
|
|
|
2003-06-30 00:20:28 +00:00
|
|
|
SRCS= start.s boot.c inflate.c lib.c crt.s sio.s
|
2004-02-07 14:35:33 +00:00
|
|
|
CFLAGS= -Os
|
2002-01-18 09:00:38 +00:00
|
|
|
CFLAGS+=-DKZIP
|
2004-02-09 16:01:45 +00:00
|
|
|
NOSHARED=
|
|
|
|
LDFLAGS=-Wl,-r
|
2002-01-18 09:00:38 +00:00
|
|
|
.PATH: ${.CURDIR}/../../../kern
|
|
|
|
.PATH: ${.CURDIR}/../../i386/kgzldr
|
|
|
|
|
|
|
|
BOOT_COMCONSOLE_PORT?= 0x238
|
|
|
|
|
2004-02-09 16:01:45 +00:00
|
|
|
AFLAGS+=--defsym PC98=1
|
|
|
|
AFLAGS+=--defsym SIO_PRT=${BOOT_COMCONSOLE_PORT}
|
2002-01-18 09:00:38 +00:00
|
|
|
|
2003-06-30 00:20:28 +00:00
|
|
|
.include <bsd.prog.mk>
|