rejig a bit

This commit is contained in:
lukem 2002-04-07 04:29:15 +00:00
parent 8689328834
commit 0b8463079e
1 changed files with 8 additions and 12 deletions

View File

@ -1,30 +1,26 @@
# $NetBSD: Makefile,v 1.17 2002/03/07 01:58:30 lukem Exp $
# $NetBSD: Makefile,v 1.18 2002/04/07 04:29:15 lukem Exp $
.include "../../../../Makefile.inc"
.include "${.CURDIR}/../../../Makefile.inc"
.include <bsd.own.mk>
.include <bsd.kernobj.mk>
RAMDISKDIR!= cd ${.CURDIR}/../ramdisk && ${PRINTOBJDIR}
RAMDISK= ${RAMDISKDIR}/ramdisk.fs
KERNEL?=${KERNOBJDIR}/INSTALL/netbsd
all:
CLEANFILES+= netbsd netbsd.gz netbsd.symbols
realall:
cp ${KERNEL} netbsd
${MDSETIMAGE} -v netbsd ${RAMDISK}
${NM} netbsd > netbsd.symbols
${STRIP} netbsd
gzip -9f netbsd
clean cleandir distclean:
rm -f netbsd netbsd.gz netbsd.symbols
release:
release: check_RELEASEDIR
-mkdir -p ${RELEASEDIR}/binary/kernel
cp -p netbsd.gz ${RELEASEDIR}/binary/kernel/netbsd.INSTALL.gz
cp netbsd.symbols ${RELEASEDIR}/binary/kernel/netbsd.symbols
# nothing to do here
depend includes lint regress tags:
.include <bsd.kernobj.mk>
.include <bsd.obj.mk>
.include <bsd.prog.mk>