head	1.67;
access;
symbols
	netbsd-11-0-RC4:1.66
	netbsd-11-0-RC3:1.66
	netbsd-11-0-RC2:1.66
	netbsd-11-0-RC1:1.66
	perseant-exfatfs-base-20250801:1.66
	netbsd-11:1.66.0.38
	netbsd-11-base:1.66
	netbsd-10-1-RELEASE:1.66
	perseant-exfatfs-base-20240630:1.66
	perseant-exfatfs:1.66.0.36
	perseant-exfatfs-base:1.66
	netbsd-8-3-RELEASE:1.64
	netbsd-9-4-RELEASE:1.66
	netbsd-10-0-RELEASE:1.66
	netbsd-10-0-RC6:1.66
	netbsd-10-0-RC5:1.66
	netbsd-10-0-RC4:1.66
	netbsd-10-0-RC3:1.66
	netbsd-10-0-RC2:1.66
	thorpej-ifq:1.66.0.34
	thorpej-ifq-base:1.66
	thorpej-altq-separation:1.66.0.32
	thorpej-altq-separation-base:1.66
	netbsd-10-0-RC1:1.66
	netbsd-10:1.66.0.30
	netbsd-10-base:1.66
	bouyer-sunxi-drm:1.66.0.28
	bouyer-sunxi-drm-base:1.66
	netbsd-9-3-RELEASE:1.66
	thorpej-i2c-spi-conf2:1.66.0.26
	thorpej-i2c-spi-conf2-base:1.66
	thorpej-futex2:1.66.0.24
	thorpej-futex2-base:1.66
	thorpej-cfargs2:1.66.0.22
	thorpej-cfargs2-base:1.66
	cjep_sun2x-base1:1.66
	cjep_sun2x:1.66.0.20
	cjep_sun2x-base:1.66
	cjep_staticlib_x-base1:1.66
	netbsd-9-2-RELEASE:1.66
	cjep_staticlib_x:1.66.0.18
	cjep_staticlib_x-base:1.66
	thorpej-i2c-spi-conf:1.66.0.16
	thorpej-i2c-spi-conf-base:1.66
	thorpej-cfargs:1.66.0.14
	thorpej-cfargs-base:1.66
	thorpej-futex:1.66.0.12
	thorpej-futex-base:1.66
	netbsd-9-1-RELEASE:1.66
	bouyer-xenpvh-base2:1.66
	phil-wifi-20200421:1.66
	bouyer-xenpvh-base1:1.66
	phil-wifi-20200411:1.66
	bouyer-xenpvh:1.66.0.10
	bouyer-xenpvh-base:1.66
	is-mlppp:1.66.0.8
	is-mlppp-base:1.66
	phil-wifi-20200406:1.66
	netbsd-8-2-RELEASE:1.64
	ad-namecache-base3:1.66
	netbsd-9-0-RELEASE:1.66
	netbsd-9-0-RC2:1.66
	ad-namecache-base2:1.66
	ad-namecache-base1:1.66
	ad-namecache:1.66.0.6
	ad-namecache-base:1.66
	netbsd-9-0-RC1:1.66
	phil-wifi-20191119:1.66
	netbsd-9:1.66.0.4
	netbsd-9-base:1.66
	phil-wifi-20190609:1.66
	netbsd-8-1-RELEASE:1.64
	netbsd-8-1-RC1:1.64
	isaki-audio2:1.66.0.2
	isaki-audio2-base:1.66
	pgoyette-compat-merge-20190127:1.65.2.1
	pgoyette-compat-20190127:1.66
	pgoyette-compat-20190118:1.66
	pgoyette-compat-1226:1.66
	pgoyette-compat-1126:1.66
	pgoyette-compat-1020:1.66
	pgoyette-compat-0930:1.66
	pgoyette-compat-0906:1.65
	netbsd-7-2-RELEASE:1.63
	pgoyette-compat-0728:1.65
	netbsd-8-0-RELEASE:1.64
	phil-wifi:1.65.0.4
	phil-wifi-base:1.65
	pgoyette-compat-0625:1.65
	netbsd-8-0-RC2:1.64
	pgoyette-compat-0521:1.65
	pgoyette-compat-0502:1.65
	pgoyette-compat-0422:1.65
	netbsd-8-0-RC1:1.64
	pgoyette-compat-0415:1.65
	pgoyette-compat-0407:1.65
	pgoyette-compat-0330:1.65
	pgoyette-compat-0322:1.65
	pgoyette-compat-0315:1.65
	netbsd-7-1-2-RELEASE:1.63
	pgoyette-compat:1.65.0.2
	pgoyette-compat-base:1.65
	netbsd-7-1-1-RELEASE:1.63
	tls-maxphys-base-20171202:1.64
	matt-nb8-mediatek:1.64.0.14
	matt-nb8-mediatek-base:1.64
	nick-nhusb-base-20170825:1.64
	perseant-stdc-iso10646:1.64.0.12
	perseant-stdc-iso10646-base:1.64
	netbsd-8:1.64.0.10
	netbsd-8-base:1.64
	prg-localcount2-base3:1.64
	prg-localcount2-base2:1.64
	prg-localcount2-base1:1.64
	prg-localcount2:1.64.0.8
	prg-localcount2-base:1.64
	pgoyette-localcount-20170426:1.64
	bouyer-socketcan-base1:1.64
	jdolecek-ncq:1.64.0.6
	jdolecek-ncq-base:1.64
	pgoyette-localcount-20170320:1.64
	netbsd-7-1:1.63.0.36
	netbsd-7-1-RELEASE:1.63
	netbsd-7-1-RC2:1.63
	nick-nhusb-base-20170204:1.64
	netbsd-7-nhusb-base-20170116:1.63
	bouyer-socketcan:1.64.0.4
	bouyer-socketcan-base:1.64
	pgoyette-localcount-20170107:1.64
	netbsd-7-1-RC1:1.63
	nick-nhusb-base-20161204:1.64
	pgoyette-localcount-20161104:1.64
	netbsd-7-0-2-RELEASE:1.63
	nick-nhusb-base-20161004:1.64
	localcount-20160914:1.64
	netbsd-7-nhusb:1.63.0.34
	netbsd-7-nhusb-base:1.63
	pgoyette-localcount-20160806:1.64
	pgoyette-localcount-20160726:1.64
	pgoyette-localcount:1.64.0.2
	pgoyette-localcount-base:1.64
	nick-nhusb-base-20160907:1.64
	nick-nhusb-base-20160529:1.64
	netbsd-7-0-1-RELEASE:1.63
	nick-nhusb-base-20160422:1.64
	nick-nhusb-base-20160319:1.64
	nick-nhusb-base-20151226:1.64
	netbsd-7-0:1.63.0.32
	netbsd-7-0-RELEASE:1.63
	nick-nhusb-base-20150921:1.64
	netbsd-7-0-RC3:1.63
	netbsd-7-0-RC2:1.63
	netbsd-7-0-RC1:1.63
	nick-nhusb-base-20150606:1.63
	nick-nhusb-base-20150406:1.63
	nick-nhusb:1.63.0.30
	nick-nhusb-base:1.63
	netbsd-5-2-3-RELEASE:1.61
	netbsd-5-1-5-RELEASE:1.61
	netbsd-6-0-6-RELEASE:1.63
	netbsd-6-1-5-RELEASE:1.63
	netbsd-7:1.63.0.28
	netbsd-7-base:1.63
	yamt-pagecache-base9:1.63
	yamt-pagecache-tag8:1.63
	netbsd-6-1-4-RELEASE:1.63
	netbsd-6-0-5-RELEASE:1.63
	tls-earlyentropy:1.63.0.26
	tls-earlyentropy-base:1.63
	riastradh-xf86-video-intel-2-7-1-pre-2-21-15:1.63
	riastradh-drm2-base3:1.63
	netbsd-6-1-3-RELEASE:1.63
	netbsd-6-0-4-RELEASE:1.63
	netbsd-5-2-2-RELEASE:1.61
	netbsd-5-1-4-RELEASE:1.61
	netbsd-6-1-2-RELEASE:1.63
	netbsd-6-0-3-RELEASE:1.63
	netbsd-5-2-1-RELEASE:1.61
	netbsd-5-1-3-RELEASE:1.61
	rmind-smpnet-nbase:1.63
	netbsd-6-1-1-RELEASE:1.63
	riastradh-drm2-base2:1.63
	riastradh-drm2-base1:1.63
	riastradh-drm2:1.63.0.24
	riastradh-drm2-base:1.63
	rmind-smpnet:1.63.0.16
	rmind-smpnet-base:1.63
	netbsd-6-1:1.63.0.22
	netbsd-6-0-2-RELEASE:1.63
	netbsd-6-1-RELEASE:1.63
	khorben-n900:1.63.0.20
	netbsd-6-1-RC4:1.63
	netbsd-6-1-RC3:1.63
	agc-symver:1.63.0.18
	agc-symver-base:1.63
	netbsd-6-1-RC2:1.63
	netbsd-6-1-RC1:1.63
	yamt-pagecache-base8:1.63
	netbsd-5-2:1.61.0.42
	netbsd-6-0-1-RELEASE:1.63
	yamt-pagecache-base7:1.63
	netbsd-5-2-RELEASE:1.61
	netbsd-5-2-RC1:1.61
	matt-nb6-plus-nbase:1.63
	yamt-pagecache-base6:1.63
	netbsd-6-0:1.63.0.14
	netbsd-6-0-RELEASE:1.63
	netbsd-6-0-RC2:1.63
	tls-maxphys:1.63.0.12
	tls-maxphys-base:1.63
	matt-nb6-plus:1.63.0.10
	matt-nb6-plus-base:1.63
	netbsd-6-0-RC1:1.63
	jmcneill-usbmp-base10:1.63
	yamt-pagecache-base5:1.63
	jmcneill-usbmp-base9:1.63
	yamt-pagecache-base4:1.63
	jmcneill-usbmp-base8:1.63
	jmcneill-usbmp-base7:1.63
	jmcneill-usbmp-base6:1.63
	jmcneill-usbmp-base5:1.63
	jmcneill-usbmp-base4:1.63
	jmcneill-usbmp-base3:1.63
	jmcneill-usbmp-pre-base2:1.63
	jmcneill-usbmp-base2:1.63
	netbsd-6:1.63.0.8
	netbsd-6-base:1.63
	netbsd-5-1-2-RELEASE:1.61
	netbsd-5-1-1-RELEASE:1.61
	jmcneill-usbmp:1.63.0.6
	jmcneill-usbmp-base:1.63
	jmcneill-audiomp3:1.63.0.4
	jmcneill-audiomp3-base:1.63
	yamt-pagecache-base3:1.63
	yamt-pagecache-base2:1.63
	yamt-pagecache:1.63.0.2
	yamt-pagecache-base:1.63
	rmind-uvmplock-nbase:1.62
	cherry-xenmp:1.62.0.2
	cherry-xenmp-base:1.62
	uebayasi-xip-base7:1.62
	bouyer-quota2-nbase:1.62
	bouyer-quota2:1.61.0.40
	bouyer-quota2-base:1.62
	jruoho-x86intr:1.61.0.38
	jruoho-x86intr-base:1.61
	matt-mips64-premerge-20101231:1.61
	matt-nb5-mips64-premerge-20101231:1.61
	matt-nb5-pq3:1.61.0.36
	matt-nb5-pq3-base:1.61
	netbsd-5-1:1.61.0.34
	uebayasi-xip-base6:1.61
	uebayasi-xip-base5:1.61
	netbsd-5-1-RELEASE:1.61
	uebayasi-xip-base4:1.61
	uebayasi-xip-base3:1.61
	yamt-nfs-mp-base11:1.61
	netbsd-5-1-RC4:1.61
	matt-nb5-mips64-k15:1.61
	uebayasi-xip-base2:1.61
	yamt-nfs-mp-base10:1.61
	netbsd-5-1-RC3:1.61
	netbsd-5-1-RC2:1.61
	uebayasi-xip-base1:1.61
	netbsd-5-1-RC1:1.61
	rmind-uvmplock:1.61.0.32
	rmind-uvmplock-base:1.62
	yamt-nfs-mp-base9:1.61
	uebayasi-xip:1.61.0.30
	uebayasi-xip-base:1.61
	netbsd-5-0-2-RELEASE:1.61
	matt-nb5-mips64-premerge-20091211:1.61
	matt-premerge-20091211:1.61
	yamt-nfs-mp-base8:1.61
	matt-nb5-mips64-u2-k2-k4-k7-k8-k9:1.61
	matt-nb4-mips64-k7-u2a-k9b:1.61
	matt-nb5-mips64-u1-k1-k5:1.61
	yamt-nfs-mp-base7:1.61
	matt-nb5-mips64:1.61.0.28
	netbsd-5-0-1-RELEASE:1.61
	jymxensuspend-base:1.61
	yamt-nfs-mp-base6:1.61
	yamt-nfs-mp-base5:1.61
	yamt-nfs-mp-base4:1.61
	jym-xensuspend-nbase:1.62
	yamt-nfs-mp-base3:1.61
	nick-hppapmap-base4:1.61
	nick-hppapmap-base3:1.61
	netbsd-5-0:1.61.0.26
	netbsd-5-0-RELEASE:1.61
	netbsd-5-0-RC4:1.61
	netbsd-5-0-RC3:1.61
	nick-hppapmap-base2:1.61
	netbsd-5-0-RC2:1.61
	jym-xensuspend:1.61.0.24
	jym-xensuspend-base:1.62
	netbsd-5-0-RC1:1.61
	haad-dm-base2:1.61
	haad-nbase2:1.61
	ad-audiomp2:1.61.0.22
	ad-audiomp2-base:1.61
	netbsd-5:1.61.0.20
	netbsd-5-base:1.61
	nick-hppapmap:1.61.0.18
	nick-hppapmap-base:1.61
	matt-mips64-base2:1.61
	haad-dm-base1:1.61
	wrstuden-revivesa-base-4:1.61
	netbsd-4-0-1-RELEASE:1.60
	wrstuden-revivesa-base-3:1.61
	wrstuden-revivesa-base-2:1.61
	wrstuden-fixsa-newbase:1.60
	nick-csl-alignment-base5:1.60
	haad-dm:1.61.0.16
	haad-dm-base:1.61
	wrstuden-revivesa-base-1:1.61
	simonb-wapbl-nbase:1.61
	yamt-pf42-base4:1.61
	simonb-wapbl:1.61.0.14
	simonb-wapbl-base:1.61
	yamt-pf42-base3:1.61
	hpcarm-cleanup-nbase:1.61
	yamt-pf42-baseX:1.61
	yamt-pf42-base2:1.61
	yamt-nfs-mp-base2:1.61
	wrstuden-revivesa:1.61.0.12
	wrstuden-revivesa-base:1.61
	yamt-nfs-mp:1.61.0.10
	yamt-nfs-mp-base:1.61
	yamt-pf42:1.61.0.8
	yamt-pf42-base:1.61
	ad-socklock-base1:1.61
	yamt-lazymbuf-base15:1.61
	yamt-lazymbuf-base14:1.61
	keiichi-mipv6-nbase:1.61
	mjf-devfs2:1.61.0.6
	mjf-devfs2-base:1.61
	nick-net80211-sync:1.61.0.4
	nick-net80211-sync-base:1.61
	keiichi-mipv6:1.61.0.2
	keiichi-mipv6-base:1.61
	bouyer-xeni386-merge1:1.60
	matt-armv6-prevmlocking:1.60
	wrstuden-fixsa-base-1:1.60
	vmlocking2-base3:1.60
	netbsd-4-0:1.60.0.68
	netbsd-4-0-RELEASE:1.60
	bouyer-xeni386-nbase:1.60
	yamt-kmem-base3:1.60
	cube-autoconf:1.60.0.66
	cube-autoconf-base:1.60
	yamt-kmem-base2:1.60
	bouyer-xeni386:1.60.0.64
	bouyer-xeni386-base:1.60
	yamt-kmem:1.60.0.62
	yamt-kmem-base:1.60
	vmlocking2-base2:1.60
	reinoud-bufcleanup-nbase:1.60
	vmlocking2:1.60.0.60
	vmlocking2-base1:1.60
	netbsd-4-0-RC5:1.60
	matt-nb4-arm:1.60.0.58
	matt-nb4-arm-base:1.60
	matt-armv6-nbase:1.61
	jmcneill-base:1.60
	netbsd-4-0-RC4:1.60
	mjf-devfs:1.60.0.56
	mjf-devfs-base:1.61
	bouyer-xenamd64-base2:1.60
	vmlocking-nbase:1.60
	yamt-x86pmap-base4:1.60
	bouyer-xenamd64:1.60.0.54
	bouyer-xenamd64-base:1.60
	netbsd-4-0-RC3:1.60
	yamt-x86pmap-base3:1.60
	yamt-x86pmap-base2:1.60
	netbsd-4-0-RC2:1.60
	yamt-x86pmap:1.60.0.52
	yamt-x86pmap-base:1.60
	netbsd-4-0-RC1:1.60
	matt-armv6:1.60.0.50
	matt-armv6-base:1.60
	jmcneill-pm:1.60.0.48
	jmcneill-pm-base:1.60
	hpcarm-cleanup:1.60.0.46
	hpcarm-cleanup-base:1.61
	nick-csl-alignment:1.60.0.44
	nick-csl-alignment-base:1.60
	matt-mips64:1.60.0.42
	matt-mips64-base:1.60
	netbsd-3-1-1-RELEASE:1.58
	netbsd-3-0-3-RELEASE:1.58
	yamt-idlelwp-base8:1.60
	wrstuden-fixsa:1.60.0.40
	wrstuden-fixsa-base:1.60
	ppcoea-renovation:1.60.0.38
	ppcoea-renovation-base:1.60
	thorpej-atomic:1.60.0.36
	thorpej-atomic-base:1.60
	reinoud-bufcleanup:1.60.0.34
	reinoud-bufcleanup-base:1.60
	mjf-ufs-trans:1.60.0.32
	mjf-ufs-trans-base:1.60
	vmlocking:1.60.0.30
	vmlocking-base:1.60
	ad-audiomp:1.60.0.28
	ad-audiomp-base:1.60
	yamt-idlelwp:1.60.0.26
	post-newlock2-merge:1.60
	newlock2-nbase:1.60
	yamt-splraiseipl-base5:1.60
	yamt-splraiseipl-base4:1.60
	yamt-splraiseipl-base3:1.60
	abandoned-netbsd-4-base:1.60
	abandoned-netbsd-4:1.60.0.18
	netbsd-3-1:1.58.0.14
	netbsd-3-1-RELEASE:1.58
	netbsd-3-0-2-RELEASE:1.58
	yamt-splraiseipl-base2:1.60
	netbsd-3-1-RC4:1.58
	yamt-splraiseipl:1.60.0.22
	yamt-splraiseipl-base:1.60
	netbsd-3-1-RC3:1.58
	yamt-pdpolicy-base9:1.60
	newlock2:1.60.0.20
	newlock2-base:1.60
	yamt-pdpolicy-base8:1.60
	netbsd-3-1-RC2:1.58
	netbsd-3-1-RC1:1.58
	yamt-pdpolicy-base7:1.60
	netbsd-4:1.60.0.24
	netbsd-4-base:1.60
	yamt-pdpolicy-base6:1.60
	chap-midi-nbase:1.60
	netbsd-3-0-1-RELEASE:1.58
	gdamore-uart:1.60.0.16
	gdamore-uart-base:1.60
	simonb-timcounters-final:1.60
	yamt-pdpolicy-base5:1.60
	chap-midi:1.60.0.14
	chap-midi-base:1.60
	yamt-pdpolicy-base4:1.60
	yamt-pdpolicy-base3:1.60
	peter-altq-base:1.60
	peter-altq:1.60.0.12
	yamt-pdpolicy-base2:1.60
	elad-kernelauth-base:1.60
	elad-kernelauth:1.60.0.10
	yamt-pdpolicy:1.60.0.8
	yamt-pdpolicy-base:1.60
	yamt-uio_vmspace-base5:1.60
	simonb-timecounters:1.60.0.6
	simonb-timecounters-base:1.60
	rpaulo-netinet-merge-pcb:1.60.0.4
	rpaulo-netinet-merge-pcb-base:1.60
	yamt-uio_vmspace:1.60.0.2
	netbsd-3-0:1.58.0.12
	netbsd-3-0-RELEASE:1.58
	netbsd-3-0-RC6:1.58
	yamt-readahead-base3:1.59
	netbsd-3-0-RC5:1.58
	netbsd-3-0-RC4:1.58
	netbsd-3-0-RC3:1.58
	yamt-readahead-base2:1.59
	netbsd-3-0-RC2:1.58
	yamt-readahead-pervnode:1.59
	yamt-readahead-perfile:1.59
	yamt-readahead:1.59.0.8
	yamt-readahead-base:1.59
	netbsd-3-0-RC1:1.58
	yamt-vop-base3:1.59
	netbsd-2-0-3-RELEASE:1.57
	netbsd-2-1:1.57.10.1.0.2
	yamt-vop-base2:1.59
	thorpej-vnode-attr:1.59.0.6
	thorpej-vnode-attr-base:1.59
	netbsd-2-1-RELEASE:1.57.10.1
	yamt-vop:1.59.0.4
	yamt-vop-base:1.59
	netbsd-2-1-RC6:1.57.10.1
	netbsd-2-1-RC5:1.57.10.1
	netbsd-2-1-RC4:1.57.10.1
	netbsd-2-1-RC3:1.57.10.1
	netbsd-2-1-RC2:1.57.10.1
	netbsd-2-1-RC1:1.57.10.1
	yamt-lazymbuf:1.59.0.2
	yamt-km-base4:1.58
	netbsd-2-0-2-RELEASE:1.57
	yamt-km-base3:1.58
	netbsd-3:1.58.0.10
	netbsd-3-base:1.58
	yamt-km-base2:1.58
	yamt-km:1.58.0.6
	yamt-km-base:1.58
	kent-audio2:1.58.0.4
	kent-audio2-base:1.58
	netbsd-2-0-1-RELEASE:1.57
	kent-audio1-beforemerge:1.58
	netbsd-2:1.57.0.10
	netbsd-2-base:1.57
	kent-audio1:1.58.0.2
	kent-audio1-base:1.58
	netbsd-2-0-RELEASE:1.57
	netbsd-2-0-RC5:1.57
	netbsd-2-0-RC4:1.57
	netbsd-2-0-RC3:1.57
	netbsd-2-0-RC2:1.57
	netbsd-2-0-RC1:1.57
	netbsd-2-0:1.57.0.8
	netbsd-2-0-base:1.57
	netbsd-1-6-PATCH002-RELEASE:1.55
	netbsd-1-6-PATCH002:1.55
	netbsd-1-6-PATCH002-RC4:1.55
	netbsd-1-6-PATCH002-RC3:1.55
	netbsd-1-6-PATCH002-RC2:1.55
	netbsd-1-6-PATCH002-RC1:1.55
	ktrace-lwp:1.57.0.6
	ktrace-lwp-base:1.59
	netbsd-1-6-PATCH001:1.55
	netbsd-1-6-PATCH001-RELEASE:1.55
	netbsd-1-6-PATCH001-RC3:1.55
	netbsd-1-6-PATCH001-RC2:1.55
	netbsd-1-6-PATCH001-RC1:1.55
	nathanw_sa_end:1.53.2.5
	nathanw_sa_before_merge:1.57
	fvdl_fs64_base:1.57
	gmcgarry_ctxsw:1.57.0.4
	gmcgarry_ctxsw_base:1.57
	gmcgarry_ucred:1.57.0.2
	gmcgarry_ucred_base:1.57
	nathanw_sa_base:1.57
	kqueue-aftermerge:1.56
	kqueue-beforemerge:1.56
	netbsd-1-6-RELEASE:1.55
	netbsd-1-6-RC3:1.55
	netbsd-1-6-RC2:1.55
	netbsd-1-6-RC1:1.55
	netbsd-1-6:1.55.0.10
	netbsd-1-6-base:1.55
	gehenna-devsw:1.55.0.8
	gehenna-devsw-base:1.56
	netbsd-1-5-PATCH003:1.45.4.1
	eeh-devprop:1.55.0.6
	eeh-devprop-base:1.55
	newlock:1.55.0.4
	newlock-base:1.55
	ifpoll-base:1.55
	nathanw_sa:1.53.0.2
	thorpej-mips-cache:1.52.0.2
	thorpej-mips-cache-base:1.53
	thorpej-devvp-base3:1.51
	thorpej-devvp-base2:1.51
	post-chs-ubcperf:1.50
	pre-chs-ubcperf:1.50
	thorpej-devvp:1.50.0.4
	thorpej-devvp-base:1.50
	netbsd-1-5-PATCH002:1.45.4.1
	kqueue:1.50.0.2
	kqueue-base:1.56
	netbsd-1-5-PATCH001:1.45.4.1
	thorpej_scsipi_beforemerge:1.49
	thorpej_scsipi_nbase:1.49
	netbsd-1-5-RELEASE:1.45
	netbsd-1-5-BETA2:1.45
	netbsd-1-5-BETA:1.45
	netbsd-1-4-PATCH003:1.35
	netbsd-1-5-ALPHA2:1.45
	netbsd-1-5:1.45.0.4
	netbsd-1-5-base:1.45
	minoura-xpg4dl-base:1.45
	minoura-xpg4dl:1.45.0.2
	netbsd-1-4-PATCH002:1.35
	chs-ubc2-newbase:1.42
	wrstuden-devbsize-19991221:1.38
	wrstuden-devbsize:1.38.0.8
	wrstuden-devbsize-base:1.38
	kame_141_19991130:1.35
	comdex-fall-1999:1.38.0.6
	comdex-fall-1999-base:1.38
	fvdl-softdep:1.38.0.4
	fvdl-softdep-base:1.38
	thorpej_scsipi:1.38.0.2
	thorpej_scsipi_base:1.49
	netbsd-1-4-PATCH001:1.35
	kame_14_19990705:1.35
	kame_14_19990628:1.35
	kame:1.35.0.6
	chs-ubc2:1.35.0.4
	chs-ubc2-base:1.37
	netbsd-1-4-RELEASE:1.35
	netbsd-1-4:1.35.0.2
	netbsd-1-4-base:1.35
	minoura_x68k_bus_h-base3:1.32
	minoura_x68k_bus_h-base2:1.32
	minoura_x68k_bus_h:1.29.0.6
	minoura_x68k_bus_h-base:1.29
	netbsd-1-3-PATCH003:1.21.2.1
	netbsd-1-3-PATCH003-CANDIDATE2:1.21.2.1
	kenh-if-detach:1.29.0.4
	kenh-if-detach-base:1.29
	netbsd-1-3-PATCH003-CANDIDATE1:1.21.2.1
	netbsd-1-3-PATCH003-CANDIDATE0:1.21.2.1
	chs-ubc:1.29.0.2
	chs-ubc-base:1.29
	eeh-paddr_t:1.27.0.2
	eeh-paddr_t-base:1.27
	netbsd-1-3-PATCH002:1.21.2.1
	netbsd-1-3-PATCH001:1.21.2.1
	netbsd-1-3-RELEASE:1.21.2.1
	netbsd-1-3-BETA:1.21.2.1
	netbsd-1-3:1.21.0.2
	netbsd-1-3-base:1.21
	thorpej-signal:1.15.0.4
	thorpej-signal-base:1.15
	marc-pcmcia:1.15.0.2
	marc-pcmcia-bp:1.15
	marc-pcmcia-base:1.21
	bouyer-scsipi:1.14.0.2
	is-newarp-before-merge:1.13
	is-newarp:1.13.0.4
	is-newarp-base:1.13
	netbsd-1-2-PATCH001:1.3
	mrg-vm-swap:1.13.0.2
	thorpej-setroot:1.10.0.2
	netbsd-1-2-RELEASE:1.3
	netbsd-1-2-BETA:1.3
	netbsd-1-2:1.3.0.4
	netbsd-1-2-base:1.3
	X68k_960505:1.1.1.1
	Masaru:1.1.1;
locks; strict;
comment	@# @;


1.67
date	2026.04.20.09.47.47;	author thorpej;	state Exp;
branches;
next	1.66;
commitid	gHqDysuna5nrhGCG;

1.66
date	2018.09.22.12.24.04;	author rin;	state Exp;
branches;
next	1.65;
commitid	oPiNEJ7VnAF626TA;

1.65
date	2018.02.25.00.27.16;	author mrg;	state Exp;
branches
	1.65.2.1
	1.65.4.1;
next	1.64;
commitid	rhNeBRRdy64OPasA;

1.64
date	2015.09.06.02.17.31;	author uebayasi;	state Exp;
branches;
next	1.63;

1.63
date	2011.10.04.04.05.17;	author chs;	state Exp;
branches
	1.63.12.1
	1.63.30.1;
next	1.62;

1.62
date	2011.01.21.15.59.10;	author joerg;	state Exp;
branches;
next	1.61;

1.61
date	2008.02.12.18.26.48;	author joerg;	state Exp;
branches
	1.61.32.1
	1.61.38.1
	1.61.40.1;
next	1.60;

1.60
date	2005.12.11.12.19.37;	author christos;	state Exp;
branches
	1.60.50.1
	1.60.56.1;
next	1.59;

1.59
date	2005.05.31.04.03.11;	author christos;	state Exp;
branches
	1.59.2.1;
next	1.58;

1.58
date	2004.06.04.04.45.51;	author thorpej;	state Exp;
branches;
next	1.57;

1.57
date	2002.11.26.18.51.18;	author thorpej;	state Exp;
branches
	1.57.6.1
	1.57.10.1;
next	1.56;

1.56
date	2002.06.04.21.39.13;	author thorpej;	state Exp;
branches;
next	1.55;

1.55
date	2001.12.04.15.22.29;	author minoura;	state Exp;
branches
	1.55.8.1;
next	1.54;

1.54
date	2001.11.20.12.56.42;	author lukem;	state Exp;
branches;
next	1.53;

1.53
date	2001.10.26.06.45.41;	author jmc;	state Exp;
branches
	1.53.2.1;
next	1.52;

1.52
date	2001.10.23.19.26.47;	author thorpej;	state Exp;
branches
	1.52.2.1;
next	1.51;

1.51
date	2001.09.29.01.24.30;	author minoura;	state Exp;
branches;
next	1.50;

1.50
date	2001.05.29.02.20.27;	author mrg;	state Exp;
branches
	1.50.2.1
	1.50.4.1;
next	1.49;

1.49
date	2000.12.29.15.18.37;	author minoura;	state Exp;
branches
	1.49.2.1;
next	1.48;

1.48
date	2000.12.17.15.52.44;	author jdolecek;	state Exp;
branches;
next	1.47;

1.47
date	2000.12.15.07.16.36;	author itohy;	state Exp;
branches;
next	1.46;

1.46
date	2000.11.13.14.47.14;	author minoura;	state Exp;
branches;
next	1.45;

1.45
date	2000.05.09.00.56.28;	author hubertf;	state Exp;
branches
	1.45.4.1;
next	1.44;

1.44
date	2000.05.09.00.32.27;	author thorpej;	state Exp;
branches;
next	1.43;

1.43
date	2000.04.23.05.49.14;	author minoura;	state Exp;
branches;
next	1.42;

1.42
date	2000.02.01.05.25.49;	author tsutsui;	state Exp;
branches;
next	1.41;

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

1.40
date	2000.01.19.16.30.02;	author tsutsui;	state Exp;
branches;
next	1.39;

1.39
date	2000.01.19.14.45.14;	author tsutsui;	state Exp;
branches;
next	1.38;

1.38
date	99.09.24.15.31.52;	author minoura;	state Exp;
branches
	1.38.2.1;
next	1.37;

1.37
date	99.07.26.05.20.49;	author cgd;	state Exp;
branches;
next	1.36;

1.36
date	99.07.09.09.53.01;	author mrg;	state Exp;
branches;
next	1.35;

1.35
date	99.04.01.14.11.21;	author minoura;	state Exp;
branches
	1.35.4.1;
next	1.34;

1.34
date	99.03.30.04.26.01;	author minoura;	state Exp;
branches;
next	1.33;

1.33
date	99.03.16.16.30.16;	author minoura;	state Exp;
branches;
next	1.32;

1.32
date	99.01.15.23.37.07;	author thorpej;	state Exp;
branches;
next	1.31;

1.31
date	99.01.15.23.21.27;	author thorpej;	state Exp;
branches;
next	1.30;

1.30
date	99.01.08.19.26.15;	author augustss;	state Exp;
branches;
next	1.29;

1.29
date	98.10.15.18.37.17;	author drochner;	state Exp;
branches
	1.29.6.1;
next	1.28;

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

1.27
date	98.05.31.23.25.44;	author thorpej;	state Exp;
branches;
next	1.26;

1.26
date	98.05.24.19.32.52;	author is;	state Exp;
branches;
next	1.25;

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

1.24
date	98.04.12.23.47.45;	author tv;	state Exp;
branches;
next	1.23;

1.23
date	97.11.12.23.12.40;	author thorpej;	state Exp;
branches;
next	1.22;

1.22
date	97.11.12.22.26.48;	author thorpej;	state Exp;
branches;
next	1.21;

1.21
date	97.10.09.20.40.31;	author is;	state Exp;
branches
	1.21.2.1;
next	1.20;

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

1.19
date	97.10.03.07.17.50;	author lukem;	state Exp;
branches;
next	1.18;

1.18
date	97.09.30.23.10.58;	author christos;	state Exp;
branches;
next	1.17;

1.17
date	97.09.12.09.29.14;	author mycroft;	state Exp;
branches;
next	1.16;

1.16
date	97.09.12.07.59.28;	author mycroft;	state Exp;
branches;
next	1.15;

1.15
date	97.07.14.14.42.52;	author oki;	state Exp;
branches
	1.15.2.1;
next	1.14;

1.14
date	97.03.14.23.27.36;	author mycroft;	state Exp;
branches;
next	1.13;

1.13
date	97.02.04.04.32.25;	author perry;	state Exp;
branches;
next	1.12;

1.12
date	97.02.03.22.18.38;	author oki;	state Exp;
branches;
next	1.11;

1.11
date	97.01.30.16.03.55;	author oki;	state Exp;
branches;
next	1.10;

1.10
date	97.01.13.14.04.44;	author oki;	state Exp;
branches;
next	1.9;

1.9
date	96.12.01.06.12.40;	author jonathan;	state Exp;
branches;
next	1.8;

1.8
date	96.09.09.21.07.10;	author mycroft;	state Exp;
branches;
next	1.7;

1.7
date	96.08.31.21.42.01;	author mycroft;	state Exp;
branches;
next	1.6;

1.6
date	96.08.12.00.52.20;	author mycroft;	state Exp;
branches;
next	1.5;

1.5
date	96.08.10.06.10.27;	author mycroft;	state Exp;
branches;
next	1.4;

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

1.3
date	96.05.19.12.29.20;	author oki;	state Exp;
branches;
next	1.2;

1.2
date	96.05.11.16.13.24;	author mycroft;	state Exp;
branches;
next	1.1;

1.1
date	96.05.05.12.17.04;	author oki;	state Exp;
branches
	1.1.1.1;
next	;

1.65.2.1
date	2018.09.30.01.45.48;	author pgoyette;	state Exp;
branches;
next	;
commitid	SQ44grEPCeKPh4UA;

1.65.4.1
date	2019.06.10.22.06.52;	author christos;	state Exp;
branches;
next	;
commitid	jtc8rnCzWiEEHGqB;

1.63.12.1
date	2017.12.03.11.36.48;	author jdolecek;	state Exp;
branches;
next	;
commitid	XcIYRZTAh1LmerhA;

1.63.30.1
date	2015.09.22.12.05.53;	author skrll;	state Exp;
branches;
next	;

1.61.32.1
date	2011.03.05.20.52.22;	author rmind;	state Exp;
branches;
next	;

1.61.38.1
date	2011.06.06.09.07.00;	author jruoho;	state Exp;
branches;
next	;

1.61.40.1
date	2011.02.08.16.19.43;	author bouyer;	state Exp;
branches;
next	;

1.60.50.1
date	2008.03.23.02.04.27;	author matt;	state Exp;
branches;
next	;

1.60.56.1
date	2008.02.18.21.05.16;	author mjf;	state Exp;
branches;
next	;

1.59.2.1
date	2008.02.27.08.36.29;	author yamt;	state Exp;
branches;
next	;

1.57.6.1
date	2004.08.03.10.42.46;	author skrll;	state Exp;
branches;
next	1.57.6.2;

1.57.6.2
date	2004.09.18.14.42.23;	author skrll;	state Exp;
branches;
next	1.57.6.3;

1.57.6.3
date	2004.09.21.13.24.07;	author skrll;	state Exp;
branches;
next	1.57.6.4;

1.57.6.4
date	2005.11.10.14.00.15;	author skrll;	state Exp;
branches;
next	;

1.57.10.1
date	2005.02.06.07.45.26;	author jmc;	state Exp;
branches;
next	;

1.55.8.1
date	2002.07.15.01.41.06;	author gehenna;	state Exp;
branches;
next	;

1.53.2.1
date	2001.10.26.06.45.41;	author nathanw;	state dead;
branches;
next	1.53.2.2;

1.53.2.2
date	2002.01.08.00.28.36;	author nathanw;	state Exp;
branches;
next	1.53.2.3;

1.53.2.3
date	2002.04.17.00.04.46;	author nathanw;	state Exp;
branches;
next	1.53.2.4;

1.53.2.4
date	2002.06.20.03.42.30;	author nathanw;	state Exp;
branches;
next	1.53.2.5;

1.53.2.5
date	2002.12.11.06.12.46;	author thorpej;	state Exp;
branches;
next	;

1.52.2.1
date	2001.11.12.21.17.43;	author thorpej;	state Exp;
branches;
next	;

1.50.2.1
date	2002.01.10.19.50.16;	author thorpej;	state Exp;
branches;
next	1.50.2.2;

1.50.2.2
date	2002.06.23.17.43.15;	author jdolecek;	state Exp;
branches;
next	;

1.50.4.1
date	2001.10.01.12.43.05;	author fvdl;	state Exp;
branches;
next	;

1.49.2.1
date	2001.06.21.19.58.13;	author nathanw;	state Exp;
branches;
next	;

1.45.4.1
date	2001.01.25.20.10.39;	author jhawk;	state Exp;
branches;
next	;

1.38.2.1
date	2000.11.20.20.29.55;	author bouyer;	state Exp;
branches;
next	1.38.2.2;

1.38.2.2
date	2000.11.22.16.02.18;	author bouyer;	state Exp;
branches;
next	1.38.2.3;

1.38.2.3
date	2001.01.05.17.35.18;	author bouyer;	state Exp;
branches;
next	;

1.35.4.1
date	99.08.02.21.49.41;	author thorpej;	state Exp;
branches;
next	;

1.29.6.1
date	99.01.31.05.40.36;	author minoura;	state Exp;
branches;
next	;

1.21.2.1
date	97.11.12.23.45.58;	author thorpej;	state Exp;
branches;
next	;

1.15.2.1
date	97.09.16.03.49.38;	author thorpej;	state Exp;
branches;
next	1.15.2.2;

1.15.2.2
date	97.10.14.10.20.01;	author thorpej;	state Exp;
branches;
next	;

1.1.1.1
date	96.05.05.12.17.03;	author oki;	state Exp;
branches;
next	;


desc
@@


1.67
log
@Re-factor genassym.cf into common m68k definitions and platform-specific
ones.
@
text
@#	$NetBSD: Makefile.x68k,v 1.66 2018/09/22 12:24:04 rin Exp $
#
# Makefile for NetBSD
#
# This makefile is constructed from a machine description:
#	config machineid
# Most changes should be made in the machine description
#	/sys/arch/x68k/conf/``machineid''
# after which you should do
#	config machineid
# Machine generic makefile changes should be made in
#	/sys/arch/x68k/conf/Makefile.x68k
# after which config should be rerun for all machines of that type.
#
# To specify debugging, add the config line: makeoptions DEBUG="-g"
# A better way is to specify -g only for a few files.
#
#	makeoptions DEBUGLIST="uvm* trap if_*"

MACHINE_ARCH=m68k
USETOOLS?=	no
NEED_OWN_INSTALL_TARGET?=no
.include <bsd.own.mk>

##
## (1) port identification
##
X68K=		$S/arch/x68k
GENASSYM_CONF=	$S/arch/m68k/m68k/genassym.cf
GENASSYM_EXTRAS+= ${X68K}/x68k/genassym.cf

##
## (2) compile settings
##
CPPFLAGS+=	-Dx68k
AFLAGS+=	-x assembler-with-cpp
CMACHFLAGS?=	-m68020-60 -Wa,-m68030 -Wa,-m68851
CFLAGS+=	${CMACHFLAGS} -msoft-float

##
## (3) libkern and compat
##
OPT_MODULAR=	%MODULAR%

##
## (4) local objects, compile rules, and dependencies
##
# for the Motorola 68040 Floating Point Software Product
.include "$S/arch/m68k/fpsp/Makefile.inc"

# for the Motorola 68060 Software Support Package
.include "$S/arch/m68k/060sp/Makefile.inc"

MD_OBJS=	locore.o
MD_LIBS=	${FPSP}
MD_CFILES=
MD_SFILES=	${X68K}/x68k/locore.s

locore.o: ${X68K}/x68k/locore.s assym.h Makefile
	${NORMAL_S}

copy.o copypage.o lock_stubs.o: assym.h

##
## (5) link settings
##
TEXTADDR?=	0
LINKFORMAT=	-n

.include "$S/arch/m68k/conf/Makefile.kern.m68k.inc"

##
## (6) port specific target dependencies
##

# depend on root or device configuration
autoconf.o conf.o: Makefile

# depend on maxusers
machdep.o: Makefile

# depend on DEBUG and/or DIAGNOSTIC options
grf.o par.o sram.o: Makefile
intio_dmac.o mfp.o neptune.o opm.o scsirom.o xel.o zs.o bus.o: Makefile
intio.o vm_machdep.o: Makefile

##
## (7) misc settings
##

# XXX work around gcc 4.5 issue
COPTS.machdep.c += -O1

##
## (8) config(8) generated machinery
##
%INCLUDES

%OBJS

%CFILES

%SFILES

%LOAD

%RULES

##
## (9) port independent kernel machinery
##
.include "$S/conf/Makefile.kern.inc"

##
## (10) Appending make options.
##
%MAKEOPTIONSAPPEND
@


1.66
log
@- Determine KERN_AS automatically depending on whether OPT_MODULAR is
  set or not, in the same way as libcompat.

- Specify OPT_MODULAR in the port Makefile instead of KERN_AS.

Now, KERN_AS=library is used for kernels without module(7) for all ports.

OK christos
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.x68k,v 1.65 2018/02/25 00:27:16 mrg Exp $
d29 2
a30 1
GENASSYM_CONF=	${X68K}/x68k/genassym.cf
@


1.65
log
@add a special rule to build m68k/fpu.c to avoid passing -msoft-float.
fixes GCC 6 kernel builds that use this file.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.x68k,v 1.64 2015/09/06 02:17:31 uebayasi Exp $
d42 1
a42 1
KERN_AS=	obj
@


1.65.4.1
log
@Sync with HEAD
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.x68k,v 1.66 2018/09/22 12:24:04 rin Exp $
d42 1
a42 1
OPT_MODULAR=	%MODULAR%
@


1.65.2.1
log
@Ssync with HEAD
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.x68k,v 1.66 2018/09/22 12:24:04 rin Exp $
d42 1
a42 1
OPT_MODULAR=	%MODULAR%
@


1.64
log
@Declare dependency on fpsp.o via newly introduced ${MD_LIBS} instead of
${MD_OBJS}.

${MD_OBJS} should be used only for objects that must be linked first (i.e.,
start code).  Objects have to be compiled following common compile rules,
and have to be generated into common places (i.e., top of kernel build
directory).

${MD_LIBS} defines libraries that are built by separate makefiles, under
separate directories.  `Makefile.kern.inc' doesn't know intermediate library
objects.
@
text
@d1 1
a1 1
#	$NetBSD$
d69 2
@


1.63
log
@build machdep.c with -O1 to work around a gcc 4.5 issue.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.x68k,v 1.62 2011/01/21 15:59:10 joerg Exp $
d53 2
a54 1
MD_OBJS=	locore.o ${FPSP}
@


1.63.12.1
log
@update from HEAD
@
text
@d1 1
a1 1
#	$NetBSD$
d53 1
a53 2
MD_OBJS=	locore.o
MD_LIBS=	${FPSP}
@


1.63.30.1
log
@Sync with HEAD
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.x68k,v 1.64 2015/09/06 02:17:31 uebayasi Exp $
d53 1
a53 2
MD_OBJS=	locore.o
MD_LIBS=	${FPSP}
@


1.62
log
@Switch remaining platforms to modern CPP for assembler.
@
text
@d1 1
a1 1
#	$NetBSD: src/sys/arch/x68k/conf/Makefile.x68k,v 1.61 2008-02-12 18:26:48 joerg Exp $
d87 2
a88 1

@


1.61
log
@Add a bunch of missing assym.h dependencies.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.x68k,v 1.60 2005/12/11 12:19:37 christos Exp $
d35 1
a35 1
AFLAGS+=	-x assembler-with-cpp -traditional-cpp
@


1.61.38.1
log
@Sync with HEAD.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.x68k,v 1.62 2011/01/21 15:59:10 joerg Exp $
d35 1
a35 1
AFLAGS+=	-x assembler-with-cpp
@


1.61.32.1
log
@sync with head
@
text
@d1 1
a1 1
#	$NetBSD$
d35 1
a35 1
AFLAGS+=	-x assembler-with-cpp
@


1.61.40.1
log
@Sync with HEAD
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.x68k,v 1.62 2011/01/21 15:59:10 joerg Exp $
d35 1
a35 1
AFLAGS+=	-x assembler-with-cpp
@


1.60
log
@merge ktrace-lwp.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.x68k,v 1.57.6.4 2005/11/10 14:00:15 skrll Exp $
d60 2
@


1.60.50.1
log
@sync with HEAD
@
text
@d1 1
a1 1
#	Makefile.x68k,v 1.60 2005/12/11 12:19:37 christos Exp
a59 2
copy.o copypage.o lock_stubs.o: assym.h

@


1.60.56.1
log
@Sync with HEAD.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.x68k,v 1.61 2008/02/12 18:26:48 joerg Exp $
a59 2
copy.o copypage.o lock_stubs.o: assym.h

@


1.59
log
@s/GENASSYM/GENASSYM_CONF/ so we can use "GENASSYM" as the program name.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.x68k,v 1.58 2004/06/04 04:45:51 thorpej Exp $
@


1.59.2.1
log
@sync with head.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.x68k,v 1.59 2005/05/31 04:03:11 christos Exp $
a59 2
copy.o copypage.o lock_stubs.o: assym.h

@


1.58
log
@Add the %MAKEOPTIONSAPPEND token at the end of the file, after the
common Makefile.kern.inc has been included.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.x68k,v 1.57 2002/11/26 18:51:18 thorpej Exp $
d29 1
a29 1
GENASSYM=	${X68K}/x68k/genassym.cf
@


1.57
log
@The traditional C preprocessor is fixed in GCC 3.3 now, so no need
to skip -traditional-cpp for HAVE_GCC3.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.x68k,v 1.56 2002/06/04 21:39:13 thorpej Exp $
d106 5
@


1.57.10.1
log
@Pull up patch (requested by martti in ticket #1086)
Move ipf to sys/dist/ipf and sync w. trunk
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.x68k,v 1.57 2002/11/26 18:51:18 thorpej Exp $
a105 5

##
## (10) IPF source directory
##
CPPFLAGS+=	-I$S/dist/ipf
@


1.57.6.1
log
@Sync with HEAD
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.x68k,v 1.58 2004/06/04 04:45:51 thorpej Exp $
a105 5

##
## (10) Appending make options.
##
%MAKEOPTIONSAPPEND
@


1.57.6.2
log
@Sync with HEAD.
@
text
@@


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


1.57.6.4
log
@Sync with HEAD. Here we go again...
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.x68k,v 1.57.6.3 2004/09/21 13:24:07 skrll Exp $
d29 1
a29 1
GENASSYM_CONF=	${X68K}/x68k/genassym.cf
@


1.56
log
@Don't use -traditional-cpp if HAVE_GCC3.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.x68k,v 1.55 2001/12/04 15:22:29 minoura Exp $
a34 3
.if defined(HAVE_GCC3)
AFLAGS+=	-x assembler-with-cpp
.else
a35 1
.endif
@


1.55
log
@Use sys/conf/Makefile.kern.inc.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.x68k,v 1.54 2001/11/20 12:56:42 lukem Exp $
d35 3
d39 1
@


1.55.8.1
log
@catch up with -current.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.x68k,v 1.56 2002/06/04 21:39:13 thorpej Exp $
a34 3
.if defined(HAVE_GCC3)
AFLAGS+=	-x assembler-with-cpp
.else
a35 1
.endif
@


1.54
log
@cleanup:
	options SPACE TAB
	makeoptions TAB
	psuedo-device TAB
	remove trailing whitespace
	replace multiple spaces -> tabs
	options "FOO" -> options FOO
	options "FOO=bar" -> options FOO=bar
	options "FOO=\"bar\"" -> options FOO="\"bar\""
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.x68k,v 1.53 2001/10/26 06:45:41 jmc Exp $
d14 5
d22 1
a22 1

d25 11
a35 28
# DEBUG is set to -g if debugging.
# PROF is set to -pg if profiling.

AR?=	ar
AS?=	as
CC?=	cc
CPP?=	cpp
LD?=	ld
LORDER?=lorder
MKDEP?=	mkdep
NM?=	nm
RANLIB?=ranlib
SIZE?=	size
STRIP?=	strip
TSORT?=	tsort -q

COPTS?=	-O2

# source tree is located via $S relative to the compilation directory
.ifndef S
#S!=	cd ../../../..; pwd
S=	../../../..
.endif
X68K=	$S/arch/x68k

HAVE_EGCS!=	${CC} --version | egrep "^(2\.[89]|egcs)" ; echo
INCLUDES=	-I. -I$S/arch -I$S -nostdinc
CPPFLAGS=	${INCLUDES} ${IDENT} ${PARAM} -D_KERNEL -D_KERNEL_OPT -Dx68k
d37 1
a37 12
CWARNFLAGS?=	-Werror -Wstrict-prototypes -Wmissing-prototypes \
		-Wpointer-arith
# XXX Delete -Wuninitialized for now, since the compiler doesn't
# XXX always get it right.  --thorpej
CWARNFLAGS+=	-Wno-uninitialized
.if (${HAVE_EGCS} != "")
CWARNFLAGS+=	-Wno-main
.endif
CFLAGS=		${DEBUG} ${COPTS} ${CMACHFLAGS} ${CWARNFLAGS} -msoft-float
AFLAGS=		-x assembler-with-cpp -traditional-cpp -D_LOCORE
LINKFLAGS=	-n -Ttext 0 -e start
STRIPFLAGS=	-g
d39 3
a41 7
%INCLUDES

HOSTED_CC=	${CC}
HOSTED_CPPFLAGS=${CPPFLAGS:S/^-nostdinc$//}
HOSTED_CFLAGS=	${CFLAGS}

### find out what to use for libkern
a42 14
.include "$S/lib/libkern/Makefile.inc"
.ifndef PROF
LIBKERN=	${KERNLIB}
.else
LIBKERN=	${KERNLIB_PROF}
.endif

### find out what to use for libcompat
.include "$S/compat/common/Makefile.inc"
.ifndef PROF
LIBCOMPAT=	${COMPATLIB}
.else
LIBCOMPAT=	${COMPATLIB_PROF}
.endif
d44 4
a47 1
### for the Motorola 68040 Floating Point Software Product
d50 1
a50 1
### for the Motorola 68060 Software Support Package
d53 3
a55 2
# compile rules: rules are named ${TYPE}_${SUFFIX} where TYPE is NORMAL or
# HOSTED}, and SUFFIX is the file suffix, capitalized (e.g. C for a .c file).
d57 2
a58 100
NORMAL_C=	${CC} ${CFLAGS} ${CPPFLAGS} ${PROF} -c $<
NOPROF_C=	${CC} ${CFLAGS} ${CPPFLAGS} -c $<
NORMAL_S=	${CC} ${AFLAGS} ${CPPFLAGS} -c $<

HOSTED_C=	${HOSTED_CC} ${HOSTED_CFLAGS} ${HOSTED_CPPFLAGS} -c $<

%OBJS

%CFILES

#%SFILES

# load lines for config "xxx" will be emitted as:
# xxx: ${SYSTEM_DEP} swapxxx.o
#	${SYSTEM_LD_HEAD}
#	${SYSTEM_LD} swapxxx.o
#	${SYSTEM_LD_TAIL}
SYSTEM_OBJ=	locore.o ${FPSP} \
		param.o ioconf.o ${OBJS} ${LIBCOMPAT} ${LIBKERN}
SYSTEM_DEP=	Makefile ${SYSTEM_OBJ}
SYSTEM_LD_HEAD=	@@rm -f $@@
SYSTEM_LD=	@@echo ${LD} ${LINKFLAGS} -o $@@ '$${SYSTEM_OBJ}' vers.o; \
		${LD} ${LINKFLAGS} -o $@@ ${SYSTEM_OBJ} vers.o
SYSTEM_LD_TAIL=	@@${SIZE} $@@; chmod 755 $@@

DEBUG?=
.if ${DEBUG} == "-g"
LINKFLAGS+=	-X
SYSTEM_LD_TAIL+=; \
		echo mv -f $@@ $@@.gdb; mv -f $@@ $@@.gdb; \
		echo ${STRIP} ${STRIPFLAGS} -o $@@ $@@.gdb; \
		${STRIP} ${STRIPFLAGS} -o $@@ $@@.gdb
.else
LINKFLAGS+=	-S
.endif

%LOAD

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

param.c: $S/conf/param.c
	rm -f param.c
	cp $S/conf/param.c .

param.o: param.c Makefile
	${NORMAL_C}

ioconf.o: ioconf.c
	${NORMAL_C}

newvers: ${SYSTEM_DEP} ${SYSTEM_SWAP_DEP}
	sh $S/conf/newvers.sh
	${CC} ${CFLAGS} ${CPPFLAGS} ${PROF} -c vers.c

__CLEANKERNEL: .USE
	@@echo "${.TARGET}ing the kernel objects"
	rm -f eddep *netbsd netbsd.gdb tags *.[io] [a-z]*.s \
	    [Ee]rrs linterrs makelinks assym.h.tmp assym.h

__CLEANDEPEND: .USE
	rm -f .depend

clean: __CLEANKERNEL

cleandir distclean: __CLEANKERNEL __CLEANDEPEND

lint:
	@@lint -hbxncez -Dvolatile= ${CPPFLAGS} -UKGDB \
	    ${CFILES} ioconf.c param.c | \
	    grep -v 'static function .* unused'

tags:
	@@echo "see $S/kern/Makefile for tags"

links:
	egrep '#if' ${CFILES} | sed -f $S/conf/defines | \
	  sed -e 's/:.*//' -e 's/\.c/.o/' | sort -u > dontlink
	echo ${CFILES} | tr -s ' ' '\12' | sed 's/\.c/.o/' | \
	  sort -u | comm -23 - dontlink | \
	  sed 's,../.*/\(.*.o\),rm -f \1; ln -s ../GENERIC/\1 \1,' > makelinks
	sh makelinks && rm -f dontlink

SRCS=	${X68K}/x68k/locore.s \
	param.c ioconf.c ${CFILES} ${SFILES}
depend: .depend
.depend: ${SRCS} assym.h param.c
	${MKDEP} ${AFLAGS} ${CPPFLAGS} ${X68K}/x68k/locore.s
	${MKDEP} -a ${CFLAGS} ${CPPFLAGS} param.c ioconf.c ${CFILES}
	-if test -n "${SFILES}"; then \
		${MKDEP} -a ${AFLAGS} ${CPPFLAGS} ${SFILES}; \
	fi
	sh $S/kern/genassym.sh ${MKDEP} -f assym.dep ${CFLAGS} \
	  ${CPPFLAGS} < ${X68K}/x68k/genassym.cf
	@@sed -e 's/.*\.o:.*\.c/assym.h:/' < assym.dep >> .depend
	@@rm -f assym.dep

dependall: depend all
d60 9
a72 3
# depend on network or filesystem configuration
uipc_proto.o vfs_conf.o: Makefile

a75 3
# depend on CPU configuration
locore.o: Makefile

d81 14
d96 1
a96 2
locore.o: ${X68K}/x68k/locore.s assym.h
	${NORMAL_S}
d98 1
a98 11
# The install target can be redefined by putting a
# install-kernel-${MACHINE_NAME} target into /etc/mk.conf
MACHINE_NAME!=  uname -n
install: install-kernel-${MACHINE_NAME}
.if !target(install-kernel-${MACHINE_NAME}})
install-kernel-${MACHINE_NAME}:
	rm -f /onetbsd
	ln /netbsd /onetbsd
	cp netbsd /nnetbsd
	mv /nnetbsd /netbsd
.endif
d101 5
@


1.53
log
@Change defaults for kernel compiles. Default all to USETOOLS?=no and have
the etc Makefile override that by putting USETOOLS into $.MAKEOVERRIDES
This way the default for kernel compiles is still to use the installed
toolchain instead of depending on $TOOLDIR. $TOOLDIR can be used by
simply adding USETOOLS=yes to the command line as usual.

Adjust each ports template to set the default no setting and also pull in
bsd.own.mk if they weren't already to ensure they'll build correctly
with the new toolchain setup.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.x68k,v 1.52 2001/10/23 19:26:47 thorpej Exp $
d52 1
a52 1
# XXX always get it right.  --thorpej 
d198 3
a200 3
 
# depend on network or filesystem configuration 
uipc_proto.o vfs_conf.o: Makefile 
d205 1
a205 1
# depend on CPU configuration 
@


1.53.2.1
log
@file Makefile.x68k was added on branch nathanw_sa on 2002-01-08 00:28:36 +0000
@
text
@d1 229
@


1.53.2.2
log
@Catch up to -current.
@
text
@a0 108
#	$NetBSD: Makefile.x68k,v 1.53.2.1 2002/01/08 00:28:36 nathanw Exp $
#
# Makefile for NetBSD
#
# This makefile is constructed from a machine description:
#	config machineid
# Most changes should be made in the machine description
#	/sys/arch/x68k/conf/``machineid''
# after which you should do
#	config machineid
# Machine generic makefile changes should be made in
#	/sys/arch/x68k/conf/Makefile.x68k
# after which config should be rerun for all machines of that type.
#
# To specify debugging, add the config line: makeoptions DEBUG="-g"
# A better way is to specify -g only for a few files.
#
#	makeoptions DEBUGLIST="uvm* trap if_*"

MACHINE_ARCH=m68k
USETOOLS?=	no
NEED_OWN_INSTALL_TARGET?=no
.include <bsd.own.mk>

# DEBUG is set to -g if debugging.
# PROF is set to -pg if profiling.

##
## (1) port identification
##
X68K=		$S/arch/x68k
GENASSYM=	${X68K}/x68k/genassym.cf

##
## (2) compile settings
##
CPPFLAGS+=	-Dx68k
AFLAGS+=	-x assembler-with-cpp -traditional-cpp
CMACHFLAGS?=	-m68020-60 -Wa,-m68030 -Wa,-m68851
CFLAGS+=	${CMACHFLAGS} -msoft-float

##
## (3) libkern and compat
##
KERN_AS=	obj

##
## (4) local objects, compile rules, and dependencies
##
# for the Motorola 68040 Floating Point Software Product
.include "$S/arch/m68k/fpsp/Makefile.inc"

# for the Motorola 68060 Software Support Package
.include "$S/arch/m68k/060sp/Makefile.inc"

MD_OBJS=	locore.o ${FPSP}
MD_CFILES=
MD_SFILES=	${X68K}/x68k/locore.s

locore.o: ${X68K}/x68k/locore.s assym.h Makefile
	${NORMAL_S}

##
## (5) link settings
##
TEXTADDR?=	0
LINKFORMAT=	-n

##
## (6) port specific target dependencies
##

# depend on root or device configuration
autoconf.o conf.o: Makefile

# depend on maxusers
machdep.o: Makefile

# depend on DEBUG and/or DIAGNOSTIC options
grf.o par.o sram.o: Makefile
intio_dmac.o mfp.o neptune.o opm.o scsirom.o xel.o zs.o bus.o: Makefile
intio.o vm_machdep.o: Makefile

##
## (7) misc settings
##



##
## (8) config(8) generated machinery
##
%INCLUDES

%OBJS

%CFILES

%SFILES

%LOAD

%RULES

##
## (9) port independent kernel machinery
##
.include "$S/conf/Makefile.kern.inc"
@


1.53.2.3
log
@Catch up to -current.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.x68k,v 1.53.2.2 2002/04/17 00:04:46 nathanw Exp $
d25 3
@


1.53.2.4
log
@Catch up to -current.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.x68k,v 1.53.2.3 2002/06/20 03:42:30 nathanw Exp $
a34 3
.if defined(HAVE_GCC3)
AFLAGS+=	-x assembler-with-cpp
.else
a35 1
.endif
@


1.53.2.5
log
@Sync with HEAD.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.x68k,v 1.53.2.4 2002/12/11 06:12:46 thorpej Exp $
d35 3
d39 1
@


1.52
log
@Set MACHINE_ARCH explicitly in Makefiles for which it is constant.
Also, since config(8) now explcitly sets MACHINE, there is no need
to do it here in the Makefile.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.x68k,v 1.51 2001/09/29 01:24:30 minoura Exp $
d16 1
@


1.52.2.1
log
@Sync the thorpej-mips-cache branch with -current.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.x68k,v 1.53 2001/10/26 06:45:41 jmc Exp $
a15 1
USETOOLS?=	no
@


1.51
log
@Minor changes from news68k.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.x68k,v 1.50 2001/05/29 02:20:27 mrg Exp $
d14 2
@


1.50
log
@define _KERNEL_OPT as well as _KERNEL. we will use this in the future to
get kernel "opt_foo.h" headers, rather than _KERNEL && !_LKM.
@
text
@d1 2
a2 2
#	$NetBSD: Makefile.x68k,v 1.49 2000/12/29 15:18:37 minoura Exp $

d37 2
a38 1
S!=	cd ../../../..; pwd
d42 1
a42 1
HAVE_EGCS!=	${CC} --version | egrep "^(2\.8|egcs)" ; echo
@


1.50.2.1
log
@Sync kqueue branch with -current.
@
text
@d1 2
a2 2
#	$NetBSD: Makefile.x68k,v 1.55 2001/12/04 15:22:29 minoura Exp $
#
a13 5
#
# To specify debugging, add the config line: makeoptions DEBUG="-g"
# A better way is to specify -g only for a few files.
#
#	makeoptions DEBUGLIST="uvm* trap if_*"
a14 3
MACHINE_ARCH=m68k
USETOOLS?=	no
NEED_OWN_INSTALL_TARGET?=no
d17 27
a43 11
##
## (1) port identification
##
X68K=		$S/arch/x68k
GENASSYM=	${X68K}/x68k/genassym.cf

##
## (2) compile settings
##
CPPFLAGS+=	-Dx68k
AFLAGS+=	-x assembler-with-cpp -traditional-cpp
d45 18
a62 1
CFLAGS+=	${CMACHFLAGS} -msoft-float
d64 1
a64 3
##
## (3) libkern and compat
##
d66 14
d81 1
a81 4
##
## (4) local objects, compile rules, and dependencies
##
# for the Motorola 68040 Floating Point Software Product
d84 1
a84 1
# for the Motorola 68060 Software Support Package
d87 38
a124 3
MD_OBJS=	locore.o ${FPSP}
MD_CFILES=
MD_SFILES=	${X68K}/x68k/locore.s
d126 64
a189 2
locore.o: ${X68K}/x68k/locore.s assym.h Makefile
	${NORMAL_S}
a190 9
##
## (5) link settings
##
TEXTADDR?=	0
LINKFORMAT=	-n

##
## (6) port specific target dependencies
##
d194 3
d201 3
a208 3
##
## (7) misc settings
##
d210 2
d213 11
a223 13

##
## (8) config(8) generated machinery
##
%INCLUDES

%OBJS

%CFILES

%SFILES

%LOAD
a225 5

##
## (9) port independent kernel machinery
##
.include "$S/conf/Makefile.kern.inc"
@


1.50.2.2
log
@catch up with -current on kqueue branch
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.x68k,v 1.50.2.1 2002/01/10 19:50:16 thorpej Exp $
a34 3
.if defined(HAVE_GCC3)
AFLAGS+=	-x assembler-with-cpp
.else
a35 1
.endif
@


1.50.4.1
log
@Catch up with -current.
@
text
@d1 2
a2 2
#	$NetBSD: Makefile.x68k,v 1.51 2001/09/29 01:24:30 minoura Exp $
#
d37 1
a37 2
#S!=	cd ../../../..; pwd
S=	../../../..
d41 1
a41 1
HAVE_EGCS!=	${CC} --version | egrep "^(2\.[89]|egcs)" ; echo
@


1.49
log
@CMACHFLAGS defaults to -m68020-60.
Can be overridden in config files; add examples.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.x68k,v 1.48 2000/12/17 15:52:44 jdolecek Exp $
d43 1
a43 1
CPPFLAGS=	${INCLUDES} ${IDENT} ${PARAM} -D_KERNEL -Dx68k
@


1.49.2.1
log
@Catch up to -current.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.x68k,v 1.49 2000/12/29 15:18:37 minoura Exp $
d43 1
a43 1
CPPFLAGS=	${INCLUDES} ${IDENT} ${PARAM} -D_KERNEL -D_KERNEL_OPT -Dx68k
@


1.48
log
@delete obsolete comment
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.x68k,v 1.47 2000/12/15 07:16:36 itohy Exp $
d44 1
a44 13

M68060!=	( echo '\#include "opt_m680x0.h"';	\
		  echo '\#ifdef M68060';		\
		  echo '1';				\
		  echo '\#else';			\
		  echo '0';				\
		  echo '\#endif' )			\
			| ${CPP} | sed -e '/^\#/d' -e '/^$$/d'
.if ${M68060}
CMACHFLAGS=	-m68020-60 -Wa,-m68030 -Wa,-m68851
.else
CMACHFLAGS=	-m68030
.endif
@


1.47
log
@Remove empty lines from cpp output since make doesn't seem to like them.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.x68k,v 1.46 2000/11/13 14:47:14 minoura Exp $
a13 6
#
# N.B.: NO DEPENDENCIES ON FOLLOWING FLAGS ARE VISIBLE TO MAKEFILE
#	IF YOU CHANGE THE DEFINITION OF ANY OF THESE RECOMPILE EVERYTHING
#
# -DTRACE	compile in kernel tracing hooks
# -DQUOTA	compile in file system quotas
@


1.46
log
@Look at opt_m680x0.h to determine whether to use -m68060 compiler option,
since options M68060 (etc.) is now defopt'ed.
Pointed out by NISHIMURA Takeshi <nsmrtks@@comd.nara.sharp.co.jp>.
Use -m68020-60 instead of -m68060 to ensure not to use new instructions.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.x68k,v 1.45 2000/05/09 00:56:28 hubertf Exp $
d57 1
a57 1
			| ${CPP} | grep -v '^\#'
@


1.45
log
@Add "install" target, so "make install" after building the kernel
does something useful.  The target can be redefined by putting a
install-kernel-${MACHINE_NAME} target that fits your needs into
/etc/mk.conf.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.x68k,v 1.44 2000/05/09 00:32:27 thorpej Exp $
d50 11
a60 1
.if empty(IDENT:M-DM68060)
a61 2
.else
CMACHFLAGS=	-m68060 -Wa,-m68030 -Wa,-m68851
@


1.45.4.1
log
@Pull up revision 1.49 via patch (requested by minoura):
  CMACHFLAGS now defaults to -m68020-60.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.x68k,v 1.45 2000/05/09 00:56:28 hubertf Exp $
d50 5
a54 1
CMACHFLAGS?=	-m68020-60 -Wa,-m68030 -Wa,-m68851
@


1.44
log
@HAVE_GCC28 -> HAVE_EGCS, and make it match gcc 2.9 as well.  Also,
make the use of -Wno-uninitialized explicit, don't rely on a compiler
hack to do it for us.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.x68k,v 1.43 2000/04/23 05:49:14 minoura Exp $
d222 12
@


1.43
log
@M680x0 are now defopt'ed.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.x68k,v 1.42 2000/02/01 05:25:49 tsutsui Exp $
d47 1
a47 1
HAVE_GCC28!=	${CC} --version | egrep "^(2\.8|egcs)" ; echo
d57 4
a60 1
.if (${HAVE_GCC28} != "")
@


1.42
log
@Revert STRIPPROG -> STRIP
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.x68k,v 1.41 2000/01/24 20:36:18 tron Exp $
d209 1
a209 1
fd.o intio_dmac.o locore.o machdep.o pmap.o pmap_boostrap.o sys_machdep.o trap.o: Makefile
@


1.41
log
@Add "dependall" target for comfort.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.x68k,v 1.40 2000/01/19 16:30:02 tsutsui Exp $
d36 1
a36 1
STRIPPROG?=strip
d127 2
a128 2
		echo ${STRIPPROG} ${STRIPFLAGS} -o $@@ $@@.gdb; \
		${STRIPPROG} ${STRIPFLAGS} -o $@@ $@@.gdb
@


1.40
log
@STRIP -> STRIPPROG
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.x68k,v 1.39 2000/01/19 14:45:14 tsutsui Exp $
d195 2
@


1.39
log
@Change STRIPFLAGS=-g for cross-toolchains.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.x68k,v 1.38 1999/09/24 15:31:52 minoura Exp $
d36 1
a36 1
STRIP?=	strip
d127 2
a128 2
		echo ${STRIP} ${STRIPFLAGS} -o $@@ $@@.gdb; \
		${STRIP} ${STRIPFLAGS} -o $@@ $@@.gdb
@


1.38
log
@Could not compile w/ options M68060.
Supply -m68030 and -m68851 to the assembler.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.x68k,v 1.37 1999/07/26 05:20:49 cgd Exp $
d63 1
a63 1
STRIPFLAGS=	-d
@


1.38.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.x68k,v 1.45 2000/05/09 00:56:28 hubertf Exp $
d47 1
a47 1
HAVE_EGCS!=	${CC} --version | egrep "^(2\.8|egcs)" ; echo
d57 1
a57 4
# XXX Delete -Wuninitialized for now, since the compiler doesn't
# XXX always get it right.  --thorpej 
CWARNFLAGS+=	-Wno-uninitialized
.if (${HAVE_EGCS} != "")
d63 1
a63 1
STRIPFLAGS=	-g
a195 2
dependall: depend all

d207 1
a207 1
locore.o: Makefile
a216 12

# The install target can be redefined by putting a
# install-kernel-${MACHINE_NAME} target into /etc/mk.conf
MACHINE_NAME!=  uname -n
install: install-kernel-${MACHINE_NAME}
.if !target(install-kernel-${MACHINE_NAME}})
install-kernel-${MACHINE_NAME}:
	rm -f /onetbsd
	ln /netbsd /onetbsd
	cp netbsd /nnetbsd
	mv /nnetbsd /netbsd
.endif
@


1.38.2.2
log
@Sync with HEAD.
@
text
@d1 1
a1 1
#	$NetBSD$
d50 2
a51 10

M68060!=	( echo '\#include "opt_m680x0.h"';	\
		  echo '\#ifdef M68060';		\
		  echo '1';				\
		  echo '\#else';			\
		  echo '0';				\
		  echo '\#endif' )			\
			| ${CPP} | grep -v '^\#'
.if ${M68060}
CMACHFLAGS=	-m68020-60 -Wa,-m68030 -Wa,-m68851
d53 1
a53 1
CMACHFLAGS=	-m68030
@


1.38.2.3
log
@Sync with HEAD
@
text
@d14 6
d50 13
a62 1
CMACHFLAGS?=	-m68020-60 -Wa,-m68030 -Wa,-m68851
@


1.37
log
@be more efficient when doing the SYSTEM_LD_TAIL for -g kernels: don't
copy them just to strip them, use strip -o.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.x68k,v 1.36 1999/07/09 09:53:01 mrg Exp $
d53 1
a53 1
CMACHFLAGS=	-m68060
@


1.36
log
@clean up a bit after jason :)

- fix emitrules() like emitfiles() to deal with the prefix (otherwise it
  would attempt to find the file in the normal base for the NORMAL_C rule).
- add emitincludes() which adds include directives for each prefix to the
  $INCLUDES variable in the makefile.
- add %INCLUDES to each Makefile.arch to deal with the above.

this makes "prefix" actually work in a usable manner, and now i can move
on to fixing compiler warnings (errors) in the ESP code. :)
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.x68k,v 1.35 1999/04/01 14:11:21 minoura Exp $
d126 3
a128 2
		echo cp $@@ $@@.gdb; rm -f $@@.gdb; cp $@@ $@@.gdb; \
		echo ${STRIP} ${STRIPFLAGS} $@@; ${STRIP} ${STRIPFLAGS} $@@
@


1.35
log
@Typo.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.x68k,v 1.34 1999/03/30 04:26:01 minoura Exp $
d64 2
@


1.35.4.1
log
@Update from trunk.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.x68k,v 1.37 1999/07/26 05:20:49 cgd Exp $
a64 2
%INCLUDES

d124 2
a125 3
		echo mv -f $@@ $@@.gdb; mv -f $@@ $@@.gdb; \
		echo ${STRIP} ${STRIPFLAGS} -o $@@ $@@.gdb; \
		${STRIP} ${STRIPFLAGS} -o $@@ $@@.gdb
@


1.34
log
@Update dependency.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.x68k,v 1.33 1999/03/16 16:30:16 minoura Exp $
d189 1
a189 1
	  ${CPPFLAGS} < ${X68k}/x68k/genassym.cf
@


1.33
log
@Merged minoura_x68k_bus_h branch.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.x68k,v 1.29.6.1 1999/01/31 05:40:36 minoura Exp $
d21 2
d39 1
a39 1
COPTS?= -O2
d47 1
a47 1
HAVE_GCC28!=	${CC} --version | egrep "^(2\.8|egcs)" ; echo 
d188 4
d204 6
a209 1
dma.o hpux_machdep.o locore.o machdep.o pmap.o pmap_boostrap.o sys_machdep.o trap.o: Makefile
@


1.32
log
@Some minor, mostly costmetic, changes to CPPFLAGS/CFLAGS.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.x68k,v 1.31 1999/01/15 23:21:27 thorpej Exp $
@


1.31
log
@Don't define "mc68020".  Nothing uses it.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.x68k,v 1.30 1999/01/08 19:26:15 augustss Exp $
d47 1
a47 2
CPPFLAGS=	${INCLUDES} ${IDENT} ${PARAM} -D_KERNEL \
		-Dx68k
@


1.30
log
@Add -Wpointer-arith warning since `void *' arithmetic is not ANSI C.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.x68k,v 1.29 1998/10/15 18:37:17 drochner Exp $
d48 1
a48 1
		-Dmc68020 -Dx68k
@


1.29
log
@change handling of libkern:
-sys/lib/libkern builds as library per default (as it was documented all
 the time)
-ports able to LKM set "KERN_AS=obj" explicitely in their Makefiles
 (for now; should depend on actual "option LKM" or -better- functions
 included for LKM use should be pulled in by a stub)
-always link libcompat before libkern - libkern stuff can be referred to
 by libcompat, but not the other way
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.x68k,v 1.28 1998/09/05 15:15:18 lukem Exp $
d54 2
a55 1
CWARNFLAGS?=	-Werror -Wstrict-prototypes -Wmissing-prototypes
@


1.29.6.1
log
@Sync.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.x68k,v 1.32 1999/01/15 23:37:07 thorpej Exp $
d47 2
a48 1
CPPFLAGS=	${INCLUDES} ${IDENT} ${PARAM} -D_KERNEL -Dx68k
d54 1
a54 2
CWARNFLAGS?=	-Werror -Wstrict-prototypes -Wmissing-prototypes \
		-Wpointer-arith
@


1.28
log
@distclean is a synonym for cleandir
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.x68k,v 1.27 1998/05/31 23:25:44 thorpej Exp $
d68 1
d111 1
a111 1
		param.o ioconf.o ${OBJS} ${LIBKERN} ${LIBCOMPAT}
@


1.27
log
@Specify a non-profiling C rule.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.x68k,v 1.26 1998/05/24 19:32:52 is Exp $
d158 1
a158 1
cleandir: __CLEANKERNEL __CLEANDEPEND
@


1.26
log
@Back out the defopt for M680?0. As pointed out to me, this breaks ports which
dont use the M680?0 the way Amiga, Atari, Mac68k, and X68k do. I must have
missed this in the past discussion about this project.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.x68k,v 1.25 1998/05/23 20:51:15 is Exp $
d93 1
@


1.25
log
@Move M680[2346]0 to opt_m68kcpu.h.
XXX Some explicit dependencies could be removed now from the individual
arch/$ARCH/conf/Makefile.$ARCH files, but this is still to be done.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.x68k,v 1.24 1998/04/12 23:47:45 tv Exp $
d49 1
a49 2
OPT_M68KCPU!=   cpp -E -dM opt_m68kcpu.h
.if empty(OPT_M68KCPU:MM68060)
@


1.24
log
@Add -Wno-main conditional on compiler being gcc 2.8 or egcs.  (This adds
a HAVE_GCC28 check-variable that can now be used to add other gcc-2.8
flags in cases where they may be useful, or to remove gcc 2.7.2 "bug
workaround" flags.)
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.x68k,v 1.23 1997/11/12 23:12:40 thorpej Exp $
d49 2
a50 1
.if empty(IDENT:M-DM68060)
@


1.23
log
@Make sure CPP, AR, AS, and RANLIB are defined.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.x68k,v 1.22 1997/11/12 22:26:48 thorpej Exp $
d45 1
d54 4
a57 1
CWARNFLAGS=	-Werror -Wstrict-prototypes -Wmissing-prototypes
@


1.22
log
@Define LORDER, NM, and TSORT here, like we do the rest of the tools.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.x68k,v 1.21 1997/10/09 20:40:31 is Exp $
d24 2
d27 1
a27 1
AS?=	as
d32 1
d36 1
@


1.21
log
@Help crosscompiling, by as -> $(AS). Define AS?= as in the calling
Makefile.$(ARCH)es. Will hopefully fix the (remaining) part or pr4010.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.x68k,v 1.20 1997/10/07 19:26:15 is Exp $
d27 1
d29 1
d32 1
@


1.21.2.1
log
@Pull up "make sure tools are defined" changes from trunk.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.x68k,v 1.23 1997/11/12 23:12:40 thorpej Exp $
d24 1
a24 1
AR?=	ar
a25 2
CC?=	cc
CPP?=	cpp
a26 1
LORDER?=lorder
a27 2
NM?=	nm
RANLIB?=ranlib
a29 2
TSORT?=	tsort -q

@


1.20
log
@Oops, forgot to commit this when doing the recent 060SP Makefile change.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.x68k,v 1.19 1997/10/03 07:17:50 lukem Exp $
d25 1
@


1.19
log
@define SIZE?=size, and use ${SIZE} instead of size. makes cross
compilation easier
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.x68k,v 1.18 1997/09/30 23:10:58 christos Exp $
d96 1
a96 1
SYSTEM_OBJ=	locore.o ${FPSP} ${060SP} \
@


1.18
log
@PR/4162: Chris Jones: make cleandir does not work properly; it does not
remove the object files and the .depend file in the kernel build directory.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.x68k,v 1.17 1997/09/12 09:29:14 mycroft Exp $
d27 1
d29 1
a29 1
COPTS?= 	-O2
d102 1
a102 1
SYSTEM_LD_TAIL=	@@size $@@; chmod 755 $@@
@


1.17
log
@FPCOPROC is no longer used here.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.x68k,v 1.16 1997/09/12 07:59:28 mycroft Exp $
d134 2
a135 3

clean: cleankernel
cleankernel:
d138 7
@


1.16
log
@Nuke Locore.c.  It's way too out of date to be useful at this point.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.x68k,v 1.15 1997/07/14 14:42:52 oki Exp $
d38 1
a38 1
		-Dmc68020 -Dx68k -DFPCOPROC
@


1.15
log
@Use genassym.cf to make assym.h
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.x68k,v 1.14 1997/03/14 23:27:36 mycroft Exp $
d142 1
a142 1
	    ioconf.c param.c | \
@


1.15.2.1
log
@Update marc-pcmcia branch from trunk.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.x68k,v 1.17 1997/09/12 09:29:14 mycroft Exp $
d38 1
a38 1
		-Dmc68020 -Dx68k
d142 1
a142 1
	    ${CFILES} ioconf.c param.c | \
@


1.15.2.2
log
@Update marc-pcmcia branch from trunk.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.x68k,v 1.15.2.1 1997/09/16 03:49:38 thorpej Exp $
a24 1
AS?=	as
a26 1
SIZE?=	size
d28 1
a28 1
COPTS?= -O2
d95 1
a95 1
SYSTEM_OBJ=	locore.o ${FPSP} \
d101 1
a101 1
SYSTEM_LD_TAIL=	@@${SIZE} $@@; chmod 755 $@@
d134 3
a136 2
__CLEANKERNEL: .USE
	@@echo "${.TARGET}ing the kernel objects"
a138 7

__CLEANDEPEND: .USE
	rm -f .depend

clean: __CLEANKERNEL

cleandir: __CLEANKERNEL __CLEANDEPEND
@


1.14
log
@Define the `cleankernel' target consistently with other ports.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.x68k,v 1.13 1997/02/04 04:32:25 perry Exp $
d44 1
a44 1
CWARNFLAGS=	-Werror
d115 4
a118 8
assym.h: genassym
	./genassym >assym.h

genassym: genassym.o
	${CC} -o $@@ genassym.o

genassym.o: ${X68K}/x68k/genassym.c
	${HOSTED_C}
d138 1
a138 1
	    [Ee]rrs linterrs makelinks genassym genassym.o assym.h
d142 1
a142 1
	    ${X68K}/x68k/Locore.c ${CFILES} ioconf.c param.c | \
a164 2
	${MKDEP} -a ${HOSTED_CFLAGS} ${HOSTED_CPPFLAGS} \
	    ${X68K}/x68k/genassym.c
d174 1
a174 1
genassym.o machdep.o: Makefile
d177 1
a177 1
dma.o genassym.o hpux_machdep.o locore.o machdep.o pmap.o pmap_boostrap.o sys_machdep.o trap.o: Makefile
@


1.13
log
@Nuke some GENERIC residue.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.x68k,v 1.12 1997/02/03 22:18:38 oki Exp $
d139 2
a140 1
clean:
@


1.12
log
@Remove swapgeneric.c from target lint
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.x68k,v 1.11 1997/01/30 16:03:55 oki Exp $
d144 1
a144 1
	@@lint -hbxncez -DGENERIC -Dvolatile= ${CPPFLAGS} -UKGDB \
@


1.11
log
@:: --> :
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.x68k,v 1.10 1997/01/13 14:04:44 oki Exp $
d145 1
a145 2
	    ${X68K}/x68k/Locore.c ${CFILES} ${X68K}/x68k/swapgeneric.c \
	    ioconf.c param.c | \
@


1.10
log
@first commit of M68060 and FPU_EMULATE support.
M68060 support by YAMASAKI Yasushi, few arranged by me.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.x68k,v 1.9 1996/12/01 06:12:40 jonathan Exp $
d139 1
a139 1
clean::
d162 1
a162 1
depend:: .depend
@


1.9
log
@* Replace explicit -O2 in CFLAGS with  COPTS macro. Default COPTS?= -O2.
  Lets users over-ride with makeoptions COPTS="..." in kernel config files.

  Leave `mandatory' flags (like  -msoft-float which  on m68k enforces no
  FP in kernel) in CFLAGS.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.x68k,v 1.8 1996/09/09 21:07:10 mycroft Exp $
d39 5
d45 1
a45 1
CFLAGS=		${DEBUG} ${COPTS} ${CWARNFLAGS} -msoft-float
d95 1
a95 1
SYSTEM_OBJ=	locore.o ${FPSP} \
@


1.8
log
@Move strip(1) flags into a separate variable, so that $STRIP can
be passed to subordinate make(1)s.  Remove $TOUCH.  Add HOSTED_CC,
HOSTED_CPPFLAGS, and HOSTED_CFLAGS, and use them when depending genassym.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.x68k,v 1.7 1996/08/31 21:42:01 mycroft Exp $
d28 1
d40 1
a40 1
CFLAGS=		${DEBUG} ${CWARNFLAGS} -O2 -msoft-float
@


1.7
log
@Wrap the default definition of `S' in `.ifndef'.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.x68k,v 1.6 1996/08/12 00:52:20 mycroft Exp $
d27 1
a27 2
STRIP?=	strip -d
TOUCH?=	touch -f -c
d42 5
d76 1
a76 1
HOSTED_C=	${NORMAL_C:S/^-pg$//:S/^-p$//:S/^-nostdinc$//}
d102 1
a102 1
		echo ${STRIP} $@@; ${STRIP} $@@
d163 2
a164 1
	${MKDEP} -a ${CFLAGS} ${CPPFLAGS} ${X68K}/x68k/genassym.c
@


1.6
log
@Put  into .  Remove hooks for `config-dependent' and
`device-driver' flags.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.x68k,v 1.5 1996/08/10 06:10:27 mycroft Exp $
d31 1
d33 1
@


1.5
log
@* Add a HOSTED_C_C variable, which strips `-p', `-pg', and
`-nostdinc', and use it when building genassym.
* Use `-nostdinc' just to be sure we're self-contained.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.x68k,v 1.4 1996/08/10 05:29:57 mycroft Exp $
d35 2
a36 1
CPPFLAGS=	${INCLUDES} ${IDENT} -D_KERNEL -Dmc68020 -Dx68k -DFPCOPROC
d64 2
a65 4
# compile rules: rules are named ${TYPE}_${SUFFIX}${CONFIG_DEP}
# where TYPE is NORMAL, DRIVER, or PROFILE}; SUFFIX is the file suffix,
# capitalized (e.g. C for a .c file), and CONFIG_DEP is _C if the file
# is marked as config-dependent.
a67 5
NORMAL_C_C=	${CC} ${CFLAGS} ${CPPFLAGS} ${PROF} ${PARAM} -c $<

DRIVER_C=	${CC} ${CFLAGS} ${CPPFLAGS} ${PROF} -c $<
DRIVER_C_C=	${CC} ${CFLAGS} ${CPPFLAGS} ${PROF} ${PARAM} -c $<

a68 1
NORMAL_S_C=	${CC} ${AFLAGS} ${CPPFLAGS} ${PARAM} -c $<
d70 1
a70 1
HOSTED_C_C=	${NORMAL_C_C:S/^-pg$//:S/^-p$//:S/^-nostdinc$//}
d110 1
a110 1
	${HOSTED_C_C}
d117 1
a117 1
	${NORMAL_C_C}
d132 1
a132 1
	@@lint -hbxncez -DGENERIC -Dvolatile= ${CPPFLAGS} ${PARAM} -UKGDB \
d157 1
a157 1
	${MKDEP} -a ${CFLAGS} ${CPPFLAGS} ${PARAM} ${X68K}/x68k/genassym.c
@


1.4
log
@* Define CWARNFLAGS and MKDEP in some moderately consistent fashion.
* Make S expand to an absolute path at compile time.
* Use `-S' rather than `-x' to remove debugging symbols.
* Garbage collect unused variables.
* Reverse a handful of port-specific changes that do not correspond to
the common build model and are not needed.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.x68k,v 1.3 1996/05/19 12:29:20 oki Exp $
d34 1
a34 1
INCLUDES=	-I. -I$S/arch -I$S
d77 2
d117 1
a117 1
	${NORMAL_C_C}
@


1.3
log
@include $S/arch/m68k/060sp/Makefile.inc, similar to amiga.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.x68k,v 1.2 1996/05/11 16:13:24 mycroft Exp $
a23 1
AS?=	as
a24 1
CPP?=	cpp
d26 1
d31 2
a32 2
S=	../../../..
X68K=	../..
d36 2
a37 1
CFLAGS=		${DEBUG} -O2 -Werror -msoft-float
d103 1
a103 1
LINKFLAGS+=	-x
d157 2
a158 2
	mkdep ${AFLAGS} ${CPPFLAGS} ${X68K}/x68k/locore.s
	mkdep -a ${CFLAGS} ${CPPFLAGS} param.c ioconf.c ${CFILES}
d160 1
a160 1
		mkdep -a ${AFLAGS} ${CPPFLAGS} ${SFILES}; \
d162 1
a162 1
	mkdep -a ${CFLAGS} ${CPPFLAGS} ${PARAM} ${X68K}/x68k/genassym.c
@


1.2
log
@Make `make depend' work for libraries.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.x68k,v 1.1.1.1 1996/05/05 12:17:04 oki Exp $
d59 3
@


1.1
log
@Initial revision
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.hp300,v 1.34 1996/02/03 01:17:22 mycroft Exp $
d152 1
a152 1
depend: .depend
@


1.1.1.1
log
@NetBSD/x68k, by Masaru Oki.
@
text
@@
