bcd106e18b
- Now that bsd.prog.mk deals with programs linked with -nostdlib better, and has a notion of an "internal" program, use PROG where possible. This has a good impact on the contents of .depend files and causes programs to be linked with cc(1). XXX: boot2 couldn't be converted as it's actually two programs. Tested on: i386, amd64
19 lines
309 B
Makefile
19 lines
309 B
Makefile
# $FreeBSD$
|
|
|
|
PROG= kgzldr.o
|
|
BINMODE=${LIBMODE}
|
|
BINDIR= ${LIBDIR}
|
|
NOMAN=
|
|
|
|
SRCS= start.s boot.c inflate.c lib.c crt.s sio.s
|
|
CFLAGS= -Os
|
|
CFLAGS+=-DKZIP
|
|
NOSHARED=
|
|
LDFLAGS=-Wl,-r
|
|
.PATH: ${.CURDIR}/../../../kern
|
|
|
|
BOOT_COMCONSOLE_PORT?= 0x3f8
|
|
AFLAGS+=--defsym SIO_PRT=${BOOT_COMCONSOLE_PORT}
|
|
|
|
.include <bsd.prog.mk>
|