head	1.69;
access;
symbols
	netbsd-11-0-RC4:1.69
	netbsd-11-0-RC3:1.69
	netbsd-11-0-RC2:1.69
	netbsd-11-0-RC1:1.69
	perseant-exfatfs-base-20250801:1.69
	netbsd-11:1.69.0.12
	netbsd-11-base:1.69
	netbsd-10-1-RELEASE:1.69
	perseant-exfatfs-base-20240630:1.69
	perseant-exfatfs:1.69.0.10
	perseant-exfatfs-base:1.69
	netbsd-8-3-RELEASE:1.68
	netbsd-9-4-RELEASE:1.68
	netbsd-10-0-RELEASE:1.69
	netbsd-10-0-RC6:1.69
	netbsd-10-0-RC5:1.69
	netbsd-10-0-RC4:1.69
	netbsd-10-0-RC3:1.69
	netbsd-10-0-RC2:1.69
	netbsd-10-0-RC1:1.69
	netbsd-10:1.69.0.8
	netbsd-10-base:1.69
	netbsd-9-3-RELEASE:1.68
	cjep_sun2x-base1:1.69
	cjep_sun2x:1.69.0.6
	cjep_sun2x-base:1.69
	cjep_staticlib_x-base1:1.69
	netbsd-9-2-RELEASE:1.68
	cjep_staticlib_x:1.69.0.4
	cjep_staticlib_x-base:1.69
	netbsd-9-1-RELEASE:1.68
	phil-wifi-20200421:1.69
	phil-wifi-20200411:1.69
	is-mlppp:1.69.0.2
	is-mlppp-base:1.69
	phil-wifi-20200406:1.69
	netbsd-8-2-RELEASE:1.68
	netbsd-9-0-RELEASE:1.68
	netbsd-9-0-RC2:1.68
	netbsd-9-0-RC1:1.68
	phil-wifi-20191119:1.68
	netbsd-9:1.68.0.50
	netbsd-9-base:1.68
	phil-wifi-20190609:1.68
	netbsd-8-1-RELEASE:1.68
	netbsd-8-1-RC1:1.68
	pgoyette-compat-merge-20190127:1.68
	pgoyette-compat-20190127:1.68
	pgoyette-compat-20190118:1.68
	pgoyette-compat-1226:1.68
	pgoyette-compat-1126:1.68
	pgoyette-compat-1020:1.68
	pgoyette-compat-0930:1.68
	pgoyette-compat-0906:1.68
	netbsd-7-2-RELEASE:1.68
	pgoyette-compat-0728:1.68
	netbsd-8-0-RELEASE:1.68
	phil-wifi:1.68.0.48
	phil-wifi-base:1.68
	pgoyette-compat-0625:1.68
	netbsd-8-0-RC2:1.68
	pgoyette-compat-0521:1.68
	pgoyette-compat-0502:1.68
	pgoyette-compat-0422:1.68
	netbsd-8-0-RC1:1.68
	pgoyette-compat-0415:1.68
	pgoyette-compat-0407:1.68
	pgoyette-compat-0330:1.68
	pgoyette-compat-0322:1.68
	pgoyette-compat-0315:1.68
	netbsd-7-1-2-RELEASE:1.68
	pgoyette-compat:1.68.0.46
	pgoyette-compat-base:1.68
	netbsd-7-1-1-RELEASE:1.68
	matt-nb8-mediatek:1.68.0.44
	matt-nb8-mediatek-base:1.68
	perseant-stdc-iso10646:1.68.0.42
	perseant-stdc-iso10646-base:1.68
	netbsd-8:1.68.0.40
	netbsd-8-base:1.68
	prg-localcount2-base3:1.68
	prg-localcount2-base2:1.68
	prg-localcount2-base1:1.68
	prg-localcount2:1.68.0.38
	prg-localcount2-base:1.68
	pgoyette-localcount-20170426:1.68
	bouyer-socketcan-base1:1.68
	pgoyette-localcount-20170320:1.68
	netbsd-7-1:1.68.0.36
	netbsd-7-1-RELEASE:1.68
	netbsd-7-1-RC2:1.68
	netbsd-7-nhusb-base-20170116:1.68
	bouyer-socketcan:1.68.0.34
	bouyer-socketcan-base:1.68
	pgoyette-localcount-20170107:1.68
	netbsd-7-1-RC1:1.68
	pgoyette-localcount-20161104:1.68
	netbsd-7-0-2-RELEASE:1.68
	localcount-20160914:1.68
	netbsd-7-nhusb:1.68.0.32
	netbsd-7-nhusb-base:1.68
	pgoyette-localcount-20160806:1.68
	pgoyette-localcount-20160726:1.68
	pgoyette-localcount:1.68.0.30
	pgoyette-localcount-base:1.68
	netbsd-7-0-1-RELEASE:1.68
	netbsd-7-0:1.68.0.28
	netbsd-7-0-RELEASE:1.68
	netbsd-7-0-RC3:1.68
	netbsd-7-0-RC2:1.68
	netbsd-7-0-RC1:1.68
	netbsd-5-2-3-RELEASE:1.66
	netbsd-5-1-5-RELEASE:1.66
	netbsd-6-0-6-RELEASE:1.68
	netbsd-6-1-5-RELEASE:1.68
	netbsd-7:1.68.0.26
	netbsd-7-base:1.68
	yamt-pagecache-base9:1.68
	yamt-pagecache-tag8:1.68
	netbsd-6-1-4-RELEASE:1.68
	netbsd-6-0-5-RELEASE:1.68
	tls-earlyentropy:1.68.0.24
	tls-earlyentropy-base:1.68
	riastradh-xf86-video-intel-2-7-1-pre-2-21-15:1.68
	riastradh-drm2-base3:1.68
	netbsd-6-1-3-RELEASE:1.68
	netbsd-6-0-4-RELEASE:1.68
	netbsd-5-2-2-RELEASE:1.66
	netbsd-5-1-4-RELEASE:1.66
	netbsd-6-1-2-RELEASE:1.68
	netbsd-6-0-3-RELEASE:1.68
	netbsd-5-2-1-RELEASE:1.66
	netbsd-5-1-3-RELEASE:1.66
	netbsd-6-1-1-RELEASE:1.68
	riastradh-drm2-base2:1.68
	riastradh-drm2-base1:1.68
	riastradh-drm2:1.68.0.16
	riastradh-drm2-base:1.68
	netbsd-6-1:1.68.0.22
	netbsd-6-0-2-RELEASE:1.68
	netbsd-6-1-RELEASE:1.68
	khorben-n900:1.68.0.20
	netbsd-6-1-RC4:1.68
	netbsd-6-1-RC3:1.68
	agc-symver:1.68.0.18
	agc-symver-base:1.68
	netbsd-6-1-RC2:1.68
	netbsd-6-1-RC1:1.68
	yamt-pagecache-base8:1.68
	netbsd-5-2:1.66.0.12
	netbsd-6-0-1-RELEASE:1.68
	yamt-pagecache-base7:1.68
	netbsd-5-2-RELEASE:1.66
	netbsd-5-2-RC1:1.66
	matt-nb6-plus-nbase:1.68
	yamt-pagecache-base6:1.68
	netbsd-6-0:1.68.0.14
	netbsd-6-0-RELEASE:1.68
	netbsd-6-0-RC2:1.68
	tls-maxphys:1.68.0.12
	tls-maxphys-base:1.68
	matt-nb6-plus:1.68.0.10
	matt-nb6-plus-base:1.68
	netbsd-6-0-RC1:1.68
	yamt-pagecache-base5:1.68
	yamt-pagecache-base4:1.68
	netbsd-6:1.68.0.8
	netbsd-6-base:1.68
	netbsd-5-1-2-RELEASE:1.66
	netbsd-5-1-1-RELEASE:1.66
	yamt-pagecache-base3:1.68
	yamt-pagecache-base2:1.68
	yamt-pagecache:1.68.0.6
	yamt-pagecache-base:1.68
	cherry-xenmp:1.68.0.4
	cherry-xenmp-base:1.68
	bouyer-quota2-nbase:1.68
	bouyer-quota2:1.68.0.2
	bouyer-quota2-base:1.68
	matt-mips64-premerge-20101231:1.68
	matt-nb5-mips64-premerge-20101231:1.66
	matt-nb5-pq3:1.66.0.10
	matt-nb5-pq3-base:1.66
	netbsd-5-1:1.66.0.8
	netbsd-5-1-RELEASE:1.66
	netbsd-5-1-RC4:1.66
	matt-nb5-mips64-k15:1.66
	netbsd-5-1-RC3:1.66
	netbsd-5-1-RC2:1.66
	netbsd-5-1-RC1:1.66
	netbsd-5-0-2-RELEASE:1.66
	matt-nb5-mips64-premerge-20091211:1.66
	matt-premerge-20091211:1.68
	matt-nb5-mips64-u2-k2-k4-k7-k8-k9:1.66
	matt-nb4-mips64-k7-u2a-k9b:1.66
	matt-nb5-mips64-u1-k1-k5:1.66
	matt-nb5-mips64:1.66.0.6
	netbsd-5-0-1-RELEASE:1.66
	jym-xensuspend-nbase:1.67
	netbsd-5-0:1.66.0.4
	netbsd-5-0-RELEASE:1.66
	netbsd-5-0-RC4:1.66
	netbsd-5-0-RC3:1.66
	netbsd-5-0-RC2:1.66
	jym-xensuspend:1.67.0.2
	jym-xensuspend-base:1.67
	netbsd-5-0-RC1:1.66
	netbsd-5:1.66.0.2
	netbsd-5-base:1.66
	matt-mips64-base2:1.66
	matt-mips64:1.64.0.18
	netbsd-4-0-1-RELEASE:1.63.20.1
	wrstuden-revivesa-base-3:1.65
	wrstuden-revivesa-base-2:1.65
	wrstuden-fixsa-newbase:1.63
	wrstuden-revivesa-base-1:1.64
	yamt-pf42-base4:1.64
	yamt-pf42-base3:1.64
	hpcarm-cleanup-nbase:1.64
	yamt-pf42-baseX:1.64
	yamt-pf42-base2:1.64
	wrstuden-revivesa:1.64.0.16
	wrstuden-revivesa-base:1.64
	yamt-pf42:1.64.0.14
	yamt-pf42-base:1.64
	mjf-devfs2:1.64.0.12
	mjf-devfs2-base:1.66
	keiichi-mipv6:1.64.0.10
	keiichi-mipv6-base:1.64
	mjf-devfs:1.64.0.8
	mjf-devfs-base:1.64
	matt-armv6-nbase:1.64
	matt-armv6-prevmlocking:1.64
	wrstuden-fixsa-base-1:1.63
	netbsd-4-0:1.63.0.20
	netbsd-4-0-RELEASE:1.63
	cube-autoconf:1.64.0.6
	cube-autoconf-base:1.64
	netbsd-4-0-RC5:1.63
	netbsd-4-0-RC4:1.63
	netbsd-4-0-RC3:1.63
	netbsd-4-0-RC2:1.63
	netbsd-4-0-RC1:1.63
	matt-armv6:1.64.0.4
	matt-armv6-base:1.64
	matt-mips64-base:1.64
	hpcarm-cleanup:1.64.0.2
	hpcarm-cleanup-base:1.64
	netbsd-3-1-1-RELEASE:1.63
	netbsd-3-0-3-RELEASE:1.63
	wrstuden-fixsa:1.63.0.18
	wrstuden-fixsa-base:1.63
	abandoned-netbsd-4-base:1.63
	abandoned-netbsd-4:1.63.0.12
	netbsd-3-1:1.63.0.14
	netbsd-3-1-RELEASE:1.63
	netbsd-3-0-2-RELEASE:1.63
	netbsd-3-1-RC4:1.63
	netbsd-3-1-RC3:1.63
	netbsd-3-1-RC2:1.63
	netbsd-3-1-RC1:1.63
	netbsd-4:1.63.0.16
	netbsd-4-base:1.63
	netbsd-3-0-1-RELEASE:1.63
	netbsd-3-0:1.63.0.10
	netbsd-3-0-RELEASE:1.63
	netbsd-3-0-RC6:1.63
	netbsd-3-0-RC5:1.63
	netbsd-3-0-RC4:1.63
	netbsd-3-0-RC3:1.63
	netbsd-3-0-RC2:1.63
	netbsd-3-0-RC1:1.63
	netbsd-2-0-3-RELEASE:1.63
	netbsd-2-1:1.63.0.8
	netbsd-2-1-RELEASE:1.63
	netbsd-2-1-RC6:1.63
	netbsd-2-1-RC5:1.63
	netbsd-2-1-RC4:1.63
	netbsd-2-1-RC3:1.63
	netbsd-2-1-RC2:1.63
	netbsd-2-1-RC1:1.63
	netbsd-2-0-2-RELEASE:1.63
	netbsd-3:1.63.0.6
	netbsd-3-base:1.63
	netbsd-2-0-1-RELEASE:1.63
	netbsd-2:1.63.0.4
	netbsd-2-base:1.63
	netbsd-2-0-RELEASE:1.63
	netbsd-2-0-RC5:1.63
	netbsd-2-0-RC4:1.63
	netbsd-2-0-RC3:1.63
	netbsd-2-0-RC2:1.63
	netbsd-2-0-RC1:1.63
	netbsd-2-0:1.63.0.2
	netbsd-2-0-base:1.63
	netbsd-1-6-PATCH002-RELEASE:1.62
	netbsd-1-6-PATCH002:1.62
	netbsd-1-6-PATCH002-RC4:1.62
	netbsd-1-6-PATCH002-RC3:1.62
	netbsd-1-6-PATCH002-RC2:1.62
	netbsd-1-6-PATCH002-RC1:1.62
	netbsd-1-6-PATCH001:1.62
	netbsd-1-6-PATCH001-RELEASE:1.62
	netbsd-1-6-PATCH001-RC3:1.62
	netbsd-1-6-PATCH001-RC2:1.62
	netbsd-1-6-PATCH001-RC1:1.62
	fvdl_fs64_base:1.62
	netbsd-1-6-RELEASE:1.62
	netbsd-1-6-RC3:1.62
	netbsd-1-6-RC2:1.62
	netbsd-1-6-RC1:1.62
	netbsd-1-6:1.62.0.2
	netbsd-1-6-base:1.62
	netbsd-1-5-PATCH003:1.32.4.1
	netbsd-1-5-PATCH002:1.32
	netbsd-1-5-PATCH001:1.32
	netbsd-1-5-RELEASE:1.32
	netbsd-1-5-BETA2:1.32
	netbsd-1-5-BETA:1.32
	netbsd-1-4-PATCH003:1.19.2.2
	netbsd-1-5-ALPHA2:1.32
	netbsd-1-5:1.32.0.4
	netbsd-1-5-base:1.32
	minoura-xpg4dl:1.32.0.2
	minoura-xpg4dl-base:1.32
	netbsd-1-4-PATCH002:1.19.2.1
	wrstuden-devbsize-19991221:1.23
	wrstuden-devbsize:1.22.0.2
	wrstuden-devbsize-base:1.23
	comdex-fall-1999:1.23.0.2
	comdex-fall-1999-base:1.23
	netbsd-1-4-PATCH001:1.19
	netbsd-1-4-RELEASE:1.19
	netbsd-1-4:1.19.0.2
	netbsd-1-4-base:1.19
	netbsd-1-3-PATCH003:1.16
	netbsd-1-3-PATCH003-CANDIDATE2:1.16
	netbsd-1-3-PATCH003-CANDIDATE1:1.16
	netbsd-1-3-PATCH003-CANDIDATE0:1.16
	netbsd-1-3-PATCH002:1.16
	netbsd-1-3-PATCH001:1.16
	netbsd-1-3-RELEASE:1.16
	netbsd-1-3-BETA:1.16
	netbsd-1-3:1.16.0.2
	netbsd-1-3-base:1.16
	netbsd-1-2-PATCH001:1.2.4.4
	netbsd-1-2-RELEASE:1.2.4.3
	netbsd-1-2-BETA:1.2.4.2
	netbsd-1-2-base:1.2
	netbsd-1-2:1.2.0.4;
locks; strict;
comment	@# @;


1.69
date	2019.12.29.18.26.17;	author christos;	state Exp;
branches;
next	1.68;
commitid	QaphWvAMkPXycDQB;

1.68
date	2009.09.20.19.49.09;	author abs;	state Exp;
branches
	1.68.48.1;
next	1.67;

1.67
date	2009.01.25.22.08.38;	author abs;	state Exp;
branches;
next	1.66;

1.66
date	2008.09.19.17.23.32;	author tsutsui;	state Exp;
branches;
next	1.65;

1.65
date	2008.06.23.02.16.54;	author matt;	state Exp;
branches;
next	1.64;

1.64
date	2007.05.10.23.22.31;	author dogcow;	state Exp;
branches
	1.64.12.1
	1.64.16.1;
next	1.63;

1.63
date	2003.01.03.15.34.33;	author lukem;	state Exp;
branches
	1.63.16.1
	1.63.20.1;
next	1.62;

1.62
date	2002.05.07.14.59.34;	author lukem;	state Exp;
branches;
next	1.61;

1.61
date	2002.05.07.03.34.16;	author lukem;	state Exp;
branches;
next	1.60;

1.60
date	2002.05.02.18.02.41;	author lukem;	state Exp;
branches;
next	1.59;

1.59
date	2002.04.26.15.50.37;	author lukem;	state Exp;
branches;
next	1.58;

1.58
date	2002.04.23.19.44.14;	author tv;	state Exp;
branches;
next	1.57;

1.57
date	2002.04.12.03.21.12;	author lukem;	state Exp;
branches;
next	1.56;

1.56
date	2002.04.12.02.34.21;	author lukem;	state Exp;
branches;
next	1.55;

1.55
date	2002.04.10.16.14.11;	author lukem;	state Exp;
branches;
next	1.54;

1.54
date	2002.04.08.23.15.50;	author bjh21;	state Exp;
branches;
next	1.53;

1.53
date	2002.03.18.04.08.47;	author lukem;	state Exp;
branches;
next	1.52;

1.52
date	2002.03.17.22.30.31;	author lukem;	state Exp;
branches;
next	1.51;

1.51
date	2002.03.16.01.32.21;	author lukem;	state Exp;
branches;
next	1.50;

1.50
date	2002.03.14.22.26.10;	author lukem;	state Exp;
branches;
next	1.49;

1.49
date	2002.03.06.12.04.48;	author lukem;	state Exp;
branches;
next	1.48;

1.48
date	2002.02.12.11.17.47;	author is;	state Exp;
branches;
next	1.47;

1.47
date	2002.02.12.01.38.17;	author lukem;	state Exp;
branches;
next	1.46;

1.46
date	2002.02.09.13.56.51;	author lukem;	state Exp;
branches;
next	1.45;

1.45
date	2002.01.15.17.45.36;	author pk;	state Exp;
branches;
next	1.44;

1.44
date	2002.01.15.17.41.41;	author pk;	state Exp;
branches;
next	1.43;

1.43
date	2002.01.07.12.56.42;	author shin;	state Exp;
branches;
next	1.42;

1.42
date	2001.11.27.05.05.38;	author jmc;	state Exp;
branches;
next	1.41;

1.41
date	2001.11.08.07.29.45;	author tron;	state Exp;
branches;
next	1.40;

1.40
date	2001.11.07.08.02.54;	author shin;	state Exp;
branches;
next	1.39;

1.39
date	2001.10.13.06.15.18;	author jmc;	state Exp;
branches;
next	1.38;

1.38
date	2001.10.10.05.13.54;	author enami;	state Exp;
branches;
next	1.37;

1.37
date	2001.02.25.03.54.25;	author jmc;	state Exp;
branches;
next	1.36;

1.36
date	2000.11.01.07.57.59;	author garbled;	state Exp;
branches;
next	1.35;

1.35
date	2000.08.30.23.51.50;	author jhawk;	state Exp;
branches;
next	1.34;

1.34
date	2000.08.29.11.41.24;	author leo;	state Exp;
branches;
next	1.33;

1.33
date	2000.08.29.11.31.18;	author leo;	state Exp;
branches;
next	1.32;

1.32
date	2000.05.18.02.12.45;	author matt;	state Exp;
branches
	1.32.4.1;
next	1.31;

1.31
date	2000.05.05.11.15.45;	author sjg;	state Exp;
branches;
next	1.30;

1.30
date	2000.05.02.16.06.51;	author sjg;	state Exp;
branches;
next	1.29;

1.29
date	2000.05.02.06.45.24;	author sjg;	state Exp;
branches;
next	1.28;

1.28
date	2000.04.16.21.27.00;	author pk;	state Exp;
branches;
next	1.27;

1.27
date	2000.04.16.19.17.18;	author matt;	state Exp;
branches;
next	1.26;

1.26
date	2000.03.07.08.41.35;	author pk;	state Exp;
branches;
next	1.25;

1.25
date	2000.03.06.21.43.36;	author is;	state Exp;
branches;
next	1.24;

1.24
date	2000.01.10.15.17.30;	author pk;	state Exp;
branches;
next	1.23;

1.23
date	99.10.18.20.13.55;	author pk;	state Exp;
branches;
next	1.22;

1.22
date	99.07.18.07.22.36;	author abs;	state Exp;
branches
	1.22.2.1;
next	1.21;

1.21
date	99.05.11.20.46.59;	author veego;	state Exp;
branches;
next	1.20;

1.20
date	99.04.18.21.01.57;	author is;	state Exp;
branches;
next	1.19;

1.19
date	98.11.16.23.43.58;	author jonathan;	state Exp;
branches
	1.19.2.1;
next	1.18;

1.18
date	98.09.05.14.46.16;	author lukem;	state Exp;
branches;
next	1.17;

1.17
date	98.01.26.23.51.07;	author bad;	state Exp;
branches;
next	1.16;

1.16
date	97.09.22.21.33.31;	author scottr;	state Exp;
branches;
next	1.15;

1.15
date	97.09.09.23.02.04;	author is;	state Exp;
branches;
next	1.14;

1.14
date	97.07.15.08.16.36;	author pk;	state Exp;
branches;
next	1.13;

1.13
date	97.06.23.21.32.52;	author thorpej;	state Exp;
branches;
next	1.12;

1.12
date	97.05.10.15.42.54;	author lukem;	state Exp;
branches;
next	1.11;

1.11
date	97.03.16.11.26.23;	author veego;	state Exp;
branches;
next	1.10;

1.10
date	97.01.08.07.22.43;	author thorpej;	state Exp;
branches;
next	1.9;

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

1.8
date	96.07.04.06.53.12;	author leo;	state Exp;
branches;
next	1.7;

1.7
date	96.06.25.05.33.14;	author thorpej;	state Exp;
branches;
next	1.6;

1.6
date	96.05.30.06.57.12;	author leo;	state Exp;
branches;
next	1.5;

1.5
date	96.05.27.15.46.41;	author leo;	state Exp;
branches;
next	1.4;

1.4
date	96.05.27.12.39.01;	author leo;	state Exp;
branches;
next	1.3;

1.3
date	96.05.24.23.36.38;	author pk;	state Exp;
branches;
next	1.2;

1.2
date	96.01.06.22.40.58;	author pk;	state Exp;
branches
	1.2.4.1;
next	1.1;

1.1
date	95.12.18.22.47.26;	author pk;	state Exp;
branches;
next	;

1.68.48.1
date	2020.04.08.14.03.47;	author martin;	state Exp;
branches;
next	;
commitid	Qli2aW9E74UFuA3C;

1.64.12.1
date	2008.06.29.08.25.13;	author mjf;	state Exp;
branches;
next	1.64.12.2;

1.64.12.2
date	2008.09.28.11.09.16;	author mjf;	state Exp;
branches;
next	1.64.12.3;

1.64.12.3
date	2008.10.05.20.10.23;	author mjf;	state dead;
branches;
next	;

1.64.16.1
date	2008.09.18.04.41.10;	author wrstuden;	state Exp;
branches;
next	;

1.63.16.1
date	2008.09.22.18.14.43;	author bouyer;	state Exp;
branches;
next	;

1.63.20.1
date	2008.09.22.18.15.00;	author bouyer;	state Exp;
branches;
next	;

1.32.4.1
date	2002.03.25.17.32.56;	author he;	state Exp;
branches;
next	;

1.22.2.1
date	99.12.27.18.28.24;	author wrstuden;	state Exp;
branches;
next	;

1.19.2.1
date	2000.03.01.00.15.09;	author he;	state Exp;
branches;
next	1.19.2.2;

1.19.2.2
date	2000.11.04.19.44.34;	author he;	state Exp;
branches;
next	;

1.2.4.1
date	96.06.20.20.30.22;	author pk;	state Exp;
branches;
next	1.2.4.2;

1.2.4.2
date	96.06.25.07.49.11;	author thorpej;	state Exp;
branches;
next	1.2.4.3;

1.2.4.3
date	96.07.04.07.05.32;	author leo;	state Exp;
branches;
next	1.2.4.4;

1.2.4.4
date	97.03.13.00.48.38;	author mycroft;	state Exp;
branches;
next	;


desc
@@


1.69
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
@#	$NetBSD: Makefile,v 1.68 2009/09/20 19:49:09 abs Exp $

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

.include <bsd.kernobj.mk>

ARCHDIR=	${.CURDIR}/../${MACHINE}/miniroot

CRUNCHBIN=	instbin
LISTS=		${.CURDIR}/list ${ARCHDIR}/list
MTREECONF=	${DISTRIBDIR}/common/mtree.common
IMAGE=		miniroot.fs
IMAGEDEPENDS=	${CRUNCHBIN} install.sub install.sh upgrade.sh \
		${KERNSRCDIR}/conf/osrelease.sh \
		${NETBSDSRCDIR}/etc/group ${NETBSDSRCDIR}/etc/master.passwd \
		${NETBSDSRCDIR}/etc/netconfig ${DISTRIBDIR}/common/protocols \
		${DISTRIBDIR}/common/services
PARSELISTENV=	ARCHDIR=${ARCHDIR:Q} \
		DISTRIBREV=${DISTRIBREV:Q} \
		DISTRIBVER=${DISTRIBVER:Q} \
		KERNOBJDIR=${KERNOBJDIR:Q}

IMAGE_RELEASEDIR=	installation/miniroot

.include "${ARCHDIR}/Makefile.inc"

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

.include "${DISTRIBDIR}/common/Makefile.crunch"
.if defined(MAKEDEVTARGETS)
.include "${DISTRIBDIR}/common/Makefile.makedev"
.endif
.include "${DISTRIBDIR}/common/Makefile.image"

release:: check_RELEASEDIR .WAIT ${IMAGE}.gz
	${MAKESUMS} -t ${RELEASEDIR}/${RELEASEMACHINEDIR}/${IMAGE_RELEASEDIR} ${IMAGE}.gz

.include <bsd.prog.mk>
@


1.68
log
@${NETBSDSRCDIR}/distrib/common/protocols => ${DISTRIBDIR}/common/protocols
${NETBSDSRCDIR}/distrib/common/services => ${DISTRIBDIR}/common/services
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.67 2009/01/25 22:08:38 abs Exp $
a10 1
CRUNCHGEN_FLAGS= -d "${DBG}"
@


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


1.67
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.66 2008/09/19 17:23:32 tsutsui Exp $
d18 2
a19 2
		${NETBSDSRCDIR}/etc/netconfig ${NETBSDSRCDIR}/distrib/common/protocols \
		${NETBSDSRCDIR}/distrib/common/services
@


1.66
log
@Add ${IMAGE}.gz to dependency list of release:: target as well as the one
in src/distrib/common/Makefile.image so that ${MAKESUMS} will be invoked
after the target image is installed into the releasedir, not before,
even if make -jN is specified.

XXX some ports do ${MAKESUMS} for installation/miniroot files
XXX in etc/etc.${MACHINE}/Makefile.inc later again.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.65 2008/06/23 02:16:54 matt Exp $
d18 1
a18 1
		${NETBSDSRCDIR}/etc/netconfig ${NETBSDSRCDIR}/etc/protocols \
@


1.65
log
@Change remaining instances of ${RELEASEDIR}/${MACHINES} to
${RELEASEDIR}/${RELEASEMACHINEDIR}
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.64 2007/05/10 23:22:31 dogcow Exp $
d40 1
a40 1
release:: check_RELEASEDIR .WAIT
@


1.64
log
@Since /etc/services has gotten rather large, use a minimal one for install
kernels. (mount_nfs is notably the only binary that doesn't gracefully deal
with the lack of an /etc/services file, it appears.)
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.63 2003/01/03 15:34:33 lukem Exp $
d41 1
a41 1
	${MAKESUMS} -t ${RELEASEDIR}/${MACHINE}/${IMAGE_RELEASEDIR} ${IMAGE}.gz
@


1.64.16.1
log
@Sync with wrstuden-revivesa-base-2.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.64 2007/05/10 23:22:31 dogcow Exp $
d41 1
a41 1
	${MAKESUMS} -t ${RELEASEDIR}/${RELEASEMACHINEDIR}/${IMAGE_RELEASEDIR} ${IMAGE}.gz
@


1.64.12.1
log
@Sync with HEAD.
@
text
@d1 1
a1 1
#	$NetBSD$
d41 1
a41 1
	${MAKESUMS} -t ${RELEASEDIR}/${RELEASEMACHINEDIR}/${IMAGE_RELEASEDIR} ${IMAGE}.gz
@


1.64.12.2
log
@Sync with HEAD.
@
text
@d40 1
a40 1
release:: check_RELEASEDIR .WAIT ${IMAGE}.gz
@


1.64.12.3
log
@Sync with HEAD.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.64.12.2 2008/09/28 11:09:16 mjf Exp $
@


1.63
log
@Install release files under "${RELEASEDIR}/${MACHINE}/..." instead of
"${RELEASEDIR}/...".

${RELEASEDIR} is never cleaned , and ${RELEASEDIR}/${MACHINE} is only
cleaned if UPDATE is not defined.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.62 2002/05/07 14:59:34 lukem Exp $
d19 1
a19 1
		${NETBSDSRCDIR}/etc/services
@


1.63.20.1
log
@Pull up following revision(s) (requested by tsutsui in ticket #1204):
	distrib/hpcarm/Makefile				1.4 - 1.6
	distrib/hpcarm/instkernel/Makefile		1.1
	distrib/hpcarm/stand/Makefile			1.1 - 1.2
	distrib/hpcmips/Makefile			1.29 - 1.33
	distrib/hpcmips/instkernel/Makefile		1.1
	distrib/hpcmips/stand/Makefile			1.1 - 1.2
	distrib/hpcsh/Makefile				1.7 - 1.9
	distrib/hpcsh/instkernel/Makefile		1.1
	distrib/hpcsh/stand/Makefile			1.1 - 1.2
	distrib/miniroot/Makefile			1.65 - 1.66
	etc/etc.hpcarm/Makefile.inc			1.6 - 1.8
	etc/etc.hpcmips/Makefile.inc			1.9 - 1.10
	etc/etc.hpcsh/Makefile.inc			1.4 - 1.5
Build install kernels and standalone bootloaders in their own directories
so that parallel build works properly.
Change remaining instances of ${RELEASEDIR}/${MACHINES} to
${RELEASEDIR}/${RELEASEMACHINEDIR}
Add ${IMAGE}.gz to dependency list of release:: target as well as the one
in src/distrib/common/Makefile.image so that ${MAKESUMS} will be invoked
after the target image is installed into the releasedir, not before,
even if make -jN is specified.
XXX some ports do ${MAKESUMS} for installation/miniroot files
XXX in etc/etc.${MACHINE}/Makefile.inc later again.
- add INSTALLATION_DIRS+=installation/miniroot so that miniroot.fs.gz
  image is installed properly
- INSTALL_IPAQ should be in BUILD_KERNELS rather than KERNEL_SETS
  since it requires ramdisk image by mdsetimage(8) in src/distrib
Invoke ${MAKESUMS} for ${RELEASEDIR}/${RELEASEMACHINEDIR}/installation files
as snap_md_post target in etc/etc.${MACHINE}/Makefile.inc rather than
as release target in distrib/${MACHINE}/Makefile so that builds for
release in distrib/${MACHINE}/Makefile don't have to be serialized.
@
text
@d1 1
a1 1
#	$NetBSD$
d40 2
a41 2
release:: check_RELEASEDIR .WAIT ${IMAGE}.gz
	${MAKESUMS} -t ${RELEASEDIR}/${RELEASEMACHINEDIR}/${IMAGE_RELEASEDIR} ${IMAGE}.gz
@


1.63.16.1
log
@Pull up following revision(s) (requested by tsutsui in ticket #1204):
	distrib/hpcarm/Makefile				1.4 - 1.6
	distrib/hpcarm/instkernel/Makefile		1.1
	distrib/hpcarm/stand/Makefile			1.1 - 1.2
	distrib/hpcmips/Makefile			1.29 - 1.33
	distrib/hpcmips/instkernel/Makefile		1.1
	distrib/hpcmips/stand/Makefile			1.1 - 1.2
	distrib/hpcsh/Makefile				1.7 - 1.9
	distrib/hpcsh/instkernel/Makefile		1.1
	distrib/hpcsh/stand/Makefile			1.1 - 1.2
	distrib/miniroot/Makefile			1.65 - 1.66
	etc/etc.hpcarm/Makefile.inc			1.6 - 1.8
	etc/etc.hpcmips/Makefile.inc			1.9 - 1.10
	etc/etc.hpcsh/Makefile.inc			1.4 - 1.5
Build install kernels and standalone bootloaders in their own directories
so that parallel build works properly.
Change remaining instances of ${RELEASEDIR}/${MACHINES} to
${RELEASEDIR}/${RELEASEMACHINEDIR}
Add ${IMAGE}.gz to dependency list of release:: target as well as the one
in src/distrib/common/Makefile.image so that ${MAKESUMS} will be invoked
after the target image is installed into the releasedir, not before,
even if make -jN is specified.
XXX some ports do ${MAKESUMS} for installation/miniroot files
XXX in etc/etc.${MACHINE}/Makefile.inc later again.
- add INSTALLATION_DIRS+=installation/miniroot so that miniroot.fs.gz
  image is installed properly
- INSTALL_IPAQ should be in BUILD_KERNELS rather than KERNEL_SETS
  since it requires ramdisk image by mdsetimage(8) in src/distrib
Invoke ${MAKESUMS} for ${RELEASEDIR}/${RELEASEMACHINEDIR}/installation files
as snap_md_post target in etc/etc.${MACHINE}/Makefile.inc rather than
as release target in distrib/${MACHINE}/Makefile so that builds for
release in distrib/${MACHINE}/Makefile don't have to be serialized.
@
text
@d1 1
a1 1
#	$NetBSD$
d40 2
a41 2
release:: check_RELEASEDIR .WAIT ${IMAGE}.gz
	${MAKESUMS} -t ${RELEASEDIR}/${RELEASEMACHINEDIR}/${IMAGE_RELEASEDIR} ${IMAGE}.gz
@


1.62
log
@enable (default) libhack for all miniroots.
for atari, also add gethost.o (as before)
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.61 2002/05/07 03:34:16 lukem Exp $
d41 1
a41 1
	${MAKESUMS} -t ${RELEASEDIR}/${IMAGE_RELEASEDIR} ${IMAGE}.gz
@


1.61
log
@Use release:: instead of release: when multiple release targets may exist
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.60 2002/05/02 18:02:41 lukem Exp $
d28 5
@


1.60
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.59 2002/04/26 15:50:37 lukem Exp $
d35 1
a35 1
release: check_RELEASEDIR .WAIT
@


1.59
log
@replace _SRC_TOP_ with NETBSDSRCDIR, since the latter is the "public" version
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.58 2002/04/23 19:44:14 tv Exp $
d4 1
a4 1
.include "${NETBSDSRCDIR}/distrib/Makefile.inc"
d25 2
a28 16
IMAGEBUILT=	image.built
CLEANFILES+=	${IMAGEBUILT}
IMAGE_MD_POST?=	true

realall: check_DESTDIR .WAIT ${IMAGEBUILT}

release: check_RELEASEDIR .WAIT ${IMAGEBUILT}
	mkdir -p ${RELEASEDIR}/installation/miniroot
	gzip -c -9 < ${.OBJDIR}/miniroot.fs \
		> ${RELEASEDIR}/installation/miniroot/miniroot.fs.gz
	${MAKESUMS} -t ${RELEASEDIR}/installation/miniroot miniroot.fs.gz

${IMAGEBUILT}: ${IMAGE}
	${IMAGE_MD_POST} \
	&& touch ${IMAGEBUILT}

d34 3
@


1.58
log
@Make sure DBG setting is passed to crunch Makefile to get proper
compile-time options.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.57 2002/04/12 03:21:12 lukem Exp $
d4 1
a4 1
.include "${_SRC_TOP_}/distrib/Makefile.inc"
d17 3
a19 3
		${_SRC_TOP_}/etc/group ${_SRC_TOP_}/etc/master.passwd \
		${_SRC_TOP_}/etc/netconfig ${_SRC_TOP_}/etc/protocols \
		${_SRC_TOP_}/etc/services
@


1.57
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 1
a1 1
#	$NetBSD: Makefile,v 1.56 2002/04/12 02:34:21 lukem Exp $
d11 1
@


1.56
log
@remove MAKESUMS (provided by ../Makefile.inc).  minor tweaks
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.55 2002/04/10 16:14:11 lukem Exp $
d26 3
d30 1
a30 1
realall: check_DESTDIR .WAIT image
d32 1
a32 1
release: check_RELEASEDIR .WAIT image
d38 3
a40 5
image:	${IMAGE} image_md_post

image_md_post:
# nothing here; refer to machine-dependant ${ARCHDIR}/Makefile.inc

@


1.55
log
@tweak how distrib/Makefile.inc is pulled in.  use realall: instead of all:
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.54 2002/04/08 23:15:50 bjh21 Exp $
a22 1
MAKESUMS=	CKSUM=${CKSUM:Q} sh ${DISTRIBDIR}/sets/makesums
a27 1
	@@true
d33 1
a33 1
	 ${MAKESUMS} -t ${RELEASEDIR}/installation/miniroot miniroot.fs.gz
@


1.54
log
@Set CKSUM in makesums' environment.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.53 2002/03/18 04:08:47 lukem Exp $
a2 1
.include "${.CURDIR}/../Makefile.inc"
d4 2
d28 1
a28 1
all:	check_DESTDIR .WAIT image
@


1.53
log
@add empty image_md_post rule so ports that don't provide one won't barf
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.52 2002/03/17 22:30:31 lukem Exp $
d22 1
d34 1
a34 2
	sh ${DISTRIBDIR}/sets/makesums \
		-t ${RELEASEDIR}/installation/miniroot miniroot.fs.gz
@


1.52
log
@If we're going to use DISTRIB(REV|VER) in generated files, have those files
depend upon osrelease.sh.  Issue raised by Havard Eidnes.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.51 2002/03/16 01:32:21 lukem Exp $
d37 3
@


1.51
log
@need to pass DISTRIBREV and DISTRIBVER to parselist as well
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.50 2002/03/14 22:26:10 lukem Exp $
d14 1
@


1.50
log
@parselist.awk
- improve comments
- provide a general purpose variable replacement; replace contents of ${FOO}
  with ENVIRON["FOO"].
- deprecate @@MACHINE@@ and @@MACHINE_ARCH@@ in favour of using ${MACHINE}
  and ${MACHINE_ARCH} instead
- add errx() function; like err(), but doesn't print the line number
- invoke this script with various variables defined via PARSELISTENV

*/Makefile*
- use PARSELISTENV instead of POPULATEENV, and add variables like DESTDIR
- other minor tweaks

*/list*
- replace @@MACHINE@@ with ${MACHINE}
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.49 2002/03/06 12:04:48 lukem Exp $
d17 4
a20 1
PARSELISTENV=	ARCHDIR=${ARCHDIR:Q} KERNOBJDIR=${KERNOBJDIR:Q}
@


1.49
log
@Commit work-in-progess rototill of distrib/miniroot and associated machine
dependent files:

- Use infrastructure from distrib/common to build file system images with
  crunchgen-ed programs from a list file.

- Non root ("UNPRIVED") builds from a read-only source tree are possible,
  as makefs(8) replaces vnconfig(8)/vnd use, devices are generated using
  common/makedev2spec.awk, etc.

- Cross builds should be possible, except that some ports need cross-compile
  host tool versions of installboot and any appropriate host disk labelling
  tools.
	XXX: pmax, sparc and vax need fixing for this!

- This code has NOT YET BEEN TESTED on most of the ports.
  It should work, but it is extremely likely that the file system
  parameters may need tweaking to get things to fit.
  See MAKEFS_FLAGS in sparc/miniroot/Makefile.inc for an example.
  If assistance is required, please ask!
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.48 2002/02/12 11:17:47 is Exp $
d17 1
a17 1
POPULATEENV+=	ARCHDIR=${ARCHDIR:Q} KERNOBJDIR=${KERNOBJDIR:Q}
@


1.48
log
@Use the building machine's raw partition instead of fixed "c" to allow
cross-building.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.47 2002/02/12 01:38:17 lukem Exp $
d3 1
a3 1
.include "../../Makefile.inc"
a6 1
CBIN=		instbin
d9 10
a18 1
.if exists(${ARCHDIR}/Makefile.inc)
a19 1
.endif
a20 11
HOST_RAWPART!=	sysctl -n kern.rawpartition | tr '0-9a-f' 'a-p'
VND?=		vnd0
VND_DEV=	/dev/${VND}${HOST_RAWPART}
VND_RDEV=	/dev/r${VND}${HOST_RAWPART}
VND_GEOM?=
IMAGE?=		miniroot.fs
IMAGESIZE?=	14336 # 7MB in 512 byte blocks
NEWFSOPTS?=
MOUNT_POINT?=	/mnt
BOOTINSTALL?=	true
PRELABEL?=	true
d22 2
a23 3
.ifdef DISKTYPE
DISKTYPEARG=	-t ${DISKTYPE}
.endif
d25 1
a25 53
LISTS=		${.CURDIR}/list ${ARCHDIR}/list
CRUNCHCONF=	${CBIN}.conf
MTREECONF=	${.CURDIR}/mtree.conf
ICMD=		${INSTALL} ${RENAME} ${PRESERVE} ${COPY} -m ${NONBINMODE}

CRUNCHGEN?=	crunchgen
MTREE?=		mtree

.if !defined(DESTDIR) || ${DESTDIR} == ""
all:
	@@echo setenv DESTDIR before making a miniroot!
	@@false
.else

all: ${CBIN}
	dd if=/dev/zero of=${IMAGE} count=${IMAGESIZE}
	vnconfig ${DISKTYPEARG} -v -c ${VND} ${IMAGE} ${VND_GEOM}
	${PRELABEL}
	-newfs -m 0 -o space ${NEWFSOPTS} ${VND_RDEV} ${DISKTYPE}
	${BOOTINSTALL}
	mount -o async ${VND_DEV} ${MOUNT_POINT}
	${MTREE} -def ${MTREECONF} -p ${MOUNT_POINT}/ -u
	REV=${DISTRIBREV} CURDIR=${.CURDIR} OBJDIR=${.OBJDIR} ARCHDIR=${ARCHDIR} \
	    TARGDIR=${MOUNT_POINT} VND_RDEV=${VND_RDEV} \
	    KERNOBJDIR=${KERNOBJDIR} \
	    sh ${.CURDIR}/runlist.sh ${LISTS}
	@@echo ""
	@@df -i ${MOUNT_POINT}
	@@echo ""
	umount ${MOUNT_POINT}
	vnconfig -u ${VND}

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

${CBIN}.conf: ${LISTS}
	awk -f ${.CURDIR}/makeconf.awk CBIN=${CBIN} ${LISTS} > ${CBIN}.conf

${CBIN}.mk: .EXEC
${CBIN}.mk ${CBIN}.c: ${CRUNCHCONF}
	${CRUNCHGEN} -f -D ${.CURDIR}/../.. -L ${DESTDIR}/usr/lib ${CRUNCHCONF}

${CBIN}: ${CBIN}.mk ${CBIN}.c
	${MAKE} -f ${CBIN}.mk all

.if !defined(RELEASEDIR) || ${RELEASEDIR} == ""
release:
	@@echo setenv RELEASEDIR first
	@@false
.else
release: ${IMAGE}
d29 1
a29 1
	${.CURDIR}/../sets/makesums \
d32 2
a33 2
.endif	# RELEASEDIR check
.endif	# DESTDIR check
d35 5
a39 3
clean cleandir distclean:
	/bin/rm -f core ${IMAGE} ${CBIN} ${CBIN}.mk ${CBIN}.cache \
	${CBIN}.conf *.o *.cro *.c
d41 1
a41 2
.include <bsd.obj.mk>
.include <bsd.subdir.mk>
@


1.47
log
@remove REV in favour of DISTRIBREV (from ../Makefile.inc)
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.46 2002/02/09 13:56:51 lukem Exp $
d14 1
d16 2
a17 2
VND_DEV=	/dev/${VND}c
VND_RDEV=	/dev/r${VND}c
@


1.46
log
@don't set the owner or group when installing into $RELEASEDIR
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.45 2002/01/15 17:45:36 pk Exp $
a6 2
REV!=sh ${.CURDIR}/../../sys/conf/osrelease.sh -s

d51 1
a51 1
	REV=${REV} CURDIR=${.CURDIR} OBJDIR=${.OBJDIR} ARCHDIR=${ARCHDIR} \
@


1.45
log
@Test DESTDIR and RELEASEDIR for non-emptyness as well as existence, sigh..
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.44 2002/01/15 17:41:41 pk Exp $
d34 1
a34 2
ICMD=		${INSTALL} ${RENAME} ${PRESERVE} ${COPY}	\
			-o root -g wheel -m ${NONBINMODE} 
@


1.44
log
@Remove instbin.cache from dependency lists, since crunchgen is now run
unconditionally.
Avoid running the crunchgen command multiple times for each dependent
target by marking only one target (instbin.mk) for unconditional re-make.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.43 2002/01/07 12:56:42 shin Exp $
d40 1
a40 1
.ifndef DESTDIR
d79 1
a79 1
.ifndef RELEASEDIR
@


1.43
log
@use 'vnd0' instead of 'vnd0c', when unconfigure device.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.42 2001/11/27 05:05:38 jmc Exp $
d72 2
a73 1
${CBIN}.mk ${CBIN}.cache ${CBIN}.c! ${CRUNCHCONF}
d76 1
a76 1
${CBIN}: ${CBIN}.mk ${CBIN}.cache ${CBIN}.c
@


1.42
log
@Just use vnd0 when vnconfig'ing and then use the char/raw device when newfs'ing
and mounting
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.41 2001/11/08 07:29:45 tron Exp $
d62 1
a62 1
	vnconfig -u ${VND_DEV}
@


1.41
log
@Use the block device when invoking "vndconfig" because the character
device isn't accepted any longer.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.40 2001/11/07 08:02:54 shin Exp $
d16 3
a18 3
VND?=		vnd0c
VND_DEV=	/dev/${VND}
VND_RDEV=	/dev/r${VND}
d48 1
a48 1
	vnconfig ${DISKTYPEARG} -v -c ${VND_DEV} ${IMAGE} ${VND_GEOM}
@


1.40
log
@use raw device name for vnconfig.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.39 2001/10/13 06:15:18 jmc Exp $
d48 1
a48 1
	vnconfig ${DISKTYPEARG} -v -c ${VND_RDEV} ${IMAGE} ${VND_GEOM}
d62 1
a62 1
	vnconfig -u ${VND_RDEV}
d66 1
a66 1
	-vnconfig -u ${VND_RDEV}
@


1.39
log
@Add MTREE?= to add Makefiles and use  when running mtree
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.38 2001/10/10 05:13:54 enami Exp $
d48 1
a48 1
	vnconfig ${DISKTYPEARG} -v -c ${VND_DEV} ${IMAGE} ${VND_GEOM}
d62 1
a62 1
	vnconfig -u ${VND_DEV}
d66 1
a66 1
	-vnconfig -u ${VND_DEV}
@


1.38
log
@Use symbol MTREECONF instead of MTREE to refer configuration file
to avoid conflicts.  Pointed out by chs@@netbsd.org.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.37 2001/02/25 03:54:25 jmc Exp $
d38 1
d53 1
a53 1
	mtree -def ${MTREECONF} -p ${MOUNT_POINT}/ -u
@


1.37
log
@Make sure crunchgen remakes the makefile everytime and it doesn't use it's
cache since other Makefiles could change source files too easily.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.36 2000/11/01 07:57:59 garbled Exp $
d33 1
a33 1
MTREE=		${.CURDIR}/mtree.conf
d52 1
a52 1
	mtree -def ${MTREE} -p ${MOUNT_POINT}/ -u
@


1.36
log
@Change all ocurrences of "crunchgen" to ${CRUNCHGEN}
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.35 2000/08/30 23:51:50 jhawk Exp $
d71 2
a72 2
${CBIN}.mk ${CBIN}.cache ${CBIN}.c: ${CRUNCHCONF}
	${CRUNCHGEN} -D ${.CURDIR}/../.. -L ${DESTDIR}/usr/lib ${CRUNCHCONF}
@


1.35
log
@Use
  ${MAKE}
instead of
  make
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.34 2000/08/29 11:41:24 leo Exp $
d37 2
d72 1
a72 1
	crunchgen -D ${.CURDIR}/../.. -L ${DESTDIR}/usr/lib ${CRUNCHCONF}
@


1.34
log
@Backout previous commit. It shouldn;t have happend.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.32 2000/05/18 02:12:45 matt Exp $
d73 1
a73 1
	make -f ${CBIN}.mk all
@


1.33
log
@Pull up revision 1.16 (requested by leo, approved by thorpej).
Log:
  Use x_ed and x_route to save space on the miniroot.
@
text
@d23 1
a23 1
MOUNT_POINT?=	/mnt1
@


1.32
log
@Updagte the VAX bits so they actually work.  Use the common method of building
miniroots.  Fix the ramdisk bits.  Use the INSTALL kernel.  This stuff has
really suffered from bitrot.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.31 2000/05/05 11:15:45 sjg Exp $
d23 1
a23 1
MOUNT_POINT?=	/mnt
@


1.32.4.1
log
@Apply patch (requested by he):
  Introduce dependency between ramdisk/miniroot construction and
  osrelease.sh, to better support UPDATE builds of releases.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.32 2000/05/18 02:12:45 matt Exp $
a7 1
VERDEP= ${.CURDIR}/../../sys/conf/osrelease.sh
d72 1
a72 1
${CBIN}: ${CBIN}.mk ${CBIN}.cache ${CBIN}.c ${VERDEP}
@


1.31
log
@Added missing .gz to makesums arg
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.30 2000/05/02 16:06:51 sjg Exp $
d7 1
a7 1
REV!=sh ${BSDSRCDIR}/sys/conf/osrelease.sh -s
@


1.30
log
@use bsd.kernobj.mk to tell us KERNOBJDIR for compiled kernels.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.29 2000/05/02 06:45:24 sjg Exp $
d85 1
a85 1
		-t ${RELEASEDIR}/installation/miniroot miniroot.fs
@


1.29
log
@Use top-level Makefile.inc to set BSDSRCDIR
use bsd.kernobj.mk to set KERNOBJDIR and pass this to runlist.sh
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.28 2000/04/16 21:27:00 pk Exp $
d7 1
a7 1
REV!=sh ${.CURDIR}/../../sys/conf/osrelease.sh -s
@


1.28
log
@Fix path to `makesums'
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.27 2000/04/16 19:17:18 matt Exp $
d3 1
d5 1
d53 1
d86 1
a86 1
		
@


1.27
log
@Use relative path to osrelease.sh
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.26 2000/03/07 08:41:35 pk Exp $
d77 6
a82 5
release: $(IMAGE)
	mkdir -p $(RELEASEDIR)/installation/miniroot
	gzip -c -9 < $(.OBJDIR)/miniroot.fs \
		> $(RELEASEDIR)/installation/miniroot/miniroot.fs.gz
	../sets/makesums -t $(RELEASEDIR)/installation/miniroot miniroot.fs
@


1.26
log
@Bump image size by 1MB.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.25 2000/03/06 21:43:36 is Exp $
d5 1
a5 1
REV!=sh ${BSDSRCDIR}/sys/conf/osrelease.sh -s
@


1.25
log
@Make sure the miniroot distribution directory exists.
Compute the checksums.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.24 2000/01/10 15:17:30 pk Exp $
d19 1
a19 1
IMAGESIZE?=	12288 # 6MB in 512 byte blocks
@


1.24
log
@Remove version number from boot image files.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.23 1999/10/18 20:13:55 pk Exp $
d78 1
d81 2
@


1.23
log
@Add `release:' targets.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.22 1999/07/18 07:22:36 abs Exp $
d18 1
a18 1
IMAGE?=		miniroot-${REV}.fs
d78 2
a79 2
	gzip -c -9 < $(.OBJDIR)/miniroot-${REV}.fs \
		> $(RELEASEDIR)/installation/miniroot/miniroot-${REV}.fs.gz
@


1.22
log
@s/makeing/making/
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.21 1999/05/11 20:46:59 veego Exp $
d32 2
d72 11
a86 1
.endif	# DESTDIR check
@


1.22.2.1
log
@Pull up to last week's -current.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.23 1999/10/18 20:13:55 pk Exp $
a31 2
ICMD=		${INSTALL} ${RENAME} ${PRESERVE} ${COPY}	\
			-o root -g wheel -m ${NONBINMODE} 
a69 11
.ifndef RELEASEDIR
release:
	@@echo setenv RELEASEDIR first
	@@false
.else
release: $(IMAGE)
	gzip -c -9 < $(.OBJDIR)/miniroot-${REV}.fs \
		> $(RELEASEDIR)/installation/miniroot/miniroot-${REV}.fs.gz
.endif	# RELEASEDIR check
.endif	# DESTDIR check

d74 1
@


1.21
log
@Sync with the recent crunchgen changes.
- Remove *.cro files and not the obsoleted *.lo files.

From Bill Studenmund commit message:
> 3) Generate .cro files rather than .lo files. .lo now is used for "local
> objects" - obj's for the host machine not the target machine.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.20 1999/04/18 21:01:57 is Exp $
d35 1
a35 1
	@@echo setenv DESTDIR before makeing a miniroot!
@


1.20
log
@use an async mount for building the miniroot filesystem
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.19 1998/11/16 23:43:58 jonathan Exp $
d72 1
a72 1
	${CBIN}.conf *.o *.lo *.c
@


1.19
log
@Add hook for running extraneous commands before newfs.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.18 1998/09/05 14:46:16 lukem Exp $
d45 1
a45 1
	mount ${VND_DEV} ${MOUNT_POINT}
@


1.19.2.1
log
@Apply patch (requested by toddpw):
  Support the ``release'' target (used at least by sparc).
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.19 1998/11/16 23:43:58 jonathan Exp $
a73 9
.ifndef RELEASEDIR
release:
	@@echo setenv RELEASEDIR first
	@@false
.else
release: $(IMAGE)
	gzip -c -9 < $(.OBJDIR)/miniroot-${REV}.fs \
		> $(RELEASEDIR)/installation/miniroot/miniroot-${REV}.fs.gz
.endif	# RELEASEDIR check
@


1.19.2.2
log
@Apply patch (requested by matt):
  Add an 'unconfig' target.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.19.2.1 2000/03/01 00:15:09 he Exp $
d39 1
a39 1
all: unconfig ${CBIN}
@


1.18
log
@distclean is a synonym for cleandir
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.17 1998/01/26 23:51:07 bad Exp $
d23 1
d42 1
@


1.17
log
@We don't need to manually flush the buffer cache after ``vnconfig -u''
anymore.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.16 1997/09/22 21:33:31 scottr Exp $
d68 1
a68 1
clean cleandir:
@


1.16
log
@Add a VND_GEOM variable for optionally specifying a geometry
to vnconfig(8).
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.15 1997/09/09 23:02:04 is Exp $
a52 1
	cat /*bin/* > /dev/null
@


1.15
log
@More changes, while working on Amiga generic miniroot stuff:
- added method BOOTINSTALL, for an architecture to optionally install a
  bootblock in the miniroot (this works for Amiga)
- added Amiga keymap directories
- removed the subdir selection from mount_local_disk() and mount_nfs(), and
  the remains from mount_cdrom(), as all are handled now by the subdir
  navigator in mount_from_installed_fs()
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.14 1997/07/15 08:16:36 pk Exp $
a13 1
MOUNT_POINT?=	/mnt
d17 1
d19 1
a19 1
IMAGESIZE?=	12288 # 6Mb in 512 byte blocks
d21 1
d40 1
a40 1
	vnconfig ${DISKTYPEARG} -v -c ${VND_DEV} ${IMAGE}
@


1.14
log
@Make DISKTYPE optional; default to vnd's builtin geometry.
Make `vnd0c' the default vnd device (instead of `vnd0a').
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.13 1997/06/23 21:32:52 thorpej Exp $
d21 1
d40 2
a41 1
	newfs -m 0 -o space ${NEWFSOPTS} ${VND_RDEV} ${DISKTYPE}
d45 2
a46 1
	    TARGDIR=${MOUNT_POINT} sh ${.CURDIR}/runlist.sh ${LISTS}
@


1.13
log
@Update for changes to vnconfig(8).
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.12 1997/05/10 15:42:54 lukem Exp $
d15 1
a15 1
VND?=		vnd0a
d19 1
a19 1
IMAGESIZE?=	10240 # 5Mb in 512 byte blocks
d22 3
a24 1
DISKTYPE=	miniroot
d38 1
a38 1
	vnconfig -t ${DISKTYPE} -v -c ${VND_DEV} ${IMAGE}
@


1.12
log
@Don't hardcode in the current release information; generate it
automatically on the fly, by using
	`sh ${BSDSRCDIR}/sys/conf/osrelease.sh -s`
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.11 1997/03/16 11:26:23 veego Exp $
d22 2
d36 2
a37 2
	vnconfig -v -c ${VND_DEV} ${IMAGE}
	newfs -m 0 -o space ${NEWFSOPTS} ${VND_RDEV} miniroot
@


1.11
log
@Bump the REV to 12D to get in sync with param.h and newvers.sh.
This REALLY needs to be in ONE file and not in 11 files.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.10 1997/01/08 07:22:43 thorpej Exp $
d5 1
a5 3
# Revision is 1.2D
# all these private copies of the version number really lose.
REV=		12D
@


1.10
log
@Include <bsd.own.mk> for <bsd.obj.mk>.  Bump rev to 12B (HI PERRY! :-)
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.9 1996/10/10 19:58:32 gwr Exp $
d5 3
a7 2
# Revision is 1.2B
REV=		12B
@


1.9
log
@Merge the netbsd-1-2 branch back into the mainline.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.8 1996/07/04 06:53:12 leo Exp $
d3 4
a6 2
# Revision is 1.2
REV=		12
@


1.8
log
@Check for $DESTDIR being set. This prevents you from accidently ending up
with a miniroot that contains your local passwd files.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.2.4.2 1996/06/25 07:49:11 thorpej Exp $
d3 2
a4 2
# Revision is 1.2A
REV=		12A
@


1.7
log
@We're 1.2A, I promise.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.6 1996/05/30 06:57:12 leo Exp $
d25 6
d64 1
@


1.6
log
@* Edit VERSION into install.sub while copying instead of using a
  VERSION file.
* Set the EDITOR variable in install.sub, so it will be set in both
  upgrade & install.
* Make the checks on  the presence of installation sets on the local
  disks on upgrade more precise.
* Remove more&less from the list of standard binaries (I need more space!)
* When building an fstab from the users' fstab, drop lines starting with
  a '#' and lines with an fstype that is not supported on the miniroot.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.5 1996/05/27 15:46:41 leo Exp $
d3 2
a4 2
# Revision is 1.1B
REV=		11B
@


1.5
log
@Remove leftover from atari (floppybt -> miniroot)
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.4 1996/05/27 12:39:01 leo Exp $
d31 1
a31 2
	echo "VERSION=${REV}; export VERSION" > ${MOUNT_POINT}/VERSION
	CURDIR=${.CURDIR} OBJDIR=${.OBJDIR} ARCHDIR=${ARCHDIR} \
@


1.4
log
@Sync atari miniroot & mi-miniroot
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.1.1.1 1996/05/19 19:43:39 leo Exp $
d28 1
a28 1
	newfs -m 0 -o space ${NEWFSOPTS} ${VND_RDEV} floppybt
@


1.3
log
@Include machine-specific makefile so the default values of various
things can be overridden.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.2 1996/01/06 22:40:58 pk Exp $
d14 3
a16 3
VND?=		vnd0
VND_DEV=	/dev/${VND}a
VND_RDEV=	/dev/r${VND}a
d18 2
a19 1
IMAGESIZE?=	5
d21 1
a21 1
LISTS=		${ARCHDIR}/list ${.CURDIR}/list
d26 1
a26 1
	dd if=/dev/zero of=${IMAGE} bs=1024k count=${IMAGESIZE}
d28 1
a28 1
	newfs -m 0 -o space ${VND_RDEV} miniroot
d31 1
@


1.2
log
@update clean target
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.1 1995/12/18 22:47:26 pk Exp $
d3 2
a4 2
# Revision is 1.1A
REV=		11A
d9 4
d17 2
a18 2
IMAGE?=		xxx-${REV}.fs
MDEC=		${DESTDIR}/usr/mdec
d25 1
a25 1
	dd if=/dev/zero of=${IMAGE} bs=512k count=10
@


1.2.4.1
log
@Sync with trunk.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.6 1996/05/30 06:57:12 leo Exp $
d3 2
a4 2
# Revision is 1.1B
REV=		11B
a8 4
.if exists(${ARCHDIR}/Makefile.inc)
.include "${ARCHDIR}/Makefile.inc"
.endif

d10 5
a14 6
VND?=		vnd0a
VND_DEV=	/dev/${VND}
VND_RDEV=	/dev/r${VND}
IMAGE?=		miniroot-${REV}.fs
IMAGESIZE?=	10240 # 5Mb in 512 byte blocks
NEWFSOPTS?=
d16 1
a16 1
LISTS=		${.CURDIR}/list ${ARCHDIR}/list
d21 1
a21 1
	dd if=/dev/zero of=${IMAGE} count=${IMAGESIZE}
d23 1
a23 1
	newfs -m 0 -o space ${NEWFSOPTS} ${VND_RDEV} miniroot
d26 1
a26 1
	REV=${REV} CURDIR=${.CURDIR} OBJDIR=${.OBJDIR} ARCHDIR=${ARCHDIR} \
@


1.2.4.2
log
@Just like the trunk's 1.2A, we're 1.2.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.2.4.1 1996/06/20 20:30:22 pk Exp $
d3 2
a4 2
# Revision is 1.2
REV=		12
@


1.2.4.3
log
@Pull up from trunk.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.8 1996/07/04 06:53:12 leo Exp $
a24 6
.ifndef DESTDIR
all:
	@@echo setenv DESTDIR before makeing a miniroot!
	@@false
.else

a57 1
.endif	# DESTDIR check
@


1.2.4.4
log
@1.2 -> 1.2.1, foo12 -> foo121
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.2.4.3 1996/07/04 07:05:32 leo Exp $
d3 2
a4 2
# Revision is 1.2.1
REV=		121
@


1.1
log
@Attempt at a MI miniroot build environment, converted from hp300 version.
Note:
	- `list' was more-or-less arbitrarily split into MD & MI parts.
	- the `crunch' configuration file is generated from `list's
	  with the `makeconf' awk-script.
	- Makefile assumes there's a `../<arch>/miniroot' directory with
	  MI configuration files.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.inc,v 1.1 1995/10/03 22:48:02 thorpej Exp $
d50 2
a51 1
	/bin/rm -f core ${IMAGE} ${CBIN} ${CBIN}.mk ${CBIN}.cache *.o *.lo *.c
@
