NetBSD/distrib/hpcsh/stand/Makefile

32 lines
976 B
Makefile

# $NetBSD: Makefile,v 1.4 2014/01/22 01:03:10 christos Exp $
.include <bsd.own.mk>
.include "${NETBSDSRCDIR}/distrib/common/Makefile.distrib"
.include <bsd.kernobj.mk>
HPCBOOTDIR= ${KERNSRCDIR}/arch/hpc/stand
HPCBOOT_SH3DIR= ${HPCBOOTDIR}/binary/SH3
HPCBOOT_SH3= hpcboot-sh3.exe
HPCBOOT_SH4DIR= ${HPCBOOTDIR}/binary/SH4
HPCBOOT_SH4= hpcboot-sh4.exe
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_SH3DIR}/hpcboot.exe.uue hpcboot-sh3.exe.uue
hpcboot-sh4.exe.uue:
cp ${HPCBOOT_SH4DIR}/hpcboot.exe.uue hpcboot-sh4.exe.uue
release:: ${UUDECODE_FILES}
${INSTALL} -c -m ${NONBINMODE} \
${HPCBOOT_SH3} ${RELEASEDIR}/${RELEASEMACHINEDIR}/installation
${INSTALL} -c -m ${NONBINMODE} \
${HPCBOOT_SH4} ${RELEASEDIR}/${RELEASEMACHINEDIR}/installation
.include <bsd.files.mk>