75da8757fa
Submitted by: graichen@sirius.physik.fu-berlin.de (Thomas Graichen)
25 lines
532 B
Makefile
25 lines
532 B
Makefile
# $Id: Makefile,v 1.2 1995/05/29 01:38:03 phk Exp $
|
|
|
|
PROG= kzip.o
|
|
BINMODE = 444 # target is a relocatable object
|
|
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)
|
|
CFLAGS+= -DKZIP -DCOMCONSOLE=0x3F8
|
|
|
|
kzip.o: ${OBJS}
|
|
$(LD) -r -x -o kzip.o $(OBJS)
|
|
|
|
.include <bsd.prog.mk>
|