head	1.15;
access;
symbols
	netbsd-11-0-RC3:1.15
	netbsd-11-0-RC2:1.15
	netbsd-11-0-RC1:1.15
	perseant-exfatfs-base-20250801:1.15
	netbsd-11:1.15.0.28
	netbsd-11-base:1.15
	netbsd-10-1-RELEASE:1.15
	perseant-exfatfs-base-20240630:1.15
	perseant-exfatfs:1.15.0.26
	perseant-exfatfs-base:1.15
	netbsd-8-3-RELEASE:1.13
	netbsd-9-4-RELEASE:1.13
	netbsd-10-0-RELEASE:1.15
	netbsd-10-0-RC6:1.15
	netbsd-10-0-RC5:1.15
	netbsd-10-0-RC4:1.15
	netbsd-10-0-RC3:1.15
	netbsd-10-0-RC2:1.15
	thorpej-ifq:1.15.0.24
	thorpej-ifq-base:1.15
	thorpej-altq-separation:1.15.0.22
	thorpej-altq-separation-base:1.15
	netbsd-10-0-RC1:1.15
	netbsd-10:1.15.0.20
	netbsd-10-base:1.15
	bouyer-sunxi-drm:1.15.0.18
	bouyer-sunxi-drm-base:1.15
	netbsd-9-3-RELEASE:1.13
	thorpej-i2c-spi-conf2:1.15.0.16
	thorpej-i2c-spi-conf2-base:1.15
	thorpej-futex2:1.15.0.14
	thorpej-futex2-base:1.15
	thorpej-cfargs2:1.15.0.12
	thorpej-cfargs2-base:1.15
	cjep_sun2x-base1:1.15
	cjep_sun2x:1.15.0.10
	cjep_sun2x-base:1.15
	cjep_staticlib_x-base1:1.15
	netbsd-9-2-RELEASE:1.13
	cjep_staticlib_x:1.15.0.8
	cjep_staticlib_x-base:1.15
	thorpej-i2c-spi-conf:1.15.0.6
	thorpej-i2c-spi-conf-base:1.15
	thorpej-cfargs:1.15.0.4
	thorpej-cfargs-base:1.15
	thorpej-futex:1.15.0.2
	thorpej-futex-base:1.15
	netbsd-9-1-RELEASE:1.13
	bouyer-xenpvh-base2:1.13
	phil-wifi-20200421:1.13
	bouyer-xenpvh-base1:1.13
	phil-wifi-20200411:1.13
	bouyer-xenpvh:1.13.0.48
	bouyer-xenpvh-base:1.13
	is-mlppp:1.13.0.46
	is-mlppp-base:1.13
	phil-wifi-20200406:1.13
	netbsd-8-2-RELEASE:1.13
	ad-namecache-base3:1.13
	netbsd-9-0-RELEASE:1.13
	netbsd-9-0-RC2:1.13
	ad-namecache-base2:1.13
	ad-namecache-base1:1.13
	ad-namecache:1.13.0.44
	ad-namecache-base:1.13
	netbsd-9-0-RC1:1.13
	phil-wifi-20191119:1.13
	netbsd-9:1.13.0.42
	netbsd-9-base:1.13
	phil-wifi-20190609:1.13
	netbsd-8-1-RELEASE:1.13
	netbsd-8-1-RC1:1.13
	isaki-audio2:1.13.0.40
	isaki-audio2-base:1.13
	pgoyette-compat-merge-20190127:1.13
	pgoyette-compat-20190127:1.13
	pgoyette-compat-20190118:1.13
	pgoyette-compat-1226:1.13
	pgoyette-compat-1126:1.13
	pgoyette-compat-1020:1.13
	pgoyette-compat-0930:1.13
	pgoyette-compat-0906:1.13
	netbsd-7-2-RELEASE:1.13
	pgoyette-compat-0728:1.13
	netbsd-8-0-RELEASE:1.13
	phil-wifi:1.13.0.38
	phil-wifi-base:1.13
	pgoyette-compat-0625:1.13
	netbsd-8-0-RC2:1.13
	pgoyette-compat-0521:1.13
	pgoyette-compat-0502:1.13
	pgoyette-compat-0422:1.13
	netbsd-8-0-RC1:1.13
	pgoyette-compat-0415:1.13
	pgoyette-compat-0407:1.13
	pgoyette-compat-0330:1.13
	pgoyette-compat-0322:1.13
	pgoyette-compat-0315:1.13
	netbsd-7-1-2-RELEASE:1.13
	pgoyette-compat:1.13.0.36
	pgoyette-compat-base:1.13
	netbsd-7-1-1-RELEASE:1.13
	tls-maxphys-base-20171202:1.13
	matt-nb8-mediatek:1.13.0.34
	matt-nb8-mediatek-base:1.13
	nick-nhusb-base-20170825:1.13
	perseant-stdc-iso10646:1.13.0.32
	perseant-stdc-iso10646-base:1.13
	netbsd-8:1.13.0.30
	netbsd-8-base:1.13
	prg-localcount2-base3:1.13
	prg-localcount2-base2:1.13
	prg-localcount2-base1:1.13
	prg-localcount2:1.13.0.28
	prg-localcount2-base:1.13
	pgoyette-localcount-20170426:1.13
	bouyer-socketcan-base1:1.13
	jdolecek-ncq:1.13.0.26
	jdolecek-ncq-base:1.13
	pgoyette-localcount-20170320:1.13
	netbsd-7-1:1.13.0.24
	netbsd-7-1-RELEASE:1.13
	netbsd-7-1-RC2:1.13
	nick-nhusb-base-20170204:1.13
	netbsd-7-nhusb-base-20170116:1.13
	bouyer-socketcan:1.13.0.22
	bouyer-socketcan-base:1.13
	pgoyette-localcount-20170107:1.13
	netbsd-7-1-RC1:1.13
	nick-nhusb-base-20161204:1.13
	pgoyette-localcount-20161104:1.13
	netbsd-7-0-2-RELEASE:1.13
	nick-nhusb-base-20161004:1.13
	localcount-20160914:1.13
	netbsd-7-nhusb:1.13.0.20
	netbsd-7-nhusb-base:1.13
	pgoyette-localcount-20160806:1.13
	pgoyette-localcount-20160726:1.13
	pgoyette-localcount:1.13.0.18
	pgoyette-localcount-base:1.13
	nick-nhusb-base-20160907:1.13
	nick-nhusb-base-20160529:1.13
	netbsd-7-0-1-RELEASE:1.13
	nick-nhusb-base-20160422:1.13
	nick-nhusb-base-20160319:1.13
	nick-nhusb-base-20151226:1.13
	netbsd-7-0:1.13.0.16
	netbsd-7-0-RELEASE:1.13
	nick-nhusb-base-20150921:1.13
	netbsd-7-0-RC3:1.13
	netbsd-7-0-RC2:1.13
	netbsd-7-0-RC1:1.13
	nick-nhusb-base-20150606:1.13
	nick-nhusb-base-20150406:1.13
	nick-nhusb:1.13.0.14
	nick-nhusb-base:1.13
	netbsd-5-2-3-RELEASE:1.8
	netbsd-5-1-5-RELEASE:1.8
	netbsd-6-0-6-RELEASE:1.8.162.1
	netbsd-6-1-5-RELEASE:1.8.162.2
	netbsd-7:1.13.0.12
	netbsd-7-base:1.13
	yamt-pagecache-base9:1.13
	yamt-pagecache-tag8:1.8.156.2
	netbsd-6-1-4-RELEASE:1.8.162.2
	netbsd-6-0-5-RELEASE:1.8.162.1
	tls-earlyentropy:1.13.0.10
	tls-earlyentropy-base:1.13
	riastradh-xf86-video-intel-2-7-1-pre-2-21-15:1.13
	riastradh-drm2-base3:1.13
	netbsd-6-1-3-RELEASE:1.8.162.2
	netbsd-6-0-4-RELEASE:1.8.162.1
	netbsd-5-2-2-RELEASE:1.8
	netbsd-5-1-4-RELEASE:1.8
	netbsd-6-1-2-RELEASE:1.8.162.2
	netbsd-6-0-3-RELEASE:1.8.162.1
	netbsd-5-2-1-RELEASE:1.8
	netbsd-5-1-3-RELEASE:1.8
	rmind-smpnet-nbase:1.13
	netbsd-6-1-1-RELEASE:1.8.162.2
	riastradh-drm2-base2:1.13
	riastradh-drm2-base1:1.13
	riastradh-drm2:1.13.0.8
	riastradh-drm2-base:1.13
	rmind-smpnet:1.13.0.2
	rmind-smpnet-base:1.13
	netbsd-6-1:1.8.162.2.0.2
	netbsd-6-0-2-RELEASE:1.8.162.1
	netbsd-6-1-RELEASE:1.8.162.2
	khorben-n900:1.13.0.6
	netbsd-6-1-RC4:1.8.162.2
	netbsd-6-1-RC3:1.8.162.2
	agc-symver:1.13.0.4
	agc-symver-base:1.13
	netbsd-6-1-RC2:1.8.162.2
	netbsd-6-1-RC1:1.8.162.2
	yamt-pagecache-base8:1.13
	netbsd-5-2:1.8.0.164
	netbsd-6-0-1-RELEASE:1.8.162.1
	yamt-pagecache-base7:1.13
	netbsd-5-2-RELEASE:1.8
	netbsd-5-2-RC1:1.8
	matt-nb6-plus-nbase:1.8.162.1
	yamt-pagecache-base6:1.13
	netbsd-6-0:1.8.162.1.0.4
	netbsd-6-0-RELEASE:1.8.162.1
	netbsd-6-0-RC2:1.8.162.1
	tls-maxphys:1.11.0.2
	tls-maxphys-base:1.13
	matt-nb6-plus:1.8.162.1.0.2
	matt-nb6-plus-base:1.8.162.1
	netbsd-6-0-RC1:1.8.162.1
	jmcneill-usbmp-base10:1.10
	yamt-pagecache-base5:1.10
	jmcneill-usbmp-base9:1.10
	yamt-pagecache-base4:1.10
	jmcneill-usbmp-base8:1.9
	jmcneill-usbmp-base7:1.8
	jmcneill-usbmp-base6:1.8
	jmcneill-usbmp-base5:1.8
	jmcneill-usbmp-base4:1.8
	jmcneill-usbmp-base3:1.8
	jmcneill-usbmp-pre-base2:1.8
	jmcneill-usbmp-base2:1.8
	netbsd-6:1.8.0.162
	netbsd-6-base:1.8
	netbsd-5-1-2-RELEASE:1.8
	netbsd-5-1-1-RELEASE:1.8
	jmcneill-usbmp:1.8.0.160
	jmcneill-usbmp-base:1.8
	jmcneill-audiomp3:1.8.0.158
	jmcneill-audiomp3-base:1.8
	yamt-pagecache-base3:1.8
	yamt-pagecache-base2:1.8
	yamt-pagecache:1.8.0.156
	yamt-pagecache-base:1.8
	rmind-uvmplock-nbase:1.8
	cherry-xenmp:1.8.0.154
	cherry-xenmp-base:1.8
	uebayasi-xip-base7:1.8
	bouyer-quota2-nbase:1.8
	bouyer-quota2:1.8.0.152
	bouyer-quota2-base:1.8
	jruoho-x86intr:1.8.0.150
	jruoho-x86intr-base:1.8
	matt-mips64-premerge-20101231:1.8
	matt-nb5-mips64-premerge-20101231:1.8
	matt-nb5-pq3:1.8.0.148
	matt-nb5-pq3-base:1.8
	netbsd-5-1:1.8.0.146
	uebayasi-xip-base6:1.8
	uebayasi-xip-base5:1.8
	netbsd-5-1-RELEASE:1.8
	uebayasi-xip-base4:1.8
	uebayasi-xip-base3:1.8
	yamt-nfs-mp-base11:1.8
	netbsd-5-1-RC4:1.8
	matt-nb5-mips64-k15:1.8
	uebayasi-xip-base2:1.8
	yamt-nfs-mp-base10:1.8
	netbsd-5-1-RC3:1.8
	netbsd-5-1-RC2:1.8
	uebayasi-xip-base1:1.8
	netbsd-5-1-RC1:1.8
	rmind-uvmplock:1.8.0.144
	rmind-uvmplock-base:1.8
	yamt-nfs-mp-base9:1.8
	uebayasi-xip:1.8.0.142
	uebayasi-xip-base:1.8
	netbsd-5-0-2-RELEASE:1.8
	matt-nb5-mips64-premerge-20091211:1.8
	matt-premerge-20091211:1.8
	yamt-nfs-mp-base8:1.8
	matt-nb5-mips64-u2-k2-k4-k7-k8-k9:1.8
	matt-nb4-mips64-k7-u2a-k9b:1.8
	matt-nb5-mips64-u1-k1-k5:1.8
	yamt-nfs-mp-base7:1.8
	matt-nb5-mips64:1.8.0.140
	netbsd-5-0-1-RELEASE:1.8
	jymxensuspend-base:1.8
	yamt-nfs-mp-base6:1.8
	yamt-nfs-mp-base5:1.8
	yamt-nfs-mp-base4:1.8
	jym-xensuspend-nbase:1.8
	yamt-nfs-mp-base3:1.8
	nick-hppapmap-base4:1.8
	nick-hppapmap-base3:1.8
	netbsd-5-0:1.8.0.138
	netbsd-5-0-RELEASE:1.8
	netbsd-5-0-RC4:1.8
	netbsd-5-0-RC3:1.8
	nick-hppapmap-base2:1.8
	netbsd-5-0-RC2:1.8
	jym-xensuspend:1.8.0.136
	jym-xensuspend-base:1.8
	netbsd-5-0-RC1:1.8
	haad-dm-base2:1.8
	haad-nbase2:1.8
	ad-audiomp2:1.8.0.134
	ad-audiomp2-base:1.8
	netbsd-5:1.8.0.132
	netbsd-5-base:1.8
	nick-hppapmap:1.8.0.130
	nick-hppapmap-base:1.8
	matt-mips64-base2:1.8
	haad-dm-base1:1.8
	wrstuden-revivesa-base-4:1.8
	netbsd-4-0-1-RELEASE:1.8
	wrstuden-revivesa-base-3:1.8
	wrstuden-revivesa-base-2:1.8
	wrstuden-fixsa-newbase:1.8
	nick-csl-alignment-base5:1.8
	haad-dm:1.8.0.128
	haad-dm-base:1.8
	wrstuden-revivesa-base-1:1.8
	simonb-wapbl-nbase:1.8
	yamt-pf42-base4:1.8
	simonb-wapbl:1.8.0.126
	simonb-wapbl-base:1.8
	yamt-pf42-base3:1.8
	hpcarm-cleanup-nbase:1.8
	yamt-pf42-baseX:1.8
	yamt-pf42-base2:1.8
	yamt-nfs-mp-base2:1.8
	wrstuden-revivesa:1.8.0.124
	wrstuden-revivesa-base:1.8
	yamt-nfs-mp:1.8.0.122
	yamt-nfs-mp-base:1.8
	yamt-pf42:1.8.0.120
	yamt-pf42-base:1.8
	ad-socklock-base1:1.8
	yamt-lazymbuf-base15:1.8
	yamt-lazymbuf-base14:1.8
	keiichi-mipv6-nbase:1.8
	mjf-devfs2:1.8.0.118
	mjf-devfs2-base:1.8
	nick-net80211-sync:1.8.0.116
	nick-net80211-sync-base:1.8
	keiichi-mipv6:1.8.0.114
	keiichi-mipv6-base:1.8
	bouyer-xeni386-merge1:1.8
	matt-armv6-prevmlocking:1.8
	wrstuden-fixsa-base-1:1.8
	vmlocking2-base3:1.8
	netbsd-4-0:1.8.0.112
	netbsd-4-0-RELEASE:1.8
	bouyer-xeni386-nbase:1.8
	yamt-kmem-base3:1.8
	cube-autoconf:1.8.0.110
	cube-autoconf-base:1.8
	yamt-kmem-base2:1.8
	bouyer-xeni386:1.8.0.108
	bouyer-xeni386-base:1.8
	yamt-kmem:1.8.0.106
	yamt-kmem-base:1.8
	vmlocking2-base2:1.8
	reinoud-bufcleanup-nbase:1.8
	vmlocking2:1.8.0.104
	vmlocking2-base1:1.8
	netbsd-4-0-RC5:1.8
	matt-nb4-arm:1.8.0.102
	matt-nb4-arm-base:1.8
	matt-armv6-nbase:1.8
	jmcneill-base:1.8
	netbsd-4-0-RC4:1.8
	mjf-devfs:1.8.0.100
	mjf-devfs-base:1.8
	bouyer-xenamd64-base2:1.8
	vmlocking-nbase:1.8
	yamt-x86pmap-base4:1.8
	bouyer-xenamd64:1.8.0.98
	bouyer-xenamd64-base:1.8
	netbsd-4-0-RC3:1.8
	yamt-x86pmap-base3:1.8
	yamt-x86pmap-base2:1.8
	netbsd-4-0-RC2:1.8
	yamt-x86pmap:1.8.0.96
	yamt-x86pmap-base:1.8
	netbsd-4-0-RC1:1.8
	matt-armv6:1.8.0.94
	matt-armv6-base:1.8
	jmcneill-pm:1.8.0.92
	jmcneill-pm-base:1.8
	hpcarm-cleanup:1.8.0.90
	hpcarm-cleanup-base:1.8
	nick-csl-alignment:1.8.0.88
	nick-csl-alignment-base:1.8
	matt-mips64:1.8.0.86
	matt-mips64-base:1.8
	netbsd-3-1-1-RELEASE:1.8
	netbsd-3-0-3-RELEASE:1.8
	yamt-idlelwp-base8:1.8
	wrstuden-fixsa:1.8.0.84
	wrstuden-fixsa-base:1.8
	ppcoea-renovation:1.8.0.82
	ppcoea-renovation-base:1.8
	thorpej-atomic:1.8.0.80
	thorpej-atomic-base:1.8
	reinoud-bufcleanup:1.8.0.78
	reinoud-bufcleanup-base:1.8
	mjf-ufs-trans:1.8.0.76
	mjf-ufs-trans-base:1.8
	vmlocking:1.8.0.74
	vmlocking-base:1.8
	ad-audiomp:1.8.0.72
	ad-audiomp-base:1.8
	yamt-idlelwp:1.8.0.70
	post-newlock2-merge:1.8
	newlock2-nbase:1.8
	yamt-splraiseipl-base5:1.8
	yamt-splraiseipl-base4:1.8
	yamt-splraiseipl-base3:1.8
	abandoned-netbsd-4-base:1.8
	abandoned-netbsd-4:1.8.0.60
	netbsd-3-1:1.8.0.66
	netbsd-3-1-RELEASE:1.8
	netbsd-3-0-2-RELEASE:1.8
	yamt-splraiseipl-base2:1.8
	netbsd-3-1-RC4:1.8
	yamt-splraiseipl:1.8.0.64
	yamt-splraiseipl-base:1.8
	netbsd-3-1-RC3:1.8
	yamt-pdpolicy-base9:1.8
	newlock2:1.8.0.62
	newlock2-base:1.8
	yamt-pdpolicy-base8:1.8
	netbsd-3-1-RC2:1.8
	netbsd-3-1-RC1:1.8
	yamt-pdpolicy-base7:1.8
	netbsd-4:1.8.0.68
	netbsd-4-base:1.8
	yamt-pdpolicy-base6:1.8
	chap-midi-nbase:1.8
	netbsd-3-0-1-RELEASE:1.8
	gdamore-uart:1.8.0.58
	gdamore-uart-base:1.8
	simonb-timcounters-final:1.8
	yamt-pdpolicy-base5:1.8
	chap-midi:1.8.0.56
	chap-midi-base:1.8
	yamt-pdpolicy-base4:1.8
	yamt-pdpolicy-base3:1.8
	peter-altq-base:1.8
	peter-altq:1.8.0.54
	yamt-pdpolicy-base2:1.8
	elad-kernelauth-base:1.8
	elad-kernelauth:1.8.0.52
	yamt-pdpolicy:1.8.0.50
	yamt-pdpolicy-base:1.8
	yamt-uio_vmspace-base5:1.8
	simonb-timecounters:1.8.0.48
	simonb-timecounters-base:1.8
	rpaulo-netinet-merge-pcb:1.8.0.46
	rpaulo-netinet-merge-pcb-base:1.8
	yamt-uio_vmspace:1.8.0.44
	netbsd-3-0:1.8.0.42
	netbsd-3-0-RELEASE:1.8
	netbsd-3-0-RC6:1.8
	yamt-readahead-base3:1.8
	netbsd-3-0-RC5:1.8
	netbsd-3-0-RC4:1.8
	netbsd-3-0-RC3:1.8
	yamt-readahead-base2:1.8
	netbsd-3-0-RC2:1.8
	yamt-readahead-pervnode:1.8
	yamt-readahead-perfile:1.8
	yamt-readahead:1.8.0.40
	yamt-readahead-base:1.8
	netbsd-3-0-RC1:1.8
	yamt-vop-base3:1.8
	netbsd-2-0-3-RELEASE:1.8
	netbsd-2-1:1.8.0.38
	yamt-vop-base2:1.8
	thorpej-vnode-attr:1.8.0.36
	thorpej-vnode-attr-base:1.8
	netbsd-2-1-RELEASE:1.8
	yamt-vop:1.8.0.34
	yamt-vop-base:1.8
	netbsd-2-1-RC6:1.8
	netbsd-2-1-RC5:1.8
	netbsd-2-1-RC4:1.8
	netbsd-2-1-RC3:1.8
	netbsd-2-1-RC2:1.8
	netbsd-2-1-RC1:1.8
	yamt-lazymbuf:1.8.0.32
	yamt-km-base4:1.8
	netbsd-2-0-2-RELEASE:1.8
	yamt-km-base3:1.8
	netbsd-3:1.8.0.30
	netbsd-3-base:1.8
	yamt-km-base2:1.8
	yamt-km:1.8.0.26
	yamt-km-base:1.8
	kent-audio2:1.8.0.24
	kent-audio2-base:1.8
	netbsd-2-0-1-RELEASE:1.8
	kent-audio1-beforemerge:1.8
	netbsd-2:1.8.0.22
	netbsd-2-base:1.8
	kent-audio1:1.8.0.20
	kent-audio1-base:1.8
	netbsd-2-0-RELEASE:1.8
	netbsd-2-0-RC5:1.8
	netbsd-2-0-RC4:1.8
	netbsd-2-0-RC3:1.8
	netbsd-2-0-RC2:1.8
	netbsd-2-0-RC1:1.8
	netbsd-2-0:1.8.0.18
	netbsd-2-0-base:1.8
	netbsd-1-6-PATCH002-RELEASE:1.8
	netbsd-1-6-PATCH002:1.8
	netbsd-1-6-PATCH002-RC4:1.8
	netbsd-1-6-PATCH002-RC3:1.8
	netbsd-1-6-PATCH002-RC2:1.8
	netbsd-1-6-PATCH002-RC1:1.8
	ktrace-lwp:1.8.0.16
	ktrace-lwp-base:1.8
	netbsd-1-6-PATCH001:1.8
	netbsd-1-6-PATCH001-RELEASE:1.8
	netbsd-1-6-PATCH001-RC3:1.8
	netbsd-1-6-PATCH001-RC2:1.8
	netbsd-1-6-PATCH001-RC1:1.8
	nathanw_sa_end:1.6.8.2
	nathanw_sa_before_merge:1.8
	fvdl_fs64_base:1.8
	gmcgarry_ctxsw:1.8.0.14
	gmcgarry_ctxsw_base:1.8
	gmcgarry_ucred:1.8.0.12
	gmcgarry_ucred_base:1.8
	nathanw_sa_base:1.8
	kqueue-aftermerge:1.8
	kqueue-beforemerge:1.8
	netbsd-1-6-RELEASE:1.8
	netbsd-1-6-RC3:1.8
	netbsd-1-6-RC2:1.8
	netbsd-1-6-RC1:1.8
	netbsd-1-6:1.8.0.10
	netbsd-1-6-base:1.8
	gehenna-devsw:1.8.0.8
	gehenna-devsw-base:1.8
	netbsd-1-5-PATCH003:1.5
	eeh-devprop:1.8.0.6
	eeh-devprop-base:1.8
	newlock:1.8.0.4
	newlock-base:1.8
	ifpoll-base:1.8
	nathanw_sa:1.6.0.8
	thorpej-mips-cache:1.6.0.6
	thorpej-mips-cache-base:1.6
	thorpej-devvp-base3:1.6
	thorpej-devvp-base2:1.6
	post-chs-ubcperf:1.6
	pre-chs-ubcperf:1.6
	thorpej-devvp:1.6.0.2
	thorpej-devvp-base:1.6
	netbsd-1-5-PATCH002:1.5
	kqueue:1.6.0.4
	kqueue-base:1.8
	netbsd-1-5-PATCH001:1.5
	thorpej_scsipi_beforemerge:1.6
	thorpej_scsipi_nbase:1.6
	netbsd-1-5-RELEASE:1.5
	netbsd-1-5-BETA2:1.5
	netbsd-1-5-BETA:1.5
	netbsd-1-4-PATCH003:1.3
	netbsd-1-5-ALPHA2:1.5
	netbsd-1-5:1.5.0.4
	netbsd-1-5-base:1.5
	minoura-xpg4dl-base:1.5
	minoura-xpg4dl:1.5.0.2
	netbsd-1-4-PATCH002:1.3
	chs-ubc2-newbase:1.5
	wrstuden-devbsize-19991221:1.4
	wrstuden-devbsize:1.4.0.8
	wrstuden-devbsize-base:1.4
	kame_141_19991130:1.3
	comdex-fall-1999:1.4.0.6
	comdex-fall-1999-base:1.4
	fvdl-softdep:1.4.0.4
	fvdl-softdep-base:1.4
	thorpej_scsipi:1.4.0.2
	thorpej_scsipi_base:1.6
	netbsd-1-4-PATCH001:1.3
	kame_14_19990705:1.3
	kame_14_19990628:1.3
	kame:1.3.0.12
	chs-ubc2:1.3.0.10
	chs-ubc2-base:1.4
	netbsd-1-4-RELEASE:1.3
	netbsd-1-4:1.3.0.8
	netbsd-1-4-base:1.3
	minoura_x68k_bus_h-base3:1.3
	minoura_x68k_bus_h-base2:1.3
	minoura_x68k_bus_h:1.3.0.6
	minoura_x68k_bus_h-base:1.3
	netbsd-1-3-PATCH003:1.1.2.1
	netbsd-1-3-PATCH003-CANDIDATE2:1.1.2.1
	kenh-if-detach:1.3.0.4
	kenh-if-detach-base:1.3
	netbsd-1-3-PATCH003-CANDIDATE1:1.1.2.1
	netbsd-1-3-PATCH003-CANDIDATE0:1.1.2.1
	chs-ubc:1.3.0.2
	chs-ubc-base:1.3
	eeh-paddr_t:1.2.0.2
	eeh-paddr_t-base:1.2
	netbsd-1-3-PATCH002:1.1
	netbsd-1-3-PATCH001:1.1
	netbsd-1-3-RELEASE:1.1
	netbsd-1-3-BETA:1.1
	netbsd-1-3:1.1.0.2
	netbsd-1-3-base:1.1;
locks; strict;
comment	@# @;


1.15
date	2020.08.16.07.03.45;	author isaki;	state Exp;
branches;
next	1.14;
commitid	pBhkF7Xz0Zcu0gkC;

1.14
date	2020.08.14.03.29.23;	author isaki;	state Exp;
branches;
next	1.13;
commitid	gHlhA39GjF23TYjC;

1.13
date	2012.10.12.20.15.52;	author tsutsui;	state Exp;
branches;
next	1.12;

1.12
date	2012.10.12.17.06.48;	author tsutsui;	state Exp;
branches;
next	1.11;

1.11
date	2012.06.19.12.59.51;	author minoura;	state Exp;
branches
	1.11.2.1;
next	1.10;

1.10
date	2012.04.06.02.51.03;	author isaki;	state Exp;
branches;
next	1.9;

1.9
date	2012.04.05.12.12.57;	author isaki;	state Exp;
branches;
next	1.8;

1.8
date	2002.01.27.01.07.00;	author minoura;	state Exp;
branches
	1.8.156.1
	1.8.160.1
	1.8.162.1;
next	1.7;

1.7
date	2001.12.02.09.59.39;	author minoura;	state Exp;
branches;
next	1.6;

1.6
date	2001.01.09.03.13.41;	author lukem;	state Exp;
branches
	1.6.4.1
	1.6.8.1;
next	1.5;

1.5
date	99.12.24.16.51.24;	author minoura;	state Exp;
branches;
next	1.4;

1.4
date	99.07.04.04.39.12;	author minoura;	state Exp;
branches
	1.4.2.1;
next	1.3;

1.3
date	98.09.01.20.18.37;	author itohy;	state Exp;
branches
	1.3.10.1;
next	1.2;

1.2
date	98.06.30.11.59.12;	author msaitoh;	state Exp;
branches;
next	1.1;

1.1
date	97.10.19.11.00.51;	author oki;	state Exp;
branches
	1.1.2.1;
next	;

1.11.2.1
date	2012.11.20.03.01.49;	author tls;	state Exp;
branches;
next	;

1.8.156.1
date	2012.04.17.00.07.03;	author yamt;	state Exp;
branches;
next	1.8.156.2;

1.8.156.2
date	2012.10.30.17.20.31;	author yamt;	state Exp;
branches;
next	;

1.8.160.1
date	2012.04.05.21.33.21;	author mrg;	state Exp;
branches;
next	1.8.160.2;

1.8.160.2
date	2012.04.29.23.04.43;	author mrg;	state Exp;
branches;
next	;

1.8.162.1
date	2012.04.09.18.08.32;	author riz;	state Exp;
branches;
next	1.8.162.2;

1.8.162.2
date	2012.11.18.19.05.18;	author riz;	state Exp;
branches;
next	;

1.6.4.1
date	2002.01.10.19.50.25;	author thorpej;	state Exp;
branches;
next	1.6.4.2;

1.6.4.2
date	2002.02.11.20.09.20;	author jdolecek;	state Exp;
branches;
next	;

1.6.8.1
date	2002.01.08.00.28.44;	author nathanw;	state Exp;
branches;
next	1.6.8.2;

1.6.8.2
date	2002.02.28.04.12.37;	author nathanw;	state Exp;
branches;
next	;

1.4.2.1
date	2000.11.20.20.30.10;	author bouyer;	state Exp;
branches;
next	1.4.2.2;

1.4.2.2
date	2001.01.18.09.23.11;	author bouyer;	state Exp;
branches;
next	;

1.3.10.1
date	99.08.02.21.49.43;	author thorpej;	state Exp;
branches;
next	;

1.1.2.1
date	98.10.13.21.25.40;	author cgd;	state Exp;
branches;
next	;


desc
@@


1.15
log
@Replace boot_ustar with xxboot_ustarfs.
The old boot_ustar had many hard coding and was small(<1KB).
The new xxboot_ustarfs is a part of integrated larger(<8KB) xxboot.
We had to maintain three similar but not the same bootloaders, but
now we have two!
@
text
@#	$NetBSD: Makefile,v 1.14 2020/08/14 03:29:23 isaki Exp $

# host tools
SUBDIR= newdisk installboot

# standalone libs
SUBDIR+= libdos libiocs libsa .WAIT

# standalone bootloaders
SUBDIR+= mboot
SUBDIR+= boot_ufs
SUBDIR+= xxboot
SUBDIR+= boot netboot

# Human68k utility
SUBDIR+= aout2hux .WAIT loadbsd

.include <bsd.subdir.mk>
@


1.14
log
@Style fixes.  One entry per line for some parts.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.13 2012/10/12 20:15:52 tsutsui Exp $
a11 1
SUBDIR+= boot_ustar
@


1.13
log
@First cut at x68k network bootloader via NE2000 on Neptune-X and Nereid.
Written by isaki@@ back in 2003 based on x86's NE2000 netboot, and
misc debug and improvements by tsutsui@@ and Y.Sugahara.

Tested on XM6i (emulating Nereid Ethernet) and X68030 + Neptune-X by me,
also on X68030 + Nereid and X68000 PRO-II + Xellent30 + Nereid by isaki@@.

Note:
- X680x0 IPLROM doesn't support bootstrap from Neptune-X or Nereid,
  so this network bootloader needs to be loaded from floppy or harddisk.
- Currently netboot support is not merged into the secondary Multi-boot
  (/usr/mdec/boot) due to size restriction.
- Primary loaders assumes that the secondary bootloader name is /boot,
  so /usr/mdec/netboot needs to be installed as /boot into the target
  bootstrap device.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.12 2012/10/12 17:06:48 tsutsui Exp $
d11 3
a13 1
SUBDIR+= boot_ufs boot_ustar xxboot
@


1.12
log
@Tweak SUBDIR build order and add comments about each dir.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.11 2012/06/19 12:59:51 minoura Exp $
d12 1
a12 1
SUBDIR+= boot
@


1.11
log
@Descend to xxboot.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.10 2012/04/06 02:51:03 isaki Exp $
d3 13
a15 3
SUBDIR= libdos libiocs libsa .WAIT
SUBDIR+= aout2hux .WAIT
SUBDIR+= newdisk loadbsd mboot boot boot_ufs boot_ustar xxboot installboot
@


1.11.2.1
log
@Resync to 2012-11-19 00:00:00 UTC
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.13 2012/10/12 20:15:52 tsutsui Exp $
d3 3
a5 13
# host tools
SUBDIR= newdisk installboot

# standalone libs
SUBDIR+= libdos libiocs libsa .WAIT

# standalone bootloaders
SUBDIR+= mboot
SUBDIR+= boot_ufs boot_ustar xxboot
SUBDIR+= boot netboot

# Human68k utility
SUBDIR+= aout2hux .WAIT loadbsd
@


1.10
log
@put library first.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.9 2012/04/05 12:12:57 isaki Exp $
d5 1
a5 1
SUBDIR+= newdisk loadbsd mboot boot boot_ufs boot_ustar installboot
@


1.9
log
@mboot now depends on libiocs. noticed by tsutsui@@.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.8 2002/01/27 01:07:00 minoura Exp $
d3 3
a5 2
SUBDIR= newdisk aout2hux libdos libiocs .WAIT loadbsd # common
SUBDIR+= libsa .WAIT mboot boot boot_ufs boot_ustar installboot
@


1.8
log
@omit xxboot, old a.out-only bootblock.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.7 2001/12/02 09:59:39 minoura Exp $
d3 2
a4 2
SUBDIR= mboot newdisk aout2hux libdos libiocs .WAIT loadbsd # common
SUBDIR+= libsa .WAIT boot boot_ufs boot_ustar installboot
@


1.8.156.1
log
@sync with head
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.8 2002/01/27 01:07:00 minoura Exp $
d3 2
a4 3
SUBDIR= libdos libiocs libsa .WAIT
SUBDIR+= aout2hux .WAIT
SUBDIR+= newdisk loadbsd mboot boot boot_ufs boot_ustar installboot
@


1.8.156.2
log
@sync with head
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.8.156.1 2012/04/17 00:07:03 yamt Exp $
d3 3
a5 13
# host tools
SUBDIR= newdisk installboot

# standalone libs
SUBDIR+= libdos libiocs libsa .WAIT

# standalone bootloaders
SUBDIR+= mboot
SUBDIR+= boot_ufs boot_ustar xxboot
SUBDIR+= boot netboot

# Human68k utility
SUBDIR+= aout2hux .WAIT loadbsd
@


1.8.162.1
log
@Pull up following revision(s) (requested by isaki in ticket #171):
	sys/arch/x68k/stand/mboot/mboot.c: revision 1.10
	sys/arch/x68k/stand/mboot/Makefile: revision 1.16
	sys/arch/x68k/stand/Makefile: revision 1.9
Use common library libiocs.a.  suggested by tsutsui@@.
o Originally, mboot had an IOCS_S_READEXT() inline function but
  its expansion corrupted (from somewhere after branching netbsd-5).
  This solves PR#46293 by using the common library.
  This problem was reported by Y.Sugahara at NetBSD booth at
  Open Source Conference (OSC) 2012 Ehime in March.
o As a side effect, it also correct the different problem that
  IOCS_S_READ() calls _S_READEXT not _S_READ.
Should be pulled up to netbsd-6.
mboot now depends on libiocs. noticed by tsutsui@@.
@
text
@d1 1
a1 1
#	$NetBSD$
d3 2
a4 2
SUBDIR= newdisk aout2hux libdos libiocs .WAIT loadbsd # common
SUBDIR+= libsa .WAIT mboot boot boot_ufs boot_ustar installboot
@


1.8.162.2
log
@Pull up following revision(s) (requested by tsutsui in ticket #645):
	sys/arch/x68k/stand/newdisk/newdisk.c: revision 1.10
	sys/arch/x68k/stand/xxboot/xxboot_ffsv1/Makefile: revision 1.1
	sys/arch/x68k/stand/xxboot/xx.c: revision 1.1
	sys/arch/x68k/stand/Makefile: revision 1.10
	sys/arch/x68k/stand/Makefile: revision 1.11
	sys/arch/x68k/stand/boot/conf.c: revision 1.9
	sys/arch/x68k/stand/Makefile: revision 1.12
	sys/arch/x68k/stand/Makefile: revision 1.13
	sys/arch/x68k/include/loadfile_machdep.h: revision 1.7
	sys/arch/x68k/stand/xxboot/consio1.c: revision 1.1
	sys/arch/x68k/stand/libsa/sdcd.c: revision 1.12
	sys/arch/x68k/stand/libsa/libx68k.h: revision 1.6
	sys/arch/x68k/stand/boot/ne.c: revision 1.1
	sys/arch/x68k/stand/xxboot/boot.S: revision 1.1
	sys/arch/x68k/stand/libsa/sdcd.c: revision 1.13
	sys/arch/x68k/stand/netboot/boot.c: revision 1.1
	sys/arch/x68k/stand/libsa/devopen.c: revision 1.6
	sys/arch/x68k/stand/libsa/clock.c: revision 1.1
	sys/arch/x68k/stand/boot/ne.h: revision 1.1
	sys/arch/x68k/stand/netboot/conf.c: revision 1.1
	sys/arch/x68k/stand/boot/version: revision 1.5
	sys/arch/x68k/stand/boot/version: revision 1.6
	sys/arch/x68k/stand/netboot/version: revision 1.1
	sys/arch/x68k/stand/xxboot/Makefile.xxboot: revision 1.1
	sys/arch/x68k/stand/boot/if_ne.c: revision 1.1
	sys/arch/x68k/stand/boot/dp8390.h: revision 1.1
	sys/arch/x68k/stand/xxboot/xxboot_lfsv2/Makefile: revision 1.1
	sys/arch/x68k/stand/boot/dp8390.c: revision 1.1
	sys/arch/x68k/stand/xxboot/bootmain.c: revision 1.1
	sys/arch/x68k/stand/installboot/installboot.c: revision 1.6
	sys/arch/x68k/stand/xxboot/conf.c: revision 1.1
	sys/arch/x68k/stand/xxboot/xxboot_lfsv1/Makefile: revision 1.1
	sys/arch/x68k/stand/libsa/Makefile.inc: revision 1.2
	distrib/sets/lists/base/md.x68k: revision 1.44
	sys/arch/x68k/stand/boot/conf.c: revision 1.10
	sys/arch/x68k/stand/boot/boot.ldscript: revision 1.3
	distrib/sets/lists/base/md.x68k: revision 1.45
	sys/arch/x68k/stand/xxboot/xxboot.ldscript: revision 1.1
	sys/arch/x68k/stand/xxboot/Makefile: revision 1.15
	sys/arch/x68k/stand/libsa/Makefile: revision 1.29
	sys/arch/x68k/stand/xxboot/cdboot_cd9660/Makefile: revision 1.1
	sys/arch/x68k/stand/netboot/Makefile: revision 1.1
	sys/arch/x68k/stand/libsa/consio.c: revision 1.10
	sys/arch/x68k/stand/xxboot/version: revision 1.1
	sys/arch/x68k/stand/xxboot/xxboot_ffsv2/Makefile: revision 1.1
Comment fix.
Add FFSv2 support.
Fix CD support.
Initial support for xxboot (cdboot_cd9660, specifically).
Add xxboot (stage1) support.
put library first.
Fix CD support (again!).
Descend to xxboot.
Add xxboot_?fsv?.
Change to the 2-clauses license.
Tweak SUBDIR build order and add comments about each dir.
Fix a bug in check_getchar() (called from awaitkey_1sec()).
It didn't clear input key data when non ASCII keys (CTRL, OPT.1 etc)
were pressed so it couldn't detect further key inputs and
"any other key for boot menu" interrupt during boot didn't work
in that case.
The problem was tracked by Y.Sugahara,
and tested on X68030 and XM6i by me.
Bump version to denote check_getchar() bug fix.
First cut at x68k network bootloader via NE2000 on Neptune-X and Nereid.
Written by isaki@@ back in 2003 based on x86's NE2000 netboot, and
misc debug and improvements by tsutsui@@ and Y.Sugahara.
Tested on XM6i (emulating Nereid Ethernet) and X68030 + Neptune-X by me,
also on X68030 + Nereid and X68000 PRO-II + Xellent30 + Nereid by isaki@@.
Note:
- X680x0 IPLROM doesn't support bootstrap from Neptune-X or Nereid,
  so this network bootloader needs to be loaded from floppy or harddisk.
- Currently netboot support is not merged into the secondary Multi-boot
  (/usr/mdec/boot) due to size restriction.
- Primary loaders assumes that the secondary bootloader name is /boot,
  so /usr/mdec/netboot needs to be installed as /boot into the target
  bootstrap device.
Add new /usr/mdec/netboot.
Check lp->d_npartitions before calling dkcksum()
(which is in src/sbin/disklabel/dkcksum.c) because
it doesn't check range and could cause coredump during
installboot against floppy that includes garbage in LABELSECTOR.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.8.162.1 2012/04/09 18:08:32 riz Exp $
d3 2
a4 13
# host tools
SUBDIR= newdisk installboot

# standalone libs
SUBDIR+= libdos libiocs libsa .WAIT

# standalone bootloaders
SUBDIR+= mboot
SUBDIR+= boot_ufs boot_ustar xxboot
SUBDIR+= boot netboot

# Human68k utility
SUBDIR+= aout2hux .WAIT loadbsd
@


1.8.160.1
log
@sync to latest -current.
@
text
@d1 1
a1 1
#	$NetBSD$
d3 2
a4 2
SUBDIR= newdisk aout2hux libdos libiocs .WAIT loadbsd # common
SUBDIR+= libsa .WAIT mboot boot boot_ufs boot_ustar installboot
@


1.8.160.2
log
@sync to latest -current.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.8.160.1 2012/04/05 21:33:21 mrg Exp $
d3 2
a4 3
SUBDIR= libdos libiocs libsa .WAIT
SUBDIR+= aout2hux .WAIT
SUBDIR+= newdisk loadbsd mboot boot boot_ufs boot_ustar installboot
@


1.7
log
@Descend to new boot programs.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.6 2001/01/09 03:13:41 lukem Exp $
d3 1
a3 1
SUBDIR= xxboot mboot newdisk aout2hux libdos libiocs .WAIT loadbsd # common
@


1.6
log
@convert to using .WAIT
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.5 1999/12/24 16:51:24 minoura Exp $
d4 1
@


1.6.4.1
log
@Sync kqueue branch with -current.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.7 2001/12/02 09:59:39 minoura Exp $
a3 1
SUBDIR+= libsa .WAIT boot boot_ufs boot_ustar installboot
@


1.6.4.2
log
@Sync w/ -current.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.6.4.1 2002/01/10 19:50:25 thorpej Exp $
d3 1
a3 1
SUBDIR= mboot newdisk aout2hux libdos libiocs .WAIT loadbsd # common
@


1.6.8.1
log
@Catch up to -current.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.6 2001/01/09 03:13:41 lukem Exp $
a3 1
SUBDIR+= libsa .WAIT boot boot_ufs boot_ustar installboot
@


1.6.8.2
log
@Catch up to -current.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.6.8.1 2002/01/08 00:28:44 nathanw Exp $
d3 1
a3 1
SUBDIR= mboot newdisk aout2hux libdos libiocs .WAIT loadbsd # common
@


1.5
log
@Replace shell script version of newdisk utility with C version.
Add the man page newdisk(8).
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.4 1999/07/04 04:39:12 minoura Exp $
d3 1
a3 3
SUBDIR=	aout2hux libdos libiocs loadbsd xxboot mboot newdisk # common

all-loadbsd: all-aout2hux all-libdos all-libiocs
@


1.4
log
@Enable mboot.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.3 1998/09/01 20:18:37 itohy Exp $
d3 1
a3 1
SUBDIR=	aout2hux libdos libiocs loadbsd xxboot mboot # common
@


1.4.2.1
log
@Update thorpej_scsipi to -current as of a month ago
A i386 GENERIC kernel compiles without the siop, ahc and bha drivers
(will be updated later). i386 IDE/ATAPI and ncr work, as well as
sparc/esp_sbus. alpha should work as well (untested yet).
siop, ahc and bha will be updated once I've updated the branch to current
-current, as well as machine-dependant code.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.5 1999/12/24 16:51:24 minoura Exp $
d3 1
a3 1
SUBDIR=	aout2hux libdos libiocs loadbsd xxboot mboot newdisk # common
@


1.4.2.2
log
@Sync with head (for UBC+NFS fixes, mostly).
@
text
@d1 1
a1 1
#	$NetBSD$
d3 3
a5 1
SUBDIR= xxboot mboot newdisk aout2hux libdos libiocs .WAIT loadbsd # common
@


1.3
log
@Use subdirs.
@
text
@d1 1
a1 1
#	$NetBSD$
d3 1
a3 1
SUBDIR=	aout2hux libdos libiocs loadbsd xxboot # common
@


1.3.10.1
log
@Update from trunk.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.4 1999/07/04 04:39:12 minoura Exp $
d3 1
a3 1
SUBDIR=	aout2hux libdos libiocs loadbsd xxboot mboot # common
@


1.2
log
@sync with -current after a long silence
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.1 1997/10/19 11:00:51 oki Exp $
d3 1
a3 7
# Define all target-dependent utilities as macros in case of cross compilation.
# These definitions can be overridden by  <sys.mk>
LD?=	ld
AS?=	as
NM?=	nm
XSTRIP?=strip
SIZE?=	size
d5 1
a5 3
# text and bss addresses in hex
TEXT=	3f0000
BSS=	3f2000
d7 1
a7 72
BOOT=	xxboot
VERSION=0.2

SRCS=	xxboot.S bootufs.c unzip.c
OBJS=	xxboot.o bootufs.o unzip.o
.PATH:  ${.CURDIR}/gunzip

#G=-g
#M=-m68020 -fall-bsr
CFLAGS=	-O -fomit-frame-pointer -Wall $M $G -DGZIP -DBOOT=\"$(BOOT)\"
#LDFLAGS=-N -Bstatic -Ttext 0x$(TEXT) -Tbss 0x$(BSS)
LDFLAGS=-n -Bstatic -T $(TEXT)
#LDADD=	-lc

CLEANFILES=	$(BOOT) $(BOOT).x s.x x.s x.o $(BOOT)-$(VERSION){,.tar.gz}

.SUFFIXES: .S

.if 0
# saves about 60bytes...
.c.o:
	@@echo ${CC} -fall-bsr ${CFLAGS} ${CPPFLAGS} -c ${.IMPSRC}
	@@${CC} ${CFLAGS} ${CPPFLAGS} -S ${.IMPSRC} -o x.s
	@@${CC} -c -o x.o x.s
	@@${NM} x.o | ${.CURDIR}/all_bsr.sh x.s | ${AS} -o ${.TARGET}
	@@rm -f x.s x.o
.endif

.S.o .s.o:
	${CPP} ${CPPFLAGS} ${CFLAGS:M-[ID]*} ${AINC} ${.IMPSRC} | \
		${AS} -o ${.TARGET}

all: $(BOOT)

$(BOOT): $(OBJS)
	@@echo loading $(BOOT)
	@@$(LD) $(LDFLAGS) -o $(BOOT).x $(OBJS) $(LDADD)
	@@if [ `(echo ibase=16; \
		$(NM) $(BOOT).x | sed -n 's/D _edata/-$(BSS)/p' | tr a-f A-F) |\
			bc` -gt 0 ];\
	then	echo $(BOOT): text+data is too large; exit 1; fi
	@@cp $(BOOT).x s.x
	@@$(XSTRIP) s.x
	@@dd bs=32 skip=1 count=256 if=s.x of=$(BOOT) 2> /dev/null
	@@rm s.x
	@@$(SIZE) $(BOOT).x

#
# installation
#
${DESTDIR}/usr/mdec/sdboot!
	install -c -o bin -g bin -m 444 $(BOOT) ${DESTDIR}/usr/mdec/sdboot

${DESTDIR}/usr/mdec/fdboot:	${DESTDIR}/usr/mdec/sdboot
	rm -f ${DESTDIR}/usr/mdec/fdboot
	ln ${DESTDIR}/usr/mdec/sdboot ${DESTDIR}/usr/mdec/fdboot

install: ${DESTDIR}/usr/mdec/sdboot ${DESTDIR}/usr/mdec/fdboot
	install -c -o bin -g bin -m 755 ${.CURDIR}/writefdboot ${DESTDIR}/usr/mdec

# make package
dist: ${.CURDIR}/$(BOOT)
	rm -f $(BOOT)-$(VERSION); ln -s ${.CURDIR} $(BOOT)-$(VERSION); \
	tar --exclude \*/$(BOOT)-$(VERSION)\* --exclude RCS --exclude tmp \
		--exclude obj --exclude obj.${MACHINE} \
		-czhf $(BOOT)-$(VERSION).tar.gz $(BOOT)-$(VERSION); \
	rm -f $(BOOT)-$(VERSION) ${.CURDIR}/$(BOOT)

${.CURDIR}/$(BOOT): $(BOOT)
	-ln -f $(BOOT) ${.CURDIR}/$(BOOT)	2>/dev/null

.include <bsd.prog.mk>
@


1.1
log
@New bootblock code (compressed kernel support).
 mostly written by ITOH Yasufumi.
@
text
@d1 1
a1 1
#	$NetBSD$
d73 1
a73 1
	install -c -o bin -g bin -m 755 writefdboot ${DESTDIR}/usr/mdec
@


1.1.2.1
log
@fix various bugs in the installation and operation of 'writefdboot'
(which has since been removed from -current), via patch.  (minoura)
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.1 1997/10/19 11:00:51 oki Exp $
d73 1
a73 1
	install -c -o bin -g bin -m 755 ${.CURDIR}/writefdboot ${DESTDIR}/usr/mdec
@
