head	1.114;
access;
symbols
	netbsd-11-0-RC4:1.111
	netbsd-11-0-RC3:1.111
	netbsd-11-0-RC2:1.111
	netbsd-11-0-RC1:1.111
	perseant-exfatfs-base-20250801:1.111
	netbsd-11:1.111.0.38
	netbsd-11-base:1.111
	netbsd-10-1-RELEASE:1.111
	perseant-exfatfs-base-20240630:1.111
	perseant-exfatfs:1.111.0.36
	perseant-exfatfs-base:1.111
	netbsd-8-3-RELEASE:1.109
	netbsd-9-4-RELEASE:1.111
	netbsd-10-0-RELEASE:1.111
	netbsd-10-0-RC6:1.111
	netbsd-10-0-RC5:1.111
	netbsd-10-0-RC4:1.111
	netbsd-10-0-RC3:1.111
	netbsd-10-0-RC2:1.111
	thorpej-ifq:1.111.0.34
	thorpej-ifq-base:1.111
	thorpej-altq-separation:1.111.0.32
	thorpej-altq-separation-base:1.111
	netbsd-10-0-RC1:1.111
	netbsd-10:1.111.0.30
	netbsd-10-base:1.111
	bouyer-sunxi-drm:1.111.0.28
	bouyer-sunxi-drm-base:1.111
	netbsd-9-3-RELEASE:1.111
	thorpej-i2c-spi-conf2:1.111.0.26
	thorpej-i2c-spi-conf2-base:1.111
	thorpej-futex2:1.111.0.24
	thorpej-futex2-base:1.111
	thorpej-cfargs2:1.111.0.22
	thorpej-cfargs2-base:1.111
	cjep_sun2x-base1:1.111
	cjep_sun2x:1.111.0.20
	cjep_sun2x-base:1.111
	cjep_staticlib_x-base1:1.111
	netbsd-9-2-RELEASE:1.111
	cjep_staticlib_x:1.111.0.18
	cjep_staticlib_x-base:1.111
	thorpej-i2c-spi-conf:1.111.0.16
	thorpej-i2c-spi-conf-base:1.111
	thorpej-cfargs:1.111.0.14
	thorpej-cfargs-base:1.111
	thorpej-futex:1.111.0.12
	thorpej-futex-base:1.111
	netbsd-9-1-RELEASE:1.111
	bouyer-xenpvh-base2:1.111
	phil-wifi-20200421:1.111
	bouyer-xenpvh-base1:1.111
	phil-wifi-20200411:1.111
	bouyer-xenpvh:1.111.0.10
	bouyer-xenpvh-base:1.111
	is-mlppp:1.111.0.8
	is-mlppp-base:1.111
	phil-wifi-20200406:1.111
	netbsd-8-2-RELEASE:1.109
	ad-namecache-base3:1.111
	netbsd-9-0-RELEASE:1.111
	netbsd-9-0-RC2:1.111
	ad-namecache-base2:1.111
	ad-namecache-base1:1.111
	ad-namecache:1.111.0.6
	ad-namecache-base:1.111
	netbsd-9-0-RC1:1.111
	phil-wifi-20191119:1.111
	netbsd-9:1.111.0.4
	netbsd-9-base:1.111
	phil-wifi-20190609:1.111
	netbsd-8-1-RELEASE:1.109
	netbsd-8-1-RC1:1.109
	isaki-audio2:1.111.0.2
	isaki-audio2-base:1.111
	pgoyette-compat-merge-20190127:1.110.2.1
	pgoyette-compat-20190127:1.111
	pgoyette-compat-20190118:1.111
	pgoyette-compat-1226:1.111
	pgoyette-compat-1126:1.111
	pgoyette-compat-1020:1.111
	pgoyette-compat-0930:1.111
	pgoyette-compat-0906:1.110
	netbsd-7-2-RELEASE:1.107.30.1
	pgoyette-compat-0728:1.110
	netbsd-8-0-RELEASE:1.109
	phil-wifi:1.110.0.4
	phil-wifi-base:1.110
	pgoyette-compat-0625:1.110
	netbsd-8-0-RC2:1.109
	pgoyette-compat-0521:1.110
	pgoyette-compat-0502:1.110
	pgoyette-compat-0422:1.110
	netbsd-8-0-RC1:1.109
	pgoyette-compat-0415:1.110
	pgoyette-compat-0407:1.110
	pgoyette-compat-0330:1.110
	pgoyette-compat-0322:1.110
	pgoyette-compat-0315:1.110
	netbsd-7-1-2-RELEASE:1.107.30.1
	pgoyette-compat:1.110.0.2
	pgoyette-compat-base:1.110
	netbsd-7-1-1-RELEASE:1.107.30.1
	tls-maxphys-base-20171202:1.109
	matt-nb8-mediatek:1.109.0.14
	matt-nb8-mediatek-base:1.109
	nick-nhusb-base-20170825:1.109
	perseant-stdc-iso10646:1.109.0.12
	perseant-stdc-iso10646-base:1.109
	netbsd-8:1.109.0.10
	netbsd-8-base:1.109
	prg-localcount2-base3:1.109
	prg-localcount2-base2:1.109
	prg-localcount2-base1:1.109
	prg-localcount2:1.109.0.8
	prg-localcount2-base:1.109
	pgoyette-localcount-20170426:1.109
	bouyer-socketcan-base1:1.109
	jdolecek-ncq:1.109.0.6
	jdolecek-ncq-base:1.109
	pgoyette-localcount-20170320:1.109
	netbsd-7-1:1.107.30.1.0.6
	netbsd-7-1-RELEASE:1.107.30.1
	netbsd-7-1-RC2:1.107.30.1
	nick-nhusb-base-20170204:1.109
	netbsd-7-nhusb-base-20170116:1.107.30.1
	bouyer-socketcan:1.109.0.4
	bouyer-socketcan-base:1.109
	pgoyette-localcount-20170107:1.109
	netbsd-7-1-RC1:1.107.30.1
	nick-nhusb-base-20161204:1.109
	pgoyette-localcount-20161104:1.109
	netbsd-7-0-2-RELEASE:1.107.30.1
	nick-nhusb-base-20161004:1.109
	localcount-20160914:1.109
	netbsd-7-nhusb:1.107.30.1.0.4
	netbsd-7-nhusb-base:1.107.30.1
	pgoyette-localcount-20160806:1.109
	pgoyette-localcount-20160726:1.109
	pgoyette-localcount:1.109.0.2
	pgoyette-localcount-base:1.109
	nick-nhusb-base-20160907:1.109
	nick-nhusb-base-20160529:1.109
	netbsd-7-0-1-RELEASE:1.107.30.1
	nick-nhusb-base-20160422:1.109
	nick-nhusb-base-20160319:1.109
	nick-nhusb-base-20151226:1.109
	netbsd-7-0:1.107.30.1.0.2
	netbsd-7-0-RELEASE:1.107.30.1
	nick-nhusb-base-20150921:1.109
	netbsd-7-0-RC3:1.107.30.1
	netbsd-7-0-RC2:1.107.30.1
	netbsd-7-0-RC1:1.107.30.1
	nick-nhusb-base-20150606:1.108
	nick-nhusb-base-20150406:1.107
	nick-nhusb:1.107.0.32
	nick-nhusb-base:1.107
	netbsd-5-2-3-RELEASE:1.105
	netbsd-5-1-5-RELEASE:1.105
	netbsd-6-0-6-RELEASE:1.107
	netbsd-6-1-5-RELEASE:1.107
	netbsd-7:1.107.0.30
	netbsd-7-base:1.107
	yamt-pagecache-base9:1.107
	yamt-pagecache-tag8:1.107
	netbsd-6-1-4-RELEASE:1.107
	netbsd-6-0-5-RELEASE:1.107
	tls-earlyentropy:1.107.0.28
	tls-earlyentropy-base:1.107
	riastradh-xf86-video-intel-2-7-1-pre-2-21-15:1.107
	riastradh-drm2-base3:1.107
	netbsd-6-1-3-RELEASE:1.107
	netbsd-6-0-4-RELEASE:1.107
	netbsd-5-2-2-RELEASE:1.105
	netbsd-5-1-4-RELEASE:1.105
	netbsd-6-1-2-RELEASE:1.107
	netbsd-6-0-3-RELEASE:1.107
	netbsd-5-2-1-RELEASE:1.105
	netbsd-5-1-3-RELEASE:1.105
	rmind-smpnet-nbase:1.107
	netbsd-6-1-1-RELEASE:1.107
	riastradh-drm2-base2:1.107
	riastradh-drm2-base1:1.107
	riastradh-drm2:1.107.0.26
	riastradh-drm2-base:1.107
	rmind-smpnet:1.107.0.18
	rmind-smpnet-base:1.107
	netbsd-6-1:1.107.0.24
	netbsd-6-0-2-RELEASE:1.107
	netbsd-6-1-RELEASE:1.107
	khorben-n900:1.107.0.22
	netbsd-6-1-RC4:1.107
	netbsd-6-1-RC3:1.107
	agc-symver:1.107.0.20
	agc-symver-base:1.107
	netbsd-6-1-RC2:1.107
	netbsd-6-1-RC1:1.107
	yamt-pagecache-base8:1.107
	netbsd-5-2:1.105.0.32
	netbsd-6-0-1-RELEASE:1.107
	yamt-pagecache-base7:1.107
	netbsd-5-2-RELEASE:1.105
	netbsd-5-2-RC1:1.105
	matt-nb6-plus-nbase:1.107
	yamt-pagecache-base6:1.107
	netbsd-6-0:1.107.0.16
	netbsd-6-0-RELEASE:1.107
	netbsd-6-0-RC2:1.107
	tls-maxphys:1.107.0.14
	tls-maxphys-base:1.107
	matt-nb6-plus:1.107.0.12
	matt-nb6-plus-base:1.107
	netbsd-6-0-RC1:1.107
	jmcneill-usbmp-base10:1.107
	yamt-pagecache-base5:1.107
	jmcneill-usbmp-base9:1.107
	yamt-pagecache-base4:1.107
	jmcneill-usbmp-base8:1.107
	jmcneill-usbmp-base7:1.107
	jmcneill-usbmp-base6:1.107
	jmcneill-usbmp-base5:1.107
	jmcneill-usbmp-base4:1.107
	jmcneill-usbmp-base3:1.107
	jmcneill-usbmp-pre-base2:1.107
	jmcneill-usbmp-base2:1.107
	netbsd-6:1.107.0.10
	netbsd-6-base:1.107
	netbsd-5-1-2-RELEASE:1.105
	netbsd-5-1-1-RELEASE:1.105
	jmcneill-usbmp:1.107.0.8
	jmcneill-usbmp-base:1.107
	jmcneill-audiomp3:1.107.0.6
	jmcneill-audiomp3-base:1.107
	yamt-pagecache-base3:1.107
	yamt-pagecache-base2:1.107
	yamt-pagecache:1.107.0.4
	yamt-pagecache-base:1.107
	rmind-uvmplock-nbase:1.107
	cherry-xenmp:1.107.0.2
	cherry-xenmp-base:1.107
	jym-xensuspend-nbase:1.107
	uebayasi-xip-base7:1.107
	bouyer-quota2-nbase:1.107
	bouyer-quota2:1.106.0.10
	bouyer-quota2-base:1.107
	jruoho-x86intr:1.106.0.8
	jruoho-x86intr-base:1.106
	matt-mips64-premerge-20101231:1.106
	matt-nb5-mips64-premerge-20101231:1.105
	matt-nb5-pq3:1.105.0.30
	matt-nb5-pq3-base:1.105
	netbsd-5-1:1.105.0.28
	uebayasi-xip-base6:1.106
	uebayasi-xip-base5:1.106
	netbsd-5-1-RELEASE:1.105
	uebayasi-xip-base4:1.106
	uebayasi-xip-base3:1.106
	yamt-nfs-mp-base11:1.106
	netbsd-5-1-RC4:1.105
	matt-nb5-mips64-k15:1.105
	uebayasi-xip-base2:1.106
	yamt-nfs-mp-base10:1.106
	netbsd-5-1-RC3:1.105
	netbsd-5-1-RC2:1.105
	uebayasi-xip-base1:1.106
	netbsd-5-1-RC1:1.105
	rmind-uvmplock:1.106.0.6
	rmind-uvmplock-base:1.107
	yamt-nfs-mp-base9:1.106
	uebayasi-xip:1.106.0.4
	uebayasi-xip-base:1.106
	netbsd-5-0-2-RELEASE:1.105
	matt-nb5-mips64-premerge-20091211:1.105
	matt-premerge-20091211:1.106
	yamt-nfs-mp-base8:1.106
	matt-nb5-mips64-u2-k2-k4-k7-k8-k9:1.105
	matt-nb4-mips64-k7-u2a-k9b:1.105
	matt-nb5-mips64-u1-k1-k5:1.105
	yamt-nfs-mp-base7:1.106
	matt-nb5-mips64:1.105.0.26
	netbsd-5-0-1-RELEASE:1.105
	jymxensuspend-base:1.106
	yamt-nfs-mp-base6:1.106
	yamt-nfs-mp-base5:1.106
	MI-softints:1.106
	pre-softints:1.106
	yamt-nfs-mp-base4:1.106
	yamt-nfs-mp-base3:1.106
	nick-hppapmap-base4:1.106
	nick-hppapmap-base3:1.106
	netbsd-5-0:1.105.0.24
	netbsd-5-0-RELEASE:1.105
	netbsd-5-0-RC4:1.105
	netbsd-5-0-RC3:1.105
	nick-hppapmap-base2:1.106
	netbsd-5-0-RC2:1.105
	jym-xensuspend:1.106.0.2
	jym-xensuspend-base:1.107
	netbsd-5-0-RC1:1.105
	haad-dm-base2:1.105
	haad-nbase2:1.105
	ad-audiomp2:1.105.0.22
	ad-audiomp2-base:1.105
	netbsd-5:1.105.0.20
	netbsd-5-base:1.105
	nick-hppapmap:1.105.0.18
	nick-hppapmap-base:1.106
	matt-mips64-base2:1.105
	haad-dm-base1:1.105
	wrstuden-revivesa-base-4:1.105
	netbsd-4-0-1-RELEASE:1.104
	wrstuden-revivesa-base-3:1.105
	wrstuden-revivesa-base-2:1.105
	wrstuden-fixsa-newbase:1.104
	nick-csl-alignment-base5:1.104
	haad-dm:1.105.0.16
	haad-dm-base:1.105
	wrstuden-revivesa-base-1:1.105
	simonb-wapbl-nbase:1.105
	yamt-pf42-base4:1.105
	simonb-wapbl:1.105.0.14
	simonb-wapbl-base:1.105
	yamt-pf42-base3:1.105
	hpcarm-cleanup-nbase:1.105
	yamt-pf42-baseX:1.105
	yamt-pf42-base2:1.105
	yamt-nfs-mp-base2:1.105
	wrstuden-revivesa:1.105.0.12
	wrstuden-revivesa-base:1.105
	yamt-nfs-mp:1.105.0.10
	yamt-nfs-mp-base:1.105
	yamt-pf42:1.105.0.8
	yamt-pf42-base:1.105
	ad-socklock-base1:1.105
	yamt-lazymbuf-base15:1.105
	yamt-lazymbuf-base14:1.105
	keiichi-mipv6-nbase:1.105
	mjf-devfs2:1.105.0.6
	mjf-devfs2-base:1.105
	nick-net80211-sync:1.105.0.4
	nick-net80211-sync-base:1.105
	keiichi-mipv6:1.105.0.2
	keiichi-mipv6-base:1.105
	bouyer-xeni386-merge1:1.104
	matt-armv6-prevmlocking:1.104
	wrstuden-fixsa-base-1:1.104
	vmlocking2-base3:1.104
	netbsd-4-0:1.104.0.68
	netbsd-4-0-RELEASE:1.104
	bouyer-xeni386-nbase:1.104
	yamt-kmem-base3:1.104
	cube-autoconf:1.104.0.66
	cube-autoconf-base:1.104
	yamt-kmem-base2:1.104
	bouyer-xeni386:1.104.0.64
	bouyer-xeni386-base:1.104
	yamt-kmem:1.104.0.62
	yamt-kmem-base:1.104
	vmlocking2-base2:1.104
	reinoud-bufcleanup-nbase:1.104
	vmlocking2:1.104.0.60
	vmlocking2-base1:1.104
	netbsd-4-0-RC5:1.104
	matt-nb4-arm:1.104.0.58
	matt-nb4-arm-base:1.104
	matt-armv6-nbase:1.105
	jmcneill-base:1.104
	netbsd-4-0-RC4:1.104
	mjf-devfs:1.104.0.56
	mjf-devfs-base:1.105
	bouyer-xenamd64-base2:1.104
	vmlocking-nbase:1.104
	yamt-x86pmap-base4:1.104
	bouyer-xenamd64:1.104.0.54
	bouyer-xenamd64-base:1.104
	netbsd-4-0-RC3:1.104
	yamt-x86pmap-base3:1.104
	yamt-x86pmap-base2:1.104
	netbsd-4-0-RC2:1.104
	yamt-x86pmap:1.104.0.52
	yamt-x86pmap-base:1.104
	netbsd-4-0-RC1:1.104
	matt-armv6:1.104.0.50
	matt-armv6-base:1.104
	jmcneill-pm:1.104.0.48
	jmcneill-pm-base:1.104
	hpcarm-cleanup:1.104.0.46
	hpcarm-cleanup-base:1.105
	nick-csl-alignment:1.104.0.44
	nick-csl-alignment-base:1.104
	matt-mips64:1.104.0.42
	matt-mips64-base:1.104
	netbsd-3-1-1-RELEASE:1.102
	netbsd-3-0-3-RELEASE:1.102
	yamt-idlelwp-base8:1.104
	wrstuden-fixsa:1.104.0.40
	wrstuden-fixsa-base:1.104
	ppcoea-renovation:1.104.0.38
	ppcoea-renovation-base:1.104
	thorpej-atomic:1.104.0.36
	thorpej-atomic-base:1.104
	reinoud-bufcleanup:1.104.0.34
	reinoud-bufcleanup-base:1.104
	mjf-ufs-trans:1.104.0.32
	mjf-ufs-trans-base:1.104
	vmlocking:1.104.0.30
	vmlocking-base:1.104
	ad-audiomp:1.104.0.28
	ad-audiomp-base:1.104
	yamt-idlelwp:1.104.0.26
	post-newlock2-merge:1.104
	newlock2-nbase:1.104
	yamt-splraiseipl-base5:1.104
	yamt-splraiseipl-base4:1.104
	yamt-splraiseipl-base3:1.104
	abandoned-netbsd-4-base:1.104
	abandoned-netbsd-4:1.104.0.18
	netbsd-3-1:1.102.0.14
	netbsd-3-1-RELEASE:1.102
	netbsd-3-0-2-RELEASE:1.102
	yamt-splraiseipl-base2:1.104
	netbsd-3-1-RC4:1.102
	yamt-splraiseipl:1.104.0.22
	yamt-splraiseipl-base:1.104
	netbsd-3-1-RC3:1.102
	yamt-pdpolicy-base9:1.104
	newlock2:1.104.0.20
	newlock2-base:1.104
	yamt-pdpolicy-base8:1.104
	netbsd-3-1-RC2:1.102
	netbsd-3-1-RC1:1.102
	yamt-pdpolicy-base7:1.104
	netbsd-4:1.104.0.24
	netbsd-4-base:1.104
	yamt-pdpolicy-base6:1.104
	chap-midi-nbase:1.104
	netbsd-3-0-1-RELEASE:1.102
	gdamore-uart:1.104.0.16
	gdamore-uart-base:1.104
	simonb-timcounters-final:1.104
	yamt-pdpolicy-base5:1.104
	chap-midi:1.104.0.14
	chap-midi-base:1.104
	yamt-pdpolicy-base4:1.104
	yamt-pdpolicy-base3:1.104
	peter-altq-base:1.104
	peter-altq:1.104.0.12
	yamt-pdpolicy-base2:1.104
	elad-kernelauth-base:1.104
	elad-kernelauth:1.104.0.10
	yamt-pdpolicy:1.104.0.8
	yamt-pdpolicy-base:1.104
	yamt-uio_vmspace-base5:1.104
	simonb-timecounters:1.104.0.6
	simonb-timecounters-base:1.104
	rpaulo-netinet-merge-pcb:1.104.0.4
	rpaulo-netinet-merge-pcb-base:1.104
	yamt-uio_vmspace:1.104.0.2
	netbsd-3-0:1.102.0.12
	netbsd-3-0-RELEASE:1.102
	netbsd-3-0-RC6:1.102
	yamt-readahead-base3:1.103
	netbsd-3-0-RC5:1.102
	netbsd-3-0-RC4:1.102
	netbsd-3-0-RC3:1.102
	yamt-readahead-base2:1.103
	netbsd-3-0-RC2:1.102
	yamt-readahead-pervnode:1.103
	yamt-readahead-perfile:1.103
	yamt-readahead:1.103.0.8
	yamt-readahead-base:1.103
	netbsd-3-0-RC1:1.102
	yamt-vop-base3:1.103
	netbsd-2-0-3-RELEASE:1.101
	netbsd-2-1:1.101.10.1.0.2
	yamt-vop-base2:1.103
	thorpej-vnode-attr:1.103.0.6
	thorpej-vnode-attr-base:1.103
	netbsd-2-1-RELEASE:1.101.10.1
	yamt-vop:1.103.0.4
	yamt-vop-base:1.103
	netbsd-2-1-RC6:1.101.10.1
	netbsd-2-1-RC5:1.101.10.1
	netbsd-2-1-RC4:1.101.10.1
	netbsd-2-1-RC3:1.101.10.1
	netbsd-2-1-RC2:1.101.10.1
	netbsd-2-1-RC1:1.101.10.1
	yamt-lazymbuf:1.103.0.2
	yamt-km-base4:1.102
	netbsd-2-0-2-RELEASE:1.101
	yamt-km-base3:1.102
	netbsd-3:1.102.0.10
	netbsd-3-base:1.102
	yamt-km-base2:1.102
	yamt-km:1.102.0.6
	yamt-km-base:1.102
	kent-audio2:1.102.0.4
	kent-audio2-base:1.102
	netbsd-2-0-1-RELEASE:1.101
	kent-audio1-beforemerge:1.102
	netbsd-2:1.101.0.10
	netbsd-2-base:1.101
	kent-audio1:1.102.0.2
	kent-audio1-base:1.102
	netbsd-2-0-RELEASE:1.101
	netbsd-2-0-RC5:1.101
	netbsd-2-0-RC4:1.101
	netbsd-2-0-RC3:1.101
	netbsd-2-0-RC2:1.101
	netbsd-2-0-RC1:1.101
	netbsd-2-0:1.101.0.8
	netbsd-2-0-base:1.101
	netbsd-1-6-PATCH002-RELEASE:1.98.10.1
	netbsd-1-6-PATCH002:1.98.10.1
	netbsd-1-6-PATCH002-RC4:1.98.10.1
	netbsd-1-6-PATCH002-RC3:1.98.10.1
	netbsd-1-6-PATCH002-RC2:1.98.10.1
	netbsd-1-6-PATCH002-RC1:1.98.10.1
	ktrace-lwp:1.101.0.6
	ktrace-lwp-base:1.103
	netbsd-1-6-PATCH001:1.98.10.1
	netbsd-1-6-PATCH001-RELEASE:1.98.10.1
	netbsd-1-6-PATCH001-RC3:1.98.10.1
	netbsd-1-6-PATCH001-RC2:1.98.10.1
	netbsd-1-6-PATCH001-RC1:1.98.10.1
	nathanw_sa_end:1.96.2.5
	nathanw_sa_before_merge:1.101
	fvdl_fs64_base:1.101
	gmcgarry_ctxsw:1.101.0.4
	gmcgarry_ctxsw_base:1.101
	gmcgarry_ucred:1.101.0.2
	gmcgarry_ucred_base:1.101
	nathanw_sa_base:1.101
	kqueue-aftermerge:1.100
	kqueue-beforemerge:1.100
	netbsd-1-6-RELEASE:1.98.10.1
	netbsd-1-6-RC3:1.98.10.1
	netbsd-1-6-RC2:1.98.10.1
	netbsd-1-6-RC1:1.98.10.1
	netbsd-1-6:1.98.0.10
	netbsd-1-6-base:1.98
	gehenna-devsw:1.98.0.8
	gehenna-devsw-base:1.100
	netbsd-1-5-PATCH003:1.89
	eeh-devprop:1.98.0.6
	eeh-devprop-base:1.98
	newlock:1.98.0.4
	newlock-base:1.98
	ifpoll-base:1.98
	nathanw_sa:1.96.0.2
	thorpej-mips-cache:1.95.0.2
	thorpej-mips-cache-base:1.96
	thorpej-devvp-base3:1.94
	thorpej-devvp-base2:1.94
	post-chs-ubcperf:1.94
	pre-chs-ubcperf:1.94
	thorpej-devvp:1.94.0.4
	thorpej-devvp-base:1.94
	netbsd-1-5-PATCH002:1.89
	kqueue:1.94.0.2
	kqueue-base:1.100
	netbsd-1-5-PATCH001:1.89
	thorpej_scsipi_beforemerge:1.92
	thorpej_scsipi_nbase:1.92
	netbsd-1-5-RELEASE:1.89
	netbsd-1-5-BETA2:1.89
	netbsd-1-5-BETA:1.89
	netbsd-1-4-PATCH003:1.80.2.1
	netbsd-1-5-ALPHA2:1.89
	netbsd-1-5:1.89.0.4
	netbsd-1-5-base:1.89
	minoura-xpg4dl:1.89.0.2
	minoura-xpg4dl-base:1.89
	netbsd-1-4-PATCH002:1.80.2.1
	chs-ubc2-newbase:1.87
	wrstuden-devbsize-19991221:1.83
	wrstuden-devbsize:1.83.0.8
	wrstuden-devbsize-base:1.83
	kame_141_19991130:1.80
	comdex-fall-1999:1.83.0.6
	comdex-fall-1999-base:1.83
	fvdl-softdep:1.83.0.4
	fvdl-softdep-base:1.83
	thorpej_scsipi:1.83.0.2
	thorpej_scsipi_base:1.92
	netbsd-1-4-PATCH001:1.80
	kame_14_19990705:1.80
	kame_14_19990628:1.80
	kame:1.80.0.6
	chs-ubc2:1.80.0.4
	chs-ubc2-base:1.82
	netbsd-1-4-RELEASE:1.80
	netbsd-1-4:1.80.0.2
	netbsd-1-4-base:1.80
	netbsd-1-3-PATCH003:1.67.2.1
	netbsd-1-3-PATCH003-CANDIDATE2:1.67.2.1
	kenh-if-detach:1.77.0.4
	kenh-if-detach-base:1.77
	netbsd-1-3-PATCH003-CANDIDATE1:1.67.2.1
	netbsd-1-3-PATCH003-CANDIDATE0:1.67.2.1
	chs-ubc:1.77.0.2
	chs-ubc-base:1.77
	eeh-paddr_t:1.75.0.2
	eeh-paddr_t-base:1.75
	netbsd-1-3-PATCH002:1.67.2.1
	netbsd-1-3-PATCH001:1.67.2.1
	netbsd-1-3-RELEASE:1.67.2.1
	netbsd-1-3-BETA:1.67.2.1
	netbsd-1-3:1.67.0.2
	netbsd-1-3-base:1.67
	thorpej-signal:1.60.0.4
	thorpej-signal-base:1.60
	marc-pcmcia:1.60.0.2
	marc-pcmcia-bp:1.60
	marc-pcmcia-base:1.67
	bouyer-scsipi:1.58.0.2
	is-newarp-before-merge:1.55
	is-newarp:1.55.0.4
	is-newarp-base:1.55
	netbsd-1-2-PATCH001:1.45
	mrg-vm-swap:1.55.0.2
	thorpej-setroot:1.52.0.2
	netbsd-1-2-RELEASE:1.45
	netbsd-1-2-BETA:1.45
	netbsd-1-2:1.45.0.4
	netbsd-1-2-base:1.45
	netbsd-1-1-PATCH001:1.28.2.1
	netbsd-1-1-RELEASE:1.28.2.1
	netbsd-1-1:1.28.0.2
	netbsd-1-1-base:1.28
	netbsd-1-0-PATCH06:1.20
	netbsd-1-0-PATCH05:1.20
	netbsd-1-0-PATCH04:1.20
	netbsd-1-0-PATCH03:1.20
	netbsd-1-0-PATCH02:1.20
	netbsd-1-0-PATCH1:1.20
	netbsd-1-0-PATCH0:1.20
	netbsd-1-0-RELEASE:1.20
	netbsd-1-0:1.20.0.2
	netbsd-1-0-base:1.20
	magnum-base:1.3
	amiga-version#621:1.1.1.2
	amiga-release:1.1.1
	netbsd-0-9-patch-001:1.1.1.1
	netbsd-0-9-RELEASE:1.1.1.1
	netbsd-0-9-BETA:1.1.1.1
	netbsd-0-9-ALPHA2:1.1.1.1
	netbsd-0-9-ALPHA:1.1.1.1
	netbsd-0-9:1.1.1.1.0.2
	netbsd-0-9-base:1.1.1.1
	amiga_version_390:1.1.1.1
	mw_amiga_machdep_merge:1.1.1;
locks; strict;
comment	@# @;


1.114
date	2026.04.20.09.47.44;	author thorpej;	state Exp;
branches;
next	1.113;
commitid	gHqDysuna5nrhGCG;

1.113
date	2026.03.29.00.51.44;	author thorpej;	state Exp;
branches;
next	1.112;
commitid	FAZCR3AkltSj1OzG;

1.112
date	2026.03.21.20.14.54;	author thorpej;	state Exp;
branches;
next	1.111;
commitid	etOtJrKRuTo8ISyG;

1.111
date	2018.09.22.12.24.01;	author rin;	state Exp;
branches;
next	1.110;
commitid	oPiNEJ7VnAF626TA;

1.110
date	2018.03.05.02.41.03;	author christos;	state Exp;
branches
	1.110.2.1
	1.110.4.1;
next	1.109;
commitid	PgSSFdGuFd03kdtA;

1.109
date	2015.09.06.02.17.30;	author uebayasi;	state Exp;
branches;
next	1.108;

1.108
date	2015.05.25.05.48.18;	author mlelstv;	state Exp;
branches;
next	1.107;

1.107
date	2011.01.21.15.59.05;	author joerg;	state Exp;
branches
	1.107.14.1
	1.107.30.1
	1.107.32.1;
next	1.106;

1.106
date	2009.01.25.22.25.08;	author abs;	state Exp;
branches
	1.106.6.1
	1.106.8.1
	1.106.10.1;
next	1.105;

1.105
date	2008.01.25.19.39.22;	author joerg;	state Exp;
branches
	1.105.10.1
	1.105.18.1;
next	1.104;

1.104
date	2005.12.11.12.16.26;	author christos;	state Exp;
branches
	1.104.50.1
	1.104.56.1;
next	1.103;

1.103
date	2005.05.31.04.03.09;	author christos;	state Exp;
branches
	1.103.2.1;
next	1.102;

1.102
date	2004.06.04.04.45.50;	author thorpej;	state Exp;
branches;
next	1.101;

1.101
date	2002.11.26.18.51.12;	author thorpej;	state Exp;
branches
	1.101.6.1
	1.101.10.1;
next	1.100;

1.100
date	2002.06.04.21.39.09;	author thorpej;	state Exp;
branches;
next	1.99;

1.99
date	2002.05.26.12.47.42;	author jdolecek;	state Exp;
branches;
next	1.98;

1.98
date	2001.12.09.05.00.40;	author atatat;	state Exp;
branches
	1.98.8.1
	1.98.10.1;
next	1.97;

1.97
date	2001.11.20.12.56.20;	author lukem;	state Exp;
branches;
next	1.96;

1.96
date	2001.10.26.06.45.34;	author jmc;	state Exp;
branches
	1.96.2.1;
next	1.95;

1.95
date	2001.10.23.19.26.42;	author thorpej;	state Exp;
branches
	1.95.2.1;
next	1.94;

1.94
date	2001.05.29.02.20.20;	author mrg;	state Exp;
branches
	1.94.2.1;
next	1.93;

1.93
date	2001.05.08.06.09.29;	author is;	state Exp;
branches;
next	1.92;

1.92
date	2001.02.03.20.23.59;	author is;	state Exp;
branches
	1.92.2.1;
next	1.91;

1.91
date	2001.01.13.02.17.50;	author aymeric;	state Exp;
branches;
next	1.90;

1.90
date	2000.12.17.15.52.40;	author jdolecek;	state Exp;
branches;
next	1.89;

1.89
date	2000.05.09.00.56.22;	author hubertf;	state Exp;
branches;
next	1.88;

1.88
date	2000.05.09.00.32.20;	author thorpej;	state Exp;
branches;
next	1.87;

1.87
date	2000.02.01.05.25.26;	author tsutsui;	state Exp;
branches;
next	1.86;

1.86
date	2000.01.24.20.36.07;	author tron;	state Exp;
branches;
next	1.85;

1.85
date	2000.01.19.16.29.55;	author tsutsui;	state Exp;
branches;
next	1.84;

1.84
date	2000.01.19.14.44.58;	author tsutsui;	state Exp;
branches;
next	1.83;

1.83
date	99.09.07.19.40.56;	author is;	state Exp;
branches
	1.83.2.1;
next	1.82;

1.82
date	99.07.26.05.20.45;	author cgd;	state Exp;
branches;
next	1.81;

1.81
date	99.07.09.09.52.55;	author mrg;	state Exp;
branches;
next	1.80;

1.80
date	99.01.15.23.37.05;	author thorpej;	state Exp;
branches
	1.80.2.1
	1.80.4.1;
next	1.79;

1.79
date	99.01.15.23.21.25;	author thorpej;	state Exp;
branches;
next	1.78;

1.78
date	99.01.08.19.26.12;	author augustss;	state Exp;
branches;
next	1.77;

1.77
date	98.10.15.18.37.13;	author drochner;	state Exp;
branches;
next	1.76;

1.76
date	98.09.05.15.15.14;	author lukem;	state Exp;
branches;
next	1.75;

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

1.74
date	98.05.24.20.06.32;	author is;	state Exp;
branches;
next	1.73;

1.73
date	98.05.24.19.32.51;	author is;	state Exp;
branches;
next	1.72;

1.72
date	98.05.24.08.31.33;	author is;	state Exp;
branches;
next	1.71;

1.71
date	98.05.23.20.51.15;	author is;	state Exp;
branches;
next	1.70;

1.70
date	98.04.12.23.47.42;	author tv;	state Exp;
branches;
next	1.69;

1.69
date	97.11.12.23.11.55;	author thorpej;	state Exp;
branches;
next	1.68;

1.68
date	97.11.12.22.25.39;	author thorpej;	state Exp;
branches;
next	1.67;

1.67
date	97.10.09.20.40.25;	author is;	state Exp;
branches
	1.67.2.1;
next	1.66;

1.66
date	97.10.07.19.23.37;	author is;	state Exp;
branches;
next	1.65;

1.65
date	97.10.05.17.19.35;	author veego;	state Exp;
branches;
next	1.64;

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

1.63
date	97.09.30.22.46.47;	author christos;	state Exp;
branches;
next	1.62;

1.62
date	97.09.12.08.13.29;	author mycroft;	state Exp;
branches;
next	1.61;

1.61
date	97.09.12.07.59.23;	author mycroft;	state Exp;
branches;
next	1.60;

1.60
date	97.07.23.10.19.42;	author is;	state Exp;
branches
	1.60.2.1;
next	1.59;

1.59
date	97.07.12.22.07.36;	author leo;	state Exp;
branches;
next	1.58;

1.58
date	97.06.23.23.46.27;	author is;	state Exp;
branches;
next	1.57;

1.57
date	97.06.21.22.13.46;	author is;	state Exp;
branches;
next	1.56;

1.56
date	97.05.22.22.45.37;	author veego;	state Exp;
branches;
next	1.55;

1.55
date	97.02.04.05.08.29;	author perry;	state Exp;
branches;
next	1.54;

1.54
date	97.02.04.04.31.57;	author perry;	state Exp;
branches;
next	1.53;

1.53
date	97.01.31.10.16.07;	author veego;	state Exp;
branches;
next	1.52;

1.52
date	96.12.01.12.10.07;	author veego;	state Exp;
branches;
next	1.51;

1.51
date	96.12.01.06.12.27;	author jonathan;	state Exp;
branches;
next	1.50;

1.50
date	96.09.09.21.06.56;	author mycroft;	state Exp;
branches;
next	1.49;

1.49
date	96.08.31.21.40.53;	author mycroft;	state Exp;
branches;
next	1.48;

1.48
date	96.08.12.00.51.27;	author mycroft;	state Exp;
branches;
next	1.47;

1.47
date	96.08.10.06.08.15;	author mycroft;	state Exp;
branches;
next	1.46;

1.46
date	96.08.10.05.29.28;	author mycroft;	state Exp;
branches;
next	1.45;

1.45
date	96.05.16.17.07.08;	author is;	state Exp;
branches;
next	1.44;

1.44
date	96.05.15.21.10.57;	author is;	state Exp;
branches;
next	1.43;

1.43
date	96.05.12.13.36.02;	author is;	state Exp;
branches;
next	1.42;

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

1.41
date	96.05.09.20.30.59;	author is;	state Exp;
branches;
next	1.40;

1.40
date	96.03.15.20.09.52;	author is;	state Exp;
branches;
next	1.39;

1.39
date	96.02.29.20.55.13;	author cgd;	state Exp;
branches;
next	1.38;

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

1.37
date	96.02.09.02.21.17;	author mycroft;	state Exp;
branches;
next	1.36;

1.36
date	96.02.03.00.43.54;	author mycroft;	state Exp;
branches;
next	1.35;

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

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

1.33
date	96.02.01.22.29.19;	author mycroft;	state Exp;
branches;
next	1.32;

1.32
date	96.01.28.20.09.08;	author chopps;	state Exp;
branches;
next	1.31;

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

1.30
date	95.12.27.08.22.54;	author chopps;	state Exp;
branches;
next	1.29;

1.29
date	95.11.30.00.56.47;	author jtc;	state Exp;
branches;
next	1.28;

1.28
date	95.10.09.15.23.25;	author chopps;	state Exp;
branches
	1.28.2.1;
next	1.27;

1.27
date	95.10.09.15.20.14;	author chopps;	state Exp;
branches;
next	1.26;

1.26
date	95.10.09.00.12.54;	author chopps;	state Exp;
branches;
next	1.25;

1.25
date	95.09.19.23.32.21;	author thorpej;	state Exp;
branches;
next	1.24;

1.24
date	95.06.24.20.41.28;	author christos;	state Exp;
branches;
next	1.23;

1.23
date	95.05.16.22.24.26;	author jtc;	state Exp;
branches;
next	1.22;

1.22
date	95.03.23.19.46.26;	author jtc;	state Exp;
branches;
next	1.21;

1.21
date	94.10.26.02.02.29;	author cgd;	state Exp;
branches;
next	1.20;

1.20
date	94.07.06.03.56.44;	author chopps;	state Exp;
branches;
next	1.19;

1.19
date	94.06.15.19.04.26;	author chopps;	state Exp;
branches;
next	1.18;

1.18
date	94.06.13.08.12.50;	author chopps;	state Exp;
branches;
next	1.17;

1.17
date	94.05.11.19.03.34;	author chopps;	state Exp;
branches;
next	1.16;

1.16
date	94.05.08.05.52.50;	author chopps;	state Exp;
branches;
next	1.15;

1.15
date	94.04.16.08.37.50;	author cgd;	state Exp;
branches;
next	1.14;

1.14
date	94.04.12.15.44.31;	author chopps;	state Exp;
branches;
next	1.13;

1.13
date	94.03.28.07.55.57;	author chopps;	state Exp;
branches;
next	1.12;

1.12
date	94.03.20.10.08.44;	author chopps;	state Exp;
branches;
next	1.11;

1.11
date	94.02.24.02.23.59;	author chopps;	state Exp;
branches;
next	1.10;

1.10
date	94.02.22.02.06.25;	author chopps;	state Exp;
branches;
next	1.9;

1.9
date	94.02.17.09.09.57;	author chopps;	state Exp;
branches;
next	1.8;

1.8
date	94.02.13.21.14.32;	author chopps;	state Exp;
branches;
next	1.7;

1.7
date	94.02.11.07.00.43;	author chopps;	state Exp;
branches;
next	1.6;

1.6
date	94.02.01.11.50.41;	author chopps;	state Exp;
branches;
next	1.5;

1.5
date	94.01.26.21.03.42;	author mw;	state Exp;
branches;
next	1.4;

1.4
date	93.10.30.23.40.56;	author mw;	state Exp;
branches;
next	1.3;

1.3
date	93.09.02.18.07.47;	author mw;	state Exp;
branches;
next	1.2;

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

1.1
date	93.07.05.19.19.41;	author mw;	state Exp;
branches
	1.1.1.1;
next	;

1.110.2.1
date	2018.09.30.01.45.36;	author pgoyette;	state Exp;
branches;
next	;
commitid	SQ44grEPCeKPh4UA;

1.110.4.1
date	2019.06.10.22.05.48;	author christos;	state Exp;
branches;
next	;
commitid	jtc8rnCzWiEEHGqB;

1.107.14.1
date	2017.12.03.11.35.48;	author jdolecek;	state Exp;
branches;
next	;
commitid	XcIYRZTAh1LmerhA;

1.107.30.1
date	2015.05.26.02.22.00;	author msaitoh;	state Exp;
branches;
next	;

1.107.32.1
date	2015.06.06.14.39.54;	author skrll;	state Exp;
branches;
next	1.107.32.2;

1.107.32.2
date	2015.09.22.12.05.36;	author skrll;	state Exp;
branches;
next	;

1.106.6.1
date	2011.03.05.20.49.20;	author rmind;	state Exp;
branches;
next	;

1.106.8.1
date	2011.06.06.09.04.52;	author jruoho;	state Exp;
branches;
next	;

1.106.10.1
date	2011.02.08.16.19.11;	author bouyer;	state Exp;
branches;
next	;

1.105.10.1
date	2009.05.04.08.10.34;	author yamt;	state Exp;
branches;
next	;

1.105.18.1
date	2009.03.03.18.28.50;	author skrll;	state Exp;
branches;
next	;

1.104.50.1
date	2008.03.23.02.03.53;	author matt;	state Exp;
branches;
next	;

1.104.56.1
date	2008.02.18.21.04.21;	author mjf;	state Exp;
branches;
next	;

1.103.2.1
date	2008.02.04.09.21.43;	author yamt;	state Exp;
branches;
next	;

1.101.6.1
date	2004.08.03.10.31.49;	author skrll;	state Exp;
branches;
next	1.101.6.2;

1.101.6.2
date	2004.09.18.14.31.33;	author skrll;	state Exp;
branches;
next	1.101.6.3;

1.101.6.3
date	2004.09.21.13.12.18;	author skrll;	state Exp;
branches;
next	1.101.6.4;

1.101.6.4
date	2005.11.10.13.51.36;	author skrll;	state Exp;
branches;
next	;

1.101.10.1
date	2005.02.06.07.45.23;	author jmc;	state Exp;
branches;
next	;

1.98.8.1
date	2002.05.30.15.32.30;	author gehenna;	state Exp;
branches;
next	1.98.8.2;

1.98.8.2
date	2002.07.09.05.39.04;	author gehenna;	state Exp;
branches;
next	;

1.98.10.1
date	2002.05.28.19.34.39;	author tv;	state Exp;
branches;
next	;

1.96.2.1
date	2001.10.26.06.45.34;	author nathanw;	state dead;
branches;
next	1.96.2.2;

1.96.2.2
date	2002.01.08.00.22.58;	author nathanw;	state Exp;
branches;
next	1.96.2.3;

1.96.2.3
date	2002.04.17.00.02.15;	author nathanw;	state Exp;
branches;
next	1.96.2.4;

1.96.2.4
date	2002.06.20.03.37.51;	author nathanw;	state Exp;
branches;
next	1.96.2.5;

1.96.2.5
date	2002.12.11.05.52.01;	author thorpej;	state Exp;
branches;
next	;

1.95.2.1
date	2001.11.12.21.16.21;	author thorpej;	state Exp;
branches;
next	;

1.94.2.1
date	2002.01.10.19.37.16;	author thorpej;	state Exp;
branches;
next	1.94.2.2;

1.94.2.2
date	2002.06.23.17.34.23;	author jdolecek;	state Exp;
branches;
next	;

1.92.2.1
date	2001.06.21.18.13.08;	author nathanw;	state Exp;
branches;
next	;

1.83.2.1
date	2000.11.20.19.58.25;	author bouyer;	state Exp;
branches;
next	1.83.2.2;

1.83.2.2
date	2001.01.05.17.33.51;	author bouyer;	state Exp;
branches;
next	1.83.2.3;

1.83.2.3
date	2001.01.18.09.22.09;	author bouyer;	state Exp;
branches;
next	1.83.2.4;

1.83.2.4
date	2001.02.11.19.08.45;	author bouyer;	state Exp;
branches;
next	;

1.80.2.1
date	99.09.23.02.16.45;	author cgd;	state Exp;
branches;
next	;

1.80.4.1
date	99.08.02.19.36.40;	author thorpej;	state Exp;
branches;
next	;

1.67.2.1
date	97.11.12.23.45.23;	author thorpej;	state Exp;
branches;
next	;

1.60.2.1
date	97.09.16.03.48.12;	author thorpej;	state Exp;
branches;
next	1.60.2.2;

1.60.2.2
date	97.10.14.08.26.04;	author thorpej;	state Exp;
branches;
next	;

1.28.2.1
date	95.11.10.19.29.46;	author chopps;	state Exp;
branches;
next	;

1.1.1.1
date	93.07.05.19.19.42;	author mw;	state Exp;
branches;
next	1.1.1.2;

1.1.1.2
date	93.09.02.16.52.19;	author mw;	state Exp;
branches;
next	;


desc
@@


1.114
log
@Re-factor genassym.cf into common m68k definitions and platform-specific
ones.
@
text
@#	$NetBSD: Makefile.amiga,v 1.113 2026/03/29 00:51:44 thorpej 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/amiga/conf/``machineid''
# after which you should do
#	config machineid
# Machine generic makefile changes should be made in
#	/sys/arch/amiga/conf/Makefile.amiga
# 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
##
AMIGA=		$S/arch/amiga
GENASSYM_CONF=	$S/arch/m68k/m68k/genassym.cf
GENASSYM_EXTRAS+= ${AMIGA}/amiga/genassym.cf


##
## (2) compile settings
##
CPPFLAGS+=	-Damiga
.if !defined(CMACHFLAGS)
.include "$S/arch/m68k/Makefile.cmachflags"
CMACHFLAGS+=	-Wa,-mcpu=68030 -Wa,-m68030 -Wa,-m68851
.endif
CFLAGS+=	${CMACHFLAGS} -msoft-float
AFLAGS+=	-x assembler-with-cpp

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

##
## (4) local objects, compile rules, and dependencies
##
.include "$S/arch/m68k/conf/Makefile.kern.m68k.inc"

# 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=	${AMIGA}/amiga/locore.s

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

locore.o: ${AMIGA}/amiga/locore.s assym.h
	${NORMAL_S}

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

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

# depend on CPU configuration
amiga_init.o locore.o pmap.o sys_machdep.o: Makefile
bzsc.o bztzsc.o cbiisc.o cbsc.o flsc.o sbic.o: Makefile

# depends on defined(DRACO)
a2kbbc.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"

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


1.113
log
@Get rid of something that's been "XXX: Temporarily required" for more
years than I care to admit.  (Kernel config files can generate the
required macro signals now.)
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.amiga,v 1.112 2026/03/21 20:14:54 thorpej Exp $
d29 3
a31 1
GENASSYM_CONF=	${AMIGA}/amiga/genassym.cf
@


1.112
log
@Re-factor m68k FP exception handling:

- Move the FP exception stubs into the shared trap_subr.s.  Remove as
  many conditionals from the stubs as feasible, having separate stubs
  for each case that needs to be handled.  This doesn't really result
  in any more (or duplicated) code, and makes it all a lot easier to
  read.
- All platforms now call the new fpu_init() function, which is renamed
  from fpu_probe(), and centralizes all of the FP-related initialization.
  Platforms that don't need to probe for the FPU aren't forced to do so;
  the probe only occurs if the fputype is FPU_UNKNOWN at the time fpu_init()
  is called.
- Even on platforms that don't actually need to probe the FPU, make sure
  the "nofault" code is present in trap() to do so; this is meant to reduce
  diffs that need to be resolved later then the trap() function is re-factored.

- On Amiga and Atari, remove the bespoke vectab code and just use the shared
  vec_init().  Additional cleanup is possible in this area.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.amiga,v 1.111 2018/09/22 12:24:01 rin Exp $
d34 1
a34 1
CPPFLAGS+=	-Damiga -DFPCOPROC
@


1.111
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.amiga,v 1.110 2018/03/05 02:41:03 christos Exp $
d50 2
@


1.110
log
@gcc-6 passes -m68040 to the assembler, so reset it to -m68030...
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.amiga,v 1.109 2015/09/06 02:17:30 uebayasi Exp $
d45 1
a45 1
KERN_AS=	obj
@


1.110.4.1
log
@Sync with HEAD
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.amiga,v 1.111 2018/09/22 12:24:01 rin Exp $
d45 1
a45 1
OPT_MODULAR=	%MODULAR%
@


1.110.2.1
log
@Ssync with HEAD
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.amiga,v 1.111 2018/09/22 12:24:01 rin Exp $
d45 1
a45 1
OPT_MODULAR=	%MODULAR%
@


1.109
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$
d37 1
a37 1
CMACHFLAGS+=	-Wa,-mcpu=68030 -Wa,-m68851
@


1.108
log
@Don't use conflicting parameters for compiler and assembler.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.amiga,v 1.107 2011/01/21 15:59:05 joerg Exp $
d56 2
a57 1
MD_OBJS=	locore.o ${FPSP}
@


1.107
log
@Switch remaining platforms to modern CPP for assembler.
@
text
@d1 1
a1 1
#	$NetBSD: src/sys/arch/amiga/conf/Makefile.amiga,v 1.106 2009-01-25 22:25:08 abs Exp $
d37 1
a37 1
CMACHFLAGS+=	-Wa,-m68030 -Wa,-m68851
@


1.107.14.1
log
@update from HEAD
@
text
@d1 1
a1 1
#	$NetBSD$
d37 1
a37 1
CMACHFLAGS+=	-Wa,-mcpu=68030 -Wa,-m68851
d56 1
a56 2
MD_OBJS=	locore.o
MD_LIBS=	${FPSP}
@


1.107.32.1
log
@Sync with HEAD
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.amiga,v 1.108 2015/05/25 05:48:18 mlelstv Exp $
d37 1
a37 1
CMACHFLAGS+=	-Wa,-mcpu=68030 -Wa,-m68851
@


1.107.32.2
log
@Sync with HEAD
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.amiga,v 1.107.32.1 2015/06/06 14:39:54 skrll Exp $
d56 1
a56 2
MD_OBJS=	locore.o
MD_LIBS=	${FPSP}
@


1.107.30.1
log
@Pull up following revision(s) (requested by mlelstv in ticket #804):
	sys/arch/amiga/conf/Makefile.amiga: revision 1.108
Don't use conflicting parameters for compiler and assembler.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.amiga,v 1.107 2011/01/21 15:59:05 joerg Exp $
d37 1
a37 1
CMACHFLAGS+=	-Wa,-mcpu=68030 -Wa,-m68851
@


1.106
log
@Abstract out setting of '-m680X0' based on -DM68020, -DM68030,
-DM68040, and -DM68060 into sys/arch/m68k/Makefile.cmachflags and
include from both atari and amiga. Other m68k ports which build
kernels that support multiple CPU types can also switch across to
this.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.amiga,v 1.105 2008/01/25 19:39:22 joerg Exp $
d40 1
a40 1
AFLAGS+=	-x assembler-with-cpp -traditional-cpp
@


1.106.8.1
log
@Sync with HEAD.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.amiga,v 1.107 2011/01/21 15:59:05 joerg Exp $
d40 1
a40 1
AFLAGS+=	-x assembler-with-cpp
@


1.106.6.1
log
@sync with head
@
text
@d1 1
a1 1
#	$NetBSD$
d40 1
a40 1
AFLAGS+=	-x assembler-with-cpp
@


1.106.10.1
log
@Sync with HEAD
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.amiga,v 1.107 2011/01/21 15:59:05 joerg Exp $
d40 1
a40 1
AFLAGS+=	-x assembler-with-cpp
@


1.105
log
@Add assym.h dependencies.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.amiga,v 1.104 2005/12/11 12:16:26 christos Exp $
d35 3
a37 4
.if empty(IDENT:M-DM68060)
CMACHFLAGS=	-m68020
.else
CMACHFLAGS=	-m68060 -Wa,-m68030 -Wa,-m68851
@


1.105.10.1
log
@sync with head.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.amiga,v 1.105 2008/01/25 19:39:22 joerg Exp $
d35 4
a38 3
.if !defined(CMACHFLAGS)
.include "$S/arch/m68k/Makefile.cmachflags"
CMACHFLAGS+=	-Wa,-m68030 -Wa,-m68851
@


1.105.18.1
log
@Sync with HEAD.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.amiga,v 1.106 2009/01/25 22:25:08 abs Exp $
d35 4
a38 3
.if !defined(CMACHFLAGS)
.include "$S/arch/m68k/Makefile.cmachflags"
CMACHFLAGS+=	-Wa,-m68030 -Wa,-m68851
@


1.104
log
@merge ktrace-lwp.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.amiga,v 1.101.6.4 2005/11/10 13:51:36 skrll Exp $
d61 2
@


1.104.50.1
log
@sync with HEAD
@
text
@d1 1
a1 1
#	Makefile.amiga,v 1.104 2005/12/11 12:16:26 christos Exp
a60 2
copy.o copypage.o lock_stubs.o: assym.h

@


1.104.56.1
log
@Sync with HEAD.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.amiga,v 1.105 2008/01/25 19:39:22 joerg Exp $
a60 2
copy.o copypage.o lock_stubs.o: assym.h

@


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


1.103.2.1
log
@sync with head.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.amiga,v 1.103 2005/05/31 04:03:09 christos Exp $
a60 2
copy.o copypage.o lock_stubs.o: assym.h

@


1.102
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.amiga,v 1.101 2002/11/26 18:51:12 thorpej Exp $
d29 1
a29 1
GENASSYM=	${AMIGA}/amiga/genassym.cf
@


1.101
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.amiga,v 1.100 2002/06/04 21:39:09 thorpej Exp $
d104 5
@


1.101.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.amiga,v 1.101 2002/11/26 18:51:12 thorpej Exp $
a103 5

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


1.101.6.1
log
@Sync with HEAD
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.amiga,v 1.102 2004/06/04 04:45:50 thorpej Exp $
a103 5

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


1.101.6.2
log
@Sync with HEAD.
@
text
@@


1.101.6.3
log
@Fix the sync with head I botched.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.amiga,v 1.101.6.1 2004/08/03 10:31:49 skrll Exp $
@


1.101.6.4
log
@Sync with HEAD. Here we go again...
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.amiga,v 1.101.6.3 2004/09/21 13:12:18 skrll Exp $
d29 1
a29 1
GENASSYM_CONF=	${AMIGA}/amiga/genassym.cf
@


1.100
log
@Don't use -traditional-cpp if HAVE_GCC3.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.amiga,v 1.99 2002/05/26 12:47:42 jdolecek Exp $
a40 3
.if defined(HAVE_GCC3)
AFLAGS+=	-x assembler-with-cpp
.else
a41 1
.endif
@


1.99
log
@pregenerate grf_ultms.c, so that gspa isn't needed during kernel build
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.amiga,v 1.98 2001/12/09 05:00:40 atatat Exp $
d41 3
d45 1
@


1.98
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.amiga,v 1.97 2001/11/20 12:56:20 lukem Exp $
a41 7

.SUFFIXES: .o .g

.g.o: ; echo This is a dummy rule and should not be executed.

NORMAL_G=	gspa -c tmscode < $< > $*.c && \
		${CC} -c ${CFLAGS} ${CPPFLAGS} ${PROF} $*.c
@


1.98.8.1
log
@Catch up with -current.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.amiga,v 1.99 2002/05/26 12:47:42 jdolecek Exp $
d42 7
@


1.98.8.2
log
@catch up with -current.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.amiga,v 1.100 2002/06/04 21:39:09 thorpej Exp $
a40 3
.if defined(HAVE_GCC3)
AFLAGS+=	-x assembler-with-cpp
.else
a41 1
.endif
@


1.98.10.1
log
@Pull up revision 1.99 (requested by jdolecek):
pregenerate grf_ultms.c, so that gspa isn't needed during kernel build
@
text
@d1 1
a1 1
#	$NetBSD$
d42 7
@


1.97
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.amiga,v 1.96 2001/10/26 06:45:34 jmc Exp $
d14 5
d22 1
a22 1

d25 10
a34 35
# 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
.endif
AMIGA=	$S/arch/amiga

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 -Damiga -DFPCOPROC
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
d40 2
a41 36
CFLAGS=		${DEBUG} ${CWARNFLAGS} ${COPTS} ${CMACHFLAGS} -msoft-float
AFLAGS=		-x assembler-with-cpp -traditional-cpp -D_LOCORE
LINKFLAGS=	-n -Ttext 0 -e start
STRIPFLAGS=	-g

%INCLUDES

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

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

# 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).

NORMAL_C=	${CC} ${CFLAGS} ${CPPFLAGS} ${PROF} -c $<
NOPROF_C=	${CC} ${CFLAGS} ${CPPFLAGS} -c $<
NORMAL_S=	${CC} ${AFLAGS} ${CPPFLAGS} -c $<
d50 4
a53 1
%OBJS
d55 5
a59 1
%CFILES
d61 2
a62 1
%SFILES
d64 3
a66 23
# 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
d68 2
a69 69
%LOAD

assym.h: ${AMIGA}/amiga/genassym.cf $S/kern/genassym.sh
	sh $S/kern/genassym.sh ${CC} ${CFLAGS} ${CPPFLAGS} ${PROF} \
	    < ${AMIGA}/amiga/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=	${AMIGA}/amiga/locore.s \
	param.c ioconf.c ${CFILES} ${SFILES}
depend: .depend
.depend: ${SRCS} assym.h param.c
	${MKDEP} ${AFLAGS} ${CPPFLAGS} ${AMIGA}/amiga/locore.s
	${MKDEP} -a ${CFLAGS} ${CPPFLAGS} param.c ioconf.c ${CFILES}
	${MKDEP} -a ${AFLAGS} ${CPPFLAGS} ${SFILES}
	sh $S/kern/genassym.sh ${MKDEP} -f assym.dep ${CFLAGS} \
	  ${CPPFLAGS} < ${AMIGA}/amiga/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 configuration
uipc_proto.o: Makefile
d71 9
a79 2
# depend on maxusers
machdep.o: Makefile
d88 14
a101 2
locore.o: ${AMIGA}/amiga/locore.s assym.h
	${NORMAL_S}
d103 1
a103 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
d106 5
@


1.96
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.amiga,v 1.95 2001/10/23 19:26:42 thorpej Exp $
d44 1
a44 1
HAVE_EGCS!=	${CC} --version | egrep "^(2\.[89]|egcs)" ; echo 
d50 1
a50 1
# XXX always get it right.  --thorpej 
d60 1
a60 1
CFLAGS=		${DEBUG} ${CWARNFLAGS} ${COPTS} ${CMACHFLAGS} -msoft-float 
d194 1
a194 1
 
d200 3
a202 3
 
# depend on network configuration 
uipc_proto.o: Makefile 
d207 1
a207 1
# depend on CPU configuration 
@


1.96.2.1
log
@file Makefile.amiga was added on branch nathanw_sa on 2002-01-08 00:22:58 +0000
@
text
@d1 229
@


1.96.2.2
log
@Catch up to -current.
@
text
@a0 124
#	$NetBSD: Makefile.amiga,v 1.96.2.1 2002/01/08 00:22:58 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/amiga/conf/``machineid''
# after which you should do
#	config machineid
# Machine generic makefile changes should be made in
#	/sys/arch/amiga/conf/Makefile.amiga
# 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

.include <bsd.own.mk>

# 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
MACHINE_ARCH=m68k
USETOOLS?=	no
NEED_OWN_INSTALL_TARGET?=no
.include <bsd.own.mk>

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

##
## (2) compile settings
##
CPPFLAGS+=	-Damiga -DFPCOPROC
.if empty(IDENT:M-DM68060)
CMACHFLAGS=	-m68020
.else
CMACHFLAGS=	-m68060 -Wa,-m68030 -Wa,-m68851
.endif
CFLAGS+=	${CMACHFLAGS} -msoft-float
AFLAGS+=	-x assembler-with-cpp -traditional-cpp

.SUFFIXES: .o .g

.g.o: ; echo This is a dummy rule and should not be executed.

NORMAL_G=	gspa -c tmscode < $< > $*.c && \
		${CC} -c ${CFLAGS} ${CPPFLAGS} ${PROF} $*.c

##
## (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=	${AMIGA}/amiga/locore.s

locore.o: ${AMIGA}/amiga/locore.s assym.h
	${NORMAL_S}

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

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

# depend on CPU configuration
amiga_init.o locore.o pmap.o sys_machdep.o: Makefile
bzsc.o bztzsc.o cbiisc.o cbsc.o flsc.o sbic.o: Makefile

# depends on defined(DRACO)
a2kbbc.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.96.2.3
log
@Catch up to -current.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.amiga,v 1.96.2.2 2002/04/17 00:02:15 nathanw Exp $
d22 14
@


1.96.2.4
log
@Catch up to -current.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.amiga,v 1.96.2.3 2002/06/20 03:37:51 nathanw Exp $
a40 3
.if defined(HAVE_GCC3)
AFLAGS+=	-x assembler-with-cpp
.else
d42 7
a48 1
.endif
@


1.96.2.5
log
@Sync with HEAD.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.amiga,v 1.96.2.4 2002/12/11 05:52:01 thorpej Exp $
d41 3
d45 1
@


1.95
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.amiga,v 1.94 2001/05/29 02:20:20 mrg Exp $
d16 3
@


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

.include <bsd.own.mk>
@


1.94
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.amiga,v 1.93 2001/05/08 06:09:29 is Exp $
d14 2
@


1.94.2.1
log
@Sync kqueue branch with -current.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.amiga,v 1.98 2001/12/09 05:00:40 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 35
a49 15
MACHINE_ARCH=m68k
USETOOLS?=	no
NEED_OWN_INSTALL_TARGET?=no
.include <bsd.own.mk>

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

##
## (2) compile settings
##
CPPFLAGS+=	-Damiga -DFPCOPROC
d55 36
a90 2
CFLAGS+=	${CMACHFLAGS} -msoft-float
AFLAGS+=	-x assembler-with-cpp -traditional-cpp
d99 3
a101 4
##
## (3) libkern and compat
##
KERN_AS=	obj
d103 1
a103 5
##
## (4) local objects, compile rules, and dependencies
##
# for the Motorola 68040 Floating Point Software Product
.include "$S/arch/m68k/fpsp/Makefile.inc"
d105 23
a127 2
# for the Motorola 68060 Software Support Package
.include "$S/arch/m68k/060sp/Makefile.inc"
d129 1
a129 3
MD_OBJS=	locore.o ${FPSP}
MD_CFILES=
MD_SFILES=	${AMIGA}/amiga/locore.s
d131 67
a197 2
locore.o: ${AMIGA}/amiga/locore.s assym.h
	${NORMAL_S}
d199 2
a200 9
##
## (5) link settings
##
TEXTADDR?=	0
LINKFORMAT=	-n

##
## (6) port specific target dependencies
##
d202 1
a202 1
# depend on CPU configuration
d209 2
a210 8
##
## (7) misc settings
##

##
## (8) config(8) generated machinery
##
%INCLUDES
d212 11
a222 7
%OBJS

%CFILES

%SFILES

%LOAD
a224 5

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


1.94.2.2
log
@catch up with -current on kqueue branch
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.amiga,v 1.94.2.1 2002/01/10 19:37:16 thorpej Exp $
a40 3
.if defined(HAVE_GCC3)
AFLAGS+=	-x assembler-with-cpp
.else
d42 7
a48 1
.endif
@


1.93
log
@defopt LEV6_DEFER.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.amiga,v 1.92 2001/02/03 20:23:59 is Exp $
d41 1
a41 1
CPPFLAGS=	${INCLUDES} ${IDENT} ${PARAM} -D_KERNEL -Damiga -DFPCOPROC
@


1.92
log
@gspa can directly create the C language array.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.amiga,v 1.91 2001/01/13 02:17:50 aymeric Exp $
a207 3

# LEV6_DEFER blocks usage of audio interupt 3:
aucc.o cc.o: Makefile
@


1.92.2.1
log
@Catch up to -current.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.amiga,v 1.92 2001/02/03 20:23:59 is Exp $
d41 1
a41 1
CPPFLAGS=	${INCLUDES} ${IDENT} ${PARAM} -D_KERNEL -D_KERNEL_OPT -Damiga -DFPCOPROC
d208 3
@


1.91
log
@Pass CPPFLAGS to gcc in NORMAL_G, plus minor change: ; -> &&
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.amiga,v 1.90 2000/12/17 15:52:40 jdolecek Exp $
d96 1
a96 1
NORMAL_G=	gspa < $< | gspahextoc > $*.c && \
@


1.90
log
@delete obsolete comment
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.amiga,v 1.89 2000/05/09 00:56:22 hubertf Exp $
d96 2
a97 1
NORMAL_G=	gspa < $< | gspahextoc > $*.c; ${CC} -c ${CFLAGS} ${PROF} $*.c
@


1.89
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.amiga,v 1.88 2000/05/09 00:32:20 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.88
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.amiga,v 1.87 2000/02/01 05:25:26 tsutsui Exp $
d219 12
@


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


1.86
log
@Add "dependall" target for comfort.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.amiga,v 1.85 2000/01/19 16:29:55 tsutsui Exp $
d34 1
a34 1
STRIPPROG?=strip
d125 2
a126 2
		echo ${STRIPPROG} ${STRIPFLAGS} -o $@@ $@@.gdb; \
		${STRIPPROG} ${STRIPFLAGS} -o $@@ $@@.gdb
@


1.85
log
@STRIP -> STRIPPROG
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.amiga,v 1.84 2000/01/19 14:44:58 tsutsui Exp $
d192 2
@


1.84
log
@Change STRIPFLAGS=-g for cross-toolchains.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.amiga,v 1.83 1999/09/07 19:40:56 is Exp $
d34 1
a34 1
STRIP?=	strip
d125 2
a126 2
		echo ${STRIP} ${STRIPFLAGS} -o $@@ $@@.gdb; \
		${STRIP} ${STRIPFLAGS} -o $@@ $@@.gdb
@


1.83
log
@Uhm... multi-cpu kernels containign M68020 support won't assemble without
this. Sorry for the inconvenience.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.amiga,v 1.82 1999/07/26 05:20:45 cgd Exp $
d61 1
a61 1
STRIPFLAGS=	-d
@


1.83.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.

I updated the amiga SCSI drivers, but completely untested yet (may not even
compile)
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.amiga,v 1.89 2000/05/09 00:56:22 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} != "")
d61 1
a61 1
STRIPFLAGS=	-g
a191 2
dependall: depend all

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


1.83.2.3
log
@Sync with head (for UBC+NFS fixes, mostly).
@
text
@d96 1
a96 2
NORMAL_G=	gspa < $< | gspahextoc > $*.c && \
		${CC} -c ${CFLAGS} ${CPPFLAGS} ${PROF} $*.c
@


1.83.2.4
log
@Sync with HEAD.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.amiga,v 1.83.2.3 2001/01/18 09:22:09 bouyer Exp $
d96 1
a96 1
NORMAL_G=	gspa -c tmscode < $< > $*.c && \
@


1.82
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.amiga,v 1.81 1999/07/09 09:52:55 mrg Exp $
d56 1
a56 1
CMACHFLAGS=	-m68060 -Wa,-m68030
@


1.81
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.amiga,v 1.80 1999/01/15 23:37:05 thorpej Exp $
d124 3
a126 2
		echo cp $@@ $@@.gdb; rm -f $@@.gdb; cp $@@ $@@.gdb; \
		echo ${STRIP} ${STRIPFLAGS} $@@; ${STRIP} ${STRIPFLAGS} $@@
@


1.80
log
@Some minor, mostly costmetic, changes to CPPFLAGS/CFLAGS.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.amiga,v 1.79 1999/01/15 23:21:25 thorpej Exp $
d62 2
@


1.80.2.1
log
@pull up rev 1.82 from trunk (requested by is):
  Be more efficient when linking kernels with debugging symbols.  (Don't
  copy them just to strip them, use strip -o.)
@
text
@d1 1
a1 1
#	$NetBSD$
d122 2
a123 3
		echo mv -f $@@ $@@.gdb; mv -f $@@ $@@.gdb; \
		echo ${STRIP} ${STRIPFLAGS} -o $@@ $@@.gdb; \
		${STRIP} ${STRIPFLAGS} -o $@@ $@@.gdb
@


1.80.4.1
log
@Update from trunk.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.amiga,v 1.82 1999/07/26 05:20:45 cgd Exp $
a62 2
%INCLUDES

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


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


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


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


1.76
log
@distclean is a synonym for cleandir
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.amiga,v 1.75 1998/05/31 23:25:41 thorpej Exp $
d64 1
d111 1
a111 1
		param.o ioconf.o ${OBJS} ${LIBKERN} ${LIBCOMPAT}
@


1.75
log
@Specify a non-profiling C rule.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.amiga,v 1.74 1998/05/24 20:06:32 is Exp $
d158 1
a158 1
cleandir: __CLEANKERNEL __CLEANDEPEND
@


1.74
log
@Last part of the opt_m68kcpu.h backout.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.amiga,v 1.71 1998/05/23 20:51:15 is Exp $
d89 1
@


1.73
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.amiga,v 1.72 1998/05/24 08:31:33 is Exp $
d198 2
a199 8
# GRF_AGA, LIMITMEM, DRACO
amiga_init.o: Makefile

# lots of things:
locore.o: Makefile

# NKPTADD
pmap.o: Makefile
@


1.72
log
@- remove some dependency lines which aren't needed anymore due to opt_m68kcpu.h
- There isn't any vfs_conf.o anymore.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.amiga,v 1.71 1998/05/23 20:51:15 is Exp $
d53 1
a53 2
OPT_M68KCPU!=	cpp -E -dM opt_m68kcpu.h
.if empty(OPT_M68KCPU:MM68060)
@


1.71
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.amiga,v 1.70 1998/04/12 23:47:42 tv Exp $
d192 2
a193 2
# depend on network or filesystem configuration 
uipc_proto.o vfs_conf.o: Makefile 
d199 8
a206 2
amiga_init.o locore.o pmap.o sys_machdep.o: Makefile
bzsc.o bztzsc.o cbiisc.o cbsc.o flsc.o sbic.o: Makefile
@


1.70
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.amiga,v 1.69 1997/11/12 23:11:55 thorpej Exp $
d53 2
a54 1
.if empty(IDENT:M-DM68060)
@


1.69
log
@Make sure CPP, AR, AS, and RANLIB are defined.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.amiga,v 1.68 1997/11/12 22:25:39 thorpej Exp $
d45 1
d49 4
a52 1
CWARNFLAGS=	-Werror -Wall -Wstrict-prototypes -Wmissing-prototypes
@


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


1.67
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.amiga,v 1.66 1997/10/07 19:23:37 is Exp $
d27 1
d29 1
d32 1
@


1.67.2.1
log
@Pull up "make sure tools are defined" changes from trunk.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.amiga,v 1.69 1997/11/12 23:11:55 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.66
log
@Oops, I forgot this when doing the recent 060sp make system change.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.amiga,v 1.65 1997/10/05 17:19:35 veego Exp $
d25 1
@


1.65
log
@Update the 'depend on CPU configuration' section for the new or updated
ncr53c9x frontends.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.amiga,v 1.64 1997/10/03 07:17:00 lukem Exp $
d96 1
a96 1
SYSTEM_OBJ=	locore.o ${FPSP} ${060SP} \
@


1.64
log
@define SIZE?=size, and use ${SIZE} instead of size. makes cross
compilation easier
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.amiga,v 1.63 1997/09/30 22:46:47 christos Exp $
d186 2
a187 1
amiga_init.o locore.o pmap.o sys_machdep.o bzsc.o flsc.o sbic.o sfas.o: Makefile
@


1.63
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.amiga,v 1.62 1997/09/12 08:13:29 mycroft Exp $
d27 1
d102 1
a102 1
SYSTEM_LD_TAIL=	@@size $@@; chmod 755 $@@
@


1.62
log
@Move definition of FPCOPROC into the Makefile, since it's always required.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.amiga,v 1.61 1997/09/12 07:59:23 mycroft Exp $
d134 7
d142 3
a144 4
clean: cleankernel
cleankernel:
	rm -f eddep *netbsd netbsd.gdb tags *.[io] [a-z]*.s \
	    [Ee]rrs linterrs makelinks assym.h
@


1.61
log
@Nuke Locore.c.  It's way too out of date to be useful at this point.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.amiga,v 1.60 1997/07/23 10:19:42 is Exp $
d38 1
a38 1
		-Dmc68020 -Damiga
@


1.60
log
@Fix a complaint by Eric Delcamp on port-amiga... looks like Thorsten Fruehauf
didn't find all occurences of unprotected is_draco(), and I didn't look hard
enough, either, when fixing.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.amiga,v 1.59 1997/07/12 22:07:36 leo Exp $
d142 1
a142 2
	    ${AMIGA}/amiga/Locore.c ${CFILES} \
	    ioconf.c param.c | \
@


1.60.2.1
log
@Update marc-pcmcia branch from trunk.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.amiga,v 1.62 1997/09/12 08:13:29 mycroft Exp $
d38 1
a38 1
		-Dmc68020 -Damiga -DFPCOPROC
d142 2
a143 1
	    ${CFILES} ioconf.c param.c | \
@


1.60.2.2
log
@Update marc-pcmcia branch from trunk.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.amiga,v 1.60.2.1 1997/09/16 03:48:12 thorpej Exp $
a24 1
AS?=	as
a26 1
SIZE?=	size
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"
d138 1
a138 8
	    [Ee]rrs linterrs makelinks assym.h.tmp assym.h

__CLEANDEPEND: .USE
	rm -f .depend

clean: __CLEANKERNEL

cleandir: __CLEANKERNEL __CLEANDEPEND
d179 1
a179 2
amiga_init.o locore.o pmap.o sys_machdep.o: Makefile
bzsc.o bztzsc.o cbiisc.o cbsc.o flsc.o sbic.o: Makefile
@


1.59
log
@Generate assym.h dependencies when making 'depend'.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.amiga,v 1.58 1997/06/23 23:46:27 is Exp $
d181 3
@


1.58
log
@Make aucc work in the presence of LEV6_DEFER.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.amiga,v 1.57 1997/06/21 22:13:46 is Exp $
d164 5
@


1.57
log
@aucc.o depends on LEV6_DEFER
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.amiga,v 1.56 1997/05/22 22:45:37 veego Exp $
d175 1
a175 1
amiga_init.o locore.o pmap.o sys_machdep.o aucc.o bzsc.o flsc.o sbic.o sfas.o: Makefile
d177 2
@


1.56
log
@Use genassym.sh to facilitate cross-compiling and add -Wmissing-prototypes.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.amiga,v 1.55 1997/02/04 05:08:29 perry Exp $
d175 1
a175 1
amiga_init.o locore.o pmap.o sys_machdep.o bzsc.o flsc.o sbic.o sfas.o: Makefile
@


1.55
log
@Nuke some options GENERIC residue.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.amiga,v 1.54 1997/02/04 04:31:57 perry Exp $
d39 1
a39 1
CWARNFLAGS=	-Werror -Wall -Wstrict-prototypes
a49 4
HOSTED_CC=	${CC}
HOSTED_CPPFLAGS=${CPPFLAGS:S/^-nostdinc$//}
HOSTED_CFLAGS=	${CFLAGS}

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

d115 4
a118 8
assym.h: genassym
	./genassym >assym.h

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

genassym.o: ${AMIGA}/amiga/genassym.c
	${HOSTED_C}
d138 1
a138 1
	    [Ee]rrs linterrs makelinks genassym genassym.o assym.h
a163 3
	${MKDEP} -a ${HOSTED_CFLAGS} ${HOSTED_CPPFLAGS} \
	    ${AMIGA}/amiga/genassym.c

d172 1
a172 1
genassym.o machdep.o: Makefile
@


1.54
log
@Nuke some GENERIC residue.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.amiga,v 1.53 1997/01/31 10:16:07 veego Exp $
d152 1
a152 1
	    ${AMIGA}/amiga/Locore.c ${CFILES} ${AMIGA}/amiga/swapgeneric.c \
@


1.53
log
@:: -> : (pr #3154 with a minor change)
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.amiga,v 1.52 1996/12/01 12:10:07 veego Exp $
d151 1
a151 1
	@@lint -hbxncez -DGENERIC -Dvolatile= ${CPPFLAGS} -UKGDB \
@


1.52
log
@Fix typo in the last revision (missing S in ${COPTS}).
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.amiga,v 1.51 1996/12/01 06:12:27 jonathan Exp $
d145 2
a146 1
clean::
d169 1
a169 1
depend:: .depend
@


1.51
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.amiga,v 1.50 1996/09/09 21:06:56 mycroft Exp $
d28 1
a28 1
COPTS?= 	-O2
d45 1
a45 1
CFLAGS=		${DEBUG} ${CWARNFLAGS} ${COPT} ${CMACHFLAGS} -msoft-float 
@


1.50
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.amiga,v 1.49 1996/08/31 21:40:53 mycroft Exp $
d28 1
d45 1
a45 1
CFLAGS=		${DEBUG} ${CWARNFLAGS} -O2 -msoft-float ${CMACHFLAGS}
@


1.49
log
@Wrap the default definition of `S' in `.ifndef'.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.amiga,v 1.48 1996/08/12 00:51:27 mycroft Exp $
d27 1
a27 2
STRIP?=	strip -d
TOUCH?=	touch -f -c
d47 5
d81 1
a81 1
HOSTED_C=	${NORMAL_C:S/^-pg$//:S/^-p$//:S/^-nostdinc$//}
d113 1
a113 1
		echo ${STRIP} $@@; ${STRIP} $@@
d172 2
a173 1
	${MKDEP} -a ${CFLAGS} ${CPPFLAGS} ${AMIGA}/amiga/genassym.c
@


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


1.47
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.amiga,v 1.46 1996/08/10 05:29:28 mycroft Exp $
d35 2
a36 1
CPPFLAGS=	${INCLUDES} ${IDENT} -D_KERNEL -Dmc68020 -Damiga
d69 2
a70 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.
a72 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 $<

a73 1
NORMAL_S_C=	${CC} ${AFLAGS} ${CPPFLAGS} ${PARAM} -c $<
d75 1
a75 1
HOSTED_C_C=	${NORMAL_C_C:S/^-pg$//:S/^-p$//:S/^-nostdinc$//}
d121 1
a121 1
	${HOSTED_C_C}
d128 1
a128 1
	${NORMAL_C_C}
d143 1
a143 1
	@@lint -hbxncez -DGENERIC -Dvolatile= ${CPPFLAGS} ${PARAM} -UKGDB \
d166 1
a166 1
	${MKDEP} -a ${CFLAGS} ${CPPFLAGS} ${PARAM} ${AMIGA}/amiga/genassym.c
@


1.46
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.amiga,v 1.45 1996/05/16 17:07:08 is Exp $
d34 1
a34 1
INCLUDES=	-I. -I$S/arch -I$S
d82 2
d128 1
a128 1
	${NORMAL_C_C}
@


1.45
log
@- tell new version of assembler to still accept 851/030 opcodes when compiling
  with -m68060
- add -Wall -Wstrict-prototypes
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.amiga,v 1.44 1996/05/15 21:10:57 is Exp $
a23 1
AS?=	as
a24 1
CPP?=	cpp
d26 1
d31 2
a32 2
S=	../../../..
AMIGA=	../..
d36 1
a36 3

CDIAGFLAGS=	-Werror -Wall -Wstrict-prototypes

d38 1
a38 1
CMACHFLAGS=	-m68020 -msoft-float
d40 1
a40 1
CMACHFLAGS=	-m68060 -Wa,-m68030 -msoft-float
d42 1
a42 2

CFLAGS=		${DEBUG} -O2 ${CDIAGFLAGS} ${CMACHFLAGS} ${COPTS}
d114 1
a114 1
LINKFLAGS+=	-x
d168 4
a171 4
	mkdep ${AFLAGS} ${CPPFLAGS} ${AMIGA}/amiga/locore.s
	mkdep -a ${CFLAGS} ${CPPFLAGS} param.c ioconf.c ${CFILES}
	mkdep -a ${AFLAGS} ${CPPFLAGS} ${SFILES}
	mkdep -a ${CFLAGS} ${CPPFLAGS} ${PARAM} ${AMIGA}/amiga/genassym.c
@


1.44
log
@Now that we imported the 68060 software support package and committed the
glue code for it, activate this again.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.amiga,v 1.43 1996/05/12 13:36:02 is Exp $
d37 3
d41 1
a41 1
CFLAGS=		${DEBUG} -O2 -Werror -m68020 -msoft-float ${COPTS}
d43 1
a43 1
CFLAGS=		${DEBUG} -O2 -Werror -m68060 -msoft-float ${COPTS}
d46 1
@


1.43
log
@Disable .include of arch/m68k/060sp/Makefile.inc for now.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.amiga,v 1.42 1996/05/11 16:11:41 mycroft Exp $
d66 1
a66 1
# XXX not yet .include "$S/arch/m68k/060sp/Makefile.inc"
@


1.42
log
@Make `make depend' work for libraries.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.amiga,v 1.41 1996/05/09 20:30:59 is Exp $
d66 1
a66 1
.include "$S/arch/m68k/060sp/Makefile.inc"
@


1.41
log
@First part of M68060 and DraCo support.

* for the M68060 part: store buffer and branch target cache aren't
  enabled yet (this needs cleanup of lots of locore.s code which is a
  maze of little passages, all a little different) (and it wasn't yet
  tested in an accellerated Amiga, only in the DraCo).

  I've included a workaround for 2 of the CPU bugs in chips with Masks
  1F43G and earlier, but didn't bother to deal with the can of worms
  in the [0-3]D11W chips. Be sure to get "68060 rev. 1" or more
  reported at kernel startup time, or at least mention it (or the mask
  revision, if available) when reporting problems.

* for the DraCo: only machines with a CIA timer.

  I assigned machine id 32000+nn (0x7Dnn), where n is the machine
  readable Quicklogic custom chip revision (also printed at boot
  time).  "Guaranteed to work" up to rev. 3, newer DraCo's aren't
  guaranteed to have any CIA (we don't have a driver for the new timer
  yet).

  Supported are:

  - MF-II keyboards on the native interface and A3000 keyboards via
    the CIA.
  - builtin SCSI interface (yet another instance of siop)
  - CIA timer.
  - Zorro II devices which don't do DMA (don't get mapped to Zorro II
    address space in the DraCo)
  - "local bus" devices which are autoconfigured by the boot rom
    (should be all); only an Altais driver is there (looks like a Retina Z3)

  Not yet supported are:

  - native timer of newer machines.
  - Real Time Clock.
  - serial, parallel + floppy on the SuperIO chip (that is also: no mouse)

  XXX You need an enhanced boot loader, which will committed in a few days.

  XXX std.draco should and will go away.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.amiga,v 1.40 1996/03/15 20:09:52 is Exp $
d166 1
a166 1
depend: .depend
@


1.40
log
@If compiling with "options M68060", tell compiler not to use
instructions which have to be emulated by the operating system on that
chip.  This code will still run on M68020, M68030 and M68040, but
might be a bit slower on those chips.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.amiga,v 1.39 1996/02/29 20:55:13 cgd Exp $
d65 3
d99 1
a99 1
SYSTEM_OBJ=	locore.o ${FPSP} \
@


1.39
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.amiga,v 1.38 1996/02/26 02:53:25 mycroft Exp $
d37 6
a42 1
CFLAGS=		${DEBUG} -O2 -Werror -mc68020 -msoft-float
@


1.38
log
@Define build programs with `?=', so they can be overridden with `makeoptions'.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.amiga,v 1.36 1996/02/03 00:43:54 mycroft Exp $
a24 1
AWK?=	awk
d92 1
a92 1
		vnode_if.o param.o ioconf.o ${OBJS} ${LIBKERN} ${LIBCOMPAT}
a119 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

d136 1
a136 1
	rm -f eddep *netbsd netbsd.gdb tags vnode_if.[ch] *.[io] [a-z]*.s \
d157 1
a157 1
	vnode_if.c param.c ioconf.c ${CFILES} ${SFILES}
d159 1
a159 1
.depend: ${SRCS} assym.h vnode_if.h param.c
d161 1
a161 1
	mkdep -a ${CFLAGS} ${CPPFLAGS} vnode_if.c param.c ioconf.c ${CFILES}
@


1.37
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.36
log
@Use `-traditional-cpp' when building .s and .S files.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.amiga,v 1.35 1996/02/02 20:08:40 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 $<
d164 1
a164 1
	mkdep -x assembler-with-cpp ${AFLAGS} ${CPPFLAGS} ${AMIGA}/amiga/locore.s
d166 1
a166 1
	mkdep -a -x assembler-with-cpp ${AFLAGS} ${CPPFLAGS} ${SFILES}
@


1.35
log
@Clone these, and fix many bugs.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.amiga,v 1.34 1996/02/02 02:35:26 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.34
log
@assym.s -> assym.h
(Some ports did this already.)
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.amiga,v 1.33 1996/02/01 22:29:19 mycroft Exp $
d3 1
a3 3
#	@@(#)Makefile.hp300	7.10 (Berkeley) 6/27/91
#
# Makefile for 4.4 BSD
d8 1
a8 1
#	/sys/conf/``machineid''
d10 1
a10 1
#	 config machineid
d12 1
a12 1
#	/sys/conf/Makefile.``machinetype''
d21 2
a23 2
# DEBUG is set to -g by config if debugging is requested (config -g).
# PROF is set to -pg by config if profiling is requested (config -p).
d25 2
a26 1
CC=	cc ${DEBUG}
d28 2
a29 1
LD=	ld 
d36 5
a40 3
INCLUDES= -I. -I$S/arch -I$S -I$S/sys 
COPTS=	${INCLUDES} ${IDENT} -D_KERNEL -Dmc68020 -Damiga
CFLAGS=	-O -Werror -mc68020 -m68881 ${COPTS}
d66 2
a67 5
NORMAL_C=	${CC} -c ${CFLAGS} ${PROF} $<
NORMAL_C_C=	${CC} -c ${CFLAGS} ${PROF} ${PARAM} $<

DRIVER_C=	${CC} -c ${CFLAGS} ${PROF} $<
DRIVER_C_C=	${CC} -c ${CFLAGS} ${PROF} ${PARAM} $<
d69 2
a70 4
PROFILE_C=	${CC} -S -c ${COPTS} $<; \
		sed -e s/_mcount/mcount/ -e s/subrmcount/subr_mcount/ <$*.s | \
		${AS} -o $@@; \
		rm -f $*.s
d72 2
a73 2
NORMAL_S=	${CPP} ${COPTS} $< | ${AS} -o $@@
NORMAL_S_C=	${CPP} ${COPTS} ${PARAM} $< | ${AS} -o $@@
d85 2
d92 2
a93 2
SYSTEM_OBJ=	locore.o ${FPSP} vnode_if.o ${OBJS} param.o ioconf.o \
		${LIBKERN} ${LIBCOMPAT}
d95 9
a103 9
SYSTEM_LD_HEAD=	rm -f $@@
SYSTEM_LD=	-@@if [ X${DEBUG} = X-g ]; \
		then strip=-X; \
		else strip=-x; \
		fi; \
		echo ${LD} $$strip -n -T 0 -o $@@ -e start '$${SYSTEM_OBJ}' vers.o; \
		${LD} $$strip -n -T 0 -o $@@ -e start ${SYSTEM_OBJ} vers.o
SYSTEM_LD_TAIL=	@@size $@@; chmod 755 $@@; \
		[ X${DEBUG} = X-g ] && { \
d105 4
a108 1
		echo strip -d $@@; strip -d $@@; } || true
d112 8
a119 1
vers.o:	newvers
d121 6
a126 3
newvers:
	sh $S/conf/newvers.sh ${KERN_IDENT}
	${CC} $(CFLAGS) -c vers.c
d128 5
a132 3
clean::
	rm -f eddep *netbsd netbsd.gdb tags *.o locore.i [a-z]*.s \
		vnode_if.[ch] Errs errs linterrs makelinks genassym
d134 3
a136 17
lint: /tmp param.c
	@@lint -hbxn -DGENERIC -Dvolatile= ${COPTS} ${PARAM} -UKGDB \
	    ${AMIGA}/amiga/Locore.c ${CFILES} ${AMIGA}/amiga/swapgeneric.c \
	    ioconf.c param.c| \
	    grep -v 'struct/union .* never defined' | \
	    grep -v 'possible pointer alignment problem'

locore.o: assym.h ${AMIGA}/amiga/vectors.s ${AMIGA}/amiga/locore.s 
locore.o: machine/trap.h machine/psl.h machine/pte.h machine/cpu.h
	${CPP} -D_LOCORE ${COPTS} ${AMIGA}/amiga/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
machdep.o sys_machdep.o pmap.o pmap_bootstrap.o trap.o dma.o:	Makefile
a137 2
# depend on network or filesystem configuration
uipc_proto.o vfs_conf.o locore.o:	Makefile
d139 3
a141 2
# depend on maxusers
assym.h: Makefile
d143 5
a147 2
assym.h: genassym
	./genassym >assym.h
d149 2
a150 7
genassym:
	${CC} -static ${INCLUDES} ${IDENT} ${PARAM} -Dmc68020 -Damiga \
	    -o genassym ${AMIGA}/amiga/genassym.c

depend: assym.h param.c vnode_if.h
	mkdep ${COPTS} ${CFILES} ioconf.c param.c
	mkdep -a -p ${INCLUDES} ${IDENT} ${PARAM} ${AMIGA}/amiga/genassym.c
d157 1
a157 1
	  sed 's,../.*/\(.*.o\),rm -f \1;ln -s ../GENERIC/\1 \1,' > makelinks
d160 18
a177 2
tags:
	@@echo "see $S/kern/Makefile for tags"
d179 2
a180 2
ioconf.o: ioconf.c
	${CC} -c ${CFLAGS} ioconf.c
a181 3
param.c: $S/conf/param.c
	rm -f param.c
	cp $S/conf/param.c .
d183 2
a184 4
param.o: param.c Makefile
	${CC} -c ${CFLAGS} ${PARAM} param.c
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.33
log
@LOCORE -> _LOCORE
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.amiga,v 1.32 1996/01/28 20:09:08 chopps Exp $
d127 1
a127 1
locore.o: assym.s ${AMIGA}/amiga/vectors.s ${AMIGA}/amiga/locore.s 
d142 1
a142 1
assym.s: Makefile
d144 2
a145 2
assym.s: genassym
	./genassym >assym.s
d151 1
a151 1
depend: assym.s param.c vnode_if.h
@


1.32
log
@debug flag to as is uneeded and unsupported #1948
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.amiga,v 1.31 1996/01/14 21:06:47 thorpej Exp $
d129 1
a129 1
	${CPP} -DLOCORE ${COPTS} ${AMIGA}/amiga/locore.s | ${AS} -o locore.o
@


1.31
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.amiga,v 1.30 1995/12/27 08:22:54 chopps Exp $
d26 1
a26 1
AS=	as ${DEBUG}
@


1.30
log
@remove -fno-builtin (pr#1727) from Bernd Ernesti
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.amiga,v 1.29 1995/11/30 00:56:47 jtc Exp $
d118 1
a118 1
		Errs errs linterrs makelinks genassym
@


1.29
log
@merge in changes from 1.1 release branch
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.amiga,v 1.28.2.1 1995/11/10 19:29:46 chopps Exp $
d38 1
a38 1
CFLAGS=	-O -Werror -fno-builtin -mc68020 -m68881 ${COPTS}
@


1.28
log
@revert last commits was a mistake
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.amiga,v 1.27 1995/10/09 15:20:14 chopps Exp $
d78 6
d151 1
a151 1
depend: assym.s param.c vnode_if.h grf_ultmscode.h
a176 5

grf_ultmscode.h: ${AMIGA}/dev/grf_ul.gsp
	gspa < ${AMIGA}/dev/grf_ul.gsp | gspahextoc > grf_ultmscode.h

grf_ul.o:	grf_ultmscode.h
@


1.28.2.1
log
@update grf_ul; support files now only used if needed.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.amiga,v 1.28 1995/10/09 15:23:25 chopps Exp $
a77 6
.SUFFIXES: .o .g

.g.o: ; echo This is a dummy rule and should not be executed.

NORMAL_G=	gspa < $< | gspahextoc > $*.c; ${CC} -c ${CFLAGS} ${PROF} $*.c

d145 1
a145 1
depend: assym.s param.c vnode_if.h
d171 5
@


1.27
log
@add prototypes for isr stuff fixes pr# 1284 and 1569
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.amiga,v 1.26 1995/10/09 00:12:54 chopps Exp $
d38 1
a38 1
CFLAGS=	-O -Wall -Werror -fno-builtin -mc68020 -m68881 ${COPTS}
@


1.26
log
@build grf_ultmscode.h
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.amiga,v 1.25 1995/09/19 23:32:21 thorpej Exp $
d38 1
a38 1
CFLAGS=	-O -Werror -fno-builtin -mc68020 -m68881 ${COPTS}
@


1.25
log
@Compile the kernel with -Werror and -fno-builtin
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.amiga,v 1.24 1995/06/24 20:41:28 christos Exp $
d145 1
a145 1
depend: assym.s param.c vnode_if.h
d171 5
@


1.24
log
@Makefile.`arch`:	- Add -lcompat
			- Change clean: target to be a double dep one,
			  so libraries can use the clean target too
			- Add genassym to the clean targets
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.amiga,v 1.23 1995/05/16 22:24:26 jtc Exp $
d38 1
a38 1
CFLAGS=	-O -mc68020 -m68881 ${COPTS}
@


1.23
log
@Removing -DKERNEL, transition to _KERNEL has been completed
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.amiga,v 1.22 1995/03/23 19:46:26 jtc Exp $
d48 8
d87 2
a88 1
SYSTEM_OBJ=	locore.o ${FPSP} vnode_if.o ${OBJS} param.o ioconf.o ${LIBKERN}
d110 1
a110 1
clean:
d112 1
a112 1
		Errs errs linterrs makelinks
@


1.22
log
@Added -D_KERNEL to CFLAGS alongside each -DKERNEL.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.amiga,v 1.21 1994/10/26 02:02:29 cgd Exp $
d37 1
a37 1
COPTS=	${INCLUDES} ${IDENT} -DKERNEL -D_KERNEL -Dmc68020 -Damiga
@


1.21
log
@new RCS ID format.
@
text
@d1 1
a1 1
#	$NetBSD$
d37 1
a37 1
COPTS=	${INCLUDES} ${IDENT} -DKERNEL -Dmc68020 -Damiga
@


1.20
log
@update for FPSP changes (taken from hp300)
@
text
@d1 2
a3 1
#	$Id: Makefile.amiga,v 1.19 1994/06/15 19:04:26 chopps Exp $
@


1.19
log
@include more device .h files, update Makefile.amiga to use new
vnode_if.x gerating procedure
@
text
@d2 1
a2 1
#	$Id: Makefile.amiga,v 1.18 1994/06/13 08:12:50 chopps Exp $
d46 4
d78 1
a78 1
SYSTEM_OBJ=	locore.o vnode_if.o ${OBJS} param.o ioconf.o ${LIBKERN}
@


1.18
log
@some cleanup and various fixes for new fs code. plus some general
fixes from from osymh@@gemini.oscs.montana.edu (Michael L. Hitch)
@
text
@d2 1
a2 1
#	$Id: Makefile.amiga,v 1.17 1994/05/11 19:03:34 chopps Exp $
d74 1
a74 1
SYSTEM_OBJ=	locore.o ${OBJS} param.o ioconf.o vnode_if.o ${LIBKERN}
d155 2
a156 4
vnode_if.c:	$S/kern/vnode_if.sh $S/kern/vnode_if.src
	sh $S/kern/vnode_if.sh $S/kern/vnode_if.src
vnode_if.h:	$S/kern/vnode_if.sh $S/kern/vnode_if.src
	sh $S/kern/vnode_if.sh $S/kern/vnode_if.src
@


1.17
log
@compile genassym static and add adosfs to GENERIC
@
text
@d2 1
a2 1
#	$Id: Makefile.amiga,v 1.16 1994/05/08 05:52:50 chopps Exp $
a29 1
GPROF.EX=/usr/src/usr.lib/libc/csu/amiga/gmon.ex
d36 1
a36 1
COPTS=	${INCLUDES} ${IDENT} -DKERNEL -Dmc68020 -Damiga -DREFBIT
d58 2
a59 2
		ex - $*.s < ${GPROF.EX}; \
		${AS} -o $@@ $*.s; \
d74 1
a74 1
SYSTEM_OBJ=	locore.o ${OBJS} param.o ioconf.o vers.o ${LIBKERN}
d76 7
a82 3
SYSTEM_LD_HEAD=	@@echo loading $@@; rm -f $@@
SYSTEM_LD=	@@strip=-x; [ X${DEBUG} = X-g ] && strip=-X || true; \
		${LD} $$strip -T 0 -n -o $@@ -e start ${SYSTEM_OBJ}
d97 1
a97 1
	rm -f eddep *netbsd tags *.o locore.i [a-z]*.s \
d116 1
a116 1
clock.o machdep.o autoconf.o conf.o: Makefile
d118 2
a119 2
# depend on network configuration
af.o uipc_proto.o locore.o: Makefile
d131 1
a131 1
depend: assym.s param.c
d155 4
@


1.16
log
@resistance is futile, you will be assimilated.
amiga goes: config.new *and* /sys/scsi.
clock code coerced into a single .c file adding an accurate usec delay().
disklabel.c updated to DTRT, code to write RDB's to be added soon.
sbic (old scsi) converted over to new scsi and config this covers about
90% of users.  Other drivers soon.
@
text
@d2 1
a2 1
#	$Id: Makefile.amiga,v 1.1.1.1 1994/05/01 11:00:01 chopps Exp $
d125 2
a126 2
	${CC} ${INCLUDES} ${IDENT} ${PARAM} -Dmc68020 -Damiga -o genassym \
	    ${AMIGA}/amiga/genassym.c
@


1.15
log
@kill symbols.{raw,sort}; no longer necessary, with kvm dbs.
@
text
@d2 1
a2 1
#	$Id: Makefile.amiga,v 1.14 1994/04/12 15:44:31 chopps Exp $
@


1.14
log
@vmunix? no, we are netbsd.
@
text
@d2 1
a2 1
#	$Id: Makefile.amiga,v 1.13 1994/03/28 07:55:57 chopps Exp $
a75 1
#SYSTEM_DEP=	Makefile symbols.sort ${SYSTEM_OBJ}
a79 2
#SYSTEM_LD_TAIL= @@echo rearranging symbols;\
#		symorder symbols.sort $@@;\
a102 4

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


1.13
log
@cc not gcc, cpp not /lib/cpp -traditional
@
text
@d2 1
a2 1
#	$Id: Makefile.amiga,v 1.12 1994/03/20 10:08:44 chopps Exp $
d97 1
a97 1
	rm -f eddep *vmunix tags *.o locore.i [a-z]*.s \
@


1.12
log
@fix shell command for linking. (from Stephen J. Roznows)
@
text
@d2 1
a2 1
#	$Id: Makefile.amiga,v 1.11 1994/02/24 02:23:59 chopps Exp $
d26 2
a27 2
CC=	gcc ${DEBUG}
CPP=	/lib/cpp -traditional
@


1.11
log
@change -O2 back to -O, may be inappropriate with some versions of gcc.
@
text
@d2 1
a2 1
#	$Id: Makefile.amiga,v 1.10 1994/02/22 02:06:25 chopps Exp $
d79 1
a79 1
SYSTEM_LD=	@@strip=-x; [ X${DEBUG} = X-g ] && strip=-X; \
@


1.10
log
@kernel now linked with dist ld.
@
text
@d2 1
a2 1
#	$Id: Makefile.amiga,v 1.9 1994/02/17 09:09:57 chopps Exp $
d38 1
a38 1
CFLAGS=	-O2 -mc68020 -m68881 ${COPTS}
@


1.9
log
@modified to use generic cons.
@
text
@d2 1
a2 1
#	$Id: Makefile.amiga,v 1.8 1994/02/13 21:14:32 chopps Exp $
d28 1
a28 1
LD=	kernel-ld 
d80 1
a80 1
		${LD} $$strip -n -o $@@ -e start ${SYSTEM_OBJ}
@


1.8
log
@chnaged to handle new (and removed) files.
@
text
@d2 1
a2 1
#	$Id: Makefile.amiga,v 1.7 1994/02/11 07:00:43 chopps Exp $
d38 1
a38 1
CFLAGS=	-O -mc68020 -m68881 ${COPTS}
@


1.7
log
@Add missing Id's
@
text
@d2 1
a2 1
#	$Id$
d112 1
a112 2
locore.o: ${AMIGA}/include/trap.h ${AMIGA}/include/psl.h ${AMIGA}/amiga/pte.h
locore.o: ${AMIGA}/include/cpu.h
@


1.6
log
@updated files for scsi re-org.
@
text
@d2 1
@


1.5
log
@Integrate recent changes done to the amiga branch. Includes support
for the '40.
@
text
@d27 1
a27 1
LD=	ld.old
@


1.4
log
@new tree for amiga, replacing the bogous previous one.
SunOS support works for a lot of executables now (static and dynamic).
@
text
@d27 1
a27 1
LD=	ld
d35 1
a35 1
INCLUDES= -I. -I$S/arch -I$S -I$S/sys
d92 1
a92 1
	sh $S/conf/newvers.sh
@


1.3
log
@new source release integrated from amiga-release.
@
text
@d1 1
a1 2
#	from: @@(#)Makefile.hp300	7.10 (Berkeley) 6/27/91
#	$Id: Makefile.amiga,v 1.2 1993/07/31 15:26:06 mycroft Exp $
d39 7
d74 1
a74 1
SYSTEM_OBJ=	locore.o ${OBJS} param.o ioconf.o vers.o
@


1.2
log
@Add RCS indentifiers.
@
text
@d2 1
a2 1
#	$Id: $
d25 1
a25 1
AS=	gcc:compilers/amiga/2.3.3/as ${DEBUG}
d27 2
a28 2
CPP=	gcc:compilers/amiga/2.3.3/cpp -traditional
LD=	ld.bsd
d68 1
a68 1
SYSTEM_OBJ=	locore.o ${OBJS} param.o ioconf.o
d73 1
a73 1
		${LD} $$strip -n -o $@@ -e start ${SYSTEM_OBJ} vers.o
d82 2
@


1.1
log
@Initial revision
@
text
@d1 2
a2 1
#	@@(#)Makefile.hp300	7.10 (Berkeley) 6/27/91
@


1.1.1.1
log
@sys/arch/amiga tree. This is the machdep part required to get the kernel
up on an A3000. There are still (very) few changes required outside the
arch/amiga tree, so you can't recompile the kernel yet. Support for
third party SCSI controllers for the A2000 is on its way. The kernel is
fully functional (except for a missing ethernet-driver ...). This
tree is based on my version #390.
@
text
@@


1.1.1.2
log
@Update of arch/amiga tree, includes
- realtime clock support for a2k and a3k
- scsi drivers for a2091 and gvp-II controllers in a2k
- working ethernet driver for a2065/ameristar lance-controllers
@
text
@d24 1
a24 1
AS=	as ${DEBUG}
d26 2
a27 2
CPP=	/lib/cpp -traditional
LD=	ld
d67 1
a67 1
SYSTEM_OBJ=	locore.o ${OBJS} param.o ioconf.o vers.o
d72 1
a72 1
		${LD} $$strip -n -o $@@ -e start ${SYSTEM_OBJ}
a80 2

vers.o:	newvers
@
