NetBSD/distrib/hpcsh/Makefile

40 lines
1.3 KiB
Makefile
Raw Normal View History

# $NetBSD: Makefile,v 1.5 2004/03/19 08:07:28 jmc Exp $
2002-06-26 16:30:52 +04:00
.include <bsd.own.mk>
.include "${NETBSDSRCDIR}/distrib/common/Makefile.distrib"
2002-06-26 16:30:52 +04:00
.include <bsd.kernobj.mk>
2002-06-26 16:30:52 +04:00
MINIROOTOBJ!= cd ${.CURDIR}/../miniroot && ${PRINTOBJDIR}
MINIROOT= ${MINIROOTOBJ}/miniroot.fs
MDSETTARGETS= RAMDISK ${MINIROOT} netbsd
MDSET_RELEASEDIR= installation
HPCBOOTDIR= ${KERNSRCDIR}/arch/hpc/stand
HPCBOOT_SH3= ${HPCBOOTDIR}/binary/SH3
HPCBOOT_SH4= ${HPCBOOTDIR}/binary/SH4
UUDECODE_FILES= hpcboot-sh3.exe hpcboot-sh4.exe
UUDECODE_FILES_RENAME_hpcboot-sh3.exe= hpcboot-sh3.exe
UUDECODE_FILES_RENAME_hpcboot-sh4.exe= hpcboot-sh4.exe
CLEANFILES+= hpcboot-sh3.exe.uue hpcboot-sh4.exe.uue
hpcboot-sh3.exe.uue:
cp ${HPCBOOT_SH3}/hpcboot.exe.uue hpcboot-sh3.exe.uue
hpcboot-sh4.exe.uue:
cp ${HPCBOOT_SH4}/hpcboot.exe.uue hpcboot-sh4.exe.uue
release:: check_RELEASEDIR .WAIT hpcboot-sh3.exe hpcboot-sh4.exe
cp hpcboot-sh3.exe ${RELEASEDIR}/${MACHINE}/installation; \
chmod ${NONBINMODE} ${RELEASEDIR}/${MACHINE}/installation/hpcboot-sh3.exe
cp hpcboot-sh4.exe ${RELEASEDIR}/${MACHINE}/installation; \
chmod ${NONBINMODE} ${RELEASEDIR}/${MACHINE}/installation/hpcboot-sh4.exe
${MAKESUMS} -t ${RELEASEDIR}/${MACHINE}/installation '*.gz' '*.exe'
.include "${DISTRIBDIR}/common/Makefile.mdset"
.include <bsd.files.mk>
.include <bsd.prog.mk>