freebsd-skq/sys/boot/i386/kgzldr/Makefile

22 lines
412 B
Makefile
Raw Normal View History

1999-08-28 01:08:13 +00:00
# $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}
2002-05-10 01:06:52 +00:00
CFLAGS= -ffreestanding
CFLAGS+=-Os
CFLAGS+=-DKZIP
LDFLAGS=-nostdlib -static -r
BINDIR= /usr/lib
.PATH: ${.CURDIR}/../../../kern
CLEANFILES=${FILES}
BOOT_COMCONSOLE_PORT?= 0x3f8
1999-07-19 20:10:17 +00:00
M4FLAGS+=-DSIOPRT=${BOOT_COMCONSOLE_PORT}
kgzldr.o: ${OBJS}
${CC} ${LDFLAGS} -o ${.TARGET} ${OBJS}
.include <bsd.prog.mk>