summaryrefslogtreecommitdiffstats
path: root/sys/pc98/boot/kzipboot/Makefile
blob: beb70a5e56ccb0eca6cfa2b593ec22bfe1ef1bfb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
# $Id: Makefile,v 1.6 1998/05/28 13:48:40 kato 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/aout
.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) -aout -r -x -o kztail.o $(OBJS_KZTAIL)

kzhead.o:  ${OBJS_KZHEAD}
	$(LD) -aout -r -x -o kzhead.o $(OBJS_KZHEAD)

.include <bsd.prog.mk>
OpenPOWER on IntegriCloud