Home | History | Annotate | Line # | Download | only in hpcsh
Makefile revision 1.6
      1 #	$NetBSD: Makefile,v 1.6 2007/03/06 21:57:04 bouyer Exp $
      2 
      3 .include <bsd.own.mk>
      4 .include "${NETBSDSRCDIR}/distrib/common/Makefile.distrib"
      5 
      6 SUBDIR=		cdroms
      7 
      8 iso_image:
      9 	${MAKEDIRTARGET} cdroms iso_image
     10 
     11 .include <bsd.subdir.mk>
     12 .include <bsd.kernobj.mk>
     13 
     14 MINIROOTOBJ!=	cd ${.CURDIR}/../miniroot && ${PRINTOBJDIR}
     15 MINIROOT=	${MINIROOTOBJ}/miniroot.fs
     16 
     17 MDSETTARGETS=		RAMDISK		${MINIROOT}	netbsd
     18 MDSET_RELEASEDIR=	installation
     19 
     20 HPCBOOTDIR=	${KERNSRCDIR}/arch/hpc/stand
     21 HPCBOOT_SH3=	${HPCBOOTDIR}/binary/SH3
     22 HPCBOOT_SH4=	${HPCBOOTDIR}/binary/SH4
     23 
     24 UUDECODE_FILES= hpcboot-sh3.exe hpcboot-sh4.exe
     25 UUDECODE_FILES_RENAME_hpcboot-sh3.exe= hpcboot-sh3.exe
     26 UUDECODE_FILES_RENAME_hpcboot-sh4.exe= hpcboot-sh4.exe
     27 
     28 CLEANFILES+= hpcboot-sh3.exe.uue hpcboot-sh4.exe.uue
     29 
     30 hpcboot-sh3.exe.uue:
     31 	cp ${HPCBOOT_SH3}/hpcboot.exe.uue hpcboot-sh3.exe.uue
     32 hpcboot-sh4.exe.uue:
     33 	cp ${HPCBOOT_SH4}/hpcboot.exe.uue hpcboot-sh4.exe.uue
     34 
     35 release:: check_RELEASEDIR .WAIT hpcboot-sh3.exe hpcboot-sh4.exe
     36 	${MAKEDIRTARGET} cdroms release
     37 	cp hpcboot-sh3.exe ${RELEASEDIR}/${MACHINE}/installation; \
     38 	chmod ${NONBINMODE} ${RELEASEDIR}/${MACHINE}/installation/hpcboot-sh3.exe
     39 	cp hpcboot-sh4.exe ${RELEASEDIR}/${MACHINE}/installation; \
     40 	chmod ${NONBINMODE} ${RELEASEDIR}/${MACHINE}/installation/hpcboot-sh4.exe
     41 	${MAKESUMS} -t ${RELEASEDIR}/${MACHINE}/installation '*.gz' '*.exe'
     42 
     43 .include "${DISTRIBDIR}/common/Makefile.mdset"
     44 
     45 .include <bsd.files.mk>
     46 .include <bsd.prog.mk>
     47