1995-05-29 01:38:07 +00:00
|
|
|
# $Id: Makefile,v 1.1 1995/04/15 08:23:31 phk Exp $
|
1995-04-15 08:23:55 +00:00
|
|
|
|
|
|
|
PROG= kzip.o
|
|
|
|
SRCS= head.S boot.c unzip.c misc.c malloc.c inflate.c
|
|
|
|
BINDIR= /usr/lib
|
|
|
|
.PATH: ${.CURDIR}/../../../kern
|
|
|
|
NOMAN= toobad
|
|
|
|
|
|
|
|
# Where to load the kernel
|
|
|
|
KADDR = 0x100000
|
|
|
|
|
|
|
|
# What segment our code lives in
|
|
|
|
CSEG = 0x8
|
|
|
|
|
|
|
|
STRIP= # very important!! don't let kzip.o be stripped
|
|
|
|
|
|
|
|
CFLAGS+= -DKADDR=$(KADDR) -DCSEG=$(CSEG)
|
1995-05-29 01:38:07 +00:00
|
|
|
CFLAGS+= -DKZIP -DCOMCONSOLE=0x3F8
|
1995-04-15 08:23:55 +00:00
|
|
|
|
|
|
|
kzip.o: ${OBJS}
|
|
|
|
$(LD) -r -x -o kzip.o $(OBJS)
|
|
|
|
|
|
|
|
.include <bsd.prog.mk>
|