head	1.21;
access;
symbols
	netbsd-11-0-RC4:1.21
	netbsd-11-0-RC3:1.21
	netbsd-11-0-RC2:1.21
	netbsd-11-0-RC1:1.21
	perseant-exfatfs-base-20250801:1.21
	netbsd-11:1.21.0.28
	netbsd-11-base:1.21
	netbsd-10-1-RELEASE:1.21
	perseant-exfatfs-base-20240630:1.21
	perseant-exfatfs:1.21.0.26
	perseant-exfatfs-base:1.21
	netbsd-8-3-RELEASE:1.20
	netbsd-9-4-RELEASE:1.20
	netbsd-10-0-RELEASE:1.21
	netbsd-10-0-RC6:1.21
	netbsd-10-0-RC5:1.21
	netbsd-10-0-RC4:1.21
	netbsd-10-0-RC3:1.21
	netbsd-10-0-RC2:1.21
	thorpej-ifq:1.21.0.24
	thorpej-ifq-base:1.21
	thorpej-altq-separation:1.21.0.22
	thorpej-altq-separation-base:1.21
	netbsd-10-0-RC1:1.21
	netbsd-10:1.21.0.20
	netbsd-10-base:1.21
	bouyer-sunxi-drm:1.21.0.18
	bouyer-sunxi-drm-base:1.21
	netbsd-9-3-RELEASE:1.20
	thorpej-i2c-spi-conf2:1.21.0.16
	thorpej-i2c-spi-conf2-base:1.21
	thorpej-futex2:1.21.0.14
	thorpej-futex2-base:1.21
	thorpej-cfargs2:1.21.0.12
	thorpej-cfargs2-base:1.21
	cjep_sun2x-base1:1.21
	cjep_sun2x:1.21.0.10
	cjep_sun2x-base:1.21
	cjep_staticlib_x-base1:1.21
	netbsd-9-2-RELEASE:1.20
	cjep_staticlib_x:1.21.0.8
	cjep_staticlib_x-base:1.21
	thorpej-i2c-spi-conf:1.21.0.6
	thorpej-i2c-spi-conf-base:1.21
	thorpej-cfargs:1.21.0.4
	thorpej-cfargs-base:1.21
	thorpej-futex:1.21.0.2
	thorpej-futex-base:1.21
	netbsd-9-1-RELEASE:1.20
	bouyer-xenpvh-base2:1.20
	phil-wifi-20200421:1.20
	bouyer-xenpvh-base1:1.20
	phil-wifi-20200411:1.20
	bouyer-xenpvh:1.20.0.40
	bouyer-xenpvh-base:1.20
	is-mlppp:1.20.0.38
	is-mlppp-base:1.20
	phil-wifi-20200406:1.20
	netbsd-8-2-RELEASE:1.20
	ad-namecache-base3:1.20
	netbsd-9-0-RELEASE:1.20
	netbsd-9-0-RC2:1.20
	ad-namecache-base2:1.20
	ad-namecache-base1:1.20
	ad-namecache:1.20.0.36
	ad-namecache-base:1.20
	netbsd-9-0-RC1:1.20
	phil-wifi-20191119:1.20
	netbsd-9:1.20.0.34
	netbsd-9-base:1.20
	phil-wifi-20190609:1.20
	netbsd-8-1-RELEASE:1.20
	netbsd-8-1-RC1:1.20
	isaki-audio2:1.20.0.32
	isaki-audio2-base:1.20
	pgoyette-compat-merge-20190127:1.20
	pgoyette-compat-20190127:1.20
	pgoyette-compat-20190118:1.20
	pgoyette-compat-1226:1.20
	pgoyette-compat-1126:1.20
	pgoyette-compat-1020:1.20
	pgoyette-compat-0930:1.20
	pgoyette-compat-0906:1.20
	netbsd-7-2-RELEASE:1.20
	pgoyette-compat-0728:1.20
	netbsd-8-0-RELEASE:1.20
	phil-wifi:1.20.0.30
	phil-wifi-base:1.20
	pgoyette-compat-0625:1.20
	netbsd-8-0-RC2:1.20
	pgoyette-compat-0521:1.20
	pgoyette-compat-0502:1.20
	pgoyette-compat-0422:1.20
	netbsd-8-0-RC1:1.20
	pgoyette-compat-0415:1.20
	pgoyette-compat-0407:1.20
	pgoyette-compat-0330:1.20
	pgoyette-compat-0322:1.20
	pgoyette-compat-0315:1.20
	netbsd-7-1-2-RELEASE:1.20
	pgoyette-compat:1.20.0.28
	pgoyette-compat-base:1.20
	netbsd-7-1-1-RELEASE:1.20
	tls-maxphys-base-20171202:1.20
	matt-nb8-mediatek:1.20.0.26
	matt-nb8-mediatek-base:1.20
	nick-nhusb-base-20170825:1.20
	perseant-stdc-iso10646:1.20.0.24
	perseant-stdc-iso10646-base:1.20
	netbsd-8:1.20.0.22
	netbsd-8-base:1.20
	prg-localcount2-base3:1.20
	prg-localcount2-base2:1.20
	prg-localcount2-base1:1.20
	prg-localcount2:1.20.0.20
	prg-localcount2-base:1.20
	pgoyette-localcount-20170426:1.20
	bouyer-socketcan-base1:1.20
	jdolecek-ncq:1.20.0.18
	jdolecek-ncq-base:1.20
	pgoyette-localcount-20170320:1.20
	netbsd-7-1:1.20.0.16
	netbsd-7-1-RELEASE:1.20
	netbsd-7-1-RC2:1.20
	nick-nhusb-base-20170204:1.20
	netbsd-7-nhusb-base-20170116:1.20
	bouyer-socketcan:1.20.0.14
	bouyer-socketcan-base:1.20
	pgoyette-localcount-20170107:1.20
	netbsd-7-1-RC1:1.20
	nick-nhusb-base-20161204:1.20
	pgoyette-localcount-20161104:1.20
	netbsd-7-0-2-RELEASE:1.20
	nick-nhusb-base-20161004:1.20
	localcount-20160914:1.20
	netbsd-7-nhusb:1.20.0.12
	netbsd-7-nhusb-base:1.20
	pgoyette-localcount-20160806:1.20
	pgoyette-localcount-20160726:1.20
	pgoyette-localcount:1.20.0.10
	pgoyette-localcount-base:1.20
	nick-nhusb-base-20160907:1.20
	nick-nhusb-base-20160529:1.20
	netbsd-7-0-1-RELEASE:1.20
	nick-nhusb-base-20160422:1.20
	nick-nhusb-base-20160319:1.20
	nick-nhusb-base-20151226:1.20
	netbsd-7-0:1.20.0.8
	netbsd-7-0-RELEASE:1.20
	nick-nhusb-base-20150921:1.20
	netbsd-7-0-RC3:1.20
	netbsd-7-0-RC2:1.20
	netbsd-7-0-RC1:1.20
	nick-nhusb-base-20150606:1.20
	nick-nhusb-base-20150406:1.20
	nick-nhusb:1.20.0.6
	nick-nhusb-base:1.20
	netbsd-5-2-3-RELEASE:1.18
	netbsd-5-1-5-RELEASE:1.18
	netbsd-6-0-6-RELEASE:1.19
	netbsd-6-1-5-RELEASE:1.19
	netbsd-7:1.20.0.4
	netbsd-7-base:1.20
	yamt-pagecache-base9:1.20
	yamt-pagecache-tag8:1.19
	netbsd-6-1-4-RELEASE:1.19
	netbsd-6-0-5-RELEASE:1.19
	tls-earlyentropy:1.20.0.2
	tls-earlyentropy-base:1.20
	riastradh-xf86-video-intel-2-7-1-pre-2-21-15:1.20
	riastradh-drm2-base3:1.20
	netbsd-6-1-3-RELEASE:1.19
	netbsd-6-0-4-RELEASE:1.19
	netbsd-5-2-2-RELEASE:1.18
	netbsd-5-1-4-RELEASE:1.18
	netbsd-6-1-2-RELEASE:1.19
	netbsd-6-0-3-RELEASE:1.19
	netbsd-5-2-1-RELEASE:1.18
	netbsd-5-1-3-RELEASE:1.18
	rmind-smpnet-nbase:1.20
	netbsd-6-1-1-RELEASE:1.19
	riastradh-drm2-base2:1.19
	riastradh-drm2-base1:1.19
	riastradh-drm2:1.19.0.30
	riastradh-drm2-base:1.19
	rmind-smpnet:1.19.0.22
	rmind-smpnet-base:1.20
	netbsd-6-1:1.19.0.28
	netbsd-6-0-2-RELEASE:1.19
	netbsd-6-1-RELEASE:1.19
	khorben-n900:1.19.0.26
	netbsd-6-1-RC4:1.19
	netbsd-6-1-RC3:1.19
	agc-symver:1.19.0.24
	agc-symver-base:1.19
	netbsd-6-1-RC2:1.19
	netbsd-6-1-RC1:1.19
	yamt-pagecache-base8:1.19
	netbsd-5-2:1.18.0.22
	netbsd-6-0-1-RELEASE:1.19
	yamt-pagecache-base7:1.19
	netbsd-5-2-RELEASE:1.18
	netbsd-5-2-RC1:1.18
	matt-nb6-plus-nbase:1.19
	yamt-pagecache-base6:1.19
	netbsd-6-0:1.19.0.20
	netbsd-6-0-RELEASE:1.19
	netbsd-6-0-RC2:1.19
	tls-maxphys:1.19.0.18
	tls-maxphys-base:1.20
	matt-nb6-plus:1.19.0.16
	matt-nb6-plus-base:1.19
	netbsd-6-0-RC1:1.19
	jmcneill-usbmp-base10:1.19
	yamt-pagecache-base5:1.19
	jmcneill-usbmp-base9:1.19
	yamt-pagecache-base4:1.19
	jmcneill-usbmp-base8:1.19
	jmcneill-usbmp-base7:1.19
	jmcneill-usbmp-base6:1.19
	jmcneill-usbmp-base5:1.19
	jmcneill-usbmp-base4:1.19
	jmcneill-usbmp-base3:1.19
	jmcneill-usbmp-pre-base2:1.19
	jmcneill-usbmp-base2:1.19
	netbsd-6:1.19.0.14
	netbsd-6-base:1.19
	netbsd-5-1-2-RELEASE:1.18
	netbsd-5-1-1-RELEASE:1.18
	jmcneill-usbmp:1.19.0.12
	jmcneill-usbmp-base:1.19
	jmcneill-audiomp3:1.19.0.10
	jmcneill-audiomp3-base:1.19
	yamt-pagecache-base3:1.19
	yamt-pagecache-base2:1.19
	yamt-pagecache:1.19.0.8
	yamt-pagecache-base:1.19
	rmind-uvmplock-nbase:1.19
	cherry-xenmp:1.19.0.6
	cherry-xenmp-base:1.19
	jym-xensuspend-nbase:1.19
	uebayasi-xip-base7:1.19
	bouyer-quota2-nbase:1.19
	bouyer-quota2:1.19.0.4
	bouyer-quota2-base:1.19
	jruoho-x86intr:1.19.0.2
	jruoho-x86intr-base:1.19
	matt-mips64-premerge-20101231:1.19
	matt-nb5-mips64-premerge-20101231:1.18
	matt-nb5-pq3:1.18.0.20
	matt-nb5-pq3-base:1.18
	netbsd-5-1:1.18.0.18
	uebayasi-xip-base6:1.19
	uebayasi-xip-base5:1.19
	netbsd-5-1-RELEASE:1.18
	uebayasi-xip-base4:1.19
	uebayasi-xip-base3:1.19
	yamt-nfs-mp-base11:1.19
	netbsd-5-1-RC4:1.18
	matt-nb5-mips64-k15:1.18
	uebayasi-xip-base2:1.19
	yamt-nfs-mp-base10:1.19
	netbsd-5-1-RC3:1.18
	netbsd-5-1-RC2:1.18
	uebayasi-xip-base1:1.18
	netbsd-5-1-RC1:1.18
	rmind-uvmplock:1.18.0.16
	rmind-uvmplock-base:1.19
	yamt-nfs-mp-base9:1.18
	uebayasi-xip:1.18.0.14
	uebayasi-xip-base:1.18
	netbsd-5-0-2-RELEASE:1.18
	matt-nb5-mips64-premerge-20091211:1.18
	matt-premerge-20091211:1.18
	yamt-nfs-mp-base8:1.18
	matt-nb5-mips64-u2-k2-k4-k7-k8-k9:1.18
	matt-nb4-mips64-k7-u2a-k9b:1.18
	matt-nb5-mips64-u1-k1-k5:1.18
	yamt-nfs-mp-base7:1.18
	matt-nb5-mips64:1.18.0.12
	netbsd-5-0-1-RELEASE:1.18
	jymxensuspend-base:1.18
	yamt-nfs-mp-base6:1.18
	yamt-nfs-mp-base5:1.18
	yamt-nfs-mp-base4:1.18
	yamt-nfs-mp-base3:1.18
	nick-hppapmap-base4:1.18
	nick-hppapmap-base3:1.18
	netbsd-5-0:1.18.0.10
	netbsd-5-0-RELEASE:1.18
	netbsd-5-0-RC4:1.18
	netbsd-5-0-RC3:1.18
	nick-hppapmap-base2:1.18
	netbsd-5-0-RC2:1.18
	jym-xensuspend:1.18.0.8
	jym-xensuspend-base:1.19
	netbsd-5-0-RC1:1.18
	haad-dm-base2:1.18
	haad-nbase2:1.18
	ad-audiomp2:1.18.0.6
	ad-audiomp2-base:1.18
	netbsd-5:1.18.0.4
	netbsd-5-base:1.18
	nick-hppapmap:1.18.0.2
	nick-hppapmap-base:1.18
	matt-mips64-base2:1.18
	haad-dm-base1:1.17
	wrstuden-revivesa-base-4:1.17
	netbsd-4-0-1-RELEASE:1.17
	wrstuden-revivesa-base-3:1.17
	wrstuden-revivesa-base-2:1.17
	wrstuden-fixsa-newbase:1.17
	nick-csl-alignment-base5:1.17
	haad-dm:1.17.0.70
	haad-dm-base:1.18
	wrstuden-revivesa-base-1:1.17
	simonb-wapbl-nbase:1.17
	yamt-pf42-base4:1.17
	simonb-wapbl:1.17.0.68
	simonb-wapbl-base:1.17
	yamt-pf42-base3:1.17
	hpcarm-cleanup-nbase:1.17
	yamt-pf42-baseX:1.17
	yamt-pf42-base2:1.17
	yamt-nfs-mp-base2:1.17
	wrstuden-revivesa:1.17.0.66
	wrstuden-revivesa-base:1.17
	yamt-nfs-mp:1.17.0.64
	yamt-nfs-mp-base:1.17
	yamt-pf42:1.17.0.62
	yamt-pf42-base:1.17
	ad-socklock-base1:1.17
	yamt-lazymbuf-base15:1.17
	yamt-lazymbuf-base14:1.17
	keiichi-mipv6-nbase:1.17
	mjf-devfs2:1.17.0.60
	mjf-devfs2-base:1.18
	nick-net80211-sync:1.17.0.58
	nick-net80211-sync-base:1.17
	keiichi-mipv6:1.17.0.56
	keiichi-mipv6-base:1.17
	bouyer-xeni386-merge1:1.17
	matt-armv6-prevmlocking:1.17
	wrstuden-fixsa-base-1:1.17
	vmlocking2-base3:1.17
	netbsd-4-0:1.17.0.54
	netbsd-4-0-RELEASE:1.17
	bouyer-xeni386-nbase:1.17
	yamt-kmem-base3:1.17
	cube-autoconf:1.17.0.52
	cube-autoconf-base:1.17
	yamt-kmem-base2:1.17
	bouyer-xeni386:1.17.0.50
	bouyer-xeni386-base:1.17
	yamt-kmem:1.17.0.48
	yamt-kmem-base:1.17
	vmlocking2-base2:1.17
	reinoud-bufcleanup-nbase:1.17
	vmlocking2:1.17.0.46
	vmlocking2-base1:1.17
	netbsd-4-0-RC5:1.17
	matt-nb4-arm:1.17.0.44
	matt-nb4-arm-base:1.17
	matt-armv6-nbase:1.17
	jmcneill-base:1.17
	netbsd-4-0-RC4:1.17
	mjf-devfs:1.17.0.42
	mjf-devfs-base:1.17
	bouyer-xenamd64-base2:1.17
	vmlocking-nbase:1.17
	yamt-x86pmap-base4:1.17
	bouyer-xenamd64:1.17.0.40
	bouyer-xenamd64-base:1.17
	netbsd-4-0-RC3:1.17
	yamt-x86pmap-base3:1.17
	yamt-x86pmap-base2:1.17
	netbsd-4-0-RC2:1.17
	yamt-x86pmap:1.17.0.38
	yamt-x86pmap-base:1.17
	netbsd-4-0-RC1:1.17
	matt-armv6:1.17.0.36
	matt-armv6-base:1.17
	jmcneill-pm:1.17.0.34
	jmcneill-pm-base:1.17
	hpcarm-cleanup:1.17.0.32
	hpcarm-cleanup-base:1.17
	nick-csl-alignment:1.17.0.30
	nick-csl-alignment-base:1.17
	matt-mips64:1.17.0.28
	matt-mips64-base:1.17
	netbsd-3-1-1-RELEASE:1.14
	netbsd-3-0-3-RELEASE:1.14
	yamt-idlelwp-base8:1.17
	wrstuden-fixsa:1.17.0.26
	wrstuden-fixsa-base:1.17
	ppcoea-renovation:1.17.0.24
	ppcoea-renovation-base:1.17
	thorpej-atomic:1.17.0.22
	thorpej-atomic-base:1.17
	reinoud-bufcleanup:1.17.0.20
	reinoud-bufcleanup-base:1.17
	mjf-ufs-trans:1.17.0.18
	mjf-ufs-trans-base:1.17
	vmlocking:1.17.0.16
	vmlocking-base:1.17
	ad-audiomp:1.17.0.14
	ad-audiomp-base:1.17
	yamt-idlelwp:1.17.0.12
	post-newlock2-merge:1.17
	newlock2-nbase:1.17
	yamt-splraiseipl-base5:1.17
	yamt-splraiseipl-base4:1.17
	yamt-splraiseipl-base3:1.17
	abandoned-netbsd-4-base:1.17
	abandoned-netbsd-4:1.17.0.4
	netbsd-3-1:1.14.0.20
	netbsd-3-1-RELEASE:1.14
	netbsd-3-0-2-RELEASE:1.14
	yamt-splraiseipl-base2:1.17
	netbsd-3-1-RC4:1.14
	yamt-splraiseipl:1.17.0.8
	yamt-splraiseipl-base:1.17
	netbsd-3-1-RC3:1.14
	yamt-pdpolicy-base9:1.17
	newlock2:1.17.0.6
	newlock2-base:1.17
	yamt-pdpolicy-base8:1.17
	netbsd-3-1-RC2:1.14
	netbsd-3-1-RC1:1.14
	yamt-pdpolicy-base7:1.17
	netbsd-4:1.17.0.10
	netbsd-4-base:1.17
	yamt-pdpolicy-base6:1.17
	chap-midi-nbase:1.17
	netbsd-3-0-1-RELEASE:1.14
	gdamore-uart:1.17.0.2
	gdamore-uart-base:1.17
	simonb-timcounters-final:1.16
	yamt-pdpolicy-base5:1.16
	chap-midi:1.16.0.14
	chap-midi-base:1.17
	yamt-pdpolicy-base4:1.16
	yamt-pdpolicy-base3:1.16
	peter-altq-base:1.16
	peter-altq:1.16.0.12
	yamt-pdpolicy-base2:1.16
	elad-kernelauth-base:1.16
	elad-kernelauth:1.16.0.10
	yamt-pdpolicy:1.16.0.8
	yamt-pdpolicy-base:1.16
	yamt-uio_vmspace-base5:1.16
	simonb-timecounters:1.16.0.6
	simonb-timecounters-base:1.17
	rpaulo-netinet-merge-pcb:1.16.0.4
	rpaulo-netinet-merge-pcb-base:1.17
	yamt-uio_vmspace:1.16.0.2
	netbsd-3-0:1.14.0.18
	netbsd-3-0-RELEASE:1.14
	netbsd-3-0-RC6:1.14
	yamt-readahead-base3:1.15
	netbsd-3-0-RC5:1.14
	netbsd-3-0-RC4:1.14
	netbsd-3-0-RC3:1.14
	yamt-readahead-base2:1.15
	netbsd-3-0-RC2:1.14
	yamt-readahead-pervnode:1.15
	yamt-readahead-perfile:1.15
	yamt-readahead:1.15.0.8
	yamt-readahead-base:1.15
	netbsd-3-0-RC1:1.14
	yamt-vop-base3:1.15
	netbsd-2-0-3-RELEASE:1.14
	netbsd-2-1:1.14.0.16
	yamt-vop-base2:1.15
	thorpej-vnode-attr:1.15.0.6
	thorpej-vnode-attr-base:1.15
	netbsd-2-1-RELEASE:1.14
	yamt-vop:1.15.0.4
	yamt-vop-base:1.15
	netbsd-2-1-RC6:1.14
	netbsd-2-1-RC5:1.14
	netbsd-2-1-RC4:1.14
	netbsd-2-1-RC3:1.14
	netbsd-2-1-RC2:1.14
	netbsd-2-1-RC1:1.14
	yamt-lazymbuf:1.15.0.2
	yamt-km-base4:1.14
	netbsd-2-0-2-RELEASE:1.14
	yamt-km-base3:1.14
	netbsd-3:1.14.0.14
	netbsd-3-base:1.14
	yamt-km-base2:1.14
	yamt-km:1.14.0.10
	yamt-km-base:1.14
	kent-audio2:1.14.0.8
	kent-audio2-base:1.14
	netbsd-2-0-1-RELEASE:1.14
	kent-audio1-beforemerge:1.14
	netbsd-2:1.14.0.6
	netbsd-2-base:1.14
	kent-audio1:1.14.0.4
	kent-audio1-base:1.14
	netbsd-2-0-RELEASE:1.14
	netbsd-2-0-RC5:1.14
	netbsd-2-0-RC4:1.14
	netbsd-2-0-RC3:1.14
	netbsd-2-0-RC2:1.14
	netbsd-2-0-RC1:1.14
	netbsd-2-0:1.14.0.2
	netbsd-2-0-base:1.14
	netbsd-1-6-PATCH002-RELEASE:1.12
	netbsd-1-6-PATCH002:1.12
	netbsd-1-6-PATCH002-RC4:1.12
	netbsd-1-6-PATCH002-RC3:1.12
	netbsd-1-6-PATCH002-RC2:1.12
	netbsd-1-6-PATCH002-RC1:1.12
	ktrace-lwp:1.12.0.18
	ktrace-lwp-base:1.15
	netbsd-1-6-PATCH001:1.12
	netbsd-1-6-PATCH001-RELEASE:1.12
	netbsd-1-6-PATCH001-RC3:1.12
	netbsd-1-6-PATCH001-RC2:1.12
	netbsd-1-6-PATCH001-RC1:1.12
	nathanw_sa_end:1.10.8.2
	nathanw_sa_before_merge:1.12
	fvdl_fs64_base:1.12
	gmcgarry_ctxsw:1.12.0.16
	gmcgarry_ctxsw_base:1.12
	gmcgarry_ucred:1.12.0.14
	gmcgarry_ucred_base:1.12
	nathanw_sa_base:1.12
	kqueue-aftermerge:1.12
	kqueue-beforemerge:1.12
	netbsd-1-6-RELEASE:1.12
	netbsd-1-6-RC3:1.12
	netbsd-1-6-RC2:1.12
	netbsd-1-6-RC1:1.12
	i386mp_plus16_stable:1.12
	netbsd-1-6:1.12.0.12
	netbsd-1-6-base:1.12
	gehenna-devsw:1.12.0.10
	gehenna-devsw-base:1.12
	netbsd-1-5-PATCH003:1.10
	eeh-devprop:1.12.0.8
	eeh-devprop-base:1.12
	newlock:1.12.0.6
	newlock-base:1.12
	ifpoll-base:1.12
	thorpej-mips-cache:1.11.0.4
	thorpej-mips-cache-base:1.11
	thorpej-devvp-base3:1.11
	thorpej-devvp-base2:1.11
	post-chs-ubcperf:1.10
	pre-chs-ubcperf:1.10
	thorpej-devvp:1.10.0.12
	thorpej-devvp-base:1.10
	netbsd-1-5-PATCH002:1.10
	kqueue:1.10.0.10
	kqueue-base:1.12
	netbsd-1-5-PATCH001:1.10
	thorpej_scsipi_beforemerge:1.10
	nathanw_sa:1.10.0.8
	thorpej_scsipi_nbase:1.10
	sommerfeld_i386mpnext:1.12
	netbsd-1-5-RELEASE:1.10
	netbsd-1-5-BETA2:1.10
	netbsd-1-5-BETA:1.10
	netbsd-1-4-PATCH003:1.7
	netbsd-1-5-ALPHA2:1.10
	sommerfeld_i386mp_houseclean:1.10
	netbsd-1-5:1.10.0.6
	netbsd-1-5-base:1.10
	minoura-xpg4dl:1.10.0.4
	minoura-xpg4dl-base:1.10
	sommerfeld_i386mpbase_20000422:1.10
	netbsd-1-4-PATCH002:1.7
	sommerfeld_i386mp_1:1.12.0.2
	sommerfeld_i386mpbase_1:1.12
	chs-ubc2-newbase:1.10
	wrstuden-devbsize-19991221:1.8
	wrstuden-devbsize:1.8.0.8
	wrstuden-devbsize-base:1.8
	kame_141_19991130:1.7
	comdex-fall-1999:1.8.0.6
	comdex-fall-1999-base:1.8
	fvdl-softdep:1.8.0.4
	fvdl-softdep-base:1.8
	thorpej_scsipi:1.8.0.2
	thorpej_scsipi_base:1.10
	netbsd-1-4-PATCH001:1.7
	kame_14_19990705:1.7
	kame_14_19990628:1.7
	kame:1.7.0.10
	chs-ubc2:1.7.0.8
	chs-ubc2-base:1.7
	netbsd-1-4-RELEASE:1.7
	netbsd-1-4:1.7.0.6
	netbsd-1-4-base:1.7
	netbsd-1-3-PATCH003:1.6
	netbsd-1-3-PATCH003-CANDIDATE2:1.6
	kenh-if-detach:1.7.0.4
	kenh-if-detach-base:1.7
	netbsd-1-3-PATCH003-CANDIDATE1:1.6
	netbsd-1-3-PATCH003-CANDIDATE0:1.6
	chs-ubc:1.7.0.2
	chs-ubc-base:1.7
	eeh-paddr_t:1.6.0.4
	eeh-paddr_t-base:1.6
	netbsd-1-3-PATCH002:1.6
	netbsd-1-3-PATCH001:1.6
	netbsd-1-3-RELEASE:1.6
	netbsd-1-3-BETA:1.6
	netbsd-1-3:1.6.0.2
	netbsd-1-3-base:1.6
	marc-pcmcia-base:1.6;
locks; strict;
comment	@# @;


1.21
date	2020.08.10.10.59.33;	author rin;	state Exp;
branches;
next	1.20;
commitid	X4AVVjR9CJ6EuvjC;

1.20
date	2014.03.04.14.58.14;	author joerg;	state Exp;
branches;
next	1.19;

1.19
date	2010.07.06.05.59.59;	author mrg;	state Exp;
branches
	1.19.8.1
	1.19.18.1
	1.19.22.1;
next	1.18;

1.18
date	2008.10.19.22.05.21;	author apb;	state Exp;
branches
	1.18.8.1
	1.18.14.1
	1.18.16.1;
next	1.17;

1.17
date	2006.06.06.15.41.50;	author christos;	state Exp;
branches
	1.17.60.1
	1.17.64.1
	1.17.70.1;
next	1.16;

1.16
date	2005.12.11.12.17.40;	author christos;	state Exp;
branches
	1.16.4.1
	1.16.6.1
	1.16.8.1
	1.16.14.1;
next	1.15;

1.15
date	2005.05.30.18.33.15;	author thorpej;	state Exp;
branches
	1.15.2.1;
next	1.14;

1.14
date	2003.12.25.21.02.58;	author jmc;	state Exp;
branches;
next	1.13;

1.13
date	2003.10.26.07.25.36;	author lukem;	state Exp;
branches;
next	1.12;

1.12
date	2001.12.14.20.32.23;	author christos;	state Exp;
branches
	1.12.2.1
	1.12.18.1;
next	1.11;

1.11
date	2001.09.22.03.34.19;	author tv;	state Exp;
branches;
next	1.10;

1.10
date	2000.02.01.05.25.31;	author tsutsui;	state Exp;
branches
	1.10.8.1
	1.10.10.1
	1.10.12.1;
next	1.9;

1.9
date	2000.01.19.16.29.57;	author tsutsui;	state Exp;
branches;
next	1.8;

1.8
date	99.09.04.22.25.51;	author jtk;	state Exp;
branches
	1.8.2.1;
next	1.7;

1.7
date	98.08.31.23.52.40;	author jtk;	state Exp;
branches;
next	1.6;

1.6
date	96.09.13.02.24.30;	author jtk;	state Exp;
branches;
next	1.5;

1.5
date	96.09.13.00.02.36;	author jtk;	state Exp;
branches;
next	1.4;

1.4
date	96.09.09.18.07.40;	author mycroft;	state Exp;
branches;
next	1.3;

1.3
date	96.09.08.15.36.51;	author jtk;	state Exp;
branches;
next	1.2;

1.2
date	96.08.30.02.32.13;	author jtk;	state Exp;
branches;
next	1.1;

1.1
date	96.08.25.23.39.14;	author jtk;	state Exp;
branches;
next	;

1.19.8.1
date	2014.05.22.11.39.51;	author yamt;	state Exp;
branches;
next	;

1.19.18.1
date	2014.08.20.00.03.05;	author tls;	state Exp;
branches;
next	;

1.19.22.1
date	2014.05.18.17.45.12;	author rmind;	state Exp;
branches;
next	;

1.18.8.1
date	2010.10.24.22.47.58;	author jym;	state Exp;
branches;
next	;

1.18.14.1
date	2010.08.17.06.44.34;	author uebayasi;	state Exp;
branches;
next	;

1.18.16.1
date	2011.03.05.20.50.37;	author rmind;	state Exp;
branches;
next	;

1.17.60.1
date	2009.01.17.13.28.02;	author mjf;	state Exp;
branches;
next	;

1.17.64.1
date	2009.05.04.08.11.15;	author yamt;	state Exp;
branches;
next	1.17.64.2;

1.17.64.2
date	2010.08.11.22.52.10;	author yamt;	state Exp;
branches;
next	;

1.17.70.1
date	2008.12.13.01.13.12;	author haad;	state Exp;
branches;
next	;

1.16.4.1
date	2006.09.09.02.39.53;	author rpaulo;	state Exp;
branches;
next	;

1.16.6.1
date	2006.06.07.15.49.38;	author kardel;	state Exp;
branches;
next	;

1.16.8.1
date	2006.06.26.12.44.38;	author yamt;	state Exp;
branches;
next	;

1.16.14.1
date	2006.06.19.03.44.03;	author chap;	state Exp;
branches;
next	;

1.15.2.1
date	2006.06.21.14.52.09;	author yamt;	state Exp;
branches;
next	;

1.12.2.1
date	2001.12.14.20.32.23;	author christos;	state dead;
branches;
next	1.12.2.2;

1.12.2.2
date	2001.12.14.20.32.24;	author christos;	state Exp;
branches;
next	;

1.12.18.1
date	2004.08.03.10.35.46;	author skrll;	state Exp;
branches;
next	1.12.18.2;

1.12.18.2
date	2004.09.18.14.35.22;	author skrll;	state Exp;
branches;
next	1.12.18.3;

1.12.18.3
date	2004.09.21.13.16.35;	author skrll;	state Exp;
branches;
next	1.12.18.4;

1.12.18.4
date	2005.11.10.13.56.32;	author skrll;	state Exp;
branches;
next	;

1.10.8.1
date	2001.09.26.19.54.42;	author nathanw;	state Exp;
branches;
next	1.10.8.2;

1.10.8.2
date	2002.01.08.00.25.08;	author nathanw;	state Exp;
branches;
next	;

1.10.10.1
date	2002.01.10.19.44.22;	author thorpej;	state Exp;
branches;
next	;

1.10.12.1
date	2001.10.01.12.39.31;	author fvdl;	state Exp;
branches;
next	;

1.8.2.1
date	2000.11.20.20.09.14;	author bouyer;	state Exp;
branches;
next	;


desc
@@


1.21
log
@Clean up _LKM --> _MODULE leftovers.

Note that _KERNEL is always defined for modules.
@
text
@#	$NetBSD: Makefile,v 1.20 2014/03/04 14:58:14 joerg Exp $

CPPFLAGS=	${APMCPPFLAGS}
KSRC=${.CURDIR}/../../..
ARCHSRC=${.CURDIR}/../..
I386=${KSRC}/arch/i386
X86=${KSRC}/arch/x86
CPPFLAGS+=-I${ARCHSRC} -I${KSRC} -I${.CURDIR} -I${.OBJDIR} -D_MODULE -D_KERNEL

SRCS=	biostramp.S
OBJS=	biostramp.o
DEPS=	${APMDEPS}
STRIP?=	strip
TRAMP=	${.CURDIR}/biostramp.inc

all: ${TRAMP}

${TRAMP}: biostramp.bin Makefile
	@@([ -f ${TRAMP} ] && mv -f ${TRAMP} ${TRAMP}.bak; exit 0)
	${HOST_SH} ${.CURDIR}/bin2asm.sh biostramp.bin > ${.TARGET}

machine:
	@@rm -f machine && ln -s ${I386}/include machine

x86:
	@@rm -f x86 && ln -s ${X86}/include x86

.include <bsd.own.mk>

biostramp.bin: biostramp.obj
	${OBJCOPY} --output-target=binary $? $@@

biostramp.obj: ${OBJS} ${DEPS}
	${LD} -Bstatic -N -Ttext 0 -e do_bios_call -o $@@ $(OBJS)

assym.h: machine x86 genassym.cf
	${TOOL_GENASSYM} -- ${CC} ${CFLAGS:N-Wa,*} ${CPPFLAGS} ${PROF} \
	    ${GENASSYM_CPPFLAGS} < ${.CURDIR}/genassym.cf > assym.h.tmp && \
	mv -f assym.h.tmp assym.h

biostramp.S: assym.h

biostramp.o: biostramp.S
	${CC} ${CPPFLAGS} -DASM -D_LOCORE -c ${.IMPSRC}

clean:
	rm -f *.o biostramp.obj biostramp.bin biostramp.sym ${TRAMP} \
	    assym.h ${TRAMP}.bak machine

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


1.20
log
@Introduce GENASSYM_CPPFLAGS for options during genassym processing.
Consistently drop assembler flags.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.19 2010/07/06 05:59:59 mrg Exp $
d8 1
a8 1
CPPFLAGS+=-I${ARCHSRC} -I${KSRC} -I${.CURDIR} -I${.OBJDIR} -D_LKM -D_KERNEL
@


1.19
log
@remove almost all the ability to build netbsd with an a.out target.
we're ELF now, and there are many missing checks against OBJECT_FMT.
if we ever consider switching, the we can figure out what new ones
we need but for now it's just clutter.

this doesn't remove any of the support for exec_aout or any actually
required-for-boot a.out support, only the ability to build a netbsd
release in a.out format.  ie, most of this code has been dead for
over a decade.

i've tested builds on vax, amd64, i386, mac68k, macppc, sparc, atari,
amiga, shark, cats, dreamcast, landisk, mmeye and x68k.  this covers
the 5 MACHINE_ARCH's affected, and all the other arch code touched.
it also includes some actual run-time testing of sparc, i386 and
shark, and i performed binary comparison upon amiga and x68k as well.


some minor details relevant:
- move shlib.[ch] from ld.aout_so into ldconfig proper, and cut them
  down to only the parts ldconfig needs
- remove various unused source files
- switch amiga bootblocks to using elf2bb.h instead of aout2bb.h
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.18 2008/10/19 22:05:21 apb Exp $
d37 2
a38 2
	${TOOL_GENASSYM} -- ${CC} ${CFLAGS} ${CPPFLAGS} ${PROF} \
	    < ${.CURDIR}/genassym.cf > assym.h.tmp && \
@


1.19.18.1
log
@Rebase to HEAD as of a few days ago.
@
text
@d1 1
a1 1
#	$NetBSD$
d37 2
a38 2
	${TOOL_GENASSYM} -- ${CC} ${CFLAGS:N-Wa,*} ${CPPFLAGS} ${PROF} \
	    ${GENASSYM_CPPFLAGS} < ${.CURDIR}/genassym.cf > assym.h.tmp && \
@


1.19.8.1
log
@sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs.  ("Protocol error: too many arguments")
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.19 2010/07/06 05:59:59 mrg Exp $
d37 2
a38 2
	${TOOL_GENASSYM} -- ${CC} ${CFLAGS:N-Wa,*} ${CPPFLAGS} ${PROF} \
	    ${GENASSYM_CPPFLAGS} < ${.CURDIR}/genassym.cf > assym.h.tmp && \
@


1.19.22.1
log
@sync with head
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.19 2010/07/06 05:59:59 mrg Exp $
d37 2
a38 2
	${TOOL_GENASSYM} -- ${CC} ${CFLAGS:N-Wa,*} ${CPPFLAGS} ${PROF} \
	    ${GENASSYM_CPPFLAGS} < ${.CURDIR}/genassym.cf > assym.h.tmp && \
@


1.18
log
@Use ${TOOL_AWK} instead of ${AWK} or plain "awk" in make commands.
Pass AWK=${TOOL_AWK:Q} to shell scripts that use awk.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.17 2006/06/06 15:41:50 christos Exp $
a29 1
.if ${OBJECT_FMT} == "ELF"
a31 11
.else
biostramp.bin: biostramp.obj
	cp $? $@@
	@@${STRIP} $@@
	@@${HOST_SH} ${.CURDIR}/rmaouthdr $@@ $@@.tmp
	@@if [ `ls -l $@@.tmp | ${TOOL_AWK} '{print $$5}'` -gt 4096 ]; then \
		echo "$@@ too big"; \
		exit 1; \
	fi
	@@mv -f $@@.tmp $@@
.endif
@


1.18.16.1
log
@sync with head
@
text
@d1 1
a1 1
#	$NetBSD$
d30 1
d33 11
@


1.18.8.1
log
@Sync with HEAD
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.19 2010/07/06 05:59:59 mrg Exp $
d30 1
d33 11
@


1.18.14.1
log
@Sync with HEAD.
@
text
@d1 1
a1 1
#	$NetBSD$
d30 1
d33 11
@


1.17
log
@Make this work with objdirs.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.16 2005/12/11 12:17:40 christos Exp $
d38 1
a38 1
	@@if [ `ls -l $@@.tmp |awk '{print $$5}'` -gt 4096 ]; then \
@


1.17.64.1
log
@sync with head.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.17 2006/06/06 15:41:50 christos Exp $
d38 1
a38 1
	@@if [ `ls -l $@@.tmp | ${TOOL_AWK} '{print $$5}'` -gt 4096 ]; then \
@


1.17.64.2
log
@sync with head.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.17.64.1 2009/05/04 08:11:15 yamt Exp $
d30 1
d33 11
@


1.17.60.1
log
@Sync with HEAD.
@
text
@d1 1
a1 1
#	$NetBSD$
d38 1
a38 1
	@@if [ `ls -l $@@.tmp | ${TOOL_AWK} '{print $$5}'` -gt 4096 ]; then \
@


1.17.70.1
log
@Update haad-dm branch to haad-dm-base2.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.18 2008/10/19 22:05:21 apb Exp $
d38 1
a38 1
	@@if [ `ls -l $@@.tmp | ${TOOL_AWK} '{print $$5}'` -gt 4096 ]; then \
@


1.16
log
@merge ktrace-lwp.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.12.18.4 2005/11/10 13:56:32 skrll Exp $
d14 1
d16 1
a16 1
all: biostramp.inc
d18 3
a20 3
biostramp.inc: biostramp.bin Makefile
	@@([ -f biostramp.inc ] && mv -f biostramp.inc biostramp.inc.bak; exit 0)
	${HOST_SH} ${.CURDIR}/bin2asm.sh biostramp.bin > biostramp.inc
d59 2
a60 2
	rm -f *.o biostramp.obj biostramp.bin biostramp.sym biostramp.inc \
	    assym.h biostramp.inc.bak machine
@


1.16.4.1
log
@sync with head
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.17 2006/06/06 15:41:50 christos Exp $
a13 1
TRAMP=	${.CURDIR}/biostramp.inc
d15 1
a15 1
all: ${TRAMP}
d17 3
a19 3
${TRAMP}: biostramp.bin Makefile
	@@([ -f ${TRAMP} ] && mv -f ${TRAMP} ${TRAMP}.bak; exit 0)
	${HOST_SH} ${.CURDIR}/bin2asm.sh biostramp.bin > ${.TARGET}
d58 2
a59 2
	rm -f *.o biostramp.obj biostramp.bin biostramp.sym ${TRAMP} \
	    assym.h ${TRAMP}.bak machine
@


1.16.8.1
log
@sync with head.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.16 2005/12/11 12:17:40 christos Exp $
a13 1
TRAMP=	${.CURDIR}/biostramp.inc
d15 1
a15 1
all: ${TRAMP}
d17 3
a19 3
${TRAMP}: biostramp.bin Makefile
	@@([ -f ${TRAMP} ] && mv -f ${TRAMP} ${TRAMP}.bak; exit 0)
	${HOST_SH} ${.CURDIR}/bin2asm.sh biostramp.bin > ${.TARGET}
d58 2
a59 2
	rm -f *.o biostramp.obj biostramp.bin biostramp.sym ${TRAMP} \
	    assym.h ${TRAMP}.bak machine
@


1.16.14.1
log
@Sync with head.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.17 2006/06/06 15:41:50 christos Exp $
a13 1
TRAMP=	${.CURDIR}/biostramp.inc
d15 1
a15 1
all: ${TRAMP}
d17 3
a19 3
${TRAMP}: biostramp.bin Makefile
	@@([ -f ${TRAMP} ] && mv -f ${TRAMP} ${TRAMP}.bak; exit 0)
	${HOST_SH} ${.CURDIR}/bin2asm.sh biostramp.bin > ${.TARGET}
d58 2
a59 2
	rm -f *.o biostramp.obj biostramp.bin biostramp.sym ${TRAMP} \
	    assym.h ${TRAMP}.bak machine
@


1.16.6.1
log
@Sync with head.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.16 2005/12/11 12:17:40 christos Exp $
a13 1
TRAMP=	${.CURDIR}/biostramp.inc
d15 1
a15 1
all: ${TRAMP}
d17 3
a19 3
${TRAMP}: biostramp.bin Makefile
	@@([ -f ${TRAMP} ] && mv -f ${TRAMP} ${TRAMP}.bak; exit 0)
	${HOST_SH} ${.CURDIR}/bin2asm.sh biostramp.bin > ${.TARGET}
d58 2
a59 2
	rm -f *.o biostramp.obj biostramp.bin biostramp.sym ${TRAMP} \
	    assym.h ${TRAMP}.bak machine
@


1.15
log
@Use TOOL_GENASSYM.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.14 2003/12/25 21:02:58 jmc Exp $
@


1.15.2.1
log
@sync with head.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.15 2005/05/30 18:33:15 thorpej Exp $
a13 1
TRAMP=	${.CURDIR}/biostramp.inc
d15 1
a15 1
all: ${TRAMP}
d17 3
a19 3
${TRAMP}: biostramp.bin Makefile
	@@([ -f ${TRAMP} ] && mv -f ${TRAMP} ${TRAMP}.bak; exit 0)
	${HOST_SH} ${.CURDIR}/bin2asm.sh biostramp.bin > ${.TARGET}
d58 2
a59 2
	rm -f *.o biostramp.obj biostramp.bin biostramp.sym ${TRAMP} \
	    assym.h ${TRAMP}.bak machine
@


1.14
log
@Partial fix for PR#14946. Make sure x86 symlinks exist also
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.13 2003/10/26 07:25:36 lukem Exp $
d8 1
a8 1
CPPFLAGS+=-I${ARCHSRC} -I${KSRC} -I${.CURDIR} -I${.OBJDIR} -D_LKM
d47 2
a48 2
assym.h: machine x86 ${KSRC}/kern/genassym.sh genassym.cf
	${HOST_SH} ${KSRC}/kern/genassym.sh ${CC} ${CFLAGS} ${CPPFLAGS} ${PROF} \
@


1.13
log
@Use ${HOST_SH} instead of `sh'.

If necessary, pull in <bsd.sys.mk> to get the definition of HOST_SH;
Makefiles that pull in one of (most of) <bsd.*.mk> will get this anyway.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.12 2001/12/14 20:32:23 christos Exp $
d7 1
d24 3
d47 1
a47 1
assym.h: machine ${KSRC}/kern/genassym.sh genassym.cf
@


1.12
log
@PR/14946: Rafal Boni: Make this work again.
Notes:
    - I added bsd.obj.mk and made it work with objdirs.
    - I added an entry point to the linker to fix a warning.
    - I made the backup of biostramp.inc silent.
    - I added missing clean targets.

This needs to be tested further.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.11 2001/09/22 03:34:19 tv Exp $
d18 1
a18 1
	sh ${.CURDIR}/bin2asm.sh biostramp.bin > biostramp.inc
d32 1
a32 1
	@@sh ${.CURDIR}/rmaouthdr $@@ $@@.tmp
d44 1
a44 1
	sh ${KSRC}/kern/genassym.sh ${CC} ${CFLAGS} ${CPPFLAGS} ${PROF} \
@


1.12.2.1
log
@file Makefile was added on branch sommerfeld_i386mp_1 on 2001-12-14 20:32:24 +0000
@
text
@d1 59
@


1.12.2.2
log
@PR/14946: Rafal Boni: Make this work again.
Notes:
    - I added bsd.obj.mk and made it work with objdirs.
    - I added an entry point to the linker to fix a warning.
    - I made the backup of biostramp.inc silent.
    - I added missing clean targets.

This needs to be tested further.
@
text
@a0 59
#	$NetBSD: Makefile,v 1.12 2001/12/14 20:32:23 christos Exp $

CPPFLAGS=	${APMCPPFLAGS}
KSRC=${.CURDIR}/../../..
ARCHSRC=${.CURDIR}/../..
I386=${KSRC}/arch/i386
CPPFLAGS+=-I${ARCHSRC} -I${KSRC} -I${.CURDIR} -I${.OBJDIR} -D_LKM

SRCS=	biostramp.S
OBJS=	biostramp.o
DEPS=	${APMDEPS}
STRIP?=	strip

all: biostramp.inc

biostramp.inc: biostramp.bin Makefile
	@@([ -f biostramp.inc ] && mv -f biostramp.inc biostramp.inc.bak; exit 0)
	sh ${.CURDIR}/bin2asm.sh biostramp.bin > biostramp.inc

machine:
	@@rm -f machine && ln -s ${I386}/include machine

.include <bsd.own.mk>

.if ${OBJECT_FMT} == "ELF"
biostramp.bin: biostramp.obj
	${OBJCOPY} --output-target=binary $? $@@
.else
biostramp.bin: biostramp.obj
	cp $? $@@
	@@${STRIP} $@@
	@@sh ${.CURDIR}/rmaouthdr $@@ $@@.tmp
	@@if [ `ls -l $@@.tmp |awk '{print $$5}'` -gt 4096 ]; then \
		echo "$@@ too big"; \
		exit 1; \
	fi
	@@mv -f $@@.tmp $@@
.endif

biostramp.obj: ${OBJS} ${DEPS}
	${LD} -Bstatic -N -Ttext 0 -e do_bios_call -o $@@ $(OBJS)

assym.h: machine ${KSRC}/kern/genassym.sh genassym.cf
	sh ${KSRC}/kern/genassym.sh ${CC} ${CFLAGS} ${CPPFLAGS} ${PROF} \
	    < ${.CURDIR}/genassym.cf > assym.h.tmp && \
	mv -f assym.h.tmp assym.h

biostramp.S: assym.h

biostramp.o: biostramp.S
	${CC} ${CPPFLAGS} -DASM -D_LOCORE -c ${.IMPSRC}

clean:
	rm -f *.o biostramp.obj biostramp.bin biostramp.sym biostramp.inc \
	    assym.h biostramp.inc.bak machine

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


1.12.18.1
log
@Sync with HEAD
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.14 2003/12/25 21:02:58 jmc Exp $
a6 1
X86=${KSRC}/arch/x86
d18 1
a18 1
	${HOST_SH} ${.CURDIR}/bin2asm.sh biostramp.bin > biostramp.inc
a22 3
x86:
	@@rm -f x86 && ln -s ${X86}/include x86

d32 1
a32 1
	@@${HOST_SH} ${.CURDIR}/rmaouthdr $@@ $@@.tmp
d43 2
a44 2
assym.h: machine x86 ${KSRC}/kern/genassym.sh genassym.cf
	${HOST_SH} ${KSRC}/kern/genassym.sh ${CC} ${CFLAGS} ${CPPFLAGS} ${PROF} \
@


1.12.18.2
log
@Sync with HEAD.
@
text
@@


1.12.18.3
log
@Fix the sync with head I botched.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.12.18.1 2004/08/03 10:35:46 skrll Exp $
@


1.12.18.4
log
@Sync with HEAD. Here we go again...
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.12.18.3 2004/09/21 13:16:35 skrll Exp $
d8 1
a8 1
CPPFLAGS+=-I${ARCHSRC} -I${KSRC} -I${.CURDIR} -I${.OBJDIR} -D_LKM -D_KERNEL
d47 2
a48 2
assym.h: machine x86 genassym.cf
	${TOOL_GENASSYM} -- ${CC} ${CFLAGS} ${CPPFLAGS} ${PROF} \
@


1.11
log
@objcopy -> ${OBJCOPY}; remove redundant definitions of OBJCOPY?= (it is
now in bsd.own.mk).
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.10 2000/02/01 05:25:31 tsutsui Exp $
d7 1
a7 1
CFLAGS+= -I${ARCHSRC} -I${KSRC} -D_LKM
d17 1
a17 1
	-mv -f biostramp.inc biostramp.inc.bak
d20 3
d41 1
a41 1
	${LD} -Bstatic -N -Ttext 0 -o $@@ $(OBJS)
d43 1
a43 1
assym.h: ${KSRC}/kern/genassym.sh genassym.cf
d45 1
a45 1
	    < genassym.cf > assym.h.tmp && \
d49 1
d51 1
a51 1
	${CC} ${CFLAGS} -DASM -D_LOCORE -c biostramp.S
d54 2
a55 1
	rm -f *.o biostramp.bin biostramp.sym biostramp.inc assym.h
d59 1
a59 1
#.include <bsd.prog.mk>
@


1.10
log
@Revert STRIPPROG -> STRIP
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.9 2000/01/19 16:29:57 tsutsui Exp $
d24 1
a24 1
	objcopy --output-target=binary $? $@@
@


1.10.10.1
log
@Sync kqueue branch with -current.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.12 2001/12/14 20:32:23 christos Exp $
d7 1
a7 1
CPPFLAGS+=-I${ARCHSRC} -I${KSRC} -I${.CURDIR} -I${.OBJDIR} -D_LKM
d17 1
a17 1
	@@([ -f biostramp.inc ] && mv -f biostramp.inc biostramp.inc.bak; exit 0)
a19 3
machine:
	@@rm -f machine && ln -s ${I386}/include machine

d24 1
a24 1
	${OBJCOPY} --output-target=binary $? $@@
d38 1
a38 1
	${LD} -Bstatic -N -Ttext 0 -e do_bios_call -o $@@ $(OBJS)
d40 1
a40 1
assym.h: machine ${KSRC}/kern/genassym.sh genassym.cf
d42 1
a42 1
	    < ${.CURDIR}/genassym.cf > assym.h.tmp && \
a45 1

d47 1
a47 1
	${CC} ${CPPFLAGS} -DASM -D_LOCORE -c ${.IMPSRC}
d50 1
a50 2
	rm -f *.o biostramp.obj biostramp.bin biostramp.sym biostramp.inc \
	    assym.h biostramp.inc.bak machine
d54 1
a54 1
.include <bsd.obj.mk>
@


1.10.12.1
log
@Catch up with -current.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.11 2001/09/22 03:34:19 tv Exp $
d24 1
a24 1
	${OBJCOPY} --output-target=binary $? $@@
@


1.10.8.1
log
@Catch up to -current.
Again.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.10 2000/02/01 05:25:31 tsutsui Exp $
d24 1
a24 1
	${OBJCOPY} --output-target=binary $? $@@
@


1.10.8.2
log
@Catch up to -current.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.10.8.1 2001/09/26 19:54:42 nathanw Exp $
d7 1
a7 1
CPPFLAGS+=-I${ARCHSRC} -I${KSRC} -I${.CURDIR} -I${.OBJDIR} -D_LKM
d17 1
a17 1
	@@([ -f biostramp.inc ] && mv -f biostramp.inc biostramp.inc.bak; exit 0)
a19 3
machine:
	@@rm -f machine && ln -s ${I386}/include machine

d38 1
a38 1
	${LD} -Bstatic -N -Ttext 0 -e do_bios_call -o $@@ $(OBJS)
d40 1
a40 1
assym.h: machine ${KSRC}/kern/genassym.sh genassym.cf
d42 1
a42 1
	    < ${.CURDIR}/genassym.cf > assym.h.tmp && \
a45 1

d47 1
a47 1
	${CC} ${CPPFLAGS} -DASM -D_LOCORE -c ${.IMPSRC}
d50 1
a50 2
	rm -f *.o biostramp.obj biostramp.bin biostramp.sym biostramp.inc \
	    assym.h biostramp.inc.bak machine
d54 1
a54 1
.include <bsd.obj.mk>
@


1.9
log
@STRIP -> STRIPPROG
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.8 1999/09/04 22:25:51 jtk Exp $
d12 1
a12 1
STRIPPROG?= strip
d28 1
a28 1
	@@${STRIPPROG} $@@
@


1.8
log
@fix for building on ELF
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.7 1998/08/31 23:52:40 jtk Exp $
d12 1
a12 1
STRIP?= strip
d28 1
a28 1
	@@${STRIP} $@@
@


1.8.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.10 2000/02/01 05:25:31 tsutsui Exp $
d12 1
a12 1
STRIP?=	strip
@


1.7
log
@add 32-bit register support to BIOSCALL interface
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.6 1996/09/13 02:24:30 jtk Exp $
d16 1
a16 1
biostramp.inc: biostramp Makefile
d18 1
a18 1
	sh ${.CURDIR}/bin2asm.sh biostramp > biostramp.inc
d20 12
a31 6
biostramp: ${OBJS} ${DEPS}
	${LD} -Bstatic -N -T 0 -o biostramp $(OBJS)
	cp biostramp biostramp.sym
	@@${STRIP} biostramp
	@@if [ `ls -l biostramp |awk '{print $$5}'` -gt 4096 ]; then \
		echo "biostramp too big"; \
d34 5
a38 2
	@@sh ${.CURDIR}/rmaouthdr biostramp biostramp.tmp
	@@mv -f biostramp.tmp biostramp
d50 1
a50 1
	rm -f *.o biostramp biostramp.sym biostramp.inc assym.h
@


1.6
log
@use ls, not ${LS}; remove now-unneeded Makefile.inc
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.5 1996/09/13 00:02:36 jtk Exp $
d4 4
a7 1
CFLAGS+=	-I${.CURDIR}/../.. -I${.CURDIR}/../../..
d31 4
a34 2
assym.h: genassym
	./genassym > assym.h
d41 1
a41 1
	rm -f *.o biostramp biostramp.sym biostramp.inc genassym assym.h
@


1.5
log
@BIOS trampoline is a static beast; generate it in the sources like
syscalls.h & friends, and include it when needed from the source directory.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.4 1996/09/09 18:07:40 mycroft Exp $
d21 1
a21 1
	@@if [ `${LS} -l biostramp |awk '{print $$5}'` -gt 4096 ]; then \
@


1.4
log
@Make the build process more sane.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.3 1996/09/08 15:36:51 jtk Exp $
d4 1
d9 3
d14 1
d28 7
d36 1
a36 1
	rm -f *.o biostramp biostramp.sym biostramp.inc
@


1.3
log
@re-implement BIOS trampoline as a more general-purpose, reusable trampoline.
calling interface (via a grapple in locore.s) is:
/*
 * void bioscall(int function, struct apmregs *regs):
 * 	call the BIOS interrupt "function" from real mode with
 *	registers as specified in "regs"
 *	(for the flags, though, only these flags are passed to the BIOS;
 *	the remainder come from the flags register at the time of the call:
 *	(PSL_C|PSL_PF|PSL_AF|PSL_Z|PSL_N|PSL_D|PSL_V)
 *
 *	Fills in *regs with registers as returned by BIOS.
 */

still some generalization to do (moving this to a better named location,
cleaning up #if tests from NAPM > 0 to something else to allow easy
sharing by other drivers)

Thanks to Charles Hannum for complaining about the previous BIOS grapple
and inspiring me to hack this one together.
@
text
@d1 1
a1 43
#	$NetBSD: Makefile,v 1.2 1996/08/30 02:32:13 jtk Exp $
#
# LP (Laptop Package)
#
# (C) 1994 by HOSOKAWA, Tatsumi <hosokawa@@mt.cs.keio.ac.jp>
#
# This software may be used, modified, copied, and distributed in
# both source and binary form provided that the above copyright and
# these terms are retained. Under no circumstances is the author 
# responsible for the proper functioning of this software, nor does 
# the author assume any responsibility for damages incurred with its 
# use.
#
# Sep., 1994	Implemented on FreeBSD 1.1.5.1R (Toshiba AVS001WD)
# Oct., 1994	NetBSD port (1.0 BETA 10/2) by ukai
# Dec., 1995	NetBSD 1.1 kernel build retrofit, jtk@@netbsd.org
#

DIR=${APMREL}${APMDIR}

.if exists (${DIR}/arch/${MACHINE_ARCH}/Makefile.inc)
.PATH:	${DIR}/arch/${MACHINE_ARCH}
.include "${DIR}/arch/${MACHINE_ARCH}/Makefile.inc"
.endif

.PATH: ${DIR}

CC = ${APMCC} -I. -I$S/arch -I$S
LD = ${APMLD}
CFLAGS += -DINITIALIZER	-I${DIR} -DKERNEL \
	${APMCFLAGS:S@@-I.@@-I${KERNREL}.@@g}

OBJS = biostramp.o

$(OBJS): ${I386}/include/apmvar.h

#.SUFFIXES: .c .S .o
#
#.c.o:
#	$(CC)  $(CFLAGS) $(OPTFLAGS) $(INC) -c $<
#
.S.o:
	$(CC)  $(CFLAGS) $(INC) -c $<
d3 5
a7 1
DEPS=${APMDEPS}
d10 1
a10 1
	sh ${DIR}/bin2asm.sh biostramp > biostramp.inc
d12 2
a13 2
biostramp: $(OBJS) $(DEPS)
	$(LD) -Bstatic -N -T 0 -o biostramp $(OBJS)
d15 1
a15 1
	@@${APMSTRIP} biostramp
d20 1
a20 1
	@@sh ${DIR}/rmaouthdr biostramp biostramp.tmp
a22 2
#allclean: clean
#	@@rm -f apm_init.inc
d26 2
@


1.2
log
@clean up includes and uses of constants so that we use one include file,
<i386/include/apmvar.h>
remove some files we don't need anymore
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.1 1996/08/25 23:39:14 jtk Exp $
a29 1
STRIP = ${APMSTRIP}
d33 1
a33 1
OBJS = apm_init.o real_prot.o table.o
d45 1
a45 2
apm_init.inc: apm_init Makefile
	sh ${DIR}/bin2asm.sh apm_init > apm_init.inc
d47 13
a59 6
apm_init: $(OBJS)
	$(LD) -Bstatic -N -T 0 -o apm_init $(OBJS)
	cp apm_init apm_init.sym
	@@${STRIP} apm_init
	@@sh ${DIR}/rmaouthdr apm_init apm_init.tmp
	@@mv -f apm_init.tmp apm_init
d64 1
a64 1
	rm -f *.o apm_init apm_init.sym apm_init.inc
@


1.1
log
@add Advanced Power Management driver
Includes bootstrap support from FreeBSD (Tatsumi HOSOKAWA and <ukai>)
@
text
@d1 1
a1 1
#	$NetBSD$
d28 1
a28 1
CC = ${APMCC}
d35 2
@
