1998-12-30 10:37:45 +00:00
|
|
|
# $Id: Makefile,v 1.9 1998/05/27 08:06:33 sos Exp $
|
1995-04-15 08:23:55 +00:00
|
|
|
|
1995-10-06 02:57:26 +00:00
|
|
|
PROG= kztail.o kzhead.o
|
1995-08-15 19:36:02 +00:00
|
|
|
BINMODE = 444 # target is a relocatable object
|
1995-10-06 02:57:26 +00:00
|
|
|
SRCS= tail.S head.S boot.c unzip.c misc.c malloc.c inflate.c
|
|
|
|
OBJS_KZHEAD= head.o
|
|
|
|
OBJS_KZTAIL= tail.o boot.o unzip.o misc.o malloc.o inflate.o
|
1998-05-27 08:06:33 +00:00
|
|
|
BINDIR= /usr/lib/aout
|
1995-04-15 08:23:55 +00:00
|
|
|
.PATH: ${.CURDIR}/../../../kern
|
|
|
|
NOMAN= toobad
|
|
|
|
|
|
|
|
# Where to load the kernel
|
|
|
|
KADDR = 0x100000
|
|
|
|
|
|
|
|
# What segment our code lives in
|
|
|
|
CSEG = 0x8
|
|
|
|
|
1995-10-06 02:57:26 +00:00
|
|
|
STRIP= # very important!! don't let kz*.o be stripped
|
1995-04-15 08:23:55 +00:00
|
|
|
|
|
|
|
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
|
|
|
|
1995-10-06 02:57:26 +00:00
|
|
|
kztail.o: ${OBJS_KZTAIL}
|
1998-12-30 10:37:45 +00:00
|
|
|
$(LD) -aout -r -x -o kztail.o $(OBJS_KZTAIL)
|
1995-10-06 02:57:26 +00:00
|
|
|
|
|
|
|
kzhead.o: ${OBJS_KZHEAD}
|
1998-12-30 10:37:45 +00:00
|
|
|
$(LD) -aout -r -x -o kzhead.o $(OBJS_KZHEAD)
|
1995-04-15 08:23:55 +00:00
|
|
|
|
|
|
|
.include <bsd.prog.mk>
|