Home | History | Annotate | Line # | Download | only in hpcmips
Makefile revision 1.11
      1  1.11      shin #	$NetBSD: Makefile,v 1.11 2002/04/10 05:00:47 shin Exp $
      2   1.2      shin 
      3   1.2      shin .include "../Makefile.inc"
      4   1.2      shin 
      5   1.2      shin .include <bsd.obj.mk>
      6   1.2      shin .include <bsd.kernobj.mk>
      7   1.9   thorpej .include <bsd.own.mk>
      8   1.1  takemura 
      9   1.1  takemura SUBDIR=
     10   1.2      shin 
     11   1.2      shin ITARGET=	${RELEASEDIR}/installation
     12   1.7     lukem IINST=		${INSTALL} ${RENAME} ${PRESERVE} ${COPY} -m ${NONBINMODE}
     13   1.2      shin 
     14   1.2      shin PBSDBOOTDIR = ${KERNSRCDIR}/arch/${MACHINE}/stand/pbsdboot
     15  1.11      shin PBSDBOOT = ${PBSDBOOTDIR}/pbsdboot.uu
     16  1.11      shin PBSDBOOT1 = ${PBSDBOOTDIR}/pbsdboot1.uu
     17  1.10      shin HPCBOOTDIR = ${KERNSRCDIR}/arch/hpc/stand
     18  1.11      shin HPCBOOT = ${HPCBOOTDIR}/binary/MIPS/hpcboot.exe.uu
     19   1.5       jmc MDSETIMAGE?=	mdsetimage
     20   1.2      shin 
     21  1.10      shin INSTKERNELS = TX3912
     22   1.4      shin 
     23   1.2      shin .ifndef RELEASEDIR
     24   1.2      shin release:
     25   1.2      shin 	@echo setenv RELEASEDIR first
     26   1.2      shin 	@false
     27   1.2      shin .else
     28   1.2      shin MINIROOTDIR = ${.CURDIR}/../miniroot
     29   1.6        tv MINIROOTOBJ != cd ${MINIROOTDIR} && ${PRINTOBJDIR}
     30   1.2      shin 
     31   1.2      shin release:
     32   1.2      shin 	rm -f netbsd netbsd.gz
     33   1.2      shin 	cp ${KERNOBJDIR}/RAMDISK/netbsd .
     34   1.5       jmc 	${MDSETIMAGE} netbsd ${MINIROOTOBJ}/miniroot.fs
     35   1.2      shin 	gzip -9 netbsd
     36   1.2      shin 	${IINST} netbsd.gz ${ITARGET}/.
     37   1.4      shin .for instkern in ${INSTKERNELS}
     38   1.4      shin 	rm -f netbsd netbsd.gz
     39   1.4      shin 	cp ${KERNOBJDIR}/INSTALL_${instkern}/netbsd .
     40   1.8      shin 	${MDSETIMAGE} netbsd ${MINIROOTOBJ}/miniroot.fs
     41   1.4      shin 	gzip -9 netbsd
     42   1.4      shin 	${IINST} netbsd.gz ${ITARGET}/netbsd.${instkern}.gz
     43   1.4      shin .endfor
     44  1.11      shin 	(cd ${ITARGET}; ${UUDECODE} ${PBSDBOOT1}; chmod ${NONBINMODE} pbsdboot1.exe)
     45  1.11      shin 	(cd ${ITARGET}; ${UUDECODE} ${PBSDBOOT}; chmod ${NONBINMODE} pbsdboot.exe)
     46  1.11      shin 	(cd ${ITARGET}; rm -f hpcboot.exe; ${UUDECODE} -p ${HPCBOOT} >hpcboot.exe ; chmod ${NONBINMODE} hpcboot.exe)
     47   1.2      shin 	${.CURDIR}/../sets/makesums -t ${ITARGET} '*.gz' '*.exe'
     48   1.2      shin .endif
     49   1.1  takemura 
     50   1.1  takemura .include <bsd.subdir.mk>
     51