head	1.50;
access;
symbols
	netbsd-11-0-RC4:1.50
	netbsd-11-0-RC3:1.50
	netbsd-11-0-RC2:1.50
	netbsd-11-0-RC1:1.50
	perseant-exfatfs-base-20250801:1.50
	netbsd-11:1.50.0.6
	netbsd-11-base:1.50
	netbsd-10-1-RELEASE:1.50
	perseant-exfatfs-base-20240630:1.50
	perseant-exfatfs:1.50.0.4
	perseant-exfatfs-base:1.50
	netbsd-8-3-RELEASE:1.46.4.1
	netbsd-9-4-RELEASE:1.47.2.1
	netbsd-10-0-RELEASE:1.50
	netbsd-10-0-RC6:1.50
	netbsd-10-0-RC5:1.50
	netbsd-10-0-RC4:1.50
	netbsd-10-0-RC3:1.50
	netbsd-10-0-RC2:1.50
	netbsd-10-0-RC1:1.50
	netbsd-10:1.50.0.2
	netbsd-10-base:1.50
	netbsd-9-3-RELEASE:1.47.2.1
	cjep_sun2x-base1:1.49
	cjep_sun2x:1.49.0.6
	cjep_sun2x-base:1.49
	cjep_staticlib_x-base1:1.49
	netbsd-9-2-RELEASE:1.47
	cjep_staticlib_x:1.49.0.4
	cjep_staticlib_x-base:1.49
	netbsd-9-1-RELEASE:1.47
	phil-wifi-20200421:1.49
	phil-wifi-20200411:1.49
	is-mlppp:1.49.0.2
	is-mlppp-base:1.49
	phil-wifi-20200406:1.49
	netbsd-8-2-RELEASE:1.46
	netbsd-9-0-RELEASE:1.47
	netbsd-9-0-RC2:1.47
	netbsd-9-0-RC1:1.47
	phil-wifi-20191119:1.48
	netbsd-9:1.47.0.2
	netbsd-9-base:1.47
	phil-wifi-20190609:1.46
	netbsd-8-1-RELEASE:1.46
	netbsd-8-1-RC1:1.46
	pgoyette-compat-merge-20190127:1.46
	pgoyette-compat-20190127:1.46
	pgoyette-compat-20190118:1.46
	pgoyette-compat-1226:1.46
	pgoyette-compat-1126:1.46
	pgoyette-compat-1020:1.46
	pgoyette-compat-0930:1.46
	pgoyette-compat-0906:1.46
	netbsd-7-2-RELEASE:1.44
	pgoyette-compat-0728:1.46
	netbsd-8-0-RELEASE:1.46
	phil-wifi:1.46.0.12
	phil-wifi-base:1.46
	pgoyette-compat-0625:1.46
	netbsd-8-0-RC2:1.46
	pgoyette-compat-0521:1.46
	pgoyette-compat-0502:1.46
	pgoyette-compat-0422:1.46
	netbsd-8-0-RC1:1.46
	pgoyette-compat-0415:1.46
	pgoyette-compat-0407:1.46
	pgoyette-compat-0330:1.46
	pgoyette-compat-0322:1.46
	pgoyette-compat-0315:1.46
	netbsd-7-1-2-RELEASE:1.44
	pgoyette-compat:1.46.0.10
	pgoyette-compat-base:1.46
	netbsd-7-1-1-RELEASE:1.44
	matt-nb8-mediatek:1.46.0.8
	matt-nb8-mediatek-base:1.46
	perseant-stdc-iso10646:1.46.0.6
	perseant-stdc-iso10646-base:1.46
	netbsd-8:1.46.0.4
	netbsd-8-base:1.46
	prg-localcount2-base3:1.46
	prg-localcount2-base2:1.46
	prg-localcount2-base1:1.46
	prg-localcount2:1.46.0.2
	prg-localcount2-base:1.46
	pgoyette-localcount-20170426:1.46
	bouyer-socketcan-base1:1.46
	pgoyette-localcount-20170320:1.46
	netbsd-7-1:1.44.0.32
	netbsd-7-1-RELEASE:1.44
	netbsd-7-1-RC2:1.44
	netbsd-7-nhusb-base-20170116:1.44
	bouyer-socketcan:1.45.0.4
	bouyer-socketcan-base:1.45
	pgoyette-localcount-20170107:1.45
	netbsd-7-1-RC1:1.44
	pgoyette-localcount-20161104:1.45
	netbsd-7-0-2-RELEASE:1.44
	localcount-20160914:1.45
	netbsd-7-nhusb:1.44.0.30
	netbsd-7-nhusb-base:1.44
	pgoyette-localcount-20160806:1.45
	pgoyette-localcount-20160726:1.45
	pgoyette-localcount:1.45.0.2
	pgoyette-localcount-base:1.45
	netbsd-7-0-1-RELEASE:1.44
	netbsd-7-0:1.44.0.28
	netbsd-7-0-RELEASE:1.44
	netbsd-7-0-RC3:1.44
	netbsd-7-0-RC2:1.44
	netbsd-7-0-RC1:1.44
	netbsd-5-2-3-RELEASE:1.38
	netbsd-5-1-5-RELEASE:1.38
	netbsd-6-0-6-RELEASE:1.44
	netbsd-6-1-5-RELEASE:1.44
	netbsd-7:1.44.0.26
	netbsd-7-base:1.44
	yamt-pagecache-base9:1.44
	yamt-pagecache-tag8:1.44
	netbsd-6-1-4-RELEASE:1.44
	netbsd-6-0-5-RELEASE:1.44
	tls-earlyentropy:1.44.0.24
	tls-earlyentropy-base:1.44
	riastradh-xf86-video-intel-2-7-1-pre-2-21-15:1.44
	riastradh-drm2-base3:1.44
	netbsd-6-1-3-RELEASE:1.44
	netbsd-6-0-4-RELEASE:1.44
	netbsd-5-2-2-RELEASE:1.38
	netbsd-5-1-4-RELEASE:1.38
	netbsd-6-1-2-RELEASE:1.44
	netbsd-6-0-3-RELEASE:1.44
	netbsd-5-2-1-RELEASE:1.38
	netbsd-5-1-3-RELEASE:1.38
	netbsd-6-1-1-RELEASE:1.44
	riastradh-drm2-base2:1.44
	riastradh-drm2-base1:1.44
	riastradh-drm2:1.44.0.16
	riastradh-drm2-base:1.44
	netbsd-6-1:1.44.0.22
	netbsd-6-0-2-RELEASE:1.44
	netbsd-6-1-RELEASE:1.44
	khorben-n900:1.44.0.20
	netbsd-6-1-RC4:1.44
	netbsd-6-1-RC3:1.44
	agc-symver:1.44.0.18
	agc-symver-base:1.44
	netbsd-6-1-RC2:1.44
	netbsd-6-1-RC1:1.44
	yamt-pagecache-base8:1.44
	netbsd-5-2:1.38.0.12
	netbsd-6-0-1-RELEASE:1.44
	yamt-pagecache-base7:1.44
	netbsd-5-2-RELEASE:1.38
	netbsd-5-2-RC1:1.38
	matt-nb6-plus-nbase:1.44
	yamt-pagecache-base6:1.44
	netbsd-6-0:1.44.0.14
	netbsd-6-0-RELEASE:1.44
	netbsd-6-0-RC2:1.44
	tls-maxphys:1.44.0.12
	tls-maxphys-base:1.44
	matt-nb6-plus:1.44.0.10
	matt-nb6-plus-base:1.44
	netbsd-6-0-RC1:1.44
	yamt-pagecache-base5:1.44
	yamt-pagecache-base4:1.44
	netbsd-6:1.44.0.8
	netbsd-6-base:1.44
	netbsd-5-1-2-RELEASE:1.38
	netbsd-5-1-1-RELEASE:1.38
	yamt-pagecache-base3:1.44
	yamt-pagecache-base2:1.44
	yamt-pagecache:1.44.0.6
	yamt-pagecache-base:1.44
	cherry-xenmp:1.44.0.4
	cherry-xenmp-base:1.44
	bouyer-quota2-nbase:1.44
	bouyer-quota2:1.44.0.2
	bouyer-quota2-base:1.44
	matt-mips64-premerge-20101231:1.44
	matt-nb5-mips64-premerge-20101231:1.38
	matt-nb5-pq3:1.38.0.10
	matt-nb5-pq3-base:1.38
	netbsd-5-1:1.38.0.8
	GWR:1.1.1
	netbsd-5-1-RELEASE:1.38
	netbsd-5-1-RC4:1.38
	matt-nb5-mips64-k15:1.38
	netbsd-5-1-RC3:1.38
	netbsd-5-1-RC2:1.38
	netbsd-5-1-RC1:1.38
	netbsd-5-0-2-RELEASE:1.38
	matt-nb5-mips64-premerge-20091211:1.38
	matt-premerge-20091211:1.42
	matt-nb5-mips64-u2-k2-k4-k7-k8-k9:1.38
	matt-nb4-mips64-k7-u2a-k9b:1.38
	matt-nb5-mips64-u1-k1-k5:1.38
	matt-nb5-mips64:1.38.0.6
	netbsd-5-0-1-RELEASE:1.38
	jym-xensuspend-nbase:1.39
	netbsd-5-0:1.38.0.4
	netbsd-5-0-RELEASE:1.38
	netbsd-5-0-RC4:1.38
	netbsd-5-0-RC3:1.38
	netbsd-5-0-RC2:1.38
	jym-xensuspend:1.39.0.2
	jym-xensuspend-base:1.39
	netbsd-5-0-RC1:1.38
	netbsd-5:1.38.0.2
	netbsd-5-base:1.38
	matt-mips64-base2:1.37
	matt-mips64:1.36.0.16
	netbsd-4-0-1-RELEASE:1.33
	wrstuden-revivesa-base-3:1.37
	wrstuden-revivesa-base-2:1.37
	wrstuden-fixsa-newbase:1.33
	wrstuden-revivesa-base-1:1.37
	yamt-pf42-base4:1.37
	yamt-pf42-base3:1.37
	hpcarm-cleanup-nbase:1.37
	yamt-pf42-baseX:1.36
	yamt-pf42-base2:1.37
	wrstuden-revivesa:1.37.0.2
	wrstuden-revivesa-base:1.37
	yamt-pf42:1.36.0.14
	yamt-pf42-base:1.36
	mjf-devfs2:1.36.0.12
	mjf-devfs2-base:1.37
	keiichi-mipv6:1.36.0.10
	keiichi-mipv6-base:1.36
	mjf-devfs:1.36.0.8
	mjf-devfs-base:1.36
	matt-armv6-nbase:1.36
	matt-armv6-prevmlocking:1.36
	wrstuden-fixsa-base-1:1.33
	netbsd-4-0:1.33.0.8
	netbsd-4-0-RELEASE:1.33
	cube-autoconf:1.36.0.6
	cube-autoconf-base:1.36
	netbsd-4-0-RC5:1.33
	netbsd-4-0-RC4:1.33
	netbsd-4-0-RC3:1.33
	netbsd-4-0-RC2:1.33
	netbsd-4-0-RC1:1.33
	matt-armv6:1.36.0.4
	matt-armv6-base:1.36
	matt-mips64-base:1.36
	hpcarm-cleanup:1.36.0.2
	hpcarm-cleanup-base:1.36
	netbsd-3-1-1-RELEASE:1.32
	netbsd-3-0-3-RELEASE:1.32
	wrstuden-fixsa:1.33.0.6
	wrstuden-fixsa-base:1.33
	abandoned-netbsd-4-base:1.33
	abandoned-netbsd-4:1.33.0.2
	netbsd-3-1:1.32.0.12
	netbsd-3-1-RELEASE:1.32
	netbsd-3-0-2-RELEASE:1.32
	netbsd-3-1-RC4:1.32
	netbsd-3-1-RC3:1.32
	netbsd-3-1-RC2:1.32
	netbsd-3-1-RC1:1.32
	netbsd-4:1.33.0.4
	netbsd-4-base:1.33
	netbsd-3-0-1-RELEASE:1.32
	netbsd-3-0:1.32.0.10
	netbsd-3-0-RELEASE:1.32
	netbsd-3-0-RC6:1.32
	netbsd-3-0-RC5:1.32
	netbsd-3-0-RC4:1.32
	netbsd-3-0-RC3:1.32
	netbsd-3-0-RC2:1.32
	netbsd-3-0-RC1:1.32
	netbsd-2-0-3-RELEASE:1.32
	netbsd-2-1:1.32.0.8
	netbsd-2-1-RELEASE:1.32
	netbsd-2-1-RC6:1.32
	netbsd-2-1-RC5:1.32
	netbsd-2-1-RC4:1.32
	netbsd-2-1-RC3:1.32
	netbsd-2-1-RC2:1.32
	netbsd-2-1-RC1:1.32
	netbsd-2-0-2-RELEASE:1.32
	netbsd-3:1.32.0.6
	netbsd-3-base:1.32
	netbsd-2-0-1-RELEASE:1.32
	netbsd-2:1.32.0.4
	netbsd-2-base:1.32
	netbsd-2-0-RELEASE:1.32
	netbsd-2-0-RC5:1.32
	netbsd-2-0-RC4:1.32
	netbsd-2-0-RC3:1.32
	netbsd-2-0-RC2:1.32
	netbsd-2-0-RC1:1.32
	netbsd-2-0:1.32.0.2
	netbsd-2-0-base:1.32
	netbsd-1-6-PATCH002-RELEASE:1.29.2.1
	netbsd-1-6-PATCH002:1.29.2.1
	netbsd-1-6-PATCH002-RC4:1.29.2.1
	netbsd-1-6-PATCH002-RC3:1.29.2.1
	netbsd-1-6-PATCH002-RC2:1.29.2.1
	netbsd-1-6-PATCH002-RC1:1.29.2.1
	netbsd-1-6-PATCH001:1.29.2.1
	netbsd-1-6-PATCH001-RELEASE:1.29.2.1
	netbsd-1-6-PATCH001-RC3:1.29.2.1
	netbsd-1-6-PATCH001-RC2:1.29.2.1
	netbsd-1-6-PATCH001-RC1:1.29.2.1
	fvdl_fs64_base:1.30
	netbsd-1-6-RELEASE:1.29.2.1
	netbsd-1-6-RC3:1.29.2.1
	netbsd-1-6-RC2:1.29.2.1
	netbsd-1-6-RC1:1.29.2.1
	netbsd-1-6:1.29.0.2
	netbsd-1-6-base:1.29
	netbsd-1-5-PATCH003:1.18.2.1
	netbsd-1-5-PATCH002:1.18.2.1
	netbsd-1-5-PATCH001:1.18.2.1
	netbsd-1-5-RELEASE:1.18
	netbsd-1-5-BETA2:1.18
	netbsd-1-5-BETA:1.18
	netbsd-1-4-PATCH003:1.12.2.3
	netbsd-1-5-ALPHA2:1.18
	netbsd-1-5:1.18.0.2
	netbsd-1-5-base:1.18
	minoura-xpg4dl:1.15.0.6
	minoura-xpg4dl-base:1.15
	netbsd-1-4-PATCH002:1.12.2.2
	wrstuden-devbsize-19991221:1.15
	wrstuden-devbsize:1.15.0.4
	wrstuden-devbsize-base:1.15
	comdex-fall-1999:1.15.0.2
	comdex-fall-1999-base:1.15
	netbsd-1-4-PATCH001:1.12.2.1
	netbsd-1-4-RELEASE:1.12
	netbsd-1-4:1.12.0.2
	netbsd-1-4-base:1.12
	netbsd-1-3-PATCH003:1.4.2.2
	netbsd-1-3-PATCH003-CANDIDATE2:1.4.2.2
	netbsd-1-3-PATCH003-CANDIDATE1:1.4.2.2
	netbsd-1-3-PATCH003-CANDIDATE0:1.4.2.2
	netbsd-1-3-PATCH002:1.4.2.2
	netbsd-1-3-PATCH001:1.4.2.1
	netbsd-1-3-RELEASE:1.4.2.1
	netbsd-1-3-BETA:1.4
	netbsd-1-3:1.4.0.2
	netbsd-1-3-base:1.4
	netbsd-1-2-PATCH001:1.3.6.1
	netbsd-1-2-RELEASE:1.3.6.1
	netbsd-1-2-BETA:1.3
	netbsd-1-2-base:1.3
	netbsd-1-2:1.3.0.6
	netbsd-1-1-PATCH001:1.3
	netbsd-1-1-RELEASE:1.3
	netbsd-1-1:1.3.0.2
	netbsd-1-1-base:1.3;
locks; strict;
comment	@# @;


1.50
date	2021.06.18.23.55.20;	author tsutsui;	state Exp;
branches;
next	1.49;
commitid	Jp1lruLsGCv1LFXC;

1.49
date	2019.12.29.18.26.19;	author christos;	state Exp;
branches;
next	1.48;
commitid	QaphWvAMkPXycDQB;

1.48
date	2019.10.27.02.07.42;	author christos;	state Exp;
branches;
next	1.47;
commitid	Flu3rJTSt24XOrIB;

1.47
date	2019.07.28.10.29.49;	author martin;	state Exp;
branches
	1.47.2.1;
next	1.46;
commitid	Lk7KeGPrSLBpwNwB;

1.46
date	2017.01.24.18.04.05;	author christos;	state Exp;
branches
	1.46.4.1
	1.46.12.1;
next	1.45;
commitid	kdLAgdCEWzeUrfDz;

1.45
date	2014.08.27.04.30.25;	author christos;	state Exp;
branches
	1.45.2.1
	1.45.4.1;
next	1.44;
commitid	CKlX6MLmXWYogXNx;

1.44
date	2010.02.11.09.06.51;	author roy;	state Exp;
branches;
next	1.43;

1.43
date	2010.02.05.10.01.21;	author roy;	state Exp;
branches;
next	1.42;

1.42
date	2009.09.24.21.04.46;	author he;	state Exp;
branches;
next	1.41;

1.41
date	2009.09.20.22.46.14;	author abs;	state Exp;
branches;
next	1.40;

1.40
date	2009.09.20.19.41.35;	author abs;	state Exp;
branches;
next	1.39;

1.39
date	2009.01.25.22.08.39;	author abs;	state Exp;
branches;
next	1.38;

1.38
date	2008.10.25.22.27.34;	author apb;	state Exp;
branches;
next	1.37;

1.37
date	2008.04.29.17.30.34;	author tsutsui;	state Exp;
branches;
next	1.36;

1.36
date	2007.06.24.05.41.53;	author isaki;	state Exp;
branches
	1.36.12.1
	1.36.14.1;
next	1.35;

1.35
date	2007.03.03.06.40.09;	author apb;	state Exp;
branches;
next	1.34;

1.34
date	2007.03.01.09.25.42;	author apb;	state Exp;
branches;
next	1.33;

1.33
date	2006.08.02.09.30.46;	author tsutsui;	state Exp;
branches;
next	1.32;

1.32
date	2003.07.10.10.34.15;	author lukem;	state Exp;
branches;
next	1.31;

1.31
date	2003.04.02.10.39.20;	author fvdl;	state Exp;
branches;
next	1.30;

1.30
date	2002.05.28.21.15.56;	author nathanw;	state Exp;
branches;
next	1.29;

1.29
date	2002.05.18.13.26.14;	author lukem;	state Exp;
branches
	1.29.2.1;
next	1.28;

1.28
date	2002.05.17.17.52.35;	author lukem;	state Exp;
branches;
next	1.27;

1.27
date	2002.05.02.18.02.58;	author lukem;	state Exp;
branches;
next	1.26;

1.26
date	2002.04.26.15.50.48;	author lukem;	state Exp;
branches;
next	1.25;

1.25
date	2002.04.26.15.05.18;	author lukem;	state Exp;
branches;
next	1.24;

1.24
date	2002.04.18.15.36.57;	author bouyer;	state Exp;
branches;
next	1.23;

1.23
date	2002.04.12.03.21.11;	author lukem;	state Exp;
branches;
next	1.22;

1.22
date	2002.03.06.12.15.19;	author lukem;	state Exp;
branches;
next	1.21;

1.21
date	2001.11.09.21.00.04;	author tsutsui;	state Exp;
branches;
next	1.20;

1.20
date	2001.10.13.06.15.21;	author jmc;	state Exp;
branches;
next	1.19;

1.19
date	2001.02.13.03.10.56;	author jmc;	state Exp;
branches;
next	1.18;

1.18
date	2000.06.19.14.39.24;	author tsutsui;	state Exp;
branches
	1.18.2.1;
next	1.17;

1.17
date	2000.06.10.03.02.14;	author tsutsui;	state Exp;
branches;
next	1.16;

1.16
date	2000.06.09.14.58.32;	author tsutsui;	state Exp;
branches;
next	1.15;

1.15
date	99.05.21.04.06.20;	author gwr;	state Exp;
branches;
next	1.14;

1.14
date	99.05.16.08.21.53;	author gwr;	state Exp;
branches;
next	1.13;

1.13
date	99.04.22.04.32.12;	author gwr;	state Exp;
branches;
next	1.12;

1.12
date	99.03.04.20.32.21;	author wrstuden;	state Exp;
branches
	1.12.2.1;
next	1.11;

1.11
date	98.09.05.14.46.17;	author lukem;	state Exp;
branches;
next	1.10;

1.10
date	98.05.29.17.58.53;	author gwr;	state Exp;
branches;
next	1.9;

1.9
date	98.03.17.23.03.32;	author gwr;	state Exp;
branches;
next	1.8;

1.8
date	98.02.12.19.55.14;	author gwr;	state Exp;
branches;
next	1.7;

1.7
date	97.12.12.22.42.11;	author gwr;	state Exp;
branches;
next	1.6;

1.6
date	97.12.12.22.37.19;	author gwr;	state Exp;
branches;
next	1.5;

1.5
date	97.12.12.04.15.41;	author gwr;	state Exp;
branches;
next	1.4;

1.4
date	96.10.09.00.13.36;	author jtc;	state Exp;
branches
	1.4.2.1;
next	1.3;

1.3
date	95.11.21.21.19.12;	author gwr;	state Exp;
branches
	1.3.2.1
	1.3.6.1;
next	1.2;

1.2
date	95.10.13.16.46.47;	author gwr;	state Exp;
branches
	1.2.2.1;
next	1.1;

1.1
date	95.10.08.23.07.53;	author gwr;	state Exp;
branches
	1.1.1.1;
next	;

1.47.2.1
date	2021.06.25.19.08.46;	author martin;	state Exp;
branches;
next	;
commitid	bBz3qfFfB09BXxYC;

1.46.4.1
date	2021.06.25.19.13.20;	author martin;	state Exp;
branches;
next	;
commitid	BEvFoQrceCbaZxYC;

1.46.12.1
date	2020.04.08.14.03.55;	author martin;	state Exp;
branches;
next	1.46.12.2;
commitid	Qli2aW9E74UFuA3C;

1.46.12.2
date	2020.04.13.07.45.36;	author martin;	state Exp;
branches;
next	;
commitid	X01YhRUPVUDaec4C;

1.45.2.1
date	2017.03.20.06.52.10;	author pgoyette;	state Exp;
branches;
next	;
commitid	jjw7cAwgyKq7RfKz;

1.45.4.1
date	2017.04.21.16.51.15;	author bouyer;	state Exp;
branches;
next	;
commitid	dUG7nkTKALCadqOz;

1.36.12.1
date	2008.06.02.13.21.18;	author mjf;	state Exp;
branches;
next	1.36.12.2;

1.36.12.2
date	2008.10.05.20.10.38;	author mjf;	state dead;
branches;
next	;

1.36.14.1
date	2008.05.18.12.29.41;	author yamt;	state Exp;
branches;
next	;

1.29.2.1
date	2002.05.28.23.09.39;	author tv;	state Exp;
branches;
next	;

1.18.2.1
date	2001.04.21.18.37.29;	author he;	state Exp;
branches;
next	;

1.12.2.1
date	99.06.21.03.16.53;	author perry;	state Exp;
branches;
next	1.12.2.2;

1.12.2.2
date	2000.03.01.00.27.37;	author he;	state Exp;
branches;
next	1.12.2.3;

1.12.2.3
date	2000.07.23.16.30.27;	author he;	state Exp;
branches;
next	;

1.4.2.1
date	97.12.12.22.59.46;	author gwr;	state Exp;
branches;
next	1.4.2.2;

1.4.2.2
date	98.05.29.17.41.21;	author mycroft;	state Exp;
branches;
next	;

1.3.2.1
date	95.11.21.21.19.12;	author gwr;	state dead;
branches;
next	1.3.2.2;

1.3.2.2
date	95.11.21.21.19.13;	author gwr;	state Exp;
branches;
next	;

1.3.6.1
date	96.08.29.03.24.24;	author gwr;	state Exp;
branches;
next	;

1.2.2.1
date	95.11.21.22.12.28;	author gwr;	state Exp;
branches;
next	;

1.1.1.1
date	95.10.08.23.07.53;	author gwr;	state Exp;
branches
	1.1.1.1.2.1;
next	;

1.1.1.1.2.1
date	95.10.12.00.01.21;	author gwr;	state Exp;
branches;
next	;


desc
@@


1.50
log
@Replace RELEASE and VERSION strings proplery.

sun2 and sun3 don't use MI src/distrib/miniroot/list so this should
have been sync'ed with it.
http://cvsweb.netbsd.org/bsdweb.cgi/src/distrib/miniroot/list#rev1.36
>> Use proper release version strings ("9.1" rather than "91") in banners.
>>
>> Also define and use "MACHINE" variable to describe port names
>> (no uname(1) or sysctl(8) in miniroot binary list by default).

Should be pulled up to netbsd-9.
@
text
@#	$NetBSD: Makefile,v 1.49 2019/12/29 18:26:19 christos Exp $

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

.include <bsd.kernobj.mk>

IMAGE=		miniroot.fs
IMAGESIZE=	6500k
MAKEFS_FLAGS+=	-o density=8k

KERNEL3=	${KERNOBJDIR}/INSTALL/netbsd
KERNEL3X=	${KERNOBJDIR}/INSTALL3X/netbsd

WARNS=		1
DBG=		-Os
USE_WIDECHAR=	no

CRUNCHBIN=	instbin

LISTS=		${.CURDIR}/list
MTREECONF=	${.CURDIR}/mtree.conf
IMAGEENDIAN=	be
PARSELISTENV=	KERNEL3=${KERNEL3} KERNEL3X=${KERNEL3X}
MAKEDEVTARGETS=	std md0 cd0 st0 st1 sd0 sd1 sd2 xd0 xy0 fd0
IMAGEDEPENDS=	${CRUNCHBIN} \
		${KERNEL3} ${KERNEL3X} \
		fstab install.md profile \
		${DESTDIR}/dev/MAKEDEV ${DESTDIR}/dev/MAKEDEV.local \
		${DESTDIR}/etc/group \
		${DESTDIR}/etc/master.passwd ${DESTDIR}/etc/netconfig \
		${DESTDIR}/etc/passwd \
		${DISTRIBDIR}/common/protocols \
		${DESTDIR}/etc/pwd.db ${DISTRIBDIR}/common/services \
		${DESTDIR}/etc/spwd.db \
		${DESTDIR}/usr/mdec/bootxx \
		${DESTDIR}/usr/mdec/netboot ${DESTDIR}/usr/mdec/tapeboot \
		${DESTDIR}/usr/mdec/ufsboot \
		${DISTRIBDIR}/miniroot/install.sh \
		${DISTRIBDIR}/miniroot/upgrade.sh \
		install.sub

IMAGEPOSTBUILD=		${TOOL_INSTALLBOOT} -v -m ${MACHINE} ${IMAGE} \
		    	    ${DESTDIR}/usr/mdec/bootxx /ufsboot
IMAGE_RELEASEDIR=	installation/miniroot

# Use stubs to eliminate some large stuff from libc
HACKSRC=	${DISTRIBDIR}/utils/libhack
HACK_CURSES=yes
.MAKEFLAGS+=	USE_WIDECHAR=no
.include	"${HACKSRC}/Makefile.inc"
${CRUNCHBIN}:	libhack.o

install.sub: ${DISTRIBDIR}/miniroot/install.sub
	${TOOL_SED} -e "/^VERSION=/s/=.*/=${DISTRIBREV}/" \
		    -e "/^RELEASE=/s/=.*/=${DISTRIBVER}/" \
		    -e "/^MACHINE=/s/=.*/=${MACHINE}/" < $? > $@@

CLEANFILES+= install.sub

fstab: .PHONY

.include "${DISTRIBDIR}/common/Makefile.crunch"
.include "${DISTRIBDIR}/common/Makefile.makedev"
.include "${DISTRIBDIR}/common/Makefile.image"

.include <bsd.prog.mk>
@


1.49
log
@1. Remove all the special handling of variables (-d -p -P -s -S) that
   were dealing with DBG (-d) LDSTATIC/NOPIE (-p), and the rest with
   disabling/enabling sanitizers.
2. Use emalloc/estrdup for all the allocators instead of only some cases.
3. Add -V varspec which passes variables on the command line (as DBG
   and LDSTATIC used to be passed before) instead of appending them
   to the on-the-fly Makefile using -v varspec.
4. Change the distrib and rescue Makefiles to use -V instead of the removed
   flags.

The motivation of this is to make variable handling consistent, less magical,
and remove the need for changing crunchgen each time we want to add disabling
an option by default.

(as proposed in tech-toolchain)
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.48 2019/10/27 02:07:42 christos Exp $
d55 3
a57 1
	${TOOL_SED} -e "/^VERSION=/s/=.*/=${DISTRIBREV}/" < $? > $@@
@


1.48
log
@make this a bit bigger to prepare for gcc-8
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.47 2019/07/28 10:29:49 martin Exp $
a19 1
CRUNCHGEN_FLAGS= -d "${DBG}"
@


1.47
log
@Use the non-WIDE_CHAR version of libcurses from libhack, and also build
the included nvi w/o wide character support.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.46 2017/01/24 18:04:05 christos Exp $
d9 1
a9 1
IMAGESIZE=	6m
@


1.47.2.1
log
@Pull up following revision(s) (requested by tsutsui in ticket #1310):

	distrib/sun3/miniroot/Makefile: revision 1.50
	distrib/miniroot/install.sub: revision 1.61
	distrib/miniroot/install.sub: revision 1.62
	distrib/sun2/miniroot/Makefile: revision 1.40

Replace RELEASE and VERSION strings proplery.
sun2 and sun3 don't use MI src/distrib/miniroot/list so this should
have been sync'ed with it.

http://cvsweb.netbsd.org/bsdweb.cgi/src/distrib/miniroot/list#rev1.36
> Use proper release version strings ("9.1" rather than "91") in banners.
>
> Also define and use "MACHINE" variable to describe port names
> (no uname(1) or sysctl(8) in miniroot binary list by default).

Should be pulled up to netbsd-9.

Remove netstat(1) calls to print resolver info on upgrade using miniroot.
netstat(1) was removed from miniroot 25 years ago.
 http://cvsweb.netbsd.org/bsdweb.cgi/src/distrib/miniroot/list#rev1.5

The modules and rescue sets are also required on upgrade.
Should be pulled up to netbsd-9 and netbsd-8.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.47 2019/07/28 10:29:49 martin Exp $
d56 1
a56 3
	${TOOL_SED} -e "/^VERSION=/s/=.*/=${DISTRIBREV}/" \
		    -e "/^RELEASE=/s/=.*/=${DISTRIBVER}/" \
		    -e "/^MACHINE=/s/=.*/=${MACHINE}/" < $? > $@@
@


1.46
log
@+= for MAKEFS_FLAGS
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.45 2014/08/27 04:30:25 christos Exp $
d17 1
d50 2
@


1.46.4.1
log
@Pull up following revision(s) (requested by tsutsui in ticket #1686):

	distrib/sun3/miniroot/Makefile: revision 1.50
	distrib/miniroot/install.sub: revision 1.61
	distrib/miniroot/install.sub: revision 1.62 (patch)
	distrib/sun2/miniroot/Makefile: revision 1.40

Replace RELEASE and VERSION strings proplery.
sun2 and sun3 don't use MI src/distrib/miniroot/list so this should
have been sync'ed with it.

http://cvsweb.netbsd.org/bsdweb.cgi/src/distrib/miniroot/list#rev1.36
> Use proper release version strings ("9.1" rather than "91") in banners.
>
> Also define and use "MACHINE" variable to describe port names
> (no uname(1) or sysctl(8) in miniroot binary list by default).

Should be pulled up to netbsd-9.

Remove netstat(1) calls to print resolver info on upgrade using miniroot.
netstat(1) was removed from miniroot 25 years ago.
 http://cvsweb.netbsd.org/bsdweb.cgi/src/distrib/miniroot/list#rev1.5

The modules and rescue sets are also required on upgrade.
Should be pulled up to netbsd-9 and netbsd-8.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.46 2017/01/24 18:04:05 christos Exp $
d53 1
a53 3
	${TOOL_SED} -e "/^VERSION=/s/=.*/=${DISTRIBREV}/" \
		    -e "/^RELEASE=/s/=.*/=${DISTRIBVER}/" \
		    -e "/^MACHINE=/s/=.*/=${MACHINE}/" < $? > $@@
@


1.46.12.1
log
@Merge changes from current as of 20200406
@
text
@d1 1
a1 1
#	$NetBSD$
d19 1
@


1.46.12.2
log
@Mostly merge changes from HEAD upto 20200411
@
text
@d9 1
a9 1
IMAGESIZE=	6500k
a16 1
USE_WIDECHAR=	no
a47 2
HACK_CURSES=yes
.MAKEFLAGS+=	USE_WIDECHAR=no
@


1.45
log
@mark fstab .PHONY to prevent it being re-made from fstab.c in suffix rules.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.44 2010/02/11 09:06:51 roy Exp $
d10 1
a10 1
MAKEFS_FLAGS=	-o density=8k
@


1.45.4.1
log
@Sync with HEAD
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.46 2017/01/24 18:04:05 christos Exp $
d10 1
a10 1
MAKEFS_FLAGS+=	-o density=8k
@


1.45.2.1
log
@Sync with HEAD
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.46 2017/01/24 18:04:05 christos Exp $
d10 1
a10 1
MAKEFS_FLAGS+=	-o density=8k
@


1.44
log
@Remove terminfo.db as it's now embedded in libterminfo.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.43 2010/02/05 10:01:21 roy Exp $
d57 2
@


1.43
log
@Use the rescue terminfo.db in our images instead of termcap.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.42 2009/09/24 21:04:46 he Exp $
a28 1
		${DESTDIR}/rescue/terminfo.db \
@


1.42
log
@Replace references to local and now no-longer-existing termcap files
with references to ${DISTRIBB}/common/termcap.  Hi, abs@@!
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.41 2009/09/20 22:46:14 abs Exp $
d29 1
a29 1
		${DISTRIBDIR}/common/termcap \
@


1.41
log
@Nothing needs disktab anymore, so we'd rather have an inode and
slightly over 1K of space on install media...
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.40 2009/09/20 19:41:35 abs Exp $
d28 2
a29 1
		fstab install.md profile termcap \
@


1.40
log
@Move sun2, sun3 & x68k across to the common distrib etc/services, and
while here reduce it from 1180 to 794 bytes (whitespace & comment cleanup)
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.39 2009/01/25 22:08:39 abs Exp $
d30 1
a30 1
		${DESTDIR}/etc/disktab ${DESTDIR}/etc/group \
@


1.39
log
@Use the cutdown distrib/common/services and distrib/common/protocols
rather than the full fat etc versions
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.38 2008/10/25 22:27:34 apb Exp $
d33 2
a34 2
		${NETBSDSRCDIR}/distrib/common/protocols \
		${DESTDIR}/etc/pwd.db ${NETBSDSRCDIR}/distrib/common/services \
@


1.38
log
@Use ${TOOL_SED} instead if plain sed in Makefiles.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.37 2008/04/29 17:30:34 tsutsui Exp $
d32 3
a34 2
		${DESTDIR}/etc/passwd ${DESTDIR}/etc/protocols \
		${DESTDIR}/etc/pwd.db ${DESTDIR}/etc/services \
@


1.37
log
@Fix (almost harmless) typo.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.36 2007/06/24 05:41:53 isaki Exp $
d52 1
a52 1
	sed -e "/^VERSION=/s/=.*/=${DISTRIBREV}/" < $? > $@@
@


1.36
log
@Remove a duplicated option in MAKEFS_FLAGS.
"minfree=0,optimization=space" is defined at
../../common/Makefile.image.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.35 2007/03/03 06:40:09 apb Exp $
d19 1
a19 1
CRUNCHBIN_FLAGS= -d "${DBG}"
@


1.36.12.1
log
@Sync with HEAD.
@
text
@d1 1
a1 1
#	$NetBSD$
d19 1
a19 1
CRUNCHGEN_FLAGS= -d "${DBG}"
@


1.36.12.2
log
@Sync with HEAD.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.36.12.1 2008/06/02 13:21:18 mjf Exp $
@


1.36.14.1
log
@sync with head.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.36 2007/06/24 05:41:53 isaki Exp $
d19 1
a19 1
CRUNCHGEN_FLAGS= -d "${DBG}"
@


1.35
log
@MAKEDEV.subr no longer exists.  Don't install it in any ramdisk
or miniroot images.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.34 2007/03/01 09:25:42 apb Exp $
d10 1
a10 1
MAKEFS_FLAGS=	-o minfree=0,optimization=space,density=8k
@


1.34
log
@Add MAKEDEV.subr to IMAGEDEPENDS.  These miniroot images should probably
be converted to use common/Makefile.makedev.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.33 2006/08/02 09:30:46 tsutsui Exp $
a29 1
		${DESTDIR}/dev/MAKEDEV.subr \
@


1.33
log
@Use crunched binary in miniroot so that we can get smaller image
and no longer have to sync shlib majors in the list file.

Ok'ed by nathanw and christos on port-sun3, and tested on tme by me.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.32 2003/07/10 10:34:15 lukem Exp $
d30 1
@


1.32
log
@Rename a large chunk of the make(1) variables which refer to a
program/tool from "FOO" to "TOOL_FOO".  The new variables are:
	TOOL_ASN1_COMPILE  TOOL_CAP_MKDB  TOOL_CAT  TOOL_CKSUM  TOOL_COMPILE_ET
	TOOL_CONFIG  TOOL_CRUNCHGEN  TOOL_CTAGS  TOOL_DB  TOOL_EQN  TOOL_FGEN
	TOOL_GENCAT  TOOL_GROFF  TOOL_HEXDUMP  TOOL_INDXBIB  TOOL_INSTALLBOOT
	TOOL_INSTALL_INFO  TOOL_M4  TOOL_MAKEFS  TOOL_MAKEINFO  TOOL_MAKEWHATIS
	TOOL_MDSETIMAGE  TOOL_MENUC  TOOL_MKCSMAPPER  TOOL_MKESDB
	TOOL_MKLOCALE  TOOL_MKMAGIC  TOOL_MKTEMP  TOOL_MSGC  TOOL_MTREE
	TOOL_PAX  TOOL_PIC  TOOL_PREPMKBOOTIMAGE  TOOL_PWD_MKDB  TOOL_REFER
	TOOL_ROFF_ASCII  TOOL_ROFF_DVI  TOOL_ROFF_HTML  TOOL_ROFF_PS
	TOOL_ROFF_RAW  TOOL_RPCGEN  TOOL_SOELIM  TOOL_SUNLABEL  TOOL_TBL
	TOOL_UUDECODE  TOOL_VGRIND  TOOL_ZIC

For each, provide default in <bsd.sys.mk> of the form:
	TOOL_FOO?=	foo
and for the ${USETOOLS}=="yes" case in <bsd.own.mk>, provide override:
	TOOL_FOO=	${TOOLDIR}/bin/${_TOOL_PREFIX}foo

Document all of these in bsd.README.

This cleans up a chunk of potential (and actual) namespace collision
within our build infrastructure, as well as improves consistency in
the share/mk documentation and provision of appropriate defaults for
each of these variables.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.31 2003/04/02 10:39:20 fvdl Exp $
d9 1
a9 1
IMAGESIZE=	12m
d18 3
d26 2
a27 1
IMAGEDEPENDS=	${KERNEL3} ${KERNEL3X} \
a28 9
		${DESTDIR}/bin/cat ${DESTDIR}/bin/chmod ${DESTDIR}/bin/cp \
		${DESTDIR}/bin/date ${DESTDIR}/bin/dd ${DESTDIR}/bin/df \
		${DESTDIR}/bin/ed ${DESTDIR}/bin/expr ${DESTDIR}/bin/hostname \
		${DESTDIR}/bin/kill ${DESTDIR}/bin/ln ${DESTDIR}/bin/ls \
		${DESTDIR}/bin/mkdir ${DESTDIR}/bin/mt ${DESTDIR}/bin/mv \
		${DESTDIR}/bin/pax ${DESTDIR}/bin/ps ${DESTDIR}/bin/pwd \
		${DESTDIR}/bin/rm ${DESTDIR}/bin/rmdir ${DESTDIR}/bin/sh \
		${DESTDIR}/bin/sleep ${DESTDIR}/bin/stty ${DESTDIR}/bin/sync \
		${DESTDIR}/bin/test  \
a34 18
		${DESTDIR}/sbin/dmesg ${DESTDIR}/sbin/edlabel \
		${DESTDIR}/sbin/fsck ${DESTDIR}/sbin/fsck_ffs \
		${DESTDIR}/sbin/ifconfig ${DESTDIR}/sbin/init \
		${DESTDIR}/sbin/mknod ${DESTDIR}/sbin/mount \
		${DESTDIR}/sbin/mount_cd9660 ${DESTDIR}/sbin/mount_ffs \
		${DESTDIR}/sbin/mount_kernfs ${DESTDIR}/sbin/mount_nfs \
		${DESTDIR}/sbin/newfs ${DESTDIR}/sbin/ping \
		${DESTDIR}/sbin/reboot ${DESTDIR}/sbin/restore \
		${DESTDIR}/sbin/route ${DESTDIR}/sbin/shutdown \
		${DESTDIR}/sbin/slattach ${DESTDIR}/sbin/swapctl \
		${DESTDIR}/sbin/sysctl ${DESTDIR}/sbin/umount \
		${DESTDIR}/usr/bin/chflags ${DESTDIR}/usr/bin/cksum \
		${DESTDIR}/usr/bin/cmp ${DESTDIR}/usr/bin/false \
		${DESTDIR}/usr/bin/ftp ${DESTDIR}/usr/bin/gzip \
		${DESTDIR}/usr/bin/less ${DESTDIR}/usr/bin/rsh \
		${DESTDIR}/usr/bin/sed ${DESTDIR}/usr/bin/sort \
		${DESTDIR}/usr/bin/tip ${DESTDIR}/usr/bin/true \
		${DESTDIR}/usr/bin/vi \
a37 2
		${DESTDIR}/usr/sbin/chown ${DESTDIR}/usr/sbin/installboot \
		${DESTDIR}/usr/sbin/rdate \
d46 5
d56 1
@


1.31
log
@Add support for UFS2. UFS2 is an enhanced FFS, adding support for
64 bit block pointers, extended attribute storage, and a few
other things.

This commit does not yet include the code to manipulate the extended
storage (for e.g. ACLs), this will be done later.

Originally written by Kirk McKusick and Network Associates Laboratories for
FreeBSD.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.30 2002/05/28 21:15:56 nathanw Exp $
d67 1
a67 1
IMAGEPOSTBUILD=		${INSTALLBOOT} -v -m ${MACHINE} ${IMAGE} \
@


1.30
log
@Run installboot on the miniroot image, now that it is tested.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.29 2002/05/18 13:26:14 lukem Exp $
d10 1
a10 1
MAKEFS_FLAGS=	-o minfree=0,optimization=space,density=8k,cpg=16
@


1.29
log
@fix minor bogons in the build:
- sun3 doesn't have bootyy (`yet'. it probably will when it gets converted
  to sharing sun68k/stand)
- need full paths in list ${COPY} statements
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.28 2002/05/17 17:52:35 lukem Exp $
d67 2
a68 3
# XXXDISTRIB:  need to cut sun3 over to sun68k/bootxx first...
#IMAGEPOSTBUILD=		${INSTALLBOOT} -v -m ${MACHINE} ${IMAGE} \
#		    	    ${DESTDIR}/usr/mdec/bootxx /ufsboot
@


1.29.2.1
log
@Pull up revision 1.30 (requested by nathanw in ticket #51):
Run installboot on the miniroot image, now that it is tested.
@
text
@d1 1
a1 1
#	$NetBSD$
d67 3
a69 2
IMAGEPOSTBUILD=		${INSTALLBOOT} -v -m ${MACHINE} ${IMAGE} \
		    	    ${DESTDIR}/usr/mdec/bootxx /ufsboot
@


1.28
log
@convert to NDWO, a la sun2.

XXX:	untested.
	also needs sun3 converted to sun68k/stand/bootxx so that
	the ${INSTALLBOOT} in miniroot can be enabled.

XXX^2:	sun2 & sun3 should share distrib dirs since they're extremely similar...
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.12 2002/05/14 06:21:22 lukem Exp $
d58 1
a58 1
		${DESTDIR}/usr/mdec/bootxx ${DESTDIR}/usr/mdec/bootyy \
@


1.27
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.26 2002/04/26 15:50:48 lukem Exp $
d6 1
a6 1
TOP=		${.CURDIR}/..
d8 63
a70 1
.include "${TOP}/Makefile.inc"
d72 2
a73 56
IMAGE=	miniroot

TREE=	${TOP}/common/${IMAGE}.tree

LISTS=	${TOP}/common/${IMAGE}.list \
	${TOP}/common/mini_sbin.list \
	${TOP}/common/mini_bin.list \
	${TOP}/common/mini_usr.list

KERNEL3  = ${KERNOBJDIR}/INSTALL/netbsd
KERNEL3X = ${KERNOBJDIR}/INSTALL3X/netbsd

MOUNT_POINT?=	/mnt
VND?=		vnd1
VND_DEV?=	/dev/${VND}a
VND_RDEV?=	/dev/r${VND}a
VND_CRDEV?=	/dev/r${VND}c

# These are all the parameters for the miniroot: (12MB)
DISKTYPE=	miniroot
SIZE=		12
# bigendian, old format, minfree, opt, b/i, cpg
NEWFSARGS= -B be -O -m 0 -o space -i 8192 -c 16
MTREE?=		mtree

CLEANFILES= ${IMAGE}.gz ${IMAGE} ${IMAGE}.tmp install.sub

all: ${IMAGE}.gz

${IMAGE}.gz: ${TREE} ${LISTS} install.sub
	dd if=/dev/zero of=${IMAGE} bs=1024k count=${SIZE}
	vnconfig -t ${DISKTYPE} -v -c ${VND} ${IMAGE}
	disklabel -f ${.CURDIR}/disktab -rw ${VND} ${DISKTYPE}
	newfs ${NEWFSARGS} ${VND_RDEV}
	mount ${VND_DEV} ${MOUNT_POINT}
	${MTREE} -def ${TREE} -p ${MOUNT_POINT}/ -u
	cp ${KERNEL3}  ${MOUNT_POINT}/netbsd.sun3
	cp ${KERNEL3X} ${MOUNT_POINT}/netbsd.sun3x
	TOPDIR=${TOP} CURDIR=${.CURDIR} DESTDIR=${DESTDIR} \
	  OBJDIR=${.OBJDIR} TARGDIR=${MOUNT_POINT} \
	  sh ${TOP}/common/RunList.sh ${LISTS}
	sync ; sleep 1 ; sync
	cd ${MOUNT_POINT} ;\
	  usr/mdec/installboot -v ufsboot usr/mdec/bootxx ${VND_CRDEV}
	sync
	@@echo ""
	@@df -i ${MOUNT_POINT}
	@@echo ""
	-umount ${MOUNT_POINT}
	vnconfig -u ${VND}
	gzip -9f ${IMAGE}

unconfig:
	-umount -f ${MOUNT_POINT}
	-vnconfig -u ${VND}
	-/bin/rm -f ${IMAGE} ${IMAGE}.tmp
d75 1
a75 5
# Do not delete this if I change my mind and kill make...
.PRECIOUS: ${IMAGE}.gz

install.sub : ${TOP}/../miniroot/install.sub
	sed -e "/^VERSION=/s/=.*/=${DISTRIBREV}/" < $? > $@@
d77 2
a78 2
release: check_RELEASEDIR .WAIT ${IMAGE}.gz
	${RELEASE_INSTALL} ${IMAGE}.gz ${RELEASEDIR}/installation/miniroot
@


1.26
log
@replace _SRC_TOP_ with NETBSDSRCDIR, since the latter is the "public" version
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.25 2002/04/26 15:05:18 lukem Exp $
d4 1
a4 1
.include "${NETBSDSRCDIR}/distrib/Makefile.inc"
d73 4
a76 17
clean cleandir distclean:
	-rm -f a.out core *.core *.o
	-rm -f ${CLEANFILES}

.if !defined(RELEASEDIR)
release:
	@@echo setenv RELEASEDIR before doing that!
	@@false
.else	# RELEASEDIR
release: ${IMAGE}.gz
	-mkdir -p ${RELEASEDIR}/installation/miniroot
	${RELINSTALL} ${IMAGE}.gz ${RELEASEDIR}/installation/miniroot
.endif	# RELEASEDIR

# Standard rules needed by the above...
.include <bsd.obj.mk>
.include <bsd.subdir.mk>
@


1.25
log
@use gzip -9f
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.24 2002/04/18 15:36:57 bouyer Exp $
d4 1
a4 1
.include "${_SRC_TOP_}/distrib/Makefile.inc"
@


1.24
log
@Include .include <bsd.own.mk> to get ${_SRC_TOP_}, and
${_SRC_TOP_}/distrib/Makefile.inc to get DISTRIBDIR & al.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.23 2002/04/12 03:21:11 lukem Exp $
d60 1
a60 2
	gzip -9 -c ${IMAGE} > ${IMAGE}.tmp
	-mv -f ${IMAGE}.tmp ${IMAGE}.gz
@


1.23
log
@- replace image_md_post: target with IMAGE_MD_POST variable, and use
  that after building ${IMAGE}
- use ${IMAGEBUILT} to ensure that IMAGE_MD_POST is only run if IMAGE changes
@
text
@d1 4
a4 1
#	$NetBSD: Makefile,v 1.22 2002/03/06 12:15:19 lukem Exp $
a7 1
# This include just sets DISTRIBREV=XX
@


1.22
log
@replace local ${REV} with ${DISTRIBREV} from distrib/Makefile.inc
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.21 2001/11/09 21:00:04 tsutsui Exp $
d83 1
a83 2
	cp -p ${IMAGE}.gz \
	 ${RELEASEDIR}/installation/miniroot/${IMAGE}.gz
@


1.21
log
@Use ${VND} (not ${VND_DEV}) for vnconfig in unconfig target.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.20 2001/10/13 06:15:21 jmc Exp $
d5 1
a5 1
# This include just sets REV=XX
d70 1
a70 1
	sed -e "/^VERSION=/s/=.*/=${REV}/" < $? > $@@
@


1.20
log
@Add MTREE?= to add Makefiles and use  when running mtree
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.19 2001/02/13 03:10:56 jmc Exp $
d63 1
a63 1
	-vnconfig -u ${VND_DEV}
@


1.19
log
@Up the size to 12M. Add an unconfig rule
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.18 2000/06/19 14:39:24 tsutsui Exp $
d31 1
d43 1
a43 1
	mtree -def ${TREE} -p ${MOUNT_POINT}/ -u
@


1.18
log
@mkdir -p ${RELEASEDIR}/installation/miniroot on "make release".
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.17 2000/06/10 03:02:14 tsutsui Exp $
d26 1
a26 1
# These are all the parameters for the miniroot: (10MB)
d28 1
a28 1
SIZE=		10
d39 1
a39 1
	disklabel -rw ${VND} ${DISKTYPE}
d59 5
@


1.18.2.1
log
@Pull up revision 1.19 (requested by he):
  Bump the sun3 miniroot size from 10M to 12M, and add an
  ``unconfig'' rule.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.18 2000/06/19 14:39:24 tsutsui Exp $
d26 1
a26 1
# These are all the parameters for the miniroot: (12MB)
d28 1
a28 1
SIZE=		12
d39 1
a39 1
	disklabel -f ${.CURDIR}/disktab -rw ${VND} ${DISKTYPE}
a58 5

unconfig:
	-umount -f ${MOUNT_POINT}
	-vnconfig -u ${VND_DEV}
	-/bin/rm -f ${IMAGE} ${IMAGE}.tmp
@


1.17
log
@Pass ${DESTDIR} to RunList.sh.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.16 2000/06/09 14:58:32 tsutsui Exp $
d76 1
@


1.16
log
@Use vnd rather than sd1b to make miniroot image.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.15 1999/05/21 04:06:20 gwr Exp $
d45 1
a45 1
	TOPDIR=${TOP} CURDIR=${.CURDIR} \
a69 3
# Standard rules needed by the above...
.include <bsd.obj.mk>

d79 4
@


1.15
log
@Add a release target to automate building release snapshots.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.14 1999/05/16 08:21:53 gwr Exp $
d21 4
a24 2
BDEV?=		/dev/sd1b
CDEV?=		/dev/rsd1b
d26 1
a26 1
# These are all the parameters for the miniroot: (8MB)
d28 3
a30 3
NBLKS=		20480
# bigendian, old format, minfree, opt, b/i  trks, sects, cpg
NEWFSARGS= -B be -O -m 0 -o space -i 8192 -t 8 -u 32 -c 16
d32 1
a32 1
CLEANFILES= ${IMAGE}.gz install.sub
d37 5
a41 2
	-newfs ${NEWFSARGS} -s ${NBLKS} ${CDEV} ${DISKTYPE}
	mount ${BDEV} ${MOUNT_POINT}
d50 1
a50 1
	  usr/mdec/installboot -v ufsboot usr/mdec/bootxx ${CDEV}
d56 2
a57 2
	dd if=${CDEV} bs=16b count=`expr ${NBLKS} / 16` |\
	  gzip > ${IMAGE}.tmp
@


1.14
log
@updates for the 1.4 release
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.13 1999/04/22 04:32:12 gwr Exp $
d67 10
@


1.13
log
@Put -B be in NEWFSARGS
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.12 1999/03/04 20:32:21 wrstuden Exp $
a8 1
#CBIN=	mini_usr
d17 2
a18 2
KERNEL3 = ${SRCSYSDIR}/arch/sun3/compile/INSTALL/netbsd
KERNEL3X= ${SRCSYSDIR}/arch/sun3/compile/INSTALL3X/netbsd
d20 3
a22 3
MOUNT_POINT=	/mnt
BDEV=		/dev/sd1b
CDEV=		/dev/rsd1b
d26 2
a27 2
NBLKS=		16384
# old format, minfree, opt, b/i  trks, sects, cpg
@


1.12
log
@Modify all calls to newfs in ramdisk/miniroot creation to include
the needed endianism of the architecture. One step towards cross-building
releases.

Not touched are newfs calls in install scripts as they run on the desired
machine and thus default correctly.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.11 1998/09/05 14:46:17 lukem Exp $
d29 1
a29 1
NEWFSARGS= -O -m 0 -o space -i 8192 -t 8 -u 32 -c 16
d36 1
a36 1
	-newfs -B be ${NEWFSARGS} -s ${NBLKS} ${CDEV} ${DISKTYPE}
@


1.12.2.1
log
@pullup 1.12->1.15 (gwr)
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.15 1999/05/21 04:06:20 gwr Exp $
d9 1
d18 2
a19 2
KERNEL3  = ${KERNOBJDIR}/INSTALL/netbsd
KERNEL3X = ${KERNOBJDIR}/INSTALL3X/netbsd
d21 3
a23 3
MOUNT_POINT?=	/mnt
BDEV?=		/dev/sd1b
CDEV?=		/dev/rsd1b
d27 3
a29 3
NBLKS=		20480
# bigendian, old format, minfree, opt, b/i  trks, sects, cpg
NEWFSARGS= -B be -O -m 0 -o space -i 8192 -t 8 -u 32 -c 16
d36 1
a36 1
	-newfs ${NEWFSARGS} -s ${NBLKS} ${CDEV} ${DISKTYPE}
a67 10

.if !defined(RELEASEDIR)
release:
	@@echo setenv RELEASEDIR before doing that!
	@@false
.else	# RELEASEDIR
release: ${IMAGE}.gz
	cp -p ${IMAGE}.gz \
	 ${RELEASEDIR}/installation/miniroot/${IMAGE}.gz
.endif	# RELEASEDIR
@


1.12.2.2
log
@Apply patch (requested by toddpw):
  Convert sun3 miniroot/ramdisk build process to use vnd devices
  instead of requiring a scratch partition on some local disk. Also
  remove dependency on /etc/disktab entry.  Support recursive
  ``depend'' makes (do nothing though).
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.12.2.1 1999/06/21 03:16:53 perry Exp $
d21 4
a24 11
# DEV/RDEV file system device, CDEV/CRDEV vnconfig device
VND?=		vnd0
VND_DEV=	/dev/${VND}a
VND_RDEV=	/dev/r${VND}a
VND_CDEV=	/dev/${VND}c
VND_CRDEV=	/dev/r${VND}c

CYLS=		20
SECS=		64
TRKS=		16
TOTALSECT !=	expr ${CYLS} '*' ${SECS} '*' ${TRKS}
d26 3
a28 3
DISKTAB=	./${DISKTYPE}.disktab
GEOM=		512/${SECS}/${TRKS}/${CYLS}
INO_BYTES=	8192
d30 1
a30 1
CLEANFILES= ${IMAGE}.gz ${IMAGE} install.sub ${DISKTAB}
d34 3
a36 11
${DISKTAB}:
	echo "${DISKTYPE}:ty=simulated:se#512:nt#${TRKS}:ns#${SECS}:nc#${CYLS}:pa#${TOTALSECT}:oa#0:ba#4096:fa#512:ta=4.2BSD:pc#${TOTALSECT}:oc#0:" > $@@

${IMAGE}.gz: ${TREE} ${LISTS} install.sub ${DISKTAB}
	dd if=/dev/zero of=${IMAGE} bs=512 count=${TOTALSECT}
	vnconfig -v -c ${VND_CDEV} ${IMAGE} ${GEOM}
	disklabel -rw -f ${DISKTAB} ${VND_CDEV} ${DISKTYPE}
	disklabel -W ${VND_CDEV}
	# bigendian, old format, minfree, opt, b/i, cpg, device
	newfs -B be -O -m 0 -o space -i ${INO_BYTES} -c ${CYLS} ${VND_RDEV}
	mount ${VND_DEV} ${MOUNT_POINT}
d45 1
a45 1
	  usr/mdec/installboot -v ufsboot usr/mdec/bootxx ${VND_CRDEV}
d50 4
a53 3
	umount ${MOUNT_POINT}
	vnconfig -u ${VND_CDEV}
	gzip -9 < ${IMAGE} > $@@
a63 3

# XXX -- allow 'make depend' to run without error
depend:
@


1.12.2.3
log
@Pull up revision 1.18 (requested by nathanw):
  Fixes to release building machinery:
   o make installation/miniroot directory
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.12.2.2 2000/03/01 00:27:37 he Exp $
a90 1
	-mkdir -p ${RELEASEDIR}/installation/miniroot
@


1.11
log
@distclean is a synonym for cleandir
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.10 1998/05/29 17:58:53 gwr Exp $
d36 1
a36 1
	-newfs ${NEWFSARGS} -s ${NBLKS} ${CDEV} ${DISKTYPE}
@


1.10
log
@Use the INSTALL kernels.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.9 1998/03/17 23:03:32 gwr Exp $
d62 1
a62 1
clean cleandir:
@


1.9
log
@Add target all
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.8 1998/02/12 19:55:14 gwr Exp $
d18 2
a19 2
KERNEL3 = ${SRCSYSDIR}/arch/sun3/compile/GENERIC/netbsd
KERNEL3X= ${SRCSYSDIR}/arch/sun3/compile/GENERIC3X/netbsd
@


1.8
log
@Put both netbsd.sun3 and netbsd.sun3x kernels in the miniroot image
so it will boot on both kinds of machines.  (The boot program will
load the appropriate one).
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.7 1997/12/12 22:42:11 gwr Exp $
d32 2
@


1.7
log
@Ready for 1.3_BETA
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.6 1997/12/12 22:37:19 gwr Exp $
d18 2
a19 1
KERNEL=${SRCSYSDIR}/arch/sun3/compile/GENERIC/netbsd
d37 2
a38 1
	cp ${KERNEL} ${MOUNT_POINT}/netbsd
@


1.6
log
@Ready for 1.3_BETA
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.5 1997/12/12 04:15:41 gwr Exp $
a53 3

# Rules for making ${CBIN} ...
.include "${TOP}/common/Make.crunch"
@


1.5
log
@Use /dev/sd1b for now
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.4 1996/10/09 00:15:14 jtc Exp $
d9 1
a9 1
CBIN=	mini_usr
d13 2
a14 1
LISTS=	${TOP}/common/mini_sbin.list \
d16 1
a16 3
	${TOP}/common/${CBIN}.list \
	${TOP}/common/mini_xx.list \
	${TOP}/common/${IMAGE}.list
d32 1
a32 1
${IMAGE}.gz: ${TREE} ${LISTS} ${CBIN} mini_xx install.sub
d36 1
a42 1
	cp ${KERNEL} ${MOUNT_POINT}/netbsd
d61 1
a61 1
clean cleandir: clean_xx
a66 3

# Hacks for re-linking some program -static
.include "${TOP}/common/mini_xx.mk"
@


1.4
log
@merge in 1.2 branch
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.3.6.1 1996/08/29 03:24:24 gwr Exp $
d22 2
a23 4
BDEV=		/dev/sd2b
CDEV=		/dev/rsd2b
#BDEV=		/dev/sd0d
#CDEV=		/dev/rsd0d
@


1.4.2.1
log
@Ready for 1.3_BETA
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.7 1997/12/12 22:42:11 gwr Exp $
d9 1
a9 1
#CBIN=	mini_usr
d13 1
a13 2
LISTS=	${TOP}/common/${IMAGE}.list \
	${TOP}/common/mini_sbin.list \
d15 3
a17 1
	${TOP}/common/mini_usr.list
d22 4
a25 2
BDEV=		/dev/sd1b
CDEV=		/dev/rsd1b
d35 1
a35 1
${IMAGE}.gz: ${TREE} ${LISTS} install.sub
a38 1
	cp ${KERNEL} ${MOUNT_POINT}/netbsd
d45 1
d58 3
d64 1
a64 1
clean cleandir:
d70 3
@


1.4.2.2
log
@Pull up patch from gwr.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.4.2.1 1997/12/12 22:59:46 gwr Exp $
d18 1
a18 1
KERNEL=${SRCSYSDIR}/arch/sun3/compile/INSTALL/netbsd
a30 2

all: ${IMAGE}.gz
@


1.3
log
@Ready for release
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.2 1995/10/13 16:46:47 gwr Exp $
d22 4
a25 4
#BDEV=		/dev/sd2b
#CDEV=		/dev/rsd2b
BDEV=		/dev/sd0d
CDEV=		/dev/rsd0d
d33 1
a33 1
CLEANFILES= ${IMAGE}.gz
d35 1
a35 1
${IMAGE}.gz: ${TREE} ${LISTS} ${CBIN} mini_xx
d60 3
@


1.3.2.1
log
@file Makefile was added on branch netbsd-1-1 on 1995-11-21 21:19:13 +0000
@
text
@d1 69
@


1.3.2.2
log
@Ready for release
@
text
@a0 69
#	$NetBSD: Makefile,v 1.3 1995/11/21 21:19:12 gwr Exp $

TOP=		${.CURDIR}/..

# This include just sets REV=XX
.include "${TOP}/Makefile.inc"

IMAGE=	miniroot
CBIN=	mini_usr

TREE=	${TOP}/common/${IMAGE}.tree

LISTS=	${TOP}/common/mini_sbin.list \
	${TOP}/common/mini_bin.list \
	${TOP}/common/${CBIN}.list \
	${TOP}/common/mini_xx.list \
	${TOP}/common/${IMAGE}.list

KERNEL=${SRCSYSDIR}/arch/sun3/compile/GENERIC/netbsd

MOUNT_POINT=	/mnt
#BDEV=		/dev/sd2b
#CDEV=		/dev/rsd2b
BDEV=		/dev/sd0d
CDEV=		/dev/rsd0d

# These are all the parameters for the miniroot: (8MB)
DISKTYPE=	miniroot
NBLKS=		16384
# old format, minfree, opt, b/i  trks, sects, cpg
NEWFSARGS= -O -m 0 -o space -i 8192 -t 8 -u 32 -c 16

CLEANFILES= ${IMAGE}.gz

${IMAGE}.gz: ${TREE} ${LISTS} ${CBIN} mini_xx
	-newfs ${NEWFSARGS} -s ${NBLKS} ${CDEV} ${DISKTYPE}
	mount ${BDEV} ${MOUNT_POINT}
	mtree -def ${TREE} -p ${MOUNT_POINT}/ -u
	TOPDIR=${TOP} CURDIR=${.CURDIR} \
	  OBJDIR=${.OBJDIR} TARGDIR=${MOUNT_POINT} \
	  sh ${TOP}/common/RunList.sh ${LISTS}
	sync ; sleep 1 ; sync
	cd ${MOUNT_POINT} ;\
	  usr/mdec/installboot -v ufsboot usr/mdec/bootxx ${CDEV}
	cp ${KERNEL} ${MOUNT_POINT}/netbsd
	sync
	@@echo ""
	@@df -i ${MOUNT_POINT}
	@@echo ""
	-umount ${MOUNT_POINT}
	dd if=${CDEV} bs=16b count=`expr ${NBLKS} / 16` |\
	  gzip > ${IMAGE}.tmp
	-mv -f ${IMAGE}.tmp ${IMAGE}.gz

# Do not delete this if I change my mind and kill make...
.PRECIOUS: ${IMAGE}.gz

# Rules for making ${CBIN} ...
.include "${TOP}/common/Make.crunch"

clean cleandir: clean_xx
	-rm -f a.out core *.core *.o
	-rm -f ${CLEANFILES}

# Standard rules needed by the above...
.include <bsd.obj.mk>

# Hacks for re-linking some program -static
.include "${TOP}/common/mini_xx.mk"
@


1.3.6.1
log
@Build the edited "install.sub" here.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.3 1995/11/21 21:19:12 gwr Exp $
d22 4
a25 4
BDEV=		/dev/sd2b
CDEV=		/dev/rsd2b
#BDEV=		/dev/sd0d
#CDEV=		/dev/rsd0d
d33 1
a33 1
CLEANFILES= ${IMAGE}.gz install.sub
d35 1
a35 1
${IMAGE}.gz: ${TREE} ${LISTS} ${CBIN} mini_xx install.sub
a59 3

install.sub : ${TOP}/../miniroot/install.sub
	sed -e "/^VERSION=/s/=.*/=${REV}/" < $? > $@@
@


1.2
log
@Minor cleanup
@
text
@d1 1
a1 1
#	$NetBSD$
d16 1
d19 2
d22 6
d29 2
a30 8
BDEV=		/dev/sd2b
CDEV=		/dev/rsd2b

KERNEL=${SRCSYSDIR}/arch/sun3/compile/GENERIC/netbsd

# These are all the parameters for the miniroot: (6MB)
NBLKS=		12288
# old format, minfree, opt,  b/i  trks, sects, cpg
d33 1
a33 2
${IMAGE}.fs: ${CBIN} do_mount do_files do_bootxx do_kernel do_umount
	dd if=${CDEV} of=$@@ bs=64b count=`expr ${NBLKS} / 64`
d35 7
a41 2
# Only do these for the miniroot, not the ramdisk.
do_bootxx:
d45 9
a53 4

# Copy the generic kernel
do_kernel:
	cp -p ${KERNEL} ${MOUNT_POINT}/netbsd
d56 1
a56 4
.PRECIOUS: ${IMAGE}.fs

# Rules used making ${IMAGE}.fs (do_*)
.include "${TOP}/common/Make.fsimage"
d61 1
a61 1
clean cleandir:
d67 3
@


1.2.2.1
log
@From HEAD: Ready for release
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.3 1995/11/21 21:19:12 gwr Exp $
a15 1
	${TOP}/common/mini_xx.list \
d18 5
d25 3
a27 10
MOUNT_POINT=	/mnt
#BDEV=		/dev/sd2b
#CDEV=		/dev/rsd2b
BDEV=		/dev/sd0d
CDEV=		/dev/rsd0d

# These are all the parameters for the miniroot: (8MB)
DISKTYPE=	miniroot
NBLKS=		16384
# old format, minfree, opt, b/i  trks, sects, cpg
d30 2
a31 1
CLEANFILES= ${IMAGE}.gz
d33 2
a34 7
${IMAGE}.gz: ${TREE} ${LISTS} ${CBIN} mini_xx
	-newfs ${NEWFSARGS} -s ${NBLKS} ${CDEV} ${DISKTYPE}
	mount ${BDEV} ${MOUNT_POINT}
	mtree -def ${TREE} -p ${MOUNT_POINT}/ -u
	TOPDIR=${TOP} CURDIR=${.CURDIR} \
	  OBJDIR=${.OBJDIR} TARGDIR=${MOUNT_POINT} \
	  sh ${TOP}/common/RunList.sh ${LISTS}
d38 4
a41 9
	cp ${KERNEL} ${MOUNT_POINT}/netbsd
	sync
	@@echo ""
	@@df -i ${MOUNT_POINT}
	@@echo ""
	-umount ${MOUNT_POINT}
	dd if=${CDEV} bs=16b count=`expr ${NBLKS} / 16` |\
	  gzip > ${IMAGE}.tmp
	-mv -f ${IMAGE}.tmp ${IMAGE}.gz
d44 4
a47 1
.PRECIOUS: ${IMAGE}.gz
d52 1
a52 1
clean cleandir: clean_xx
a57 3

# Hacks for re-linking some program -static
.include "${TOP}/common/mini_xx.mk"
@


1.1
log
@Initial revision
@
text
@d43 3
d53 2
a54 1
	echo rm -f core ${CLEANFILES} *.o
@


1.1.1.1
log
@Support for making sun3 installation media.
@
text
@@


1.1.1.1.2.1
log
@Minor cleanup.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.1.1.1 1995/10/08 23:07:53 gwr Exp $
a42 3
# Do not delete this if I change my mind and kill make...
.PRECIOUS: ${IMAGE}.fs

d50 1
a50 2
	-rm -f a.out core *.core *.o
	-rm -f ${CLEANFILES}
@
