oop; we need <bsd.own.mk> for ${PRINTOBJDIR}; pull that in, and

convert this Makefile to be more similar to others in distrib/**.

XXX: this still needs work to make this more non-netbsd-cross friendly.
e.g, use ${PAX} and compress instead of assuming that tar supports `Z', etc.
This commit is contained in:
lukem 2002-07-22 04:42:43 +00:00
parent 32592b3d4f
commit 39d512abf7
1 changed files with 10 additions and 8 deletions

View File

@ -1,12 +1,18 @@
# $NetBSD: Makefile,v 1.5 2002/07/19 16:32:13 lukem Exp $
# $NetBSD: Makefile,v 1.6 2002/07/22 04:42:43 lukem Exp $
#
.include <bsd.own.mk>
.include "${NETBSDSRCDIR}/distrib/common/Makefile.distrib"
.include <bsd.kernobj.mk>
# we use compressed tar, SparkPlug doesn't handle gzipped tar
ARCHIVE=BtNetBSD.tar.Z
RAMDISKDIR!= cd ${.CURDIR}/../ramdisk && ${PRINTOBJDIR}
all:
all: ${ARCHIVE}
release: check_RELEASEDIR .WAIT ${ARCHIVE}
mv -f ${ARCHIVE} ${RELEASEDIR}/installation/misc/
@ -31,11 +37,7 @@ tmp/BtNetBSD:
cd tmp/BtNetBSD && cp -R '!BtNetBSD/native' unixfs
clean:
@rm -f BtNetBSD.tar.Z
@rm -f ${ARCHIVE}
@if [ -d tmp ]; then rm -rf tmp; fi
.include <bsd.subdir.mk>
.include <bsd.obj.mk>
.include <bsd.kernobj.mk>
.include <bsd.prog.mk>