Home | History | Annotate | Line # | Download | only in hpcmips
Makefile revision 1.5
      1  1.5       jmc #	$NetBSD: Makefile,v 1.5 2001/10/21 23:23:20 jmc Exp $
      2  1.2      shin 
      3  1.2      shin .include "../Makefile.inc"
      4  1.2      shin 
      5  1.2      shin .include <bsd.own.mk>
      6  1.2      shin .include <bsd.obj.mk>
      7  1.2      shin .include <bsd.kernobj.mk>
      8  1.1  takemura 
      9  1.1  takemura SUBDIR=
     10  1.2      shin 
     11  1.2      shin ITARGET=	${RELEASEDIR}/installation
     12  1.2      shin IINST=		${INSTALL} ${RENAME} ${PRESERVE} ${COPY}	\
     13  1.2      shin 		-o ${BINOWN} -g ${BINGRP} -m ${NONBINMODE}
     14  1.2      shin 
     15  1.2      shin PBSDBOOTDIR = ${KERNSRCDIR}/arch/${MACHINE}/stand/pbsdboot
     16  1.2      shin PBSDBOOT = ${PBSDBOOTDIR}/pbsdboot.exe
     17  1.2      shin PBSDBOOT1 = ${PBSDBOOTDIR}/pbsdboot1.exe
     18  1.5       jmc MDSETIMAGE?=	mdsetimage
     19  1.2      shin 
     20  1.4      shin INSTKERNELS = TX3912 TX3922
     21  1.4      shin 
     22  1.2      shin .ifndef RELEASEDIR
     23  1.2      shin release:
     24  1.2      shin 	@echo setenv RELEASEDIR first
     25  1.2      shin 	@false
     26  1.2      shin .else
     27  1.2      shin MINIROOTDIR = ${.CURDIR}/../miniroot
     28  1.3     jhawk MINIROOTOBJ != cd ${MINIROOTDIR}; ${MAKE} print-objdir
     29  1.2      shin 
     30  1.2      shin release:
     31  1.2      shin 	rm -f netbsd netbsd.gz
     32  1.2      shin 	cp ${KERNOBJDIR}/RAMDISK/netbsd .
     33  1.5       jmc 	${MDSETIMAGE} netbsd ${MINIROOTOBJ}/miniroot.fs
     34  1.2      shin 	gzip -9 netbsd
     35  1.2      shin 	${IINST} netbsd.gz ${ITARGET}/.
     36  1.4      shin .for instkern in ${INSTKERNELS}
     37  1.4      shin 	rm -f netbsd netbsd.gz
     38  1.4      shin 	cp ${KERNOBJDIR}/INSTALL_${instkern}/netbsd .
     39  1.4      shin 	mdsetimage netbsd ${MINIROOTOBJ}/miniroot.fs
     40  1.4      shin 	gzip -9 netbsd
     41  1.4      shin 	${IINST} netbsd.gz ${ITARGET}/netbsd.${instkern}.gz
     42  1.4      shin .endfor
     43  1.4      shin 	cd ${KERNSRCDIR}/arch/${MACHINE}/stand/pbsdboot; make
     44  1.2      shin 	${IINST} ${PBSDBOOT} ${ITARGET}/.
     45  1.2      shin 	${IINST} ${PBSDBOOT1} ${ITARGET}/.
     46  1.2      shin 	${.CURDIR}/../sets/makesums -t ${ITARGET} '*.gz' '*.exe'
     47  1.2      shin .endif
     48  1.1  takemura 
     49  1.1  takemura .include <bsd.subdir.mk>
     50