#	$NetBSD: Makefile,v 1.3 2002/11/18 12:39:45 lukem Exp $
#

.include <bsd.own.mk>


.include "${.CURDIR}/../Makefile.cdrom"

CDKERNELS=	netbsd-g4u.gz	netbsd	# from ../../instkernel
CDBASE=		g4u			# gives ${CDBASE}.iso
CDRUNTIME=				# Do not put stuff on CD!

MINIROOT_DIR!=	cd ${.CURDIR}/../../kmod/ ; ${MAKE} OBJMACHINE=${OBJMACHINE} print-objdir

ISO_VOLID=	g4u_${G4UVERSION}
#PUBLISHER=	Hubert Feyrer <hubert@feyrer.de>
PUBLISHER=	hubertf

#CDRELEASE=	true                    # include $RELEASEDIR/$MACHINE
CDBUILDEXTRA+=	boot.cfg		# Add boot.cfg file
CLEANFILES+=	boot.cfg

all: release 	# XXX hack attack - HF

prepare_md_post:
	${TOOL_SED} "s/@@G4UVERSION@@/${G4UVERSION}/" < ${.CURDIR}/boot.cfg.in > boot.cfg
	cp ${MINIROOT_DIR}/miniroot.kmod cdrom

.include "${.CURDIR}/../../../common/Makefile.bootcd"
