freebsd-dev/sys/i386/boot/kzipboot/Makefile
Jordan K. Hubbard 1130b656e5 Make the long-awaited change from $Id$ to $FreeBSD$
This will make a number of things easier in the future, as well as (finally!)
avoiding the Id-smashing problem which has plagued developers for so long.

Boy, I'm glad we're not using sup anymore.  This update would have been
insane otherwise.
1997-01-14 07:20:47 +00:00

30 lines
675 B
Makefile

# $FreeBSD$
PROG= kztail.o kzhead.o
BINMODE = 444 # target is a relocatable object
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
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 kz*.o be stripped
CFLAGS+= -DKADDR=$(KADDR) -DCSEG=$(CSEG)
CFLAGS+= -DKZIP -DCOMCONSOLE=0x3F8
kztail.o: ${OBJS_KZTAIL}
$(LD) -r -x -o kztail.o $(OBJS_KZTAIL)
kzhead.o: ${OBJS_KZHEAD}
$(LD) -r -x -o kzhead.o $(OBJS_KZHEAD)
.include <bsd.prog.mk>