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
15 lines
373 B
Makefile
15 lines
373 B
Makefile
# $NetBSD: Makefile,v 1.11 2002/05/08 21:44:55 lukem Exp $
|
|
|
|
.include <bsd.own.mk>
|
|
.include "${NETBSDSRCDIR}/distrib/common/Makefile.distrib"
|
|
|
|
RAMDISKDIR!= cd ${.CURDIR}/../ramdisk && ${PRINTOBJDIR}
|
|
RAMDISK= ${RAMDISKDIR}/ramdisk.fs
|
|
|
|
MDSETTARGETS= RAMDISK ${RAMDISK} -
|
|
MDSET_RELEASEDIR= binary/kernel
|
|
|
|
.include "${DISTRIBDIR}/common/Makefile.mdset"
|
|
|
|
.include <bsd.prog.mk>
|