1 # $NetBSD: Makefile,v 1.5 2004/03/19 08:07:28 jmc Exp $ 2 3 .include <bsd.own.mk> 4 .include "${NETBSDSRCDIR}/distrib/common/Makefile.distrib" 5 6 .include <bsd.kernobj.mk> 7 8 MINIROOTOBJ!= cd ${.CURDIR}/../miniroot && ${PRINTOBJDIR} 9 MINIROOT= ${MINIROOTOBJ}/miniroot.fs 10 11 MDSETTARGETS= RAMDISK ${MINIROOT} netbsd 12 MDSET_RELEASEDIR= installation 13 14 HPCBOOTDIR= ${KERNSRCDIR}/arch/hpc/stand 15 HPCBOOT_SH3= ${HPCBOOTDIR}/binary/SH3 16 HPCBOOT_SH4= ${HPCBOOTDIR}/binary/SH4 17 18 UUDECODE_FILES= hpcboot-sh3.exe hpcboot-sh4.exe 19 UUDECODE_FILES_RENAME_hpcboot-sh3.exe= hpcboot-sh3.exe 20 UUDECODE_FILES_RENAME_hpcboot-sh4.exe= hpcboot-sh4.exe 21 22 CLEANFILES+= hpcboot-sh3.exe.uue hpcboot-sh4.exe.uue 23 24 hpcboot-sh3.exe.uue: 25 cp ${HPCBOOT_SH3}/hpcboot.exe.uue hpcboot-sh3.exe.uue 26 hpcboot-sh4.exe.uue: 27 cp ${HPCBOOT_SH4}/hpcboot.exe.uue hpcboot-sh4.exe.uue 28 29 release:: check_RELEASEDIR .WAIT hpcboot-sh3.exe hpcboot-sh4.exe 30 cp hpcboot-sh3.exe ${RELEASEDIR}/${MACHINE}/installation; \ 31 chmod ${NONBINMODE} ${RELEASEDIR}/${MACHINE}/installation/hpcboot-sh3.exe 32 cp hpcboot-sh4.exe ${RELEASEDIR}/${MACHINE}/installation; \ 33 chmod ${NONBINMODE} ${RELEASEDIR}/${MACHINE}/installation/hpcboot-sh4.exe 34 ${MAKESUMS} -t ${RELEASEDIR}/${MACHINE}/installation '*.gz' '*.exe' 35 36 .include "${DISTRIBDIR}/common/Makefile.mdset" 37 38 .include <bsd.files.mk> 39 .include <bsd.prog.mk> 40