1#         $NetBSD: Makefile,v 1.4 2014/01/22 01:03:10 christos Exp $
2
3.include <bsd.own.mk>
4.include "${NETBSDSRCDIR}/distrib/common/Makefile.distrib"
5
6.include <bsd.kernobj.mk>
7
8HPCBOOTDIR=         ${KERNSRCDIR}/arch/hpc/stand
9HPCBOOT_SH3DIR=     ${HPCBOOTDIR}/binary/SH3
10HPCBOOT_SH3=        hpcboot-sh3.exe
11HPCBOOT_SH4DIR=     ${HPCBOOTDIR}/binary/SH4
12HPCBOOT_SH4=        hpcboot-sh4.exe
13
14UUDECODE_FILES= hpcboot-sh3.exe hpcboot-sh4.exe
15UUDECODE_FILES_RENAME_hpcboot-sh3.exe= hpcboot-sh3.exe
16UUDECODE_FILES_RENAME_hpcboot-sh4.exe= hpcboot-sh4.exe
17
18CLEANFILES+= hpcboot-sh3.exe.uue hpcboot-sh4.exe.uue
19
20hpcboot-sh3.exe.uue:
21          cp ${HPCBOOT_SH3DIR}/hpcboot.exe.uue hpcboot-sh3.exe.uue
22hpcboot-sh4.exe.uue:
23          cp ${HPCBOOT_SH4DIR}/hpcboot.exe.uue hpcboot-sh4.exe.uue
24
25release:: ${UUDECODE_FILES}
26          ${INSTALL} -c -m ${NONBINMODE} \
27                    ${HPCBOOT_SH3} ${RELEASEDIR}/${RELEASEMACHINEDIR}/installation
28          ${INSTALL} -c -m ${NONBINMODE} \
29                    ${HPCBOOT_SH4} ${RELEASEDIR}/${RELEASEMACHINEDIR}/installation
30
31.include <bsd.files.mk>
32