head	1.94;
access;
symbols
	netbsd-11-0-RC3:1.93
	netbsd-11-0-RC2:1.93
	netbsd-11-0-RC1:1.93
	perseant-exfatfs-base-20250801:1.93
	netbsd-11:1.93.0.38
	netbsd-11-base:1.93
	netbsd-10-1-RELEASE:1.93
	perseant-exfatfs-base-20240630:1.93
	perseant-exfatfs:1.93.0.36
	perseant-exfatfs-base:1.93
	netbsd-8-3-RELEASE:1.91
	netbsd-9-4-RELEASE:1.93
	netbsd-10-0-RELEASE:1.93
	netbsd-10-0-RC6:1.93
	netbsd-10-0-RC5:1.93
	netbsd-10-0-RC4:1.93
	netbsd-10-0-RC3:1.93
	netbsd-10-0-RC2:1.93
	thorpej-ifq:1.93.0.34
	thorpej-ifq-base:1.93
	thorpej-altq-separation:1.93.0.32
	thorpej-altq-separation-base:1.93
	netbsd-10-0-RC1:1.93
	netbsd-10:1.93.0.30
	netbsd-10-base:1.93
	bouyer-sunxi-drm:1.93.0.28
	bouyer-sunxi-drm-base:1.93
	netbsd-9-3-RELEASE:1.93
	thorpej-i2c-spi-conf2:1.93.0.26
	thorpej-i2c-spi-conf2-base:1.93
	thorpej-futex2:1.93.0.24
	thorpej-futex2-base:1.93
	thorpej-cfargs2:1.93.0.22
	thorpej-cfargs2-base:1.93
	cjep_sun2x-base1:1.93
	cjep_sun2x:1.93.0.20
	cjep_sun2x-base:1.93
	cjep_staticlib_x-base1:1.93
	netbsd-9-2-RELEASE:1.93
	cjep_staticlib_x:1.93.0.18
	cjep_staticlib_x-base:1.93
	thorpej-i2c-spi-conf:1.93.0.16
	thorpej-i2c-spi-conf-base:1.93
	thorpej-cfargs:1.93.0.14
	thorpej-cfargs-base:1.93
	thorpej-futex:1.93.0.12
	thorpej-futex-base:1.93
	netbsd-9-1-RELEASE:1.93
	bouyer-xenpvh-base2:1.93
	phil-wifi-20200421:1.93
	bouyer-xenpvh-base1:1.93
	phil-wifi-20200411:1.93
	bouyer-xenpvh:1.93.0.10
	bouyer-xenpvh-base:1.93
	is-mlppp:1.93.0.8
	is-mlppp-base:1.93
	phil-wifi-20200406:1.93
	netbsd-8-2-RELEASE:1.91
	ad-namecache-base3:1.93
	netbsd-9-0-RELEASE:1.93
	netbsd-9-0-RC2:1.93
	ad-namecache-base2:1.93
	ad-namecache-base1:1.93
	ad-namecache:1.93.0.6
	ad-namecache-base:1.93
	netbsd-9-0-RC1:1.93
	phil-wifi-20191119:1.93
	netbsd-9:1.93.0.4
	netbsd-9-base:1.93
	phil-wifi-20190609:1.93
	netbsd-8-1-RELEASE:1.91
	netbsd-8-1-RC1:1.91
	isaki-audio2:1.93.0.2
	isaki-audio2-base:1.93
	pgoyette-compat-merge-20190127:1.92.2.1
	pgoyette-compat-20190127:1.93
	pgoyette-compat-20190118:1.93
	pgoyette-compat-1226:1.93
	pgoyette-compat-1126:1.93
	pgoyette-compat-1020:1.93
	pgoyette-compat-0930:1.93
	pgoyette-compat-0906:1.92
	netbsd-7-2-RELEASE:1.90
	pgoyette-compat-0728:1.92
	netbsd-8-0-RELEASE:1.91
	phil-wifi:1.92.0.4
	phil-wifi-base:1.92
	pgoyette-compat-0625:1.92
	netbsd-8-0-RC2:1.91
	pgoyette-compat-0521:1.92
	pgoyette-compat-0502:1.92
	pgoyette-compat-0422:1.92
	netbsd-8-0-RC1:1.91
	pgoyette-compat-0415:1.92
	pgoyette-compat-0407:1.92
	pgoyette-compat-0330:1.92
	pgoyette-compat-0322:1.92
	pgoyette-compat-0315:1.92
	netbsd-7-1-2-RELEASE:1.90
	pgoyette-compat:1.92.0.2
	pgoyette-compat-base:1.92
	netbsd-7-1-1-RELEASE:1.90
	tls-maxphys-base-20171202:1.91
	matt-nb8-mediatek:1.91.0.14
	matt-nb8-mediatek-base:1.91
	nick-nhusb-base-20170825:1.91
	perseant-stdc-iso10646:1.91.0.12
	perseant-stdc-iso10646-base:1.91
	netbsd-8:1.91.0.10
	netbsd-8-base:1.91
	prg-localcount2-base3:1.91
	prg-localcount2-base2:1.91
	prg-localcount2-base1:1.91
	prg-localcount2:1.91.0.8
	prg-localcount2-base:1.91
	pgoyette-localcount-20170426:1.91
	bouyer-socketcan-base1:1.91
	jdolecek-ncq:1.91.0.6
	jdolecek-ncq-base:1.91
	pgoyette-localcount-20170320:1.91
	netbsd-7-1:1.90.0.38
	netbsd-7-1-RELEASE:1.90
	netbsd-7-1-RC2:1.90
	nick-nhusb-base-20170204:1.91
	netbsd-7-nhusb-base-20170116:1.90
	bouyer-socketcan:1.91.0.4
	bouyer-socketcan-base:1.91
	pgoyette-localcount-20170107:1.91
	netbsd-7-1-RC1:1.90
	nick-nhusb-base-20161204:1.91
	pgoyette-localcount-20161104:1.91
	netbsd-7-0-2-RELEASE:1.90
	nick-nhusb-base-20161004:1.91
	localcount-20160914:1.91
	netbsd-7-nhusb:1.90.0.36
	netbsd-7-nhusb-base:1.90
	pgoyette-localcount-20160806:1.91
	pgoyette-localcount-20160726:1.91
	pgoyette-localcount:1.91.0.2
	pgoyette-localcount-base:1.91
	nick-nhusb-base-20160907:1.91
	nick-nhusb-base-20160529:1.91
	netbsd-7-0-1-RELEASE:1.90
	nick-nhusb-base-20160422:1.91
	nick-nhusb-base-20160319:1.91
	nick-nhusb-base-20151226:1.91
	netbsd-7-0:1.90.0.34
	netbsd-7-0-RELEASE:1.90
	nick-nhusb-base-20150921:1.91
	netbsd-7-0-RC3:1.90
	netbsd-7-0-RC2:1.90
	netbsd-7-0-RC1:1.90
	nick-nhusb-base-20150606:1.90
	nick-nhusb-base-20150406:1.90
	nick-nhusb:1.90.0.32
	nick-nhusb-base:1.90
	netbsd-5-2-3-RELEASE:1.89
	netbsd-5-1-5-RELEASE:1.89
	netbsd-6-0-6-RELEASE:1.90
	netbsd-6-1-5-RELEASE:1.90
	netbsd-7:1.90.0.30
	netbsd-7-base:1.90
	yamt-pagecache-base9:1.90
	yamt-pagecache-tag8:1.90
	netbsd-6-1-4-RELEASE:1.90
	netbsd-6-0-5-RELEASE:1.90
	tls-earlyentropy:1.90.0.28
	tls-earlyentropy-base:1.90
	riastradh-xf86-video-intel-2-7-1-pre-2-21-15:1.90
	riastradh-drm2-base3:1.90
	netbsd-6-1-3-RELEASE:1.90
	netbsd-6-0-4-RELEASE:1.90
	netbsd-5-2-2-RELEASE:1.89
	netbsd-5-1-4-RELEASE:1.89
	netbsd-6-1-2-RELEASE:1.90
	netbsd-6-0-3-RELEASE:1.90
	netbsd-5-2-1-RELEASE:1.89
	netbsd-5-1-3-RELEASE:1.89
	rmind-smpnet-nbase:1.90
	netbsd-6-1-1-RELEASE:1.90
	riastradh-drm2-base2:1.90
	riastradh-drm2-base1:1.90
	riastradh-drm2:1.90.0.26
	riastradh-drm2-base:1.90
	rmind-smpnet:1.90.0.18
	rmind-smpnet-base:1.90
	netbsd-6-1:1.90.0.24
	netbsd-6-0-2-RELEASE:1.90
	netbsd-6-1-RELEASE:1.90
	khorben-n900:1.90.0.22
	netbsd-6-1-RC4:1.90
	netbsd-6-1-RC3:1.90
	agc-symver:1.90.0.20
	agc-symver-base:1.90
	netbsd-6-1-RC2:1.90
	netbsd-6-1-RC1:1.90
	yamt-pagecache-base8:1.90
	netbsd-5-2:1.89.0.42
	netbsd-6-0-1-RELEASE:1.90
	yamt-pagecache-base7:1.90
	netbsd-5-2-RELEASE:1.89
	netbsd-5-2-RC1:1.89
	matt-nb6-plus-nbase:1.90
	yamt-pagecache-base6:1.90
	netbsd-6-0:1.90.0.16
	netbsd-6-0-RELEASE:1.90
	netbsd-6-0-RC2:1.90
	tls-maxphys:1.90.0.14
	tls-maxphys-base:1.90
	matt-nb6-plus:1.90.0.12
	matt-nb6-plus-base:1.90
	netbsd-6-0-RC1:1.90
	jmcneill-usbmp-base10:1.90
	yamt-pagecache-base5:1.90
	jmcneill-usbmp-base9:1.90
	yamt-pagecache-base4:1.90
	jmcneill-usbmp-base8:1.90
	jmcneill-usbmp-base7:1.90
	jmcneill-usbmp-base6:1.90
	jmcneill-usbmp-base5:1.90
	jmcneill-usbmp-base4:1.90
	jmcneill-usbmp-base3:1.90
	jmcneill-usbmp-pre-base2:1.90
	jmcneill-usbmp-base2:1.90
	netbsd-6:1.90.0.10
	netbsd-6-base:1.90
	netbsd-5-1-2-RELEASE:1.89
	netbsd-5-1-1-RELEASE:1.89
	jmcneill-usbmp:1.90.0.8
	jmcneill-usbmp-base:1.90
	jmcneill-audiomp3:1.90.0.6
	jmcneill-audiomp3-base:1.90
	yamt-pagecache-base3:1.90
	yamt-pagecache-base2:1.90
	yamt-pagecache:1.90.0.4
	yamt-pagecache-base:1.90
	rmind-uvmplock-nbase:1.90
	cherry-xenmp:1.90.0.2
	cherry-xenmp-base:1.90
	jym-xensuspend-nbase:1.90
	uebayasi-xip-base7:1.90
	bouyer-quota2-nbase:1.90
	bouyer-quota2:1.89.0.40
	bouyer-quota2-base:1.90
	jruoho-x86intr:1.89.0.38
	jruoho-x86intr-base:1.89
	matt-mips64-premerge-20101231:1.89
	matt-nb5-mips64-premerge-20101231:1.89
	matt-nb5-pq3:1.89.0.36
	matt-nb5-pq3-base:1.89
	netbsd-5-1:1.89.0.34
	uebayasi-xip-base6:1.89
	uebayasi-xip-base5:1.89
	netbsd-5-1-RELEASE:1.89
	uebayasi-xip-base4:1.89
	uebayasi-xip-base3:1.89
	yamt-nfs-mp-base11:1.89
	netbsd-5-1-RC4:1.89
	matt-nb5-mips64-k15:1.89
	uebayasi-xip-base2:1.89
	yamt-nfs-mp-base10:1.89
	netbsd-5-1-RC3:1.89
	netbsd-5-1-RC2:1.89
	uebayasi-xip-base1:1.89
	netbsd-5-1-RC1:1.89
	rmind-uvmplock:1.89.0.32
	rmind-uvmplock-base:1.90
	yamt-nfs-mp-base9:1.89
	uebayasi-xip:1.89.0.30
	uebayasi-xip-base:1.89
	netbsd-5-0-2-RELEASE:1.89
	matt-nb5-mips64-premerge-20091211:1.89
	matt-premerge-20091211:1.89
	yamt-nfs-mp-base8:1.89
	matt-nb5-mips64-u2-k2-k4-k7-k8-k9:1.89
	matt-nb4-mips64-k7-u2a-k9b:1.89
	matt-nb5-mips64-u1-k1-k5:1.89
	yamt-nfs-mp-base7:1.89
	matt-nb5-mips64:1.89.0.28
	netbsd-5-0-1-RELEASE:1.89
	jymxensuspend-base:1.89
	yamt-nfs-mp-base6:1.89
	yamt-nfs-mp-base5:1.89
	yamt-nfs-mp-base4:1.89
	yamt-nfs-mp-base3:1.89
	nick-hppapmap-base4:1.89
	nick-hppapmap-base3:1.89
	netbsd-5-0:1.89.0.26
	netbsd-5-0-RELEASE:1.89
	netbsd-5-0-RC4:1.89
	netbsd-5-0-RC3:1.89
	nick-hppapmap-base2:1.89
	netbsd-5-0-RC2:1.89
	jym-xensuspend:1.89.0.24
	jym-xensuspend-base:1.90
	netbsd-5-0-RC1:1.89
	haad-dm-base2:1.89
	haad-nbase2:1.89
	ad-audiomp2:1.89.0.22
	ad-audiomp2-base:1.89
	netbsd-5:1.89.0.20
	netbsd-5-base:1.89
	nick-hppapmap:1.89.0.18
	nick-hppapmap-base:1.89
	matt-mips64-base2:1.89
	haad-dm-base1:1.89
	wrstuden-revivesa-base-4:1.89
	netbsd-4-0-1-RELEASE:1.88
	wrstuden-revivesa-base-3:1.89
	wrstuden-revivesa-base-2:1.89
	wrstuden-fixsa-newbase:1.88
	nick-csl-alignment-base5:1.88
	haad-dm:1.89.0.16
	haad-dm-base:1.89
	wrstuden-revivesa-base-1:1.89
	simonb-wapbl-nbase:1.89
	yamt-pf42-base4:1.89
	simonb-wapbl:1.89.0.14
	simonb-wapbl-base:1.89
	yamt-pf42-base3:1.89
	hpcarm-cleanup-nbase:1.89
	yamt-pf42-baseX:1.89
	yamt-pf42-base2:1.89
	yamt-nfs-mp-base2:1.89
	wrstuden-revivesa:1.89.0.12
	wrstuden-revivesa-base:1.89
	yamt-nfs-mp:1.89.0.10
	yamt-nfs-mp-base:1.89
	yamt-pf42:1.89.0.8
	yamt-pf42-base:1.89
	ad-socklock-base1:1.89
	yamt-lazymbuf-base15:1.89
	yamt-lazymbuf-base14:1.89
	keiichi-mipv6-nbase:1.89
	mjf-devfs2:1.89.0.6
	mjf-devfs2-base:1.89
	nick-net80211-sync:1.89.0.4
	nick-net80211-sync-base:1.89
	keiichi-mipv6:1.89.0.2
	keiichi-mipv6-base:1.89
	bouyer-xeni386-merge1:1.88
	matt-armv6-prevmlocking:1.88
	wrstuden-fixsa-base-1:1.88
	vmlocking2-base3:1.88
	netbsd-4-0:1.88.0.68
	netbsd-4-0-RELEASE:1.88
	bouyer-xeni386-nbase:1.88
	yamt-kmem-base3:1.88
	cube-autoconf:1.88.0.66
	cube-autoconf-base:1.88
	yamt-kmem-base2:1.88
	bouyer-xeni386:1.88.0.64
	bouyer-xeni386-base:1.88
	yamt-kmem:1.88.0.62
	yamt-kmem-base:1.88
	vmlocking2-base2:1.88
	reinoud-bufcleanup-nbase:1.88
	vmlocking2:1.88.0.60
	vmlocking2-base1:1.88
	netbsd-4-0-RC5:1.88
	matt-nb4-arm:1.88.0.58
	matt-nb4-arm-base:1.88
	matt-armv6-nbase:1.89
	jmcneill-base:1.88
	netbsd-4-0-RC4:1.88
	mjf-devfs:1.88.0.56
	mjf-devfs-base:1.89
	bouyer-xenamd64-base2:1.88
	vmlocking-nbase:1.88
	yamt-x86pmap-base4:1.88
	bouyer-xenamd64:1.88.0.54
	bouyer-xenamd64-base:1.88
	netbsd-4-0-RC3:1.88
	yamt-x86pmap-base3:1.88
	yamt-x86pmap-base2:1.88
	netbsd-4-0-RC2:1.88
	yamt-x86pmap:1.88.0.52
	yamt-x86pmap-base:1.88
	netbsd-4-0-RC1:1.88
	matt-armv6:1.88.0.50
	matt-armv6-base:1.88
	jmcneill-pm:1.88.0.48
	jmcneill-pm-base:1.88
	hpcarm-cleanup:1.88.0.46
	hpcarm-cleanup-base:1.89
	nick-csl-alignment:1.88.0.44
	nick-csl-alignment-base:1.88
	matt-mips64:1.88.0.42
	matt-mips64-base:1.88
	netbsd-3-1-1-RELEASE:1.86
	netbsd-3-0-3-RELEASE:1.86
	yamt-idlelwp-base8:1.88
	wrstuden-fixsa:1.88.0.40
	wrstuden-fixsa-base:1.88
	ppcoea-renovation:1.88.0.38
	ppcoea-renovation-base:1.88
	thorpej-atomic:1.88.0.36
	thorpej-atomic-base:1.88
	reinoud-bufcleanup:1.88.0.34
	reinoud-bufcleanup-base:1.88
	mjf-ufs-trans:1.88.0.32
	mjf-ufs-trans-base:1.88
	vmlocking:1.88.0.30
	vmlocking-base:1.88
	ad-audiomp:1.88.0.28
	ad-audiomp-base:1.88
	yamt-idlelwp:1.88.0.26
	post-newlock2-merge:1.88
	newlock2-nbase:1.88
	yamt-splraiseipl-base5:1.88
	yamt-splraiseipl-base4:1.88
	yamt-splraiseipl-base3:1.88
	abandoned-netbsd-4-base:1.88
	abandoned-netbsd-4:1.88.0.18
	netbsd-3-1:1.86.0.14
	netbsd-3-1-RELEASE:1.86
	netbsd-3-0-2-RELEASE:1.86
	yamt-splraiseipl-base2:1.88
	netbsd-3-1-RC4:1.86
	yamt-splraiseipl:1.88.0.22
	yamt-splraiseipl-base:1.88
	netbsd-3-1-RC3:1.86
	yamt-pdpolicy-base9:1.88
	newlock2:1.88.0.20
	newlock2-base:1.88
	yamt-pdpolicy-base8:1.88
	netbsd-3-1-RC2:1.86
	netbsd-3-1-RC1:1.86
	yamt-pdpolicy-base7:1.88
	netbsd-4:1.88.0.24
	netbsd-4-base:1.88
	yamt-pdpolicy-base6:1.88
	chap-midi-nbase:1.88
	netbsd-3-0-1-RELEASE:1.86
	gdamore-uart:1.88.0.16
	gdamore-uart-base:1.88
	simonb-timcounters-final:1.88
	yamt-pdpolicy-base5:1.88
	chap-midi:1.88.0.14
	chap-midi-base:1.88
	yamt-pdpolicy-base4:1.88
	yamt-pdpolicy-base3:1.88
	peter-altq-base:1.88
	peter-altq:1.88.0.12
	yamt-pdpolicy-base2:1.88
	elad-kernelauth-base:1.88
	elad-kernelauth:1.88.0.10
	yamt-pdpolicy:1.88.0.8
	yamt-pdpolicy-base:1.88
	yamt-uio_vmspace-base5:1.88
	simonb-timecounters:1.88.0.6
	simonb-timecounters-base:1.88
	rpaulo-netinet-merge-pcb:1.88.0.4
	rpaulo-netinet-merge-pcb-base:1.88
	yamt-uio_vmspace:1.88.0.2
	netbsd-3-0:1.86.0.12
	netbsd-3-0-RELEASE:1.86
	netbsd-3-0-RC6:1.86
	yamt-readahead-base3:1.87
	netbsd-3-0-RC5:1.86
	netbsd-3-0-RC4:1.86
	netbsd-3-0-RC3:1.86
	yamt-readahead-base2:1.87
	netbsd-3-0-RC2:1.86
	yamt-readahead-pervnode:1.87
	yamt-readahead-perfile:1.87
	yamt-readahead:1.87.0.8
	yamt-readahead-base:1.87
	netbsd-3-0-RC1:1.86
	yamt-vop-base3:1.87
	netbsd-2-0-3-RELEASE:1.85
	netbsd-2-1:1.85.10.1.0.2
	yamt-vop-base2:1.87
	thorpej-vnode-attr:1.87.0.6
	thorpej-vnode-attr-base:1.87
	netbsd-2-1-RELEASE:1.85.10.1
	yamt-vop:1.87.0.4
	yamt-vop-base:1.87
	netbsd-2-1-RC6:1.85.10.1
	netbsd-2-1-RC5:1.85.10.1
	netbsd-2-1-RC4:1.85.10.1
	netbsd-2-1-RC3:1.85.10.1
	netbsd-2-1-RC2:1.85.10.1
	netbsd-2-1-RC1:1.85.10.1
	yamt-lazymbuf:1.87.0.2
	yamt-km-base4:1.86
	netbsd-2-0-2-RELEASE:1.85
	yamt-km-base3:1.86
	netbsd-3:1.86.0.10
	netbsd-3-base:1.86
	yamt-km-base2:1.86
	yamt-km:1.86.0.6
	yamt-km-base:1.86
	kent-audio2:1.86.0.4
	kent-audio2-base:1.86
	netbsd-2-0-1-RELEASE:1.85
	kent-audio1-beforemerge:1.86
	netbsd-2:1.85.0.10
	netbsd-2-base:1.85
	kent-audio1:1.86.0.2
	kent-audio1-base:1.86
	netbsd-2-0-RELEASE:1.85
	netbsd-2-0-RC5:1.85
	netbsd-2-0-RC4:1.85
	netbsd-2-0-RC3:1.85
	netbsd-2-0-RC2:1.85
	netbsd-2-0-RC1:1.85
	netbsd-2-0:1.85.0.8
	netbsd-2-0-base:1.85
	netbsd-1-6-PATCH002-RELEASE:1.83
	netbsd-1-6-PATCH002:1.83
	netbsd-1-6-PATCH002-RC4:1.83
	netbsd-1-6-PATCH002-RC3:1.83
	netbsd-1-6-PATCH002-RC2:1.83
	netbsd-1-6-PATCH002-RC1:1.83
	ktrace-lwp:1.85.0.6
	ktrace-lwp-base:1.87
	netbsd-1-6-PATCH001:1.83
	netbsd-1-6-PATCH001-RELEASE:1.83
	netbsd-1-6-PATCH001-RC3:1.83
	netbsd-1-6-PATCH001-RC2:1.83
	netbsd-1-6-PATCH001-RC1:1.83
	nathanw_sa_end:1.80.2.4
	nathanw_sa_before_merge:1.85
	fvdl_fs64_base:1.85
	gmcgarry_ctxsw:1.85.0.4
	gmcgarry_ctxsw_base:1.85
	gmcgarry_ucred:1.85.0.2
	gmcgarry_ucred_base:1.85
	nathanw_sa_base:1.85
	kqueue-aftermerge:1.84
	kqueue-beforemerge:1.84
	netbsd-1-6-RELEASE:1.83
	netbsd-1-6-RC3:1.83
	netbsd-1-6-RC2:1.83
	netbsd-1-6-RC1:1.83
	netbsd-1-6:1.83.0.10
	netbsd-1-6-base:1.83
	gehenna-devsw:1.83.0.8
	gehenna-devsw-base:1.84
	netbsd-1-5-PATCH003:1.76
	eeh-devprop:1.83.0.6
	eeh-devprop-base:1.83
	newlock:1.83.0.4
	newlock-base:1.83
	ifpoll-base:1.83
	nathanw_sa:1.80.0.2
	thorpej-mips-cache:1.79.0.2
	thorpej-mips-cache-base:1.80
	thorpej-devvp-base3:1.78
	thorpej-devvp-base2:1.78
	post-chs-ubcperf:1.78
	pre-chs-ubcperf:1.78
	thorpej-devvp:1.78.0.4
	thorpej-devvp-base:1.78
	netbsd-1-5-PATCH002:1.76
	kqueue:1.78.0.2
	kqueue-base:1.84
	netbsd-1-5-PATCH001:1.76
	thorpej_scsipi_beforemerge:1.77
	thorpej_scsipi_nbase:1.77
	netbsd-1-5-RELEASE:1.76
	netbsd-1-5-BETA2:1.76
	netbsd-1-5-BETA:1.76
	netbsd-1-4-PATCH003:1.68
	netbsd-1-5-ALPHA2:1.76
	netbsd-1-5:1.76.0.4
	netbsd-1-5-base:1.76
	minoura-xpg4dl:1.76.0.2
	minoura-xpg4dl-base:1.76
	netbsd-1-4-PATCH002:1.68
	chs-ubc2-newbase:1.74
	wrstuden-devbsize-19991221:1.70
	wrstuden-devbsize:1.70.0.8
	wrstuden-devbsize-base:1.70
	kame_141_19991130:1.68
	comdex-fall-1999:1.70.0.6
	comdex-fall-1999-base:1.70
	fvdl-softdep:1.70.0.4
	fvdl-softdep-base:1.70
	thorpej_scsipi:1.70.0.2
	thorpej_scsipi_base:1.77
	netbsd-1-4-PATCH001:1.68
	kame_14_19990705:1.68
	kame_14_19990628:1.68
	kame:1.68.0.8
	scottr-mac68k-wscons-base:1.74
	chs-ubc2:1.68.0.6
	chs-ubc2-base:1.70
	netbsd-1-4-RELEASE:1.68
	netbsd-1-4:1.68.0.4
	netbsd-1-4-base:1.68
	scottr-mac68k-wscons:1.68.0.2
	netbsd-1-3-PATCH003:1.57.2.2
	netbsd-1-3-PATCH003-CANDIDATE2:1.57.2.2
	kenh-if-detach:1.65.0.4
	kenh-if-detach-base:1.65
	netbsd-1-3-PATCH003-CANDIDATE1:1.57.2.2
	netbsd-1-3-PATCH003-CANDIDATE0:1.57.2.2
	chs-ubc:1.65.0.2
	chs-ubc-base:1.65
	eeh-paddr_t:1.63.0.2
	eeh-paddr_t-base:1.63
	netbsd-1-3-PATCH002:1.57.2.2
	netbsd-1-3-PATCH001:1.57.2.2
	netbsd-1-3-RELEASE:1.57.2.2
	netbsd-1-3-BETA:1.57.2.2
	netbsd-1-3:1.57.0.2
	netbsd-1-3-base:1.57
	thorpej-signal:1.55.0.4
	thorpej-signal-base:1.55
	marc-pcmcia:1.55.0.2
	marc-pcmcia-bp:1.55
	marc-pcmcia-base:1.57
	bouyer-scsipi:1.53.0.2
	is-newarp-before-merge:1.51
	is-newarp:1.51.0.4
	is-newarp-base:1.51
	netbsd-1-2-PATCH001:1.38
	mrg-vm-swap:1.51.0.2
	thorpej-setroot:1.47.0.2
	netbsd-1-2-RELEASE:1.38
	netbsd-1-2-BETA:1.38
	netbsd-1-2:1.38.0.4
	netbsd-1-2-base:1.38
	netbsd-1-1-PATCH001:1.25
	netbsd-1-1-RELEASE:1.25
	netbsd-1-1:1.25.0.2
	netbsd-1-1-base:1.25
	netbsd-1-0-PATCH06:1.8.2.1
	netbsd-1-0-PATCH05:1.8.2.1
	netbsd-1-0-PATCH04:1.8.2.1
	netbsd-1-0-PATCH03:1.8.2.1
	netbsd-1-0-PATCH02:1.8.2.1
	netbsd-1-0-PATCH1:1.8.2.1
	netbsd-1-0-PATCH0:1.8.2.1
	netbsd-1-0-RELEASE:1.8.2.1
	netbsd-1-0:1.8.0.2
	netbsd-1-0-base:1.8;
locks; strict;
comment	@# @;


1.94
date	2026.04.20.09.47.45;	author thorpej;	state Exp;
branches;
next	1.93;
commitid	gHqDysuna5nrhGCG;

1.93
date	2018.09.22.12.24.02;	author rin;	state Exp;
branches;
next	1.92;
commitid	oPiNEJ7VnAF626TA;

1.92
date	2018.02.25.00.27.16;	author mrg;	state Exp;
branches
	1.92.2.1
	1.92.4.1;
next	1.91;
commitid	rhNeBRRdy64OPasA;

1.91
date	2015.09.06.02.17.30;	author uebayasi;	state Exp;
branches;
next	1.90;

1.90
date	2011.01.21.15.59.07;	author joerg;	state Exp;
branches
	1.90.14.1
	1.90.32.1;
next	1.89;

1.89
date	2008.02.18.14.01.17;	author joerg;	state Exp;
branches
	1.89.32.1
	1.89.38.1
	1.89.40.1;
next	1.88;

1.88
date	2005.12.11.12.18.01;	author christos;	state Exp;
branches
	1.88.50.1
	1.88.56.1;
next	1.87;

1.87
date	2005.05.31.04.03.10;	author christos;	state Exp;
branches
	1.87.2.1;
next	1.86;

1.86
date	2004.06.04.04.45.50;	author thorpej;	state Exp;
branches;
next	1.85;

1.85
date	2002.11.26.18.51.15;	author thorpej;	state Exp;
branches
	1.85.6.1
	1.85.10.1;
next	1.84;

1.84
date	2002.06.04.21.39.10;	author thorpej;	state Exp;
branches;
next	1.83;

1.83
date	2001.12.09.05.00.45;	author atatat;	state Exp;
branches
	1.83.8.1;
next	1.82;

1.82
date	2001.11.20.12.56.31;	author lukem;	state Exp;
branches;
next	1.81;

1.81
date	2001.11.20.08.43.28;	author lukem;	state Exp;
branches;
next	1.80;

1.80
date	2001.10.26.06.45.37;	author jmc;	state Exp;
branches
	1.80.2.1;
next	1.79;

1.79
date	2001.10.23.19.26.45;	author thorpej;	state Exp;
branches
	1.79.2.1;
next	1.78;

1.78
date	2001.05.29.02.20.23;	author mrg;	state Exp;
branches
	1.78.2.1;
next	1.77;

1.77
date	2000.12.17.15.52.42;	author jdolecek;	state Exp;
branches
	1.77.2.1;
next	1.76;

1.76
date	2000.05.09.00.56.24;	author hubertf;	state Exp;
branches;
next	1.75;

1.75
date	2000.05.09.00.32.23;	author thorpej;	state Exp;
branches;
next	1.74;

1.74
date	2000.02.01.05.25.35;	author tsutsui;	state Exp;
branches;
next	1.73;

1.73
date	2000.01.24.20.36.13;	author tron;	state Exp;
branches;
next	1.72;

1.72
date	2000.01.19.16.29.58;	author tsutsui;	state Exp;
branches;
next	1.71;

1.71
date	2000.01.19.14.45.04;	author tsutsui;	state Exp;
branches;
next	1.70;

1.70
date	99.07.26.05.20.46;	author cgd;	state Exp;
branches
	1.70.2.1;
next	1.69;

1.69
date	99.07.09.09.52.57;	author mrg;	state Exp;
branches;
next	1.68;

1.68
date	99.01.15.23.37.06;	author thorpej;	state Exp;
branches
	1.68.2.1
	1.68.6.1;
next	1.67;

1.67
date	99.01.15.23.21.26;	author thorpej;	state Exp;
branches;
next	1.66;

1.66
date	99.01.08.19.26.13;	author augustss;	state Exp;
branches;
next	1.65;

1.65
date	98.10.15.18.37.15;	author drochner;	state Exp;
branches;
next	1.64;

1.64
date	98.09.05.15.15.16;	author lukem;	state Exp;
branches;
next	1.63;

1.63
date	98.05.31.23.25.42;	author thorpej;	state Exp;
branches;
next	1.62;

1.62
date	98.04.24.05.15.25;	author scottr;	state Exp;
branches;
next	1.61;

1.61
date	98.04.12.23.47.43;	author tv;	state Exp;
branches;
next	1.60;

1.60
date	97.11.25.18.33.19;	author scottr;	state Exp;
branches;
next	1.59;

1.59
date	97.11.12.23.12.11;	author thorpej;	state Exp;
branches;
next	1.58;

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

1.57
date	97.09.30.22.50.53;	author christos;	state Exp;
branches
	1.57.2.1;
next	1.56;

1.56
date	97.09.12.07.55.17;	author mycroft;	state Exp;
branches;
next	1.55;

1.55
date	97.07.24.05.48.51;	author scottr;	state Exp;
branches
	1.55.2.1;
next	1.54;

1.54
date	97.07.12.22.07.58;	author leo;	state Exp;
branches;
next	1.53;

1.53
date	97.04.15.06.11.38;	author scottr;	state Exp;
branches;
next	1.52;

1.52
date	97.03.14.23.27.30;	author mycroft;	state Exp;
branches;
next	1.51;

1.51
date	97.02.04.05.08.36;	author perry;	state Exp;
branches;
next	1.50;

1.50
date	97.02.04.04.32.08;	author perry;	state Exp;
branches;
next	1.49;

1.49
date	97.02.01.21.55.23;	author scottr;	state Exp;
branches;
next	1.48;

1.48
date	97.01.25.22.39.32;	author scottr;	state Exp;
branches;
next	1.47;

1.47
date	97.01.13.07.06.51;	author scottr;	state Exp;
branches
	1.47.2.1;
next	1.46;

1.46
date	96.12.17.13.58.26;	author scottr;	state Exp;
branches;
next	1.45;

1.45
date	96.12.17.07.04.21;	author scottr;	state Exp;
branches;
next	1.44;

1.44
date	96.12.01.06.12.32;	author jonathan;	state Exp;
branches;
next	1.43;

1.43
date	96.09.09.21.07.01;	author mycroft;	state Exp;
branches;
next	1.42;

1.42
date	96.08.31.21.41.22;	author mycroft;	state Exp;
branches;
next	1.41;

1.41
date	96.08.12.00.51.44;	author mycroft;	state Exp;
branches;
next	1.40;

1.40
date	96.08.10.06.09.07;	author mycroft;	state Exp;
branches;
next	1.39;

1.39
date	96.08.10.05.29.41;	author mycroft;	state Exp;
branches;
next	1.38;

1.38
date	96.05.11.16.12.20;	author mycroft;	state Exp;
branches;
next	1.37;

1.37
date	96.05.05.06.16.00;	author briggs;	state Exp;
branches;
next	1.36;

1.36
date	96.02.29.20.56.32;	author cgd;	state Exp;
branches;
next	1.35;

1.35
date	96.02.26.02.53.40;	author mycroft;	state Exp;
branches;
next	1.34;

1.34
date	96.02.09.02.21.26;	author mycroft;	state Exp;
branches;
next	1.33;

1.33
date	96.02.03.15.14.39;	author briggs;	state Exp;
branches;
next	1.32;

1.32
date	96.02.03.00.44.04;	author mycroft;	state Exp;
branches;
next	1.31;

1.31
date	96.02.02.20.09.14;	author mycroft;	state Exp;
branches;
next	1.30;

1.30
date	96.02.02.13.38.10;	author mycroft;	state Exp;
branches;
next	1.29;

1.29
date	96.02.02.02.36.48;	author mycroft;	state Exp;
branches;
next	1.28;

1.28
date	96.02.01.22.31.33;	author mycroft;	state Exp;
branches;
next	1.27;

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

1.26
date	95.11.01.04.53.34;	author briggs;	state Exp;
branches;
next	1.25;

1.25
date	95.10.10.03.47.59;	author briggs;	state Exp;
branches;
next	1.24;

1.24
date	95.09.19.23.48.41;	author thorpej;	state Exp;
branches;
next	1.23;

1.23
date	95.07.04.03.30.11;	author briggs;	state Exp;
branches;
next	1.22;

1.22
date	95.06.25.14.02.09;	author briggs;	state Exp;
branches;
next	1.21;

1.21
date	95.06.25.13.53.21;	author briggs;	state Exp;
branches;
next	1.20;

1.20
date	95.06.25.13.39.37;	author briggs;	state Exp;
branches;
next	1.19;

1.19
date	95.06.25.13.06.32;	author briggs;	state Exp;
branches;
next	1.18;

1.18
date	95.06.24.17.24.24;	author briggs;	state Exp;
branches;
next	1.17;

1.17
date	95.06.16.04.45.22;	author briggs;	state Exp;
branches;
next	1.16;

1.16
date	95.05.31.00.09.55;	author briggs;	state Exp;
branches;
next	1.15;

1.15
date	95.03.29.07.28.51;	author briggs;	state Exp;
branches;
next	1.14;

1.14
date	95.03.23.19.47.05;	author jtc;	state Exp;
branches;
next	1.13;

1.13
date	94.12.03.23.33.55;	author briggs;	state Exp;
branches;
next	1.12;

1.12
date	94.10.26.08.45.53;	author cgd;	state Exp;
branches;
next	1.11;

1.11
date	94.07.21.01.49.08;	author briggs;	state Exp;
branches;
next	1.10;

1.10
date	94.07.21.00.58.28;	author briggs;	state Exp;
branches;
next	1.9;

1.9
date	94.07.08.11.47.10;	author briggs;	state Exp;
branches;
next	1.8;

1.8
date	94.06.25.04.58.08;	author briggs;	state Exp;
branches
	1.8.2.1;
next	1.7;

1.7
date	94.03.13.22.27.06;	author lkestel;	state Exp;
branches;
next	1.6;

1.6
date	94.02.27.03.44.25;	author briggs;	state Exp;
branches;
next	1.5;

1.5
date	94.02.12.18.03.12;	author briggs;	state Exp;
branches;
next	1.4;

1.4
date	94.01.30.00.57.20;	author briggs;	state Exp;
branches;
next	1.3;

1.3
date	94.01.10.23.58.37;	author briggs;	state Exp;
branches;
next	1.2;

1.2
date	93.12.07.03.27.43;	author briggs;	state Exp;
branches;
next	1.1;

1.1
date	93.12.02.18.29.21;	author briggs;	state Exp;
branches;
next	;

1.92.2.1
date	2018.09.30.01.45.45;	author pgoyette;	state Exp;
branches;
next	;
commitid	SQ44grEPCeKPh4UA;

1.92.4.1
date	2019.06.10.22.06.26;	author christos;	state Exp;
branches;
next	;
commitid	jtc8rnCzWiEEHGqB;

1.90.14.1
date	2017.12.03.11.36.24;	author jdolecek;	state Exp;
branches;
next	;
commitid	XcIYRZTAh1LmerhA;

1.90.32.1
date	2015.09.22.12.05.45;	author skrll;	state Exp;
branches;
next	;

1.89.32.1
date	2011.03.05.20.50.56;	author rmind;	state Exp;
branches;
next	;

1.89.38.1
date	2011.06.06.09.05.58;	author jruoho;	state Exp;
branches;
next	;

1.89.40.1
date	2011.02.08.16.19.27;	author bouyer;	state Exp;
branches;
next	;

1.88.50.1
date	2008.03.23.02.04.09;	author matt;	state Exp;
branches;
next	;

1.88.56.1
date	2008.02.18.21.04.45;	author mjf;	state Exp;
branches;
next	;

1.87.2.1
date	2008.02.27.08.36.21;	author yamt;	state Exp;
branches;
next	;

1.85.6.1
date	2004.08.03.10.37.00;	author skrll;	state Exp;
branches;
next	1.85.6.2;

1.85.6.2
date	2004.09.18.14.36.38;	author skrll;	state Exp;
branches;
next	1.85.6.3;

1.85.6.3
date	2004.09.21.13.17.57;	author skrll;	state Exp;
branches;
next	1.85.6.4;

1.85.6.4
date	2005.11.10.13.57.13;	author skrll;	state Exp;
branches;
next	;

1.85.10.1
date	2005.02.06.07.45.25;	author jmc;	state Exp;
branches;
next	;

1.83.8.1
date	2002.07.14.18.37.03;	author gehenna;	state Exp;
branches;
next	;

1.80.2.1
date	2001.10.26.06.45.37;	author nathanw;	state dead;
branches;
next	1.80.2.2;

1.80.2.2
date	2002.01.08.00.25.57;	author nathanw;	state Exp;
branches;
next	1.80.2.3;

1.80.2.3
date	2002.06.20.03.39.22;	author nathanw;	state Exp;
branches;
next	1.80.2.4;

1.80.2.4
date	2002.12.11.06.10.43;	author thorpej;	state Exp;
branches;
next	;

1.79.2.1
date	2001.11.12.21.17.10;	author thorpej;	state Exp;
branches;
next	;

1.78.2.1
date	2002.01.10.19.45.31;	author thorpej;	state Exp;
branches;
next	1.78.2.2;

1.78.2.2
date	2002.06.23.17.37.42;	author jdolecek;	state Exp;
branches;
next	;

1.77.2.1
date	2001.06.21.19.26.45;	author nathanw;	state Exp;
branches;
next	;

1.70.2.1
date	2000.11.20.20.12.13;	author bouyer;	state Exp;
branches;
next	1.70.2.2;

1.70.2.2
date	2001.01.05.17.34.36;	author bouyer;	state Exp;
branches;
next	;

1.68.2.1
date	99.11.01.06.19.09;	author scottr;	state Exp;
branches;
next	1.68.2.2;

1.68.2.2
date	2000.02.13.04.17.36;	author scottr;	state Exp;
branches;
next	;

1.68.6.1
date	99.08.02.19.53.15;	author thorpej;	state Exp;
branches;
next	;

1.57.2.1
date	97.11.12.23.45.34;	author thorpej;	state Exp;
branches;
next	1.57.2.2;

1.57.2.2
date	97.11.26.04.00.39;	author mellon;	state Exp;
branches;
next	;

1.55.2.1
date	97.09.16.03.48.45;	author thorpej;	state Exp;
branches;
next	1.55.2.2;

1.55.2.2
date	97.10.14.10.16.49;	author thorpej;	state Exp;
branches;
next	;

1.47.2.1
date	97.01.30.05.58.14;	author thorpej;	state Exp;
branches;
next	;

1.8.2.1
date	94.07.24.01.22.51;	author cgd;	state Exp;
branches;
next	;


desc
@@


1.94
log
@Re-factor genassym.cf into common m68k definitions and platform-specific
ones.
@
text
@#	$NetBSD: Makefile.mac68k,v 1.93 2018/09/22 12:24:02 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/mac68k/conf/``machineid''
# after which you should do
#	config machineid
# Machine generic makefile changes should be made in
#	/sys/arch/mac68k/conf/Makefile.mac68k
# 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
##
MAC68K=		$S/arch/mac68k
GENASSYM_CONF=	$S/arch/m68k/m68k/genassym.cf
GENASSYM_EXTRAS+= ${MAC68K}/mac68k/genassym.cf

##
## (2) compile settings
##
CPPFLAGS+=	-Dmac68k
CFLAGS+=	-msoft-float
AFLAGS+=	-x assembler-with-cpp

##
## (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"

MD_OBJS=	locore.o
MD_LIBS=	${FPSP}
MD_CFILES=
MD_SFILES=	${MAC68K}/mac68k/locore.s

locore.o: ${MAC68K}/mac68k/locore.s assym.h
	${NORMAL_S}

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

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

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

# depend on CPU configuration
locore.o pmap.o trap.o: Makefile

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

##
## (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"

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


1.93
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.mac68k,v 1.92 2018/02/25 00:27:16 mrg Exp $
d29 2
a30 1
GENASSYM_CONF=	${MAC68K}/mac68k/genassym.cf
@


1.92
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.mac68k,v 1.91 2015/09/06 02:17:30 uebayasi Exp $
d41 1
a41 1
KERN_AS=	obj
@


1.92.4.1
log
@Sync with HEAD
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.mac68k,v 1.93 2018/09/22 12:24:02 rin Exp $
d41 1
a41 1
OPT_MODULAR=	%MODULAR%
@


1.92.2.1
log
@Ssync with HEAD
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.mac68k,v 1.93 2018/09/22 12:24:02 rin Exp $
d41 1
a41 1
OPT_MODULAR=	%MODULAR%
@


1.91
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$
d57 2
@


1.90
log
@Switch remaining platforms to modern CPP for assembler.
@
text
@d1 1
a1 1
#	$NetBSD: src/sys/arch/mac68k/conf/Makefile.mac68k,v 1.89 2008-02-18 14:01:17 joerg Exp $
d49 2
a50 1
MD_OBJS=	locore.o ${FPSP}
@


1.90.14.1
log
@update from HEAD
@
text
@d1 1
a1 1
#	$NetBSD$
d49 1
a49 2
MD_OBJS=	locore.o
MD_LIBS=	${FPSP}
@


1.90.32.1
log
@Sync with HEAD
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.mac68k,v 1.91 2015/09/06 02:17:30 uebayasi Exp $
d49 1
a49 2
MD_OBJS=	locore.o
MD_LIBS=	${FPSP}
@


1.89
log
@Missing assym.h dependencies.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.mac68k,v 1.88 2005/12/11 12:18:01 christos Exp $
d36 1
a36 1
AFLAGS+=	-x assembler-with-cpp -traditional-cpp
@


1.89.38.1
log
@Sync with HEAD.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.mac68k,v 1.90 2011/01/21 15:59:07 joerg Exp $
d36 1
a36 1
AFLAGS+=	-x assembler-with-cpp
@


1.89.32.1
log
@sync with head
@
text
@d1 1
a1 1
#	$NetBSD$
d36 1
a36 1
AFLAGS+=	-x assembler-with-cpp
@


1.89.40.1
log
@Sync with HEAD
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.mac68k,v 1.90 2011/01/21 15:59:07 joerg Exp $
d36 1
a36 1
AFLAGS+=	-x assembler-with-cpp
@


1.88
log
@merge ktrace-lwp.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.mac68k,v 1.85.6.4 2005/11/10 13:57:13 skrll Exp $
d69 2
@


1.88.50.1
log
@sync with HEAD
@
text
@d1 1
a1 1
#	Makefile.mac68k,v 1.88 2005/12/11 12:18:01 christos Exp
a68 2
copy.o copypage.o lock_stubs.o macromasm.o: assym.h

@


1.88.56.1
log
@Sync with HEAD.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.mac68k,v 1.89 2008/02/18 14:01:17 joerg Exp $
a68 2
copy.o copypage.o lock_stubs.o macromasm.o: assym.h

@


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


1.87.2.1
log
@sync with head.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.mac68k,v 1.87 2005/05/31 04:03:10 christos Exp $
a68 2
copy.o copypage.o lock_stubs.o macromasm.o: assym.h

@


1.86
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.mac68k,v 1.85 2002/11/26 18:51:15 thorpej Exp $
d29 1
a29 1
GENASSYM=	${MAC68K}/mac68k/genassym.cf
@


1.85
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.mac68k,v 1.84 2002/06/04 21:39:10 thorpej Exp $
d92 5
@


1.85.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.mac68k,v 1.85 2002/11/26 18:51:15 thorpej Exp $
a91 5

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


1.85.6.1
log
@Sync with HEAD
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.mac68k,v 1.86 2004/06/04 04:45:50 thorpej Exp $
a91 5

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


1.85.6.2
log
@Sync with HEAD.
@
text
@@


1.85.6.3
log
@Fix the sync with head I botched.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.mac68k,v 1.85.6.1 2004/08/03 10:37:00 skrll Exp $
@


1.85.6.4
log
@Sync with HEAD. Here we go again...
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.mac68k,v 1.85.6.3 2004/09/21 13:17:57 skrll Exp $
d29 1
a29 1
GENASSYM_CONF=	${MAC68K}/mac68k/genassym.cf
@


1.84
log
@Don't use -traditional-cpp if HAVE_GCC3.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.mac68k,v 1.83 2001/12/09 05:00:45 atatat Exp $
a35 3
.if defined(HAVE_GCC3)
AFLAGS+=	-x assembler-with-cpp
.else
a36 1
.endif
@


1.83
log
@Roll the rest of the ports over to the new MI kernel build machinery.
Any problems reported by testers have been fixed, and massive
cross-compiling of kernels has shown that any problems that remain
with actually building kernels are not related to this.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.mac68k,v 1.82 2001/11/20 12:56:31 lukem Exp $
d36 5
a40 4
AFLAGS+=	-traditional

NORMAL_S=	${CPP} ${AFLAGS} ${CPPFLAGS} $< | sed -e 's/^\#.*//' | \
		${AS} -o ${.TARGET}
@


1.83.8.1
log
@catch up with -current.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.mac68k,v 1.84 2002/06/04 21:39:10 thorpej Exp $
d36 4
a39 5
.if defined(HAVE_GCC3)
AFLAGS+=	-x assembler-with-cpp
.else
AFLAGS+=	-x assembler-with-cpp -traditional-cpp
.endif
@


1.82
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.mac68k,v 1.81 2001/11/20 08:43:28 lukem Exp $
d14 5
d22 1
a22 1

d25 20
a44 2
# DEBUG is set to -g if debugging.
# PROF is set to -pg if profiling.
d46 5
a50 36
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
.endif
MAC68K=	$S/arch/mac68k

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 -Dmac68k
CWARNFLAGS?=	-Werror -Wall -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} ${CWARNFLAGS} -msoft-float
AFLAGS=		-traditional -D_LOCORE
LINKFLAGS=	-n -Ttext 0 -e start
STRIPFLAGS=	-g
d52 3
a54 1
%INCLUDES
d56 2
a57 16
### Find out what to use for libkern.
KERN_AS=	obj
.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
d59 9
a67 2
### for the Motorola 68040 Floating Point Software Product
.include "$S/arch/m68k/fpsp/Makefile.inc"
d69 2
a70 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).
d72 8
a79 3
NORMAL_C=	${CC} ${CFLAGS} ${CPPFLAGS} ${PROF} -c $<
NOPROF_C=	${CC} ${CFLAGS} ${CPPFLAGS} -c $<
NORMAL_S=	${CPP} ${AFLAGS} ${CPPFLAGS} $< | sed -e 's/^\#.*//' | ${AS} -o ${.TARGET}
a86 24
# 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

d89 1
a89 75
assym.h: $S/kern/genassym.sh ${MAC68K}/mac68k/genassym.cf
	sh $S/kern/genassym.sh ${CC} ${CFLAGS} ${CPPFLAGS} ${PROF} \
	    < ${MAC68K}/mac68k/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=	${MAC68K}/mac68k/locore.s \
	param.c ioconf.c ${CFILES} ${SFILES}
depend: .depend
.depend: ${SRCS} assym.h param.c
	${MKDEP} -x assembler-with-cpp ${AFLAGS} ${CPPFLAGS} \
	    ${MAC68K}/mac68k/locore.s
	${MKDEP} -a ${CFLAGS} ${CPPFLAGS} param.c ioconf.c ${CFILES}
	${MKDEP} -a -x assembler-with-cpp ${AFLAGS} ${CPPFLAGS} ${SFILES}
	sh $S/kern/genassym.sh ${MKDEP} -f assym.dep ${CFLAGS} \
	  ${CPPFLAGS} < ${MAC68K}/mac68k/genassym.cf
	@@sed -e 's/.*\.o:.*\.c/assym.h:/' < assym.dep >> .depend
	@@rm -f assym.dep

dependall: depend all


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

# depend on network or filesystem configuration
uipc_proto.o vfs_conf.o: Makefile

# depend on maxusers
genassym.o machdep.o: Makefile

# depend on CPU configuration
locore.o pmap.o trap.o: Makefile

d91 4
a94 16
locore.o: ${MAC68K}/mac68k/locore.s assym.h
	${NORMAL_S}

# 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

%RULES
@


1.81
log
@- pull in opt_kgdb.h where necessary
- replace opt_kgdb_machdep.h with opt_kgdb.h
- defparam opt_kgdb.h:
	KGDB_DEV KGDB_DEVNAME KGDB_DEVADDR KGDB_DEVRATE KGDB_DEVMODE
- move from opt_ddbparam.h to opt_ddb.h:
	DDB_FROMCONSOLE DDB_ONPANIC DDB_HISTORY_SIZE DDB_BREAK_CHAR SYMTAB_SPACE
- replace KGDBDEV with KGDB_DEV
- replace KGDBADDR with KGDB_DEVADDR
- replace KGDBMODE with KGDB_DEVMODE
- replace KGDBRATE with KGDB_DEVRATE
- use `9600' instead of `0x2580' for 9600 baud rate
- use correct quotes for  options KGDB_DEVNAME="\"com\""
- use correct quotes for  options KGDB_DEV="17*256+0"
- remove unnecessary dependancy on Makefile for kgdb_stub.o
- minor whitespace cleanup
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.mac68k,v 1.80 2001/10/26 06:45:37 jmc Exp $
d44 1
a44 1
HAVE_EGCS!=	${CC} --version | egrep "^(2\.[89]|egcs)" ; echo 
d50 1
a50 1
# XXX always get it right.  --thorpej 
d186 3
a188 3
 
# depend on network or filesystem configuration 
uipc_proto.o vfs_conf.o: Makefile 
d193 1
a193 1
# depend on CPU configuration 
@


1.80
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.mac68k,v 1.79 2001/10/23 19:26:45 thorpej Exp $
a191 3

# depends on KGDBDEV, KGDBRATE
kgdb_stub.o: Makefile
@


1.80.2.1
log
@file Makefile.mac68k was added on branch nathanw_sa on 2002-01-08 00:25:57 +0000
@
text
@d1 215
@


1.80.2.2
log
@Catch up to -current.
@
text
@a0 94
#	$NetBSD: Makefile.mac68k,v 1.80.2.1 2002/01/08 00:25:57 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/mac68k/conf/``machineid''
# after which you should do
#	config machineid
# Machine generic makefile changes should be made in
#	/sys/arch/mac68k/conf/Makefile.mac68k
# 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
##
MAC68K=		$S/arch/mac68k
GENASSYM=	${MAC68K}/mac68k/genassym.cf

##
## (2) compile settings
##
CPPFLAGS+=	-Dmac68k
CFLAGS+=	-msoft-float
AFLAGS+=	-traditional

NORMAL_S=	${CPP} ${AFLAGS} ${CPPFLAGS} $< | sed -e 's/^\#.*//' | \
		${AS} -o ${.TARGET}

##
## (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"

MD_OBJS=	locore.o ${FPSP}
MD_CFILES=
MD_SFILES=	${MAC68K}/mac68k/locore.s

locore.o: ${MAC68K}/mac68k/locore.s assym.h
	${NORMAL_S}

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

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

# depend on CPU configuration
locore.o pmap.o trap.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.80.2.3
log
@Catch up to -current.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.mac68k,v 1.80.2.2 2002/06/20 03:39:22 nathanw Exp $
d36 4
a39 5
.if defined(HAVE_GCC3)
AFLAGS+=	-x assembler-with-cpp
.else
AFLAGS+=	-x assembler-with-cpp -traditional-cpp
.endif
@


1.80.2.4
log
@Sync with HEAD.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.mac68k,v 1.80.2.3 2002/12/11 06:10:43 thorpej Exp $
d36 3
d40 1
@


1.79
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.mac68k,v 1.78 2001/05/29 02:20:23 mrg Exp $
d16 3
@


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

.include <bsd.own.mk>
@


1.78
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 1
a1 1
#	$NetBSD: Makefile.mac68k,v 1.77 2000/12/17 15:52:42 jdolecek Exp $
d14 2
@


1.78.2.1
log
@Sync kqueue branch with -current.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.mac68k,v 1.83 2001/12/09 05:00:45 atatat 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_*"
d15 2
a16 25
MACHINE_ARCH=m68k
USETOOLS?=	no
NEED_OWN_INSTALL_TARGET?=no
.include <bsd.own.mk>

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

##
## (2) compile settings
##
CPPFLAGS+=	-Dmac68k
CFLAGS+=	-msoft-float
AFLAGS+=	-traditional

NORMAL_S=	${CPP} ${AFLAGS} ${CPPFLAGS} $< | sed -e 's/^\#.*//' | \
		${AS} -o ${.TARGET}

##
## (3) libkern and compat
##
KERN_AS=	obj
d18 36
a53 5
##
## (4) local objects, compile rules, and dependencies
##
# for the Motorola 68040 Floating Point Software Product
.include "$S/arch/m68k/fpsp/Makefile.inc"
d55 1
a55 3
MD_OBJS=	locore.o ${FPSP}
MD_CFILES=
MD_SFILES=	${MAC68K}/mac68k/locore.s
d57 16
a72 2
locore.o: ${MAC68K}/mac68k/locore.s assym.h
	${NORMAL_S}
d74 2
a75 9
##
## (5) link settings
##
LINKFORMAT=	-n
TEXTADDR?=	0

##
## (6) port specific target dependencies
##
d77 2
a78 2
# depend on CPU configuration
locore.o pmap.o trap.o: Makefile
d80 3
a82 8
##
## (7) misc settings
##

##
## (8) config(8) generated machinery
##
%INCLUDES
d90 24
d116 94
a210 5

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


1.78.2.2
log
@catch up with -current on kqueue branch
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.mac68k,v 1.78.2.1 2002/01/10 19:45:31 thorpej Exp $
d36 4
a39 5
.if defined(HAVE_GCC3)
AFLAGS+=	-x assembler-with-cpp
.else
AFLAGS+=	-x assembler-with-cpp -traditional-cpp
.endif
@


1.77
log
@delete obsolete comment
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.mac68k,v 1.76 2000/05/09 00:56:24 hubertf Exp $
d41 1
a41 1
CPPFLAGS=	${INCLUDES} ${IDENT} ${PARAM} -D_KERNEL -Dmac68k
@


1.77.2.1
log
@Catch up to -current.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.mac68k,v 1.77 2000/12/17 15:52:42 jdolecek Exp $
d41 1
a41 1
CPPFLAGS=	${INCLUDES} ${IDENT} ${PARAM} -D_KERNEL -D_KERNEL_OPT -Dmac68k
@


1.76
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.mac68k,v 1.75 2000/05/09 00:32:23 thorpej 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.75
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.mac68k,v 1.74 2000/02/01 05:25:35 tsutsui Exp $
d203 12
@


1.74
log
@Revert STRIPPROG -> STRIP
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.mac68k,v 1.73 2000/01/24 20:36:13 tron Exp $
d45 1
a45 1
HAVE_GCC28!=	${CC} --version | egrep "^(2\.8|egcs)" ; echo 
d50 4
a53 1
.if (${HAVE_GCC28} != "")
@


1.73
log
@Add "dependall" target for comfort.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.mac68k,v 1.72 2000/01/19 16:29:58 tsutsui Exp $
d34 1
a34 1
STRIPPROG?=strip
d111 2
a112 2
		echo ${STRIPPROG} ${STRIPFLAGS} -o $@@ $@@.gdb; \
		${STRIPPROG} ${STRIPFLAGS} -o $@@ $@@.gdb
@


1.72
log
@STRIP -> STRIPPROG
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.mac68k,v 1.71 2000/01/19 14:45:04 tsutsui Exp $
d178 2
@


1.71
log
@Change STRIPFLAGS=-g for cross-toolchains.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.mac68k,v 1.70 1999/07/26 05:20:46 cgd Exp $
d34 1
a34 1
STRIP?=	strip
d111 2
a112 2
		echo ${STRIP} ${STRIPFLAGS} -o $@@ $@@.gdb; \
		${STRIP} ${STRIPFLAGS} -o $@@ $@@.gdb
@


1.70
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.mac68k,v 1.69 1999/07/09 09:52:57 mrg Exp $
d56 1
a56 1
STRIPFLAGS=	-d
@


1.70.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.mac68k,v 1.76 2000/05/09 00:56:24 hubertf Exp $
d45 1
a45 1
HAVE_EGCS!=	${CC} --version | egrep "^(2\.[89]|egcs)" ; echo 
d50 1
a50 4
# XXX Delete -Wuninitialized for now, since the compiler doesn't
# XXX always get it right.  --thorpej 
CWARNFLAGS+=    -Wno-uninitialized
.if (${HAVE_EGCS} != "")
d56 1
a56 1
STRIPFLAGS=	-g
a178 2
dependall: depend all

a197 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.70.2.2
log
@Sync with HEAD
@
text
@d1 1
a1 1
#	$NetBSD$
d14 6
@


1.69
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.mac68k,v 1.68 1999/01/15 23:37:06 thorpej Exp $
d110 3
a112 2
		echo cp $@@ $@@.gdb; rm -f $@@.gdb; cp $@@ $@@.gdb; \
		echo ${STRIP} ${STRIPFLAGS} $@@; ${STRIP} ${STRIPFLAGS} $@@
@


1.68
log
@Some minor, mostly costmetic, changes to CPPFLAGS/CFLAGS.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.mac68k,v 1.67 1999/01/15 23:21:26 thorpej Exp $
d57 2
@


1.68.2.1
log
@Sync with main branch.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.mac68k,v 1.70 1999/07/26 05:20:46 cgd Exp $
a57 2
%INCLUDES

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


1.68.2.2
log
@Sync with main branch.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.mac68k,v 1.74 2000/02/01 05:25:35 tsutsui Exp $
d56 1
a56 1
STRIPFLAGS=	-g
a177 2

dependall: depend all
@


1.68.6.1
log
@Update from trunk.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.mac68k,v 1.70 1999/07/26 05:20:46 cgd Exp $
a57 2
%INCLUDES

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


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


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


1.65
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.mac68k,v 1.64 1998/09/05 15:15:16 lukem Exp $
d49 2
a50 1
CWARNFLAGS?=	-Werror -Wall -Wstrict-prototypes -Wmissing-prototypes
@


1.64
log
@distclean is a synonym for cleandir
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.mac68k,v 1.63 1998/05/31 23:25:42 thorpej Exp $
d59 1
d97 1
a97 1
		param.o ioconf.o ${OBJS} ${LIBKERN} ${LIBCOMPAT}
@


1.63
log
@Specify a non-profiling C rule.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.mac68k,v 1.62 1998/04/24 05:15:25 scottr Exp $
d144 1
a144 1
cleandir: __CLEANKERNEL __CLEANDEPEND
@


1.62
log
@Pull in a few more kgdb-related bits.  Getting there...
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.mac68k,v 1.61 1998/04/12 23:47:43 tv Exp $
d81 1
@


1.61
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.mac68k,v 1.60 1997/11/25 18:33:19 scottr Exp $
d183 3
@


1.60
log
@Fix dependency generation for assembler files; closes PR 4476,
but differently since the suggested change breaks cross compiling.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.mac68k,v 1.58 1997/11/12 22:26:06 thorpej Exp $
d45 1
d49 4
a52 1
CWARNFLAGS=	-Werror -Wall -Wstrict-prototypes -Wmissing-prototypes
@


1.59
log
@Make sure CPP, AR, AS, and RANLIB are defined.
@
text
@d161 2
a162 1
	${MKDEP} ${AFLAGS} ${CPPFLAGS} ${MAC68K}/mac68k/locore.s
d164 1
a164 4
	${MKDEP} -a ${AFLAGS} ${CPPFLAGS} ${SFILES}
	-if test -n "${SFILES}"; then \
		${MKDEP} -a ${AFLAGS} ${CPPFLAGS} ${SFILES}; \
	fi
@


1.58
log
@Define LORDER, NM, and TSORT here, like we do the rest of the tools.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.mac68k,v 1.57 1997/09/30 22:50:53 christos Exp $
d24 2
d32 1
d36 2
a37 1
COPTS?= 	-O2
@


1.57
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.mac68k,v 1.56 1997/09/12 07:55:17 mycroft Exp $
d27 1
d29 1
d32 1
@


1.57.2.1
log
@Pull up "make sure tools are defined" changes from trunk.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.mac68k,v 1.59 1997/11/12 23:12:11 thorpej Exp $
a23 2
AR?=	ar
AS?=	as
a26 1
LORDER?=lorder
a27 2
NM?=	nm
RANLIB?=ranlib
d30 1
a30 3
TSORT?=	tsort -q

COPTS?= -O2
@


1.57.2.2
log
@Pull rev 1.60 up from trunk (scott)
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.mac68k,v 1.57.2.1 1997/11/12 23:45:34 thorpej Exp $
d161 1
a161 2
	${MKDEP} -x assembler-with-cpp ${AFLAGS} ${CPPFLAGS} \
	    ${MAC68K}/mac68k/locore.s
d163 4
a166 1
	${MKDEP} -a -x assembler-with-cpp ${AFLAGS} ${CPPFLAGS} ${SFILES}
@


1.56
log
@Kill vestiges of Locore.c.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.mac68k,v 1.55 1997/07/24 05:48:51 scottr Exp $
d122 2
a123 3

clean: cleankernel
cleankernel:
d126 7
@


1.55
log
@Remove HOSTED_* targets; define and use CPP and SIZE symbols, as inspired
by cgd's recent changes for the Alpha port.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.mac68k,v 1.54 1997/07/12 22:07:58 leo Exp $
d130 1
a130 2
	    ${MAC68K}/mac68k/Locore.c ${CFILES} \
	    ioconf.c param.c | \
@


1.55.2.1
log
@Update marc-pcmcia branch from trunk.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.mac68k,v 1.56 1997/09/12 07:55:17 mycroft Exp $
d130 2
a131 1
	    ${CFILES} ioconf.c param.c | \
@


1.55.2.2
log
@Update marc-pcmcia branch from trunk.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.mac68k,v 1.55.2.1 1997/09/16 03:48:45 thorpej Exp $
d122 3
a124 2
__CLEANKERNEL: .USE
	@@echo "${.TARGET}ing the kernel objects"
a126 7

__CLEANDEPEND: .USE
	rm -f .depend

clean: __CLEANKERNEL

cleandir: __CLEANKERNEL __CLEANDEPEND
@


1.54
log
@Generate assym.h dependencies when making 'depend'.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.mac68k,v 1.53 1997/04/15 06:11:38 scottr Exp $
d25 1
d28 1
d43 1
a43 1
AFLAGS=		-x assembler-with-cpp -traditional-cpp -D_LOCORE
a46 4
HOSTED_CC=	${CC}
HOSTED_CPPFLAGS=${CPPFLAGS:S/^-nostdinc$//}
HOSTED_CFLAGS=	${CFLAGS}

d70 1
a70 3
NORMAL_S=	${CC} ${AFLAGS} ${CPPFLAGS} -c $<

HOSTED_C=	${HOSTED_CC} ${HOSTED_CFLAGS} ${HOSTED_CPPFLAGS} -c $<
d89 1
a89 1
SYSTEM_LD_TAIL=	@@size $@@; chmod 755 $@@
@


1.53
log
@Use genassym.sh to facilitate cross-compiling.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.mac68k,v 1.52 1997/03/14 23:27:30 mycroft Exp $
d159 4
@


1.52
log
@Define the `cleankernel' target consistently with other ports.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.mac68k,v 1.51 1997/02/04 05:08:36 perry Exp $
d107 4
a110 8
assym.h: genassym
	./genassym >assym.h

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

genassym.o: ${MAC68K}/mac68k/genassym.c
	${HOSTED_C}
d130 1
a130 1
	    [Ee]rrs linterrs makelinks genassym genassym.o assym.h
d156 3
a158 2
	${MKDEP} -a ${HOSTED_CFLAGS} ${HOSTED_CPPFLAGS} \
	    ${MAC68K}/mac68k/genassym.c
@


1.51
log
@Nuke some options GENERIC residue.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.mac68k,v 1.50 1997/02/04 04:32:08 perry Exp $
d131 2
a132 1
clean:
@


1.50
log
@Nuke some GENERIC residue.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.mac68k,v 1.49 1997/02/01 21:55:23 scottr Exp $
d137 1
a137 1
	    ${MAC68K}/mac68k/Locore.c ${CFILES} ${MAC68K}/mac68k/swapgeneric.c \
@


1.49
log
@Now that we can compile without warnings, enable -Werror
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.mac68k,v 1.48 1997/01/25 22:39:32 scottr Exp $
d136 1
a136 1
	@@lint -hbxncez -DGENERIC -Dvolatile= ${CPPFLAGS} -UKGDB \
@


1.48
log
@`::\' => `:\' ; per recent sys/lib/*/Makefile.inc changes.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.mac68k,v 1.43 1996/09/09 21:07:01 mycroft Exp $
d39 1
a39 1
CWARNFLAGS=	-Wall -Wstrict-prototypes -Wmissing-prototypes
@


1.47
log
@Compile kernels with -O2
@
text
@d131 1
a131 1
clean::
d154 1
a154 1
depend:: .depend
@


1.47.2.1
log
@update from trunk
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.mac68k,v 1.48 1997/01/25 22:39:32 scottr Exp $
d131 1
a131 1
clean:
d154 1
a154 1
depend: .depend
@


1.46
log
@Remove -Werror for now (sigh).  Somehow this slipped through several
kernel compiles without getting caught.  Lame gcc optimizer bug.
@
text
@d28 1
a28 2
#COPTS?= 	-O2
COPTS?= 	-O
@


1.45
log
@Add -Werror, remove -Wno-uninitialized.
@
text
@d40 1
a40 1
CWARNFLAGS=	-Werror -Wall -Wstrict-prototypes -Wmissing-prototypes
@


1.44
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
@d40 1
a40 1
CWARNFLAGS=	-Wall -Wstrict-prototypes -Wmissing-prototypes -Wno-uninitialized
@


1.43
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.mac68k,v 1.42 1996/08/31 21:41:22 mycroft Exp $
d28 2
d41 1
a41 1
CFLAGS=		${DEBUG} ${CWARNFLAGS} -O -msoft-float
@


1.42
log
@Wrap the default definition of `S' in `.ifndef'.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.mac68k,v 1.41 1996/08/12 00:51:44 mycroft Exp $
d27 1
a27 2
STRIP?=	strip -d
TOUCH?=	touch -f -c
d42 5
d73 1
a73 1
HOSTED_C=	${NORMAL_C:S/^-pg$//:S/^-p$//:S/^-nostdinc$//}
d99 1
a99 1
		echo ${STRIP} $@@; ${STRIP} $@@
d158 2
a159 1
	${MKDEP} -a ${CFLAGS} ${CPPFLAGS} ${MAC68K}/mac68k/genassym.c
@


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


1.40
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.mac68k,v 1.39 1996/08/10 05:29:41 mycroft Exp $
d35 2
a36 1
CPPFLAGS=	${INCLUDES} ${IDENT} -D_KERNEL -Dmc68020 -Dmac68k
d61 2
a62 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.
a64 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 $<

a65 1
NORMAL_S_C=	${CC} ${AFLAGS} ${CPPFLAGS} ${PARAM} -c $<
d67 1
a67 1
HOSTED_C_C=	${NORMAL_C_C:S/^-pg$//:S/^-p$//:S/^-nostdinc$//}
d107 1
a107 1
	${HOSTED_C_C}
d114 1
a114 1
	${NORMAL_C_C}
d129 1
a129 1
	@@lint -hbxncez -DGENERIC -Dvolatile= ${CPPFLAGS} ${PARAM} -UKGDB \
d152 1
a152 1
	${MKDEP} -a ${CFLAGS} ${CPPFLAGS} ${PARAM} ${MAC68K}/mac68k/genassym.c
@


1.39
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.mac68k,v 1.38 1996/05/11 16:12:20 mycroft Exp $
d34 1
a34 1
INCLUDES=	-I. -I$S/arch -I$S
d74 2
d114 1
a114 1
	${NORMAL_C_C}
@


1.38
log
@Make `make depend' work for libraries.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.mac68k,v 1.37 1996/05/05 06:16:00 briggs Exp $
a23 1
AS?=	as
a24 1
CPP?=	cpp
d26 1
d31 2
a32 2
S=	../../../..
MAC68K=	../..
d36 2
a37 2
GCCWFLAGS=	-Wall -Wstrict-prototypes -Wmissing-prototypes -Wno-uninitialized
CFLAGS=		${DEBUG} -O ${GCCWFLAGS} -msoft-float
d100 1
a100 1
LINKFLAGS+=	-x
d154 4
a157 4
	mkdep ${AFLAGS} ${CPPFLAGS} ${MAC68K}/mac68k/locore.s
	mkdep -a ${CFLAGS} ${CPPFLAGS} param.c ioconf.c ${CFILES}
	mkdep -a ${AFLAGS} ${CPPFLAGS} ${SFILES}
	mkdep -a ${CFLAGS} ${CPPFLAGS} ${PARAM} ${MAC68K}/mac68k/genassym.c
@


1.37
log
@Prototype for -Wall -Wstrict-prototypes -Wmissing-prototypes -Wno-uninitialized
Also change the device probing scheme to use something a bit more rational.
A current side-effect is that nubus cards are double-mapped.  I expect
to fix that shortly.
Also change splclock() to block everything but serial hardware interrupts.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.mac68k,v 1.36 1996/02/29 20:56:32 cgd Exp $
d153 1
a153 1
depend: .depend
@


1.36
log
@Do not build vnode_if.[ch] for each kernel.  Build them once, like the
various syscall sources/headers, and just compile them.  From PR 2142, OK'd
by mycroft.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.mac68k,v 1.35 1996/02/26 02:53:40 mycroft Exp $
d37 2
a38 1
CFLAGS=		${DEBUG} -O -Werror -msoft-float
@


1.35
log
@Define build programs with `?=', so they can be overridden with `makeoptions'.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.mac68k,v 1.33 1996/02/03 15:14:39 briggs Exp $
a24 1
AWK?=	awk
d86 1
a86 1
		vnode_if.o param.o ioconf.o ${OBJS} ${LIBKERN} ${LIBCOMPAT}
a113 3
vnode_if.c vnode_if.h: $S/kern/vnode_if.sh $S/kern/vnode_if.src
	AWK="${AWK}" sh $S/kern/vnode_if.sh $S/kern/vnode_if.src

d130 1
a130 1
	rm -f eddep *netbsd netbsd.gdb tags vnode_if.[ch] *.[io] [a-z]*.s \
d151 1
a151 1
	vnode_if.c param.c ioconf.c ${CFILES} ${SFILES}
d153 1
a153 1
.depend: ${SRCS} assym.h vnode_if.h param.c
d155 1
a155 1
	mkdep -a ${CFLAGS} ${CPPFLAGS} vnode_if.c param.c ioconf.c ${CFILES}
@


1.34
log
@Fix mkdep problems due to missing flags.
@
text
@d24 7
a30 7
AS=	as
AWK=	awk
CC=	cc
CPP=	cpp
LD=	ld
STRIP=	strip -d
TOUCH=	touch -f -c
@


1.33
log
@O2 breaks on this port.  Use -O until we can fix it.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.mac68k,v 1.32 1996/02/03 00:44:04 mycroft Exp $
d39 1
a39 1
AFLAGS=		-D_LOCORE
d72 2
a73 2
NORMAL_S=	${CC} -traditional-cpp -x assembler-with-cpp ${AFLAGS} ${CPPFLAGS} -c $<
NORMAL_S_C=	${CC} -traditional-cpp -x assembler-with-cpp ${AFLAGS} ${CPPFLAGS} ${PARAM} -c $<
d158 1
a158 1
	mkdep -x assembler-with-cpp ${AFLAGS} ${CPPFLAGS} ${MAC68K}/mac68k/locore.s
d160 1
a160 1
	mkdep -a -x assembler-with-cpp ${AFLAGS} ${CPPFLAGS} ${SFILES}
@


1.32
log
@Use `-traditional-cpp' when building .s and .S files.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.mac68k,v 1.31 1996/02/02 20:09:14 mycroft Exp $
d38 1
a38 1
CFLAGS=		${DEBUG} -O2 -Werror -msoft-float
@


1.31
log
@Clone these, and fix many bugs.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.mac68k,v 1.30 1996/02/02 13:38:10 mycroft Exp $
d72 2
a73 2
NORMAL_S=	${CC} -x assembler-with-cpp ${AFLAGS} ${CPPFLAGS} -c $<
NORMAL_S_C=	${CC} -x assembler-with-cpp ${AFLAGS} ${CPPFLAGS} ${PARAM} -c $<
@


1.30
log
@Don't special-case conf.c.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.mac68k,v 1.29 1996/02/02 02:36:48 mycroft Exp $
d3 1
a3 2
# Makefile for NetBSD for the mac
#	Derived from makefile for hp300 from NetBSD
d8 1
a8 1
#	/sys/conf/``machineid''
d10 1
a10 1
#	 config machineid
d12 1
a12 1
#	/sys/conf/Makefile.``machinetype''
d21 9
a29 7
# DEBUG is set to -g by "makeoptions DEBUG=-g"
# PROF is set to -pg by config if profiling is requested (config -p).
AS=	/usr/bin/as ${DEBUG}
CC=	/usr/bin/cc ${DEBUG}
LOCAL_CC=${CC}
CPP=	/usr/bin/cpp
LD=	/usr/bin/ld
a30 1
GPROF.EX=/usr/src/lib/libc/csu.mac68k/gmon.ex
d36 5
a40 3
INCLUDES= -I. -I$S/arch -I$S -I$S/sys
COPTS=	${INCLUDES} ${IDENT} -D_KERNEL -DREFBIT -Dmac68k
CFLAGS=	-O -Werror ${COPTS}
d66 2
a67 2
NORMAL_C=	${CC} -c ${CFLAGS} ${PROF} $<
NORMAL_C_C=	${CC} -c ${CFLAGS} ${PROF} ${PARAM} $<
d69 2
a70 2
DRIVER_C=	${CC} -c ${CFLAGS} ${PROF} $<
DRIVER_C_C=	${CC} -c ${CFLAGS} ${PROF} ${PARAM} $<
d72 2
a73 9
PROFILE_C=	${CC} -S -c ${COPTS} $<; \
		ex - $*.s < ${GPROF.EX}; \
		${AS} -o $@@ $*.s; \
		rm -f $*.s

# This really bites for now, but we need to run assembly through sed
# until the real problem (cpp, I think) is fixed.
NORMAL_S=	${CPP} ${COPTS} $< | ${AS} -o $@@
NORMAL_S_C=	${CPP} ${COPTS} ${PARAM} $< | ${AS} -o $@@
d79 2
d86 2
a87 2
SYSTEM_OBJ=	locore.o vnode_if.o ${OBJS} param.o ioconf.o conf.o \
		${FPSP} ${LIBKERN} ${LIBCOMPAT}
d89 9
a97 6
SYSTEM_LD_HEAD=	@@echo loading $@@; rm -f $@@
SYSTEM_LD=	@@strip=-x; [ X${DEBUG} = X-g ] && strip=-X || true; \
		${LD} $$strip -n -T 0 -e start -o $@@ \
		${SYSTEM_OBJ} vers.o
SYSTEM_LD_TAIL=	@@chmod 755 $@@; size $@@; \
		[ X${DEBUG} = X-g ] && { \
d99 4
a102 1
		echo strip -d $@@; strip -d $@@; } || true
d106 8
a113 3
newvers:
	sh $S/conf/newvers.sh "${KERN_IDENT}" ${IDENT}
	${CC} ${CFLAGS} -c vers.c
d115 12
a126 3
clean::
	rm -f eddep netbsd tags *.o locore.i [a-z]*.s \
		vnode_if.[ch] Errs errs linterrs makelinks
d128 3
a130 23
lint: /tmp param.c
	@@lint -hbxn -DGENERIC -Dvolatile= ${COPTS} ${PARAM} -UKGDB \
	    ${MAC68K}/mac68k/Locore.c ${CFILES} \
	    ioconf.c param.c| \
	    grep -v 'struct/union .* never defined' | \
	    grep -v 'possible pointer alignment problem'

symbols.sort: ${MAC68K}/mac68k/symbols.raw
	grep -v '^#' ${MAC68K}/mac68k/symbols.raw \
	    | sed 's/^	//' | sort -u > symbols.sort

locore.o: assym.h ${MAC68K}/mac68k/vectors.s ${MAC68K}/mac68k/macglobals.s
locore.o: ${MAC68K}/mac68k/locore.s 
locore.o: ${MAC68K}/include/trap.h ${MAC68K}/include/psl.h
locore.o: ${MAC68K}/include/pte.h ${MAC68K}/include/cpu.h
	${CPP} -D_LOCORE ${COPTS} ${MAC68K}/mac68k/locore.s | ${AS} -o locore.o

# the following is necessary because autoconf.o depends on #if GENERIC
autoconf.o: Makefile

# the following are necessary because the files depend on the types of
# hp cpu's included in the system configuration
clock.o machdep.o autoconf.o conf.o: Makefile
a131 2
# depend on network configuration
af.o uipc_proto.o locore.o: Makefile
d133 3
a135 2
# depend on maxusers
assym.h: Makefile
d137 5
a141 2
assym.h: genassym
	./genassym >assym.h
d143 2
a144 7
genassym: ${MAC68K}/mac68k/genassym.c
	${LOCAL_CC} ${INCLUDES} ${IDENT} -D_KERNEL ${PARAM} -o genassym \
	    ${MAC68K}/mac68k/genassym.c

depend: assym.h param.c vnode_if.h
	mkdep ${COPTS} ${CFILES} ioconf.c param.c
	mkdep -a -p ${INCLUDES} ${IDENT} ${PARAM} ${MAC68K}/mac68k/genassym.c
d151 1
a151 1
	  sed 's,../.*/\(.*.o\),rm -f \1;ln -s ../GENERIC/\1 \1,' > makelinks
d154 15
a168 2
tags:
	@@echo "see $S/kern/Makefile for tags"
d170 2
a171 2
ioconf.o: ioconf.c
	${CC} -c ${CFLAGS} ioconf.c
d173 2
a174 3
param.c: $S/conf/param.c
	rm -f param.c
	cp $S/conf/param.c .
a175 2
param.o: param.c Makefile
	${CC} -c ${CFLAGS} ${PARAM} -DHZ=60 param.c
d177 2
a178 2
vnode_if.c vnode_if.h:  $S/kern/vnode_if.sh $S/kern/vnode_if.src
	AWK="${AWK}" sh $S/kern/vnode_if.sh $S/kern/vnode_if.src
@


1.29
log
@assym.s -> assym.h
(Some ports did this already.)
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.mac68k,v 1.28 1996/02/01 22:31:33 mycroft Exp $
a164 3

conf.o: ${MAC68K}/mac68k/conf.c
	${NORMAL_C}
@


1.28
log
@LOCORE -> _LOCORE
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.mac68k,v 1.27 1996/01/14 21:06:51 thorpej Exp $
d122 1
a122 1
locore.o: assym.s ${MAC68K}/mac68k/vectors.s ${MAC68K}/mac68k/macglobals.s
d139 1
a139 1
assym.s: Makefile
d141 2
a142 2
assym.s: genassym
	./genassym >assym.s
d148 1
a148 1
depend: assym.s param.c vnode_if.h
@


1.27
log
@Remove vnode_if.[ch] during a "make clean", per PR#536 from
Dan Carosone <danielce@@ee.mu.oz.au>.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.mac68k,v 1.26 1995/11/01 04:53:34 briggs Exp $
d126 1
a126 1
	${CPP} -DLOCORE ${COPTS} ${MAC68K}/mac68k/locore.s | ${AS} -o locore.o
@


1.26
log
@Remove -fno-builtin
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.mac68k,v 1.25 1995/10/10 03:47:59 briggs Exp $
d109 1
a109 1
		Errs errs linterrs makelinks
@


1.25
log
@Remove extra reference to LIBKERN.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.mac68k,v 1.24 1995/09/19 23:48:41 thorpej Exp $
d38 1
a38 1
CFLAGS=	-O -Werror -fno-builtin ${COPTS}
@


1.24
log
@Compile the kernel with -Werror and -fno-builtin.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.mac68k,v 1.23 1995/07/04 03:30:11 briggs Exp $
d95 1
a95 1
		${SYSTEM_OBJ} vers.o ${LIBKERN}
@


1.23
log
@Fixup a comment.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.mac68k,v 1.22 1995/06/25 14:02:09 briggs Exp $
d38 1
a38 1
CFLAGS=	-O ${COPTS}
@


1.22
log
@Stupid typo in last.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.mac68k,v 1.21 1995/06/25 13:53:21 briggs Exp $
d22 1
a22 2

# DEBUG is set to -g by config if debugging is requested (config -g).
@


1.21
log
@Stupid pasto in last.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.mac68k,v 1.20 1995/06/25 13:39:37 briggs Exp $
d91 1
a91 1
		${FPSP} ${LIBKERN} $(LIBCOMPAT}
@


1.20
log
@Add libcompat.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.mac68k,v 1.19 1995/06/25 13:06:32 briggs Exp $
d52 1
a52 1
LIBKERN=${COMPATLIB}
d54 1
a54 1
LIBKERN=${COMPATLIB_PROF}
@


1.19
log
@Fix the clean target.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.mac68k,v 1.18 1995/06/24 17:24:24 briggs Exp $
d49 8
d91 1
a91 1
		${FPSP} ${LIBKERN}
@


1.18
log
@The kernel is called netbsd, not vmunix.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.mac68k,v 1.17 1995/06/16 04:45:22 briggs Exp $
d100 1
a100 1
clean:
@


1.17
log
@Rearrange slightly.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.mac68k,v 1.16 1995/05/31 00:09:55 briggs Exp $
a88 2
#SYSTEM_LD_TAIL= @@echo rearranging symbols;\
#		symorder symbols.sort $@@;\
d101 1
a101 1
	rm -f eddep *vmunix tags *.o locore.i [a-z]*.s \
@


1.16
log
@Make genassym depend on its C source.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.mac68k,v 1.15 1995/03/29 07:28:51 briggs Exp $
d36 6
a50 4

INCLUDES= -I. -I$S/arch -I$S -I$S/sys
COPTS=	${INCLUDES} ${IDENT} -D_KERNEL -DREFBIT -Dmac68k
CFLAGS=	-O ${COPTS}
@


1.15
log
@Nuke FPCOPROC and add FPU_EMULATE to GENERIC.
Support the above with gwr's sun3 stuff.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.mac68k,v 1.14 1995/03/23 19:47:05 jtc Exp $
d137 1
a137 1
genassym:
@


1.14
log
@Added -D_KERNEL to CFLAGS alongside each -DKERNEL.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.mac68k,v 1.13 1994/12/03 23:33:55 briggs Exp $
d47 1
a47 1
COPTS=	${INCLUDES} ${IDENT} -DKERNEL -D_KERNEL -DREFBIT -Dmac68k
d138 1
a138 1
	${LOCAL_CC} ${INCLUDES} ${IDENT} -DKERNEL -D_KERNEL ${PARAM} -o genassym \
@


1.13
log
@Mac ROM Glue changes from grantham@@tenon.com.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.mac68k,v 1.12 1994/10/26 08:45:53 cgd Exp $
d47 1
a47 1
COPTS=	${INCLUDES} ${IDENT} -DKERNEL -DREFBIT -Dmac68k
d138 1
a138 1
	${LOCAL_CC} ${INCLUDES} ${IDENT} -DKERNEL ${PARAM} -o genassym \
@


1.12
log
@new RCS ID format.
@
text
@d1 1
a1 1
#	$NetBSD$
d115 4
a118 3
locore.o: assym.s ${MAC68K}/mac68k/vectors.s ${MAC68K}/mac68k/locore.s 
locore.o: ${MAC68K}/include/trap.h ${MAC68K}/include/psl.h ${MAC68K}/include/pte.h
locore.o: ${MAC68K}/include/cpu.h
@


1.11
log
@Take -nostdinc out of INCLUDES so we can get nlist.h and a.out.h for DDB.
@
text
@d1 2
@


1.10
log
@Put FPSP in SYSTEM_OBJS (missed this earlier, apparently, twice).
@
text
@d44 1
a44 1
INCLUDES= -nostdinc -I. -I$S/arch -I$S -I$S/sys
@


1.9
log
@Oops...  Forgot to check in w/ FPSP support.
@
text
@d78 2
a79 2
SYSTEM_OBJ=	locore.o ${FPSP} vnode_if.o ${OBJS} param.o ioconf.o conf.o \
		${LIBKERN}
@


1.8
log
@Checkpoint.  GENERIC has some things disabled.  Makefile updated for
vnode_if and some cleanup.  copy.s added to files.
@
text
@d41 3
d78 2
a79 1
SYSTEM_OBJ=	locore.o vnode_if.o ${OBJS} param.o ioconf.o conf.o ${LIBKERN}
@


1.8.2.1
log
@update, as requested by briggs
@
text
@d41 1
a41 4
### for the Motorola 68040 Floating Point Software Product
.include "$S/arch/m68k/fpsp/Makefile.inc"

INCLUDES= -I. -I$S/arch -I$S -I$S/sys
d75 1
a75 2
SYSTEM_OBJ=	locore.o vnode_if.o ${OBJS} param.o ioconf.o conf.o \
		${FPSP} ${LIBKERN}
@


1.7
log
@Added -I$S/arch, per amiga port.  (Used by db_disasm.c.)
@
text
@d23 3
a25 2
AS=	as ${DEBUG}
CC=	cc ${DEBUG}
d27 1
a27 1
LD=	ld
d41 1
a41 1
INCLUDES= -I. -I$S/arch -I$S -I$S/sys
d75 1
a75 1
SYSTEM_OBJ=	locore.o ${OBJS} param.o ioconf.o conf.o ${LIBKERN}
d83 1
a83 1
SYSTEM_LD_TAIL=	@@size $@@; chmod 755 $@@; \
d131 1
a131 1
	${CC} ${INCLUDES} ${IDENT} -DKERNEL ${PARAM} -o genassym \
d134 1
a134 1
depend: assym.s param.c
d161 3
@


1.6
log
@Make FPCOPROC an options option and remove it from the Makefile defines.
Also add a configuration that doesn't have it.
@
text
@d40 1
a40 1
INCLUDES= -I. -I$S -I$S/sys
@


1.5
log
@The booter can finally deal with ld's executables.
@
text
@d41 1
a41 1
COPTS=	${INCLUDES} ${IDENT} -DKERNEL -DFPCOPROC -DREFBIT -Dmac68k
@


1.4
log
@Use LD=ld.dist instead of LD=ld until we get around to fixing the
bleeding booter.
@
text
@d26 1
a26 1
LD=	ld.dist
@


1.3
log
@Makefile: Added -T 0 to link for kernel.
files.mac68k.newconf: Removed ddb entries.
@
text
@d26 1
a26 1
LD=	ld
@


1.2
log
@Add -Dmac68k as a COPTS so we can get cpu_disklabel.
@
text
@d78 1
a78 1
		${LD} $$strip -n -e start -o $@@ \
@


1.1
log
@Migrate to new MACHINE definition (mac -> mac68k).
@
text
@d41 1
a41 1
COPTS=	${INCLUDES} ${IDENT} -DKERNEL -DFPCOPROC -DREFBIT
@
