04e61f8526
- build (mdset/nm/strip) into ${filename} as one rule, and move ${filename}.gz into separate rule - rename MDSET.${filename}.nosymbols -> MDSET_NOSYMBOLS.${filename} - rename MDSET.${filename}.post -> MDSET_POST.${filename}, and don't do suffix handling here - rework suffix handling: - rename MDSET.${filename}.suffixes -> MDSET_SUFFIXES.${filename}, and change from list of suffixes to list of "suffix cmdtobuildsuffix", where cmdtobuildsuffix is the name of the variable containing the command to build ${filename}.${suffix} (available as "${.TARGET}"). - for each ${filename}.${suffix}, depend upon ${filename} and use ${cmdtobuildsuffix} to create the former. - add separate ${filename}.${suffix}.gz rule - mipsco & pmax: rename "install.gz" to "netbsd-INSTALL.gz", for consistency and so the target to build the mdset kernel doesn't get confused with general "install" target
34 lines
1.1 KiB
Makefile
34 lines
1.1 KiB
Makefile
# $NetBSD: Makefile,v 1.21 2002/05/08 21:44:55 lukem Exp $
|
|
|
|
.include <bsd.own.mk>
|
|
.include "${NETBSDSRCDIR}/distrib/common/Makefile.distrib"
|
|
|
|
.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= ${PBSDBOOTDIR}/pbsdboot.uu
|
|
PBSDBOOT1= ${PBSDBOOTDIR}/pbsdboot1.uu
|
|
HPCBOOTDIR= ${KERNSRCDIR}/arch/hpc/stand
|
|
HPCBOOT= ${HPCBOOTDIR}/binary/MIPS/hpcboot.exe.uu
|
|
|
|
release:: check_RELEASEDIR .WAIT ${PBSDBOOT1} ${PBSDBOOT} ${HPCBOOT}
|
|
(cd ${RELEASEDIR}/installation; ${UUDECODE} ${PBSDBOOT1}; \
|
|
chmod ${NONBINMODE} pbsdboot1.exe)
|
|
(cd ${RELEASEDIR}/installation; ${UUDECODE} ${PBSDBOOT}; \
|
|
chmod ${NONBINMODE} pbsdboot.exe)
|
|
(cd ${RELEASEDIR}/installation; rm -f hpcboot.exe; \
|
|
${UUDECODE} -p ${HPCBOOT} >hpcboot.exe ; \
|
|
chmod ${NONBINMODE} hpcboot.exe)
|
|
${MAKESUMS} -t ${RELEASEDIR}/installation '*.gz' '*.exe'
|
|
|
|
.include "${DISTRIBDIR}/common/Makefile.mdset"
|
|
|
|
.include <bsd.prog.mk>
|