1# $FreeBSD: head/sys/boot/i386/kgzldr/Makefile 125566 2004-02-07 14:32:06Z ru $
| 1# $FreeBSD: head/sys/boot/i386/kgzldr/Makefile 125621 2004-02-09 14:11:58Z ru $
|
2
| 2
|
3FILES= kgzldr.o 4FILESOWN= ${LIBOWN} 5FILESGRP= ${LIBGRP} 6FILESMODE= ${LIBMODE} 7FILESDIR= ${LIBDIR} 8CLEANFILES= kgzldr.o
| 3PROG= kgzldr.o 4BINMODE=${LIBMODE} 5BINDIR= ${LIBDIR} 6NOMAN=
|
9 10SRCS= start.s boot.c inflate.c lib.c crt.s sio.s
| 7 8SRCS= start.s boot.c inflate.c lib.c crt.s sio.s
|
11OBJS= ${SRCS:N*.h:R:S/$/.o/g}
| |
12CFLAGS= -Os 13CFLAGS+=-DKZIP
| 9CFLAGS= -Os 10CFLAGS+=-DKZIP
|
14LDFLAGS=-nostdlib -static -Wl,-r
| 11NOSHARED= 12LDFLAGS=-Wl,-r
|
15.PATH: ${.CURDIR}/../../../kern 16 17BOOT_COMCONSOLE_PORT?= 0x3f8 18AFLAGS+=--defsym SIO_PRT=${BOOT_COMCONSOLE_PORT} 19
| 13.PATH: ${.CURDIR}/../../../kern 14 15BOOT_COMCONSOLE_PORT?= 0x3f8 16AFLAGS+=--defsym SIO_PRT=${BOOT_COMCONSOLE_PORT} 17
|
20kgzldr.o: ${OBJS} 21 ${CC} ${LDFLAGS} -o ${.TARGET} ${OBJS} 22
| |
23.include <bsd.prog.mk>
| 18.include <bsd.prog.mk>
|