NetBSD/distrib/hpcmips/Makefile
lukem ed8e534c7e yet another distrib overhaul:
- move guts of distrib/Makefile.inc to distrib/common/Makefile.distrib
  (fixes problem caused by implicit include of ../Makefile.inc in certain
  submake conditions triggered by makefiles not yet in tree)
- removed mkdir of ${RELEASEDIR}/*;  rely upon "snap_pre" target of
  etc/Makefile to create all the release directories
- renamed RELINSTALL to RELEASE_INSTALL
- renamed FLOPPYINSTDIR to FLOPPY_RELEASEDIR
- renamed MDSETDIR to MDSET_RELEASEDIR
- removed ITARGET
- move release target from top level to appropriate subdirectory
- ensure release target has correct depends
- replace miniroot's IMAGE_MD_POST with common/Makefile.image IMAGEPOSTBUILD
- Makefile.image: add realall: ${IMAGE}
2002-05-02 18:02:14 +00:00

34 lines
1.1 KiB
Makefile

# $NetBSD: Makefile,v 1.19 2002/05/02 18:02:35 lukem Exp $
.include <bsd.own.mk>
.include "${NETBSDSRCDIR}/distrib/common/Makefile.distrib"
.include <bsd.kernobj.mk>
MINIROOTOBJ!= cd ${.CURDIR}/../miniroot && ${PRINTOBJDIR}
MINIROOT= ${MINIROOTOBJ}/miniroot.fs
MDSETTARGETS= RAMDISK ${MINIROOT} netbsd \
INSTALL_TX3912 ${MINIROOT} netbsd.TX3912
MDSET_RELEASEDIR= installation
PBSDBOOTDIR= ${KERNSRCDIR}/arch/${MACHINE}/stand/pbsdboot
PBSDBOOT= ${PBSDBOOTDIR}/pbsdboot.uu
PBSDBOOT1= ${PBSDBOOTDIR}/pbsdboot1.uu
HPCBOOTDIR= ${KERNSRCDIR}/arch/hpc/stand
HPCBOOT= ${HPCBOOTDIR}/binary/MIPS/hpcboot.exe.uu
release: check_RELEASEDIR .WAIT ${PBSDBOOT1} ${PBSDBOOT} ${HPCBOOT}
(cd ${RELEASEDIR}/installation; ${UUDECODE} ${PBSDBOOT1}; \
chmod ${NONBINMODE} pbsdboot1.exe)
(cd ${RELEASEDIR}/installation; ${UUDECODE} ${PBSDBOOT}; \
chmod ${NONBINMODE} pbsdboot.exe)
(cd ${RELEASEDIR}/installation; rm -f hpcboot.exe; \
${UUDECODE} -p ${HPCBOOT} >hpcboot.exe ; \
chmod ${NONBINMODE} hpcboot.exe)
${MAKESUMS} -t ${RELEASEDIR}/installation '*.gz' '*.exe'
.include "${DISTRIBDIR}/common/Makefile.mdset"
.include <bsd.prog.mk>