freebsd-dev/sys/pc98/boot/kzipboot/Makefile
Satoshi Asami 4c7278c696 The PC98-specific files.
Ok'd by:	core
Submitted by:	FreeBSD(98) development team
1996-06-14 10:04:54 +00:00

31 lines
733 B
Makefile

# $Id: Makefile,v 1.4 1995/10/06 02:57:22 peter Exp $
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=0x30
CFLAGS+= -DPC98
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>