Deleted Added
sdiff udiff text old ( 117053 ) new ( 125563 )
full compact
1# $FreeBSD: head/sys/boot/pc98/kgzldr/Makefile 117053 2003-06-30 00:20:28Z ru $
2
3SRCS= start.s boot.c inflate.c lib.c crt.s sio.s
4OBJS= ${SRCS:N*.h:R:S/$/.o/g}
5CFLAGS= -ffreestanding
6CFLAGS+=-Os
7CFLAGS+=-DKZIP
8LDFLAGS=-nostdlib -static -Wl,-r
9.PATH: ${.CURDIR}/../../../kern
10
11.PATH: ${.CURDIR}/../../i386/kgzldr
12AFLAGS+=--defsym PC98=1
13
14CLEANFILES=kgzldr.o
15
16BOOT_COMCONSOLE_PORT?= 0x238
17AFLAGS+=--defsym SIO_PRT=${BOOT_COMCONSOLE_PORT}
18
19all: kgzldr.o
20
21kgzldr.o: ${OBJS}
22 ${CC} ${LDFLAGS} -o ${.TARGET} ${OBJS}
23
24realinstall:
25 ${INSTALL} -o ${LIBOWN} -g ${LIBGRP} -m ${LIBMODE} \
26 kgzldr.o ${DESTDIR}${LIBDIR}
27
28.include <bsd.prog.mk>