46 lines
1.3 KiB
Makefile
46 lines
1.3 KiB
Makefile
# $NetBSD: Makefile,v 1.28 2007/03/06 21:57:03 bouyer Exp $
|
|
|
|
.include <bsd.own.mk>
|
|
.include "${NETBSDSRCDIR}/distrib/common/Makefile.distrib"
|
|
|
|
SUBDIR= cdroms
|
|
|
|
iso_image:
|
|
${MAKEDIRTARGET} cdroms iso_image
|
|
|
|
.include <bsd.subdir.mk>
|
|
.include <bsd.kernobj.mk>
|
|
|
|
MINIROOTOBJ!= cd ${.CURDIR}/../miniroot && ${PRINTOBJDIR}
|
|
MINIROOT= ${MINIROOTOBJ}/miniroot.fs
|
|
|
|
MDSETTARGETS= RAMDISK ${MINIROOT} netbsd \
|
|
INSTALL_TX3912 ${MINIROOT} netbsd-TX3912
|
|
MDSET_RELEASEDIR= installation
|
|
|
|
PBSDBOOTDIR= ${KERNSRCDIR}/arch/${MACHINE}/stand/pbsdboot
|
|
PBSDBOOT= pbsdboot.exe
|
|
PBSDBOOT1= pbsdboot1.exe
|
|
HPCBOOTDIR= ${KERNSRCDIR}/arch/hpc/stand/binary/MIPS
|
|
HPCBOOT= hpcboot.exe
|
|
|
|
.PATH: ${PBSDBOOTDIR} ${HPCBOOTDIR}
|
|
|
|
UUDECODE_FILES= ${PBSDBOOT1} ${PBSDBOOT} ${HPCBOOT}
|
|
UUDECODE_FILES_RENAME_${HPCBOOT}= ${HPCBOOT}
|
|
|
|
.include "${DISTRIBDIR}/common/Makefile.mdset"
|
|
|
|
release:: check_RELEASEDIR .WAIT ${PBSDBOOT1} ${PBSDBOOT} ${HPCBOOT}
|
|
${MAKEDIRTARGET} cdroms release
|
|
${INSTALL} -c -m ${NONBINMODE} \
|
|
pbsdboot1.exe ${RELEASEDIR}/${MACHINE}/installation
|
|
${INSTALL} -c -m ${NONBINMODE} \
|
|
pbsdboot.exe ${RELEASEDIR}/${MACHINE}/installation
|
|
${INSTALL} -c -m ${NONBINMODE} \
|
|
hpcboot.exe ${RELEASEDIR}/${MACHINE}/installation
|
|
${MAKESUMS} -t ${RELEASEDIR}/${MACHINE}/installation '*.gz' '*.exe'
|
|
|
|
.include <bsd.files.mk>
|
|
.include <bsd.prog.mk>
|