Catch attempts to queue to unregistered ISRs
[dragonfly.git] / sys / boot / pc32 / kgzldr / Makefile
CommitLineData
984263bc 1# $FreeBSD: src/sys/boot/i386/kgzldr/Makefile,v 1.3.2.1 2001/03/04 05:04:33 obrien Exp $
1de703da 2# $DragonFly: src/sys/boot/pc32/kgzldr/Makefile,v 1.2 2003/06/17 04:28:18 dillon Exp $
984263bc
MD
3
4PROG= kgzldr.o
5SRCS= start.s boot.c inflate.c lib.c crt.s sio.s
6CFLAGS= -fno-builtin
7.if ${OBJFORMAT} == aout
8CFLAGS+=-O2
9.else
10CFLAGS+=-Os
11.endif
12CFLAGS+=-DKZIP
13LDFLAGS=-nostdlib -static -r
14NOMAN=
15BINDIR= /usr/lib
16BINMODE=444
17STRIP=
18.PATH: ${.CURDIR}/../../../kern
19
20M4?= m4
21M4FLAGS=
22
23BOOT_COMCONSOLE_PORT?= 0x3f8
24M4FLAGS+=-DSIOPRT=${BOOT_COMCONSOLE_PORT}
25
26all: kgzldr.o
27
28kgzldr.o: ${OBJS}
29 ${CC} ${LDFLAGS} -o ${.TARGET} ${OBJS}
30
31.s.o:
32 (cd ${.CURDIR}; ${M4} ${M4FLAGS} ${.IMPSRC}) |\
33 ${AS} ${AFLAGS} -o ${.TARGET}
34
35.include <bsd.prog.mk>