NetBSD/distrib/pmax/instkernel/Makefile

47 lines
1.1 KiB
Makefile
Raw Normal View History

# $NetBSD: Makefile,v 1.26 2002/04/14 01:41:25 lukem Exp $
2000-06-01 10:54:57 +04:00
.include <bsd.own.mk>
.include "${_SRC_TOP_}/distrib/Makefile.inc"
.include <bsd.kernobj.mk>
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: ${KERNELS} ${IMAGE}.gz
DISKBINDIR= ${RELEASEDIR}/installation/diskimage
KERNBINDIR= ${RELEASEDIR}/binary/kernel
release: check_RELEASEDIR .WAIT ${IMAGE}.gz ${KERNELS}
-mkdir -p ${DISKBINDIR} ${KERNBINDIR}
${RELINSTALL} ${IMAGE}.gz ${DISKBINDIR}
${RELINSTALL} ${KERNELS} ${KERNBINDIR}
.include "${DISTRIBDIR}/common/Makefile.image"
.include "${DISTRIBDIR}/common/Makefile.mdset"
.include <bsd.prog.mk>