head	1.11;
access;
symbols
	netbsd-11-0-RC4:1.11
	netbsd-11-0-RC3:1.11
	netbsd-11-0-RC2:1.11
	netbsd-11-0-RC1:1.11
	perseant-exfatfs-base-20250801:1.11
	netbsd-11:1.11.0.116
	netbsd-11-base:1.11
	netbsd-10-1-RELEASE:1.11
	perseant-exfatfs-base-20240630:1.11
	perseant-exfatfs:1.11.0.114
	perseant-exfatfs-base:1.11
	netbsd-8-3-RELEASE:1.11
	netbsd-9-4-RELEASE:1.11
	netbsd-10-0-RELEASE:1.11
	netbsd-10-0-RC6:1.11
	netbsd-10-0-RC5:1.11
	netbsd-10-0-RC4:1.11
	netbsd-10-0-RC3:1.11
	netbsd-10-0-RC2:1.11
	netbsd-10-0-RC1:1.11
	netbsd-10:1.11.0.112
	netbsd-10-base:1.11
	netbsd-9-3-RELEASE:1.11
	cjep_sun2x-base1:1.11
	cjep_sun2x:1.11.0.110
	cjep_sun2x-base:1.11
	cjep_staticlib_x-base1:1.11
	netbsd-9-2-RELEASE:1.11
	cjep_staticlib_x:1.11.0.108
	cjep_staticlib_x-base:1.11
	netbsd-9-1-RELEASE:1.11
	phil-wifi-20200421:1.11
	phil-wifi-20200411:1.11
	is-mlppp:1.11.0.106
	is-mlppp-base:1.11
	phil-wifi-20200406:1.11
	netbsd-8-2-RELEASE:1.11
	netbsd-9-0-RELEASE:1.11
	netbsd-9-0-RC2:1.11
	netbsd-9-0-RC1:1.11
	phil-wifi-20191119:1.11
	netbsd-9:1.11.0.104
	netbsd-9-base:1.11
	phil-wifi-20190609:1.11
	netbsd-8-1-RELEASE:1.11
	netbsd-8-1-RC1:1.11
	pgoyette-compat-merge-20190127:1.11
	pgoyette-compat-20190127:1.11
	pgoyette-compat-20190118:1.11
	pgoyette-compat-1226:1.11
	pgoyette-compat-1126:1.11
	pgoyette-compat-1020:1.11
	pgoyette-compat-0930:1.11
	pgoyette-compat-0906:1.11
	netbsd-7-2-RELEASE:1.11
	pgoyette-compat-0728:1.11
	netbsd-8-0-RELEASE:1.11
	phil-wifi:1.11.0.102
	phil-wifi-base:1.11
	pgoyette-compat-0625:1.11
	netbsd-8-0-RC2:1.11
	pgoyette-compat-0521:1.11
	pgoyette-compat-0502:1.11
	pgoyette-compat-0422:1.11
	netbsd-8-0-RC1:1.11
	pgoyette-compat-0415:1.11
	pgoyette-compat-0407:1.11
	pgoyette-compat-0330:1.11
	pgoyette-compat-0322:1.11
	pgoyette-compat-0315:1.11
	netbsd-7-1-2-RELEASE:1.11
	pgoyette-compat:1.11.0.100
	pgoyette-compat-base:1.11
	netbsd-7-1-1-RELEASE:1.11
	matt-nb8-mediatek:1.11.0.98
	matt-nb8-mediatek-base:1.11
	perseant-stdc-iso10646:1.11.0.96
	perseant-stdc-iso10646-base:1.11
	netbsd-8:1.11.0.94
	netbsd-8-base:1.11
	prg-localcount2-base3:1.11
	prg-localcount2-base2:1.11
	prg-localcount2-base1:1.11
	prg-localcount2:1.11.0.92
	prg-localcount2-base:1.11
	pgoyette-localcount-20170426:1.11
	bouyer-socketcan-base1:1.11
	pgoyette-localcount-20170320:1.11
	netbsd-7-1:1.11.0.90
	netbsd-7-1-RELEASE:1.11
	netbsd-7-1-RC2:1.11
	netbsd-7-nhusb-base-20170116:1.11
	bouyer-socketcan:1.11.0.88
	bouyer-socketcan-base:1.11
	pgoyette-localcount-20170107:1.11
	netbsd-7-1-RC1:1.11
	pgoyette-localcount-20161104:1.11
	netbsd-7-0-2-RELEASE:1.11
	localcount-20160914:1.11
	netbsd-7-nhusb:1.11.0.86
	netbsd-7-nhusb-base:1.11
	pgoyette-localcount-20160806:1.11
	pgoyette-localcount-20160726:1.11
	pgoyette-localcount:1.11.0.84
	pgoyette-localcount-base:1.11
	netbsd-7-0-1-RELEASE:1.11
	netbsd-7-0:1.11.0.82
	netbsd-7-0-RELEASE:1.11
	netbsd-7-0-RC3:1.11
	netbsd-7-0-RC2:1.11
	netbsd-7-0-RC1:1.11
	netbsd-5-2-3-RELEASE:1.11
	netbsd-5-1-5-RELEASE:1.11
	netbsd-6-0-6-RELEASE:1.11
	netbsd-6-1-5-RELEASE:1.11
	netbsd-7:1.11.0.80
	netbsd-7-base:1.11
	yamt-pagecache-base9:1.11
	yamt-pagecache-tag8:1.11
	netbsd-6-1-4-RELEASE:1.11
	netbsd-6-0-5-RELEASE:1.11
	tls-earlyentropy:1.11.0.78
	tls-earlyentropy-base:1.11
	riastradh-xf86-video-intel-2-7-1-pre-2-21-15:1.11
	riastradh-drm2-base3:1.11
	netbsd-6-1-3-RELEASE:1.11
	netbsd-6-0-4-RELEASE:1.11
	netbsd-5-2-2-RELEASE:1.11
	netbsd-5-1-4-RELEASE:1.11
	netbsd-6-1-2-RELEASE:1.11
	netbsd-6-0-3-RELEASE:1.11
	netbsd-5-2-1-RELEASE:1.11
	netbsd-5-1-3-RELEASE:1.11
	netbsd-6-1-1-RELEASE:1.11
	riastradh-drm2-base2:1.11
	riastradh-drm2-base1:1.11
	riastradh-drm2:1.11.0.70
	riastradh-drm2-base:1.11
	netbsd-6-1:1.11.0.76
	netbsd-6-0-2-RELEASE:1.11
	netbsd-6-1-RELEASE:1.11
	khorben-n900:1.11.0.74
	netbsd-6-1-RC4:1.11
	netbsd-6-1-RC3:1.11
	agc-symver:1.11.0.72
	agc-symver-base:1.11
	netbsd-6-1-RC2:1.11
	netbsd-6-1-RC1:1.11
	yamt-pagecache-base8:1.11
	netbsd-5-2:1.11.0.68
	netbsd-6-0-1-RELEASE:1.11
	yamt-pagecache-base7:1.11
	netbsd-5-2-RELEASE:1.11
	netbsd-5-2-RC1:1.11
	matt-nb6-plus-nbase:1.11
	yamt-pagecache-base6:1.11
	netbsd-6-0:1.11.0.66
	netbsd-6-0-RELEASE:1.11
	netbsd-6-0-RC2:1.11
	tls-maxphys:1.11.0.64
	tls-maxphys-base:1.11
	matt-nb6-plus:1.11.0.62
	matt-nb6-plus-base:1.11
	netbsd-6-0-RC1:1.11
	yamt-pagecache-base5:1.11
	yamt-pagecache-base4:1.11
	netbsd-6:1.11.0.60
	netbsd-6-base:1.11
	netbsd-5-1-2-RELEASE:1.11
	netbsd-5-1-1-RELEASE:1.11
	yamt-pagecache-base3:1.11
	yamt-pagecache-base2:1.11
	yamt-pagecache:1.11.0.58
	yamt-pagecache-base:1.11
	cherry-xenmp:1.11.0.56
	cherry-xenmp-base:1.11
	bouyer-quota2-nbase:1.11
	bouyer-quota2:1.11.0.54
	bouyer-quota2-base:1.11
	matt-mips64-premerge-20101231:1.11
	matt-nb5-mips64-premerge-20101231:1.11
	matt-nb5-pq3:1.11.0.52
	matt-nb5-pq3-base:1.11
	netbsd-5-1:1.11.0.50
	netbsd-5-1-RELEASE:1.11
	netbsd-5-1-RC4:1.11
	matt-nb5-mips64-k15:1.11
	netbsd-5-1-RC3:1.11
	netbsd-5-1-RC2:1.11
	netbsd-5-1-RC1:1.11
	netbsd-5-0-2-RELEASE:1.11
	matt-nb5-mips64-premerge-20091211:1.11
	matt-premerge-20091211:1.11
	matt-nb5-mips64-u2-k2-k4-k7-k8-k9:1.11
	matt-nb4-mips64-k7-u2a-k9b:1.11
	matt-nb5-mips64-u1-k1-k5:1.11
	matt-nb5-mips64:1.11.0.48
	netbsd-5-0-1-RELEASE:1.11
	jym-xensuspend-nbase:1.11
	netbsd-5-0:1.11.0.46
	netbsd-5-0-RELEASE:1.11
	netbsd-5-0-RC4:1.11
	netbsd-5-0-RC3:1.11
	netbsd-5-0-RC2:1.11
	jym-xensuspend:1.11.0.44
	jym-xensuspend-base:1.11
	netbsd-5-0-RC1:1.11
	netbsd-5:1.11.0.42
	netbsd-5-base:1.11
	matt-mips64-base2:1.11
	matt-mips64:1.11.0.40
	netbsd-4-0-1-RELEASE:1.11
	wrstuden-revivesa-base-3:1.11
	wrstuden-revivesa-base-2:1.11
	wrstuden-fixsa-newbase:1.11
	wrstuden-revivesa-base-1:1.11
	yamt-pf42-base4:1.11
	yamt-pf42-base3:1.11
	hpcarm-cleanup-nbase:1.11
	yamt-pf42-baseX:1.11
	yamt-pf42-base2:1.11
	wrstuden-revivesa:1.11.0.38
	wrstuden-revivesa-base:1.11
	yamt-pf42:1.11.0.36
	yamt-pf42-base:1.11
	mjf-devfs2:1.11.0.34
	mjf-devfs2-base:1.11
	keiichi-mipv6:1.11.0.32
	keiichi-mipv6-base:1.11
	mjf-devfs:1.11.0.30
	mjf-devfs-base:1.11
	matt-armv6-nbase:1.11
	matt-armv6-prevmlocking:1.11
	wrstuden-fixsa-base-1:1.11
	netbsd-4-0:1.11.0.28
	netbsd-4-0-RELEASE:1.11
	cube-autoconf:1.11.0.26
	cube-autoconf-base:1.11
	netbsd-4-0-RC5:1.11
	netbsd-4-0-RC4:1.11
	netbsd-4-0-RC3:1.11
	netbsd-4-0-RC2:1.11
	netbsd-4-0-RC1:1.11
	matt-armv6:1.11.0.24
	matt-armv6-base:1.11
	matt-mips64-base:1.11
	hpcarm-cleanup:1.11.0.22
	hpcarm-cleanup-base:1.11
	netbsd-3-1-1-RELEASE:1.11
	netbsd-3-0-3-RELEASE:1.11
	wrstuden-fixsa:1.11.0.20
	wrstuden-fixsa-base:1.11
	abandoned-netbsd-4-base:1.11
	abandoned-netbsd-4:1.11.0.14
	netbsd-3-1:1.11.0.16
	netbsd-3-1-RELEASE:1.11
	netbsd-3-0-2-RELEASE:1.11
	netbsd-3-1-RC4:1.11
	netbsd-3-1-RC3:1.11
	netbsd-3-1-RC2:1.11
	netbsd-3-1-RC1:1.11
	netbsd-4:1.11.0.18
	netbsd-4-base:1.11
	netbsd-3-0-1-RELEASE:1.11
	netbsd-3-0:1.11.0.12
	netbsd-3-0-RELEASE:1.11
	netbsd-3-0-RC6:1.11
	netbsd-3-0-RC5:1.11
	netbsd-3-0-RC4:1.11
	netbsd-3-0-RC3:1.11
	netbsd-3-0-RC2:1.11
	netbsd-3-0-RC1:1.11
	netbsd-2-0-3-RELEASE:1.11
	netbsd-2-1:1.11.0.10
	netbsd-2-1-RELEASE:1.11
	netbsd-2-1-RC6:1.11
	netbsd-2-1-RC5:1.11
	netbsd-2-1-RC4:1.11
	netbsd-2-1-RC3:1.11
	netbsd-2-1-RC2:1.11
	netbsd-2-1-RC1:1.11
	netbsd-2-0-2-RELEASE:1.11
	netbsd-3:1.11.0.8
	netbsd-3-base:1.11
	netbsd-2-0-1-RELEASE:1.11
	netbsd-2:1.11.0.6
	netbsd-2-base:1.11
	netbsd-2-0-RELEASE:1.11
	netbsd-2-0-RC5:1.11
	netbsd-2-0-RC4:1.11
	netbsd-2-0-RC3:1.11
	netbsd-2-0-RC2:1.11
	netbsd-2-0-RC1:1.11
	netbsd-2-0:1.11.0.4
	netbsd-2-0-base:1.11
	netbsd-1-6-PATCH002-RELEASE:1.11
	netbsd-1-6-PATCH002:1.11
	netbsd-1-6-PATCH002-RC4:1.11
	netbsd-1-6-PATCH002-RC3:1.11
	netbsd-1-6-PATCH002-RC2:1.11
	netbsd-1-6-PATCH002-RC1:1.11
	netbsd-1-6-PATCH001:1.11
	netbsd-1-6-PATCH001-RELEASE:1.11
	netbsd-1-6-PATCH001-RC3:1.11
	netbsd-1-6-PATCH001-RC2:1.11
	netbsd-1-6-PATCH001-RC1:1.11
	fvdl_fs64_base:1.11
	netbsd-1-6-RELEASE:1.11
	netbsd-1-6-RC3:1.11
	netbsd-1-6-RC2:1.11
	netbsd-1-6-RC1:1.11
	netbsd-1-6:1.11.0.2
	netbsd-1-6-base:1.11
	netbsd-1-5-PATCH003:1.1
	netbsd-1-5-PATCH002:1.1
	netbsd-1-5-PATCH001:1.1
	netbsd-1-5-RELEASE:1.1
	netbsd-1-5-BETA2:1.1
	netbsd-1-5-BETA:1.1
	netbsd-1-5-ALPHA2:1.1
	netbsd-1-5:1.1.0.4
	netbsd-1-5-base:1.1
	minoura-xpg4dl:1.1.0.2
	minoura-xpg4dl-base:1.1;
locks; strict;
comment	@# @;


1.11
date	2002.05.08.21.44.59;	author lukem;	state Exp;
branches
	1.11.34.1;
next	1.10;

1.10
date	2002.05.02.18.03.01;	author lukem;	state Exp;
branches;
next	1.9;

1.9
date	2002.04.26.15.50.51;	author lukem;	state Exp;
branches;
next	1.8;

1.8
date	2002.04.12.13.39.49;	author lukem;	state Exp;
branches;
next	1.7;

1.7
date	2002.04.12.05.34.01;	author lukem;	state Exp;
branches;
next	1.6;

1.6
date	2002.04.11.15.34.58;	author lukem;	state Exp;
branches;
next	1.5;

1.5
date	2002.03.28.02.24.09;	author lukem;	state Exp;
branches;
next	1.4;

1.4
date	2002.03.05.21.23.30;	author thorpej;	state Exp;
branches;
next	1.3;

1.3
date	2001.10.21.23.23.23;	author jmc;	state Exp;
branches;
next	1.2;

1.2
date	2001.03.04.20.33.03;	author matt;	state Exp;
branches;
next	1.1;

1.1
date	2000.05.23.18.34.58;	author matt;	state Exp;
branches;
next	;

1.11.34.1
date	2008.10.05.20.11.17;	author mjf;	state dead;
branches;
next	;


desc
@@


1.11
log
@- whitespace consistency cleanup
- 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
@
text
@#	$NetBSD: Makefile,v 1.10 2002/05/02 18:03:01 lukem Exp $

.include <bsd.own.mk>
.include "${NETBSDSRCDIR}/distrib/common/Makefile.distrib"

RAMDISKDIR!=	cd ${.CURDIR}/../ramdisk && ${PRINTOBJDIR}
RAMDISK=	${RAMDISKDIR}/ramdisk.fs

MDSETTARGETS=		INSTALL ${RAMDISK} install.ram
MDSET_RELEASEDIR=	installation/netboot

.include "${DISTRIBDIR}/common/Makefile.mdset"

.include <bsd.prog.mk>
@


1.11.34.1
log
@Sync with HEAD.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.11 2002/05/08 21:44:59 lukem Exp $
@


1.10
log
@yet another distrib overhaul:
- move guts of distrib/Makefile.inc to distrib/common/Makefile.distrib
  (fixes problem caused by implicit include of ../Makefile.inc in certain
  submake conditions triggered by makefiles not yet in tree)
- removed mkdir of ${RELEASEDIR}/*;  rely upon "snap_pre" target of
  etc/Makefile to create all the release directories
- renamed RELINSTALL to RELEASE_INSTALL
- renamed FLOPPYINSTDIR to FLOPPY_RELEASEDIR
- renamed MDSETDIR to MDSET_RELEASEDIR
- removed ITARGET
- move release target from top level to appropriate subdirectory
- ensure release target has correct depends
- replace miniroot's IMAGE_MD_POST with common/Makefile.image IMAGEPOSTBUILD
- Makefile.image: add realall: ${IMAGE}
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.9 2002/04/26 15:50:51 lukem Exp $
a7 1
MDSETTARGETS=	INSTALL ${RAMDISK} install.ram
d9 1
@


1.9
log
@replace _SRC_TOP_ with NETBSDSRCDIR, since the latter is the "public" version
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.8 2002/04/12 13:39:49 lukem Exp $
d4 1
a4 1
.include "${NETBSDSRCDIR}/distrib/Makefile.inc"
d8 1
a8 1
MDSETTARGETS=	INSTALL ${RAMDISK} -
d10 1
a10 1
MDSETDIR=	binary/kernel
@


1.8
log
@Makefile.mdset:
	replace
		TARGETS = KERNEL IMAGE [...]
	with
		MDTARGETS = KERNEL IMAGE FILENAME [...]
	If FILENAME is "-", use "netbsd.${KERNEL}" as the target filename

The rest:
	Update for new MDTARGETS syntax.  In some cases, the kernel
	name from the "old" method will be used to override the default.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.7 2002/04/12 05:34:01 lukem Exp $
d4 1
a4 1
.include "${_SRC_TOP_}/distrib/Makefile.inc"
@


1.7
log
@- don't pull in <bsd.prog.mk> in Makefile.mdset; do that in the caller instead
- renamed optional post-strip action variable from ${KERNEL}.post to
  netbsd.${KERNEL}.post
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.6 2002/04/11 15:34:58 lukem Exp $
d8 1
a8 1
TARGETS=	INSTALL ${RAMDISK}
@


1.6
log
@convert to using distrib/common/Makefile.mdset
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.5 2002/03/28 02:24:09 lukem Exp $
d8 1
a8 1
TARGETS=	INSTALL	${RAMDISK}
d13 2
@


1.5
log
@minor cleanup
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.4 2002/03/05 21:23:30 thorpej Exp $
a2 1
.include "${.CURDIR}/../../Makefile.inc"
d4 1
a4 1
.include <bsd.kernobj.mk>
d6 1
a6 1
RAMDISKDIR!=	cd ${.CURDIR}/../ramdisk/ && ${PRINTOBJDIR}
d8 1
d10 1
a10 1
CLEANFILES=	netbsd.tmp
d12 1
a12 18
.for kernel in INSTALL
KERNELS+=	netbsd.${kernel}.gz
CLEANFILES+=	netbsd.${kernel}.gz
netbsd.${kernel}.gz: .NOTMAIN ${KERNOBJDIR}/${kernel}/netbsd ${RAMDISK}
	cp ${KERNOBJDIR}/${kernel}/netbsd netbsd.tmp
	${MDSETIMAGE} -v netbsd.tmp ${RAMDISK}
	${STRIP} netbsd.tmp
	gzip -9 netbsd.tmp
	mv netbsd.tmp.gz ${.TARGET}
.endfor

all: ${KERNELS}

release:
	-mkdir -p ${RELEASEDIR}/binary/kernel
	cp -p ${KERNELS} ${RELEASEDIR}/binary/kernel

.include <bsd.prog.mk>
@


1.4
log
@Make sure <bsd.own.mk> is pulled in before ${PRINTOBJDIR} is used.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.3 2001/10/21 23:23:23 jmc Exp $
d3 1
a3 3
TOP=		${.CURDIR}/..

.include "${TOP}/Makefile.inc"
d7 2
a8 3
MDEC=		${DESTDIR}/usr/mdec
STRIP?=		strip
MDSETIMAGE?=	${DESTDIR}/usr/sbin/mdsetimage
d10 1
a10 1
RAMDISK!=	cd ${.CURDIR}/../ramdisk/ && ${PRINTOBJDIR}
d13 2
d17 1
a17 1
	${MDSETIMAGE} -v netbsd.tmp ${RAMDISK}/ramdisk.fs
a20 1
KERNELS+=	netbsd.${kernel}.gz
d29 1
a29 5
clean cleandir distclean:
	rm -f *.core ${KERNELS}

.include <bsd.obj.mk>
.include <bsd.subdir.mk>
@


1.3
log
@Convert to using ${MDSETIMAGE}.

Provide a default value for $MDSETIMAGE and pull in bsd.own.mk to have
it overriden as needed for cross/-current builds.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.2 2001/03/04 20:33:03 matt Exp $
a33 1
.include <bsd.own.mk>
@


1.2
log
@Use ${PRINTOBJDIR}.  Install boot.fs
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.1 2000/05/23 18:34:58 matt Exp $
d11 1
d18 1
a18 1
	${DESTDIR}/usr/sbin/mdsetimage -v netbsd.tmp ${RAMDISK}/ramdisk.fs
@


1.1
log
@Build the INSTALL ramdisk kernel
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.3 2000/05/06 05:32:29 mycroft Exp $
d6 1
d12 1
a12 3
RAMDISK!=	cd $(.CURDIR)/../ramdisk/; \
	        printf "xxx: .MAKE\n\t@@echo \$${.OBJDIR}/ramdisk.fs\n" | \
		${MAKE} -s -f-
d17 1
a17 1
	${DESTDIR}/usr/sbin/mdsetimage -v netbsd.tmp ${RAMDISK}
@

