# $NetBSD: Makefile,v 1.27 2002/04/14 06:18:13 lukem Exp $ .include .include "${_SRC_TOP_}/distrib/Makefile.inc" .include IMAGE= diskimage IMAGESIZE= 2m LISTS= ${.CURDIR}/list IMAGEENDIAN= le IMAGEDEPENDS= install.gz ${DESTDIR}/usr/mdec/boot RAMDISKDIR!= cd ${.CURDIR}/../ramdisk && ${PRINTOBJDIR} RAMDISK= ${RAMDISKDIR}/ramdisk.fs MDSETTARGETS= RAMDISK ${RAMDISK} install MDSET.install.suffixes= ecoff MDSET.install.post= ${ELF2ECOFF} netbsd.tmp netbsd.ecoff && \ gzip -9f netbsd.ecoff PRIMARYBOOT= ${DESTDIR}/usr/mdec/bootxx_ffs ${IMAGE}.gz: ${IMAGE} ${PRIMARYBOOT} ${INSTALLBOOT} -m ${MACHINE} ${IMAGE} ${PRIMARYBOOT} gzip -9f ${IMAGE} CLEANFILES+= ${IMAGE}.gz realall: ${KERNELDEPS} ${IMAGE}.gz DISKBINDIR= ${RELEASEDIR}/installation/diskimage KERNBINDIR= ${RELEASEDIR}/binary/kernel release: check_RELEASEDIR .WAIT ${IMAGE}.gz ${KERNELDEPS} -mkdir -p ${DISKBINDIR} ${KERNBINDIR} ${RELINSTALL} ${IMAGE}.gz ${DISKBINDIR} ${RELINSTALL} ${KERNELS} ${KERNBINDIR} .include "${DISTRIBDIR}/common/Makefile.image" .include "${DISTRIBDIR}/common/Makefile.mdset" .include