head	1.28;
access;
symbols
	netbsd-11-0-RC3:1.28
	netbsd-11-0-RC2:1.28
	netbsd-11-0-RC1:1.28
	perseant-exfatfs-base-20250801:1.28
	netbsd-11:1.28.0.12
	netbsd-11-base:1.28
	netbsd-10-1-RELEASE:1.28
	perseant-exfatfs-base-20240630:1.28
	perseant-exfatfs:1.28.0.10
	perseant-exfatfs-base:1.28
	netbsd-8-3-RELEASE:1.25
	netbsd-9-4-RELEASE:1.25
	netbsd-10-0-RELEASE:1.28
	netbsd-10-0-RC6:1.28
	netbsd-10-0-RC5:1.28
	netbsd-10-0-RC4:1.28
	netbsd-10-0-RC3:1.28
	netbsd-10-0-RC2:1.28
	thorpej-ifq:1.28.0.8
	thorpej-ifq-base:1.28
	thorpej-altq-separation:1.28.0.6
	thorpej-altq-separation-base:1.28
	netbsd-10-0-RC1:1.28
	netbsd-10:1.28.0.4
	netbsd-10-base:1.28
	bouyer-sunxi-drm:1.28.0.2
	bouyer-sunxi-drm-base:1.28
	netbsd-9-3-RELEASE:1.25
	thorpej-i2c-spi-conf2:1.26.0.14
	thorpej-i2c-spi-conf2-base:1.26
	thorpej-futex2:1.26.0.12
	thorpej-futex2-base:1.26
	thorpej-cfargs2:1.26.0.10
	thorpej-cfargs2-base:1.26
	cjep_sun2x-base1:1.26
	cjep_sun2x:1.26.0.8
	cjep_sun2x-base:1.26
	cjep_staticlib_x-base1:1.26
	netbsd-9-2-RELEASE:1.25
	cjep_staticlib_x:1.26.0.6
	cjep_staticlib_x-base:1.26
	thorpej-i2c-spi-conf:1.26.0.4
	thorpej-i2c-spi-conf-base:1.26
	thorpej-cfargs:1.26.0.2
	thorpej-cfargs-base:1.26
	thorpej-futex:1.25.0.26
	thorpej-futex-base:1.26
	netbsd-9-1-RELEASE:1.25
	bouyer-xenpvh-base2:1.25
	phil-wifi-20200421:1.25
	bouyer-xenpvh-base1:1.25
	phil-wifi-20200411:1.25
	bouyer-xenpvh:1.25.0.24
	bouyer-xenpvh-base:1.25
	is-mlppp:1.25.0.22
	is-mlppp-base:1.25
	phil-wifi-20200406:1.25
	netbsd-8-2-RELEASE:1.25
	ad-namecache-base3:1.25
	netbsd-9-0-RELEASE:1.25
	netbsd-9-0-RC2:1.25
	ad-namecache-base2:1.25
	ad-namecache-base1:1.25
	ad-namecache:1.25.0.20
	ad-namecache-base:1.25
	netbsd-9-0-RC1:1.25
	phil-wifi-20191119:1.25
	netbsd-9:1.25.0.18
	netbsd-9-base:1.25
	phil-wifi-20190609:1.25
	netbsd-8-1-RELEASE:1.25
	netbsd-8-1-RC1:1.25
	isaki-audio2:1.25.0.16
	isaki-audio2-base:1.25
	pgoyette-compat-merge-20190127:1.25
	pgoyette-compat-20190127:1.25
	pgoyette-compat-20190118:1.25
	pgoyette-compat-1226:1.25
	pgoyette-compat-1126:1.25
	pgoyette-compat-1020:1.25
	pgoyette-compat-0930:1.25
	pgoyette-compat-0906:1.25
	netbsd-7-2-RELEASE:1.22
	pgoyette-compat-0728:1.25
	netbsd-8-0-RELEASE:1.25
	phil-wifi:1.25.0.14
	phil-wifi-base:1.25
	pgoyette-compat-0625:1.25
	netbsd-8-0-RC2:1.25
	pgoyette-compat-0521:1.25
	pgoyette-compat-0502:1.25
	pgoyette-compat-0422:1.25
	netbsd-8-0-RC1:1.25
	pgoyette-compat-0415:1.25
	pgoyette-compat-0407:1.25
	pgoyette-compat-0330:1.25
	pgoyette-compat-0322:1.25
	pgoyette-compat-0315:1.25
	netbsd-7-1-2-RELEASE:1.22
	pgoyette-compat:1.25.0.12
	pgoyette-compat-base:1.25
	netbsd-7-1-1-RELEASE:1.22
	tls-maxphys-base-20171202:1.25
	matt-nb8-mediatek:1.25.0.10
	matt-nb8-mediatek-base:1.25
	nick-nhusb-base-20170825:1.25
	perseant-stdc-iso10646:1.25.0.8
	perseant-stdc-iso10646-base:1.25
	netbsd-8:1.25.0.6
	netbsd-8-base:1.25
	prg-localcount2-base3:1.25
	prg-localcount2-base2:1.25
	prg-localcount2-base1:1.25
	prg-localcount2:1.25.0.4
	prg-localcount2-base:1.25
	pgoyette-localcount-20170426:1.25
	bouyer-socketcan-base1:1.25
	jdolecek-ncq:1.25.0.2
	jdolecek-ncq-base:1.25
	pgoyette-localcount-20170320:1.23
	netbsd-7-1:1.22.0.10
	netbsd-7-1-RELEASE:1.22
	netbsd-7-1-RC2:1.22
	nick-nhusb-base-20170204:1.23
	netbsd-7-nhusb-base-20170116:1.22
	bouyer-socketcan:1.23.0.4
	bouyer-socketcan-base:1.23
	pgoyette-localcount-20170107:1.23
	netbsd-7-1-RC1:1.22
	nick-nhusb-base-20161204:1.23
	pgoyette-localcount-20161104:1.23
	netbsd-7-0-2-RELEASE:1.22
	nick-nhusb-base-20161004:1.23
	localcount-20160914:1.23
	netbsd-7-nhusb:1.22.0.8
	netbsd-7-nhusb-base:1.22
	pgoyette-localcount-20160806:1.23
	pgoyette-localcount-20160726:1.23
	pgoyette-localcount:1.23.0.2
	pgoyette-localcount-base:1.23
	nick-nhusb-base-20160907:1.23
	nick-nhusb-base-20160529:1.23
	netbsd-7-0-1-RELEASE:1.22
	nick-nhusb-base-20160422:1.23
	nick-nhusb-base-20160319:1.23
	nick-nhusb-base-20151226:1.22
	netbsd-7-0:1.22.0.6
	netbsd-7-0-RELEASE:1.22
	nick-nhusb-base-20150921:1.22
	netbsd-7-0-RC3:1.22
	netbsd-7-0-RC2:1.22
	netbsd-7-0-RC1:1.22
	nick-nhusb-base-20150606:1.22
	nick-nhusb-base-20150406:1.22
	nick-nhusb:1.22.0.4
	nick-nhusb-base:1.22
	netbsd-5-2-3-RELEASE:1.10
	netbsd-5-1-5-RELEASE:1.10
	netbsd-6-0-6-RELEASE:1.18
	netbsd-6-1-5-RELEASE:1.18
	netbsd-7:1.22.0.2
	netbsd-7-base:1.22
	yamt-pagecache-base9:1.22
	yamt-pagecache-tag8:1.18
	netbsd-6-1-4-RELEASE:1.18
	netbsd-6-0-5-RELEASE:1.18
	tls-earlyentropy:1.21.0.2
	tls-earlyentropy-base:1.22
	riastradh-xf86-video-intel-2-7-1-pre-2-21-15:1.21
	riastradh-drm2-base3:1.20
	netbsd-6-1-3-RELEASE:1.18
	netbsd-6-0-4-RELEASE:1.18
	netbsd-5-2-2-RELEASE:1.10
	netbsd-5-1-4-RELEASE:1.10
	netbsd-6-1-2-RELEASE:1.18
	netbsd-6-0-3-RELEASE:1.18
	netbsd-5-2-1-RELEASE:1.10
	netbsd-5-1-3-RELEASE:1.10
	rmind-smpnet-nbase:1.22
	netbsd-6-1-1-RELEASE:1.18
	riastradh-drm2-base2:1.19
	riastradh-drm2-base1:1.19
	riastradh-drm2:1.18.0.24
	riastradh-drm2-base:1.18
	rmind-smpnet:1.18.0.16
	rmind-smpnet-base:1.22
	netbsd-6-1:1.18.0.22
	netbsd-6-0-2-RELEASE:1.18
	netbsd-6-1-RELEASE:1.18
	khorben-n900:1.18.0.20
	netbsd-6-1-RC4:1.18
	netbsd-6-1-RC3:1.18
	agc-symver:1.18.0.18
	agc-symver-base:1.18
	netbsd-6-1-RC2:1.18
	netbsd-6-1-RC1:1.18
	yamt-pagecache-base8:1.18
	netbsd-5-2:1.10.0.98
	netbsd-6-0-1-RELEASE:1.18
	yamt-pagecache-base7:1.18
	netbsd-5-2-RELEASE:1.10
	netbsd-5-2-RC1:1.10
	matt-nb6-plus-nbase:1.18
	yamt-pagecache-base6:1.18
	netbsd-6-0:1.18.0.14
	netbsd-6-0-RELEASE:1.18
	netbsd-6-0-RC2:1.18
	tls-maxphys:1.18.0.12
	tls-maxphys-base:1.22
	matt-nb6-plus:1.18.0.10
	matt-nb6-plus-base:1.18
	netbsd-6-0-RC1:1.18
	jmcneill-usbmp-base10:1.18
	yamt-pagecache-base5:1.18
	jmcneill-usbmp-base9:1.18
	yamt-pagecache-base4:1.18
	jmcneill-usbmp-base8:1.18
	jmcneill-usbmp-base7:1.18
	jmcneill-usbmp-base6:1.18
	jmcneill-usbmp-base5:1.18
	jmcneill-usbmp-base4:1.18
	jmcneill-usbmp-base3:1.18
	jmcneill-usbmp-pre-base2:1.18
	jmcneill-usbmp-base2:1.18
	netbsd-6:1.18.0.8
	netbsd-6-base:1.18
	netbsd-5-1-2-RELEASE:1.10
	netbsd-5-1-1-RELEASE:1.10
	jmcneill-usbmp:1.18.0.6
	jmcneill-usbmp-base:1.18
	jmcneill-audiomp3:1.18.0.4
	jmcneill-audiomp3-base:1.18
	yamt-pagecache-base3:1.18
	yamt-pagecache-base2:1.18
	yamt-pagecache:1.18.0.2
	yamt-pagecache-base:1.18
	rmind-uvmplock-nbase:1.15
	cherry-xenmp:1.15.0.2
	cherry-xenmp-base:1.15
	jym-xensuspend-nbase:1.15
	uebayasi-xip-base7:1.15
	bouyer-quota2-nbase:1.15
	bouyer-quota2:1.14.0.4
	bouyer-quota2-base:1.15
	jruoho-x86intr:1.14.0.2
	jruoho-x86intr-base:1.14
	matt-mips64-premerge-20101231:1.14
	matt-nb5-mips64-premerge-20101231:1.10
	matt-nb5-pq3:1.10.0.96
	matt-nb5-pq3-base:1.10
	netbsd-5-1:1.10.0.94
	uebayasi-xip-base6:1.14
	uebayasi-xip-base5:1.14
	netbsd-5-1-RELEASE:1.10
	uebayasi-xip-base4:1.14
	uebayasi-xip-base3:1.14
	yamt-nfs-mp-base11:1.14
	netbsd-5-1-RC4:1.10
	matt-nb5-mips64-k15:1.10
	uebayasi-xip-base2:1.14
	yamt-nfs-mp-base10:1.14
	netbsd-5-1-RC3:1.10
	netbsd-5-1-RC2:1.10
	uebayasi-xip-base1:1.13
	netbsd-5-1-RC1:1.10
	rmind-uvmplock:1.13.0.2
	rmind-uvmplock-base:1.15
	yamt-nfs-mp-base9:1.12
	uebayasi-xip:1.12.0.2
	uebayasi-xip-base:1.12
	netbsd-5-0-2-RELEASE:1.10
	matt-nb5-mips64-premerge-20091211:1.10
	matt-premerge-20091211:1.11
	yamt-nfs-mp-base8:1.11
	matt-nb5-mips64-u2-k2-k4-k7-k8-k9:1.10
	matt-nb4-mips64-k7-u2a-k9b:1.10
	matt-nb5-mips64-u1-k1-k5:1.10
	yamt-nfs-mp-base7:1.11
	matt-nb5-mips64:1.10.0.92
	netbsd-5-0-1-RELEASE:1.10
	jymxensuspend-base:1.11
	yamt-nfs-mp-base6:1.11
	yamt-nfs-mp-base5:1.11
	MI-softints:1.11
	pre-softints:1.11
	yamt-nfs-mp-base4:1.11
	yamt-nfs-mp-base3:1.11
	nick-hppapmap-base4:1.11
	nick-hppapmap-base3:1.11
	netbsd-5-0:1.10.0.90
	netbsd-5-0-RELEASE:1.10
	netbsd-5-0-RC4:1.10
	netbsd-5-0-RC3:1.10
	nick-hppapmap-base2:1.11
	netbsd-5-0-RC2:1.10
	jym-xensuspend:1.11.0.2
	jym-xensuspend-base:1.15
	netbsd-5-0-RC1:1.10
	haad-dm-base2:1.10
	haad-nbase2:1.10
	ad-audiomp2:1.10.0.88
	ad-audiomp2-base:1.10
	netbsd-5:1.10.0.86
	netbsd-5-base:1.10
	nick-hppapmap:1.10.0.84
	nick-hppapmap-base:1.11
	matt-mips64-base2:1.10
	haad-dm-base1:1.10
	wrstuden-revivesa-base-4:1.10
	netbsd-4-0-1-RELEASE:1.10
	wrstuden-revivesa-base-3:1.10
	wrstuden-revivesa-base-2:1.10
	wrstuden-fixsa-newbase:1.10
	nick-csl-alignment-base5:1.10
	haad-dm:1.10.0.82
	haad-dm-base:1.10
	wrstuden-revivesa-base-1:1.10
	simonb-wapbl-nbase:1.10
	yamt-pf42-base4:1.10
	simonb-wapbl:1.10.0.80
	simonb-wapbl-base:1.10
	yamt-pf42-base3:1.10
	hpcarm-cleanup-nbase:1.10
	yamt-pf42-baseX:1.10
	yamt-pf42-base2:1.10
	yamt-nfs-mp-base2:1.10
	wrstuden-revivesa:1.10.0.78
	wrstuden-revivesa-base:1.10
	yamt-nfs-mp:1.10.0.76
	yamt-nfs-mp-base:1.10
	yamt-pf42:1.10.0.74
	yamt-pf42-base:1.10
	ad-socklock-base1:1.10
	yamt-lazymbuf-base15:1.10
	yamt-lazymbuf-base14:1.10
	keiichi-mipv6-nbase:1.10
	mjf-devfs2:1.10.0.72
	mjf-devfs2-base:1.11
	nick-net80211-sync:1.10.0.70
	nick-net80211-sync-base:1.10
	keiichi-mipv6:1.10.0.68
	keiichi-mipv6-base:1.10
	bouyer-xeni386-merge1:1.10
	matt-armv6-prevmlocking:1.10
	wrstuden-fixsa-base-1:1.10
	vmlocking2-base3:1.10
	netbsd-4-0:1.10.0.66
	netbsd-4-0-RELEASE:1.10
	bouyer-xeni386-nbase:1.10
	yamt-kmem-base3:1.10
	cube-autoconf:1.10.0.64
	cube-autoconf-base:1.10
	yamt-kmem-base2:1.10
	bouyer-xeni386:1.10.0.62
	bouyer-xeni386-base:1.10
	yamt-kmem:1.10.0.60
	yamt-kmem-base:1.10
	vmlocking2-base2:1.10
	reinoud-bufcleanup-nbase:1.10
	vmlocking2:1.10.0.58
	vmlocking2-base1:1.10
	netbsd-4-0-RC5:1.10
	matt-nb4-arm:1.10.0.56
	matt-nb4-arm-base:1.10
	matt-armv6-nbase:1.10
	jmcneill-base:1.10
	netbsd-4-0-RC4:1.10
	mjf-devfs:1.10.0.54
	mjf-devfs-base:1.10
	bouyer-xenamd64-base2:1.10
	vmlocking-nbase:1.10
	yamt-x86pmap-base4:1.10
	bouyer-xenamd64:1.10.0.52
	bouyer-xenamd64-base:1.10
	netbsd-4-0-RC3:1.10
	yamt-x86pmap-base3:1.10
	yamt-x86pmap-base2:1.10
	netbsd-4-0-RC2:1.10
	yamt-x86pmap:1.10.0.50
	yamt-x86pmap-base:1.10
	netbsd-4-0-RC1:1.10
	matt-armv6:1.10.0.48
	matt-armv6-base:1.10
	jmcneill-pm:1.10.0.46
	jmcneill-pm-base:1.10
	hpcarm-cleanup:1.10.0.44
	hpcarm-cleanup-base:1.10
	nick-csl-alignment:1.10.0.42
	nick-csl-alignment-base:1.10
	matt-mips64:1.10.0.40
	matt-mips64-base:1.10
	netbsd-3-1-1-RELEASE:1.8
	netbsd-3-0-3-RELEASE:1.8
	yamt-idlelwp-base8:1.10
	wrstuden-fixsa:1.10.0.38
	wrstuden-fixsa-base:1.10
	ppcoea-renovation:1.10.0.36
	ppcoea-renovation-base:1.10
	thorpej-atomic:1.10.0.34
	thorpej-atomic-base:1.10
	reinoud-bufcleanup:1.10.0.32
	reinoud-bufcleanup-base:1.10
	mjf-ufs-trans:1.10.0.30
	mjf-ufs-trans-base:1.10
	vmlocking:1.10.0.28
	vmlocking-base:1.10
	ad-audiomp:1.10.0.26
	ad-audiomp-base:1.10
	yamt-idlelwp:1.10.0.24
	post-newlock2-merge:1.10
	newlock2-nbase:1.10
	yamt-splraiseipl-base5:1.10
	yamt-splraiseipl-base4:1.10
	yamt-splraiseipl-base3:1.10
	abandoned-netbsd-4-base:1.10
	abandoned-netbsd-4:1.10.0.16
	netbsd-3-1:1.8.0.28
	netbsd-3-1-RELEASE:1.8
	netbsd-3-0-2-RELEASE:1.8
	yamt-splraiseipl-base2:1.10
	netbsd-3-1-RC4:1.8
	yamt-splraiseipl:1.10.0.20
	yamt-splraiseipl-base:1.10
	netbsd-3-1-RC3:1.8
	yamt-pdpolicy-base9:1.10
	newlock2:1.10.0.18
	newlock2-base:1.10
	yamt-pdpolicy-base8:1.10
	netbsd-3-1-RC2:1.8
	netbsd-3-1-RC1:1.8
	yamt-pdpolicy-base7:1.10
	netbsd-4:1.10.0.22
	netbsd-4-base:1.10
	yamt-pdpolicy-base6:1.10
	chap-midi-nbase:1.10
	netbsd-3-0-1-RELEASE:1.8
	gdamore-uart:1.10.0.14
	gdamore-uart-base:1.10
	simonb-timcounters-final:1.10
	yamt-pdpolicy-base5:1.10
	chap-midi:1.10.0.12
	chap-midi-base:1.10
	yamt-pdpolicy-base4:1.10
	yamt-pdpolicy-base3:1.10
	peter-altq-base:1.10
	peter-altq:1.10.0.10
	yamt-pdpolicy-base2:1.10
	elad-kernelauth-base:1.10
	elad-kernelauth:1.10.0.8
	yamt-pdpolicy:1.10.0.6
	yamt-pdpolicy-base:1.10
	yamt-uio_vmspace-base5:1.10
	simonb-timecounters:1.10.0.4
	simonb-timecounters-base:1.10
	rpaulo-netinet-merge-pcb:1.10.0.2
	rpaulo-netinet-merge-pcb-base:1.10
	yamt-uio_vmspace:1.9.0.2
	netbsd-3-0:1.8.0.26
	netbsd-3-0-RELEASE:1.8
	netbsd-3-0-RC6:1.8
	yamt-readahead-base3:1.8
	netbsd-3-0-RC5:1.8
	netbsd-3-0-RC4:1.8
	netbsd-3-0-RC3:1.8
	yamt-readahead-base2:1.8
	netbsd-3-0-RC2:1.8
	yamt-readahead-pervnode:1.8
	yamt-readahead-perfile:1.8
	yamt-readahead:1.8.0.24
	yamt-readahead-base:1.8
	netbsd-3-0-RC1:1.8
	yamt-vop-base3:1.8
	netbsd-2-0-3-RELEASE:1.8
	netbsd-2-1:1.8.0.22
	yamt-vop-base2:1.8
	thorpej-vnode-attr:1.8.0.20
	thorpej-vnode-attr-base:1.8
	netbsd-2-1-RELEASE:1.8
	yamt-vop:1.8.0.18
	yamt-vop-base:1.8
	netbsd-2-1-RC6:1.8
	netbsd-2-1-RC5:1.8
	netbsd-2-1-RC4:1.8
	netbsd-2-1-RC3:1.8
	netbsd-2-1-RC2:1.8
	netbsd-2-1-RC1:1.8
	yamt-lazymbuf:1.8.0.16
	yamt-km-base4:1.8
	netbsd-2-0-2-RELEASE:1.8
	yamt-km-base3:1.8
	netbsd-3:1.8.0.14
	netbsd-3-base:1.8
	yamt-km-base2:1.8
	yamt-km:1.8.0.10
	yamt-km-base:1.8
	kent-audio2:1.8.0.8
	kent-audio2-base:1.8
	netbsd-2-0-1-RELEASE:1.8
	kent-audio1-beforemerge:1.8
	netbsd-2:1.8.0.6
	netbsd-2-base:1.8
	kent-audio1:1.8.0.4
	kent-audio1-base:1.8
	netbsd-2-0-RELEASE:1.8
	netbsd-2-0-RC5:1.8
	netbsd-2-0-RC4:1.8
	netbsd-2-0-RC3:1.8
	netbsd-2-0-RC2:1.8
	netbsd-2-0-RC1:1.8
	netbsd-2-0:1.8.0.2
	netbsd-2-0-base:1.8
	netbsd-1-6-PATCH002-RELEASE:1.3
	netbsd-1-6-PATCH002:1.3
	netbsd-1-6-PATCH002-RC4:1.3
	netbsd-1-6-PATCH002-RC3:1.3
	netbsd-1-6-PATCH002-RC2:1.3
	netbsd-1-6-PATCH002-RC1:1.3
	ktrace-lwp:1.5.0.2
	ktrace-lwp-base:1.8
	netbsd-1-6-PATCH001:1.3
	netbsd-1-6-PATCH001-RELEASE:1.3
	netbsd-1-6-PATCH001-RC3:1.3
	netbsd-1-6-PATCH001-RC2:1.3
	netbsd-1-6-PATCH001-RC1:1.3
	nathanw_sa_before_merge:1.4
	fvdl_fs64_base:1.4
	gmcgarry_ctxsw:1.4.0.4
	gmcgarry_ctxsw_base:1.4
	gmcgarry_ucred:1.4.0.2
	gmcgarry_ucred_base:1.4
	nathanw_sa_base:1.4
	kqueue-aftermerge:1.4
	kqueue-beforemerge:1.4
	netbsd-1-6-RELEASE:1.3
	netbsd-1-6-RC3:1.3
	netbsd-1-6-RC2:1.3
	netbsd-1-6-RC1:1.3
	netbsd-1-6:1.3.0.4
	netbsd-1-6-base:1.3
	gehenna-devsw:1.3.0.2
	gehenna-devsw-base:1.4
	eeh-devprop:1.2.0.6
	eeh-devprop-base:1.2
	newlock:1.2.0.4
	newlock-base:1.2
	ifpoll-base:1.2
	kqueue-base:1.4
	kqueue:1.1.0.2;
locks; strict;
comment	@# @;


1.28
date	2022.04.29.07.45.20;	author rin;	state Exp;
branches;
next	1.27;
commitid	bXBoA2SRlz9Sg4CD;

1.27
date	2022.04.29.07.18.17;	author rin;	state Exp;
branches;
next	1.26;
commitid	boxTtAO9ri6184CD;

1.26
date	2021.02.25.03.42.14;	author rin;	state Exp;
branches;
next	1.25;
commitid	5BsY8ZhAs6QBG2JC;

1.25
date	2017.04.09.14.51.52;	author christos;	state Exp;
branches
	1.25.26.1;
next	1.24;

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

1.23
date	2016.01.15.08.27.04;	author mlelstv;	state Exp;
branches
	1.23.2.1
	1.23.4.1;
next	1.22;

1.22
date	2014.04.29.08.11.46;	author martin;	state Exp;
branches
	1.22.4.1;
next	1.21;

1.21
date	2014.03.29.12.52.56;	author mlelstv;	state Exp;
branches
	1.21.2.1;
next	1.20;

1.20
date	2013.08.21.08.04.50;	author matt;	state Exp;
branches;
next	1.19;

1.19
date	2013.07.18.12.15.15;	author joerg;	state Exp;
branches;
next	1.18;

1.18
date	2011.10.02.18.30.50;	author christos;	state Exp;
branches
	1.18.2.1
	1.18.12.1
	1.18.16.1
	1.18.24.1;
next	1.17;

1.17
date	2011.07.12.03.09.03;	author mrg;	state Exp;
branches;
next	1.16;

1.16
date	2011.07.11.01.24.34;	author mrg;	state Exp;
branches;
next	1.15;

1.15
date	2011.01.22.19.19.16;	author joerg;	state Exp;
branches;
next	1.14;

1.14
date	2010.07.06.06.09.57;	author mrg;	state Exp;
branches
	1.14.2.1
	1.14.4.1;
next	1.13;

1.13
date	2010.03.14.00.26.10;	author mrg;	state Exp;
branches
	1.13.2.1;
next	1.12;

1.12
date	2009.12.29.20.21.46;	author elad;	state Exp;
branches
	1.12.2.1;
next	1.11;

1.11
date	2009.01.12.07.42.30;	author tsutsui;	state Exp;
branches;
next	1.10;

1.10
date	2006.01.02.22.10.32;	author is;	state Exp;
branches
	1.10.72.1
	1.10.76.1
	1.10.84.1;
next	1.9;

1.9
date	2005.12.11.12.16.36;	author christos;	state Exp;
branches
	1.9.2.1;
next	1.8;

1.8
date	2003.10.26.07.25.36;	author lukem;	state Exp;
branches
	1.8.16.1;
next	1.7;

1.7
date	2003.10.25.03.14.33;	author mhitch;	state Exp;
branches;
next	1.6;

1.6
date	2003.08.24.15.11.19;	author he;	state Exp;
branches;
next	1.5;

1.5
date	2003.02.03.07.17.13;	author mhitch;	state Exp;
branches
	1.5.2.1;
next	1.4;

1.4
date	2002.05.31.20.57.42;	author thorpej;	state Exp;
branches;
next	1.3;

1.3
date	2002.03.26.05.19.39;	author mhitch;	state Exp;
branches
	1.3.2.1;
next	1.2;

1.2
date	2002.01.26.15.03.17;	author aymeric;	state Exp;
branches;
next	1.1;

1.1
date	2001.12.17.05.40.40;	author mhitch;	state Exp;
branches
	1.1.2.1;
next	;

1.25.26.1
date	2021.04.03.22.28.15;	author thorpej;	state Exp;
branches;
next	;
commitid	1gqS07EfPjskJTNC;

1.23.2.1
date	2017.04.26.02.53.00;	author pgoyette;	state Exp;
branches;
next	;

1.23.4.1
date	2017.04.21.16.53.22;	author bouyer;	state Exp;
branches;
next	;

1.22.4.1
date	2016.03.19.11.29.55;	author skrll;	state Exp;
branches;
next	1.22.4.2;

1.22.4.2
date	2017.08.28.17.51.28;	author skrll;	state Exp;
branches;
next	;
commitid	UQQpnjvcNkUZn05A;

1.21.2.1
date	2014.08.10.06.53.50;	author tls;	state Exp;
branches;
next	;

1.18.2.1
date	2014.05.22.11.39.29;	author yamt;	state Exp;
branches;
next	;

1.18.12.1
date	2014.08.20.00.02.43;	author tls;	state Exp;
branches;
next	1.18.12.2;

1.18.12.2
date	2017.12.03.11.35.49;	author jdolecek;	state Exp;
branches;
next	;
commitid	XcIYRZTAh1LmerhA;

1.18.16.1
date	2013.08.28.23.59.10;	author rmind;	state Exp;
branches;
next	1.18.16.2;

1.18.16.2
date	2014.05.18.17.44.55;	author rmind;	state Exp;
branches;
next	;

1.18.24.1
date	2013.07.23.21.07.33;	author riastradh;	state Exp;
branches;
next	;

1.14.2.1
date	2011.06.06.09.04.55;	author jruoho;	state Exp;
branches;
next	;

1.14.4.1
date	2011.02.08.16.19.12;	author bouyer;	state Exp;
branches;
next	;

1.13.2.1
date	2011.03.05.20.49.23;	author rmind;	state Exp;
branches;
next	;

1.12.2.1
date	2010.04.30.14.39.06;	author uebayasi;	state Exp;
branches;
next	1.12.2.2;

1.12.2.2
date	2010.08.17.06.43.58;	author uebayasi;	state Exp;
branches;
next	;

1.10.72.1
date	2009.01.17.13.27.50;	author mjf;	state Exp;
branches;
next	;

1.10.76.1
date	2009.05.04.08.10.35;	author yamt;	state Exp;
branches;
next	1.10.76.2;

1.10.76.2
date	2010.03.11.15.02.02;	author yamt;	state Exp;
branches;
next	1.10.76.3;

1.10.76.3
date	2010.08.11.22.51.37;	author yamt;	state Exp;
branches;
next	;

1.10.84.1
date	2009.01.19.13.15.56;	author skrll;	state Exp;
branches;
next	;

1.9.2.1
date	2006.01.15.10.02.36;	author yamt;	state Exp;
branches;
next	;

1.8.16.1
date	2006.06.21.14.48.53;	author yamt;	state Exp;
branches;
next	;

1.5.2.1
date	2004.08.03.10.32.09;	author skrll;	state Exp;
branches;
next	1.5.2.2;

1.5.2.2
date	2004.09.18.14.31.55;	author skrll;	state Exp;
branches;
next	1.5.2.3;

1.5.2.3
date	2004.09.21.13.12.46;	author skrll;	state Exp;
branches;
next	;

1.3.2.1
date	2002.07.09.05.39.10;	author gehenna;	state Exp;
branches;
next	;

1.1.2.1
date	2001.12.17.05.40.40;	author thorpej;	state dead;
branches;
next	1.1.2.2;

1.1.2.2
date	2002.01.10.19.37.25;	author thorpej;	state Exp;
branches;
next	1.1.2.3;

1.1.2.3
date	2002.02.11.20.07.11;	author jdolecek;	state Exp;
branches;
next	1.1.2.4;

1.1.2.4
date	2002.06.23.17.34.34;	author jdolecek;	state Exp;
branches;
next	;


desc
@@


1.28
log
@Enable SA_HARDCODED_SECSIZE to shrink loaders slightly.
@
text
@#	$NetBSD: Makefile,v 1.27 2022/04/29 07:18:17 rin Exp $

.include <bsd.init.mk>
.include <bsd.sys.mk>

### what we need:

DIR_TOP=	${.CURDIR}/../../../../..
DIR_SA = 	${DIR_TOP}/lib/libsa
DIR_KERN=	${DIR_TOP}/lib/libkern
DIR_KERN_MD=	${DIR_TOP}/lib/libkern/arch/$(MACHINE_ARCH)
DIR_LIBC=	${DIR_TOP}/../common/lib/libc

.PATH:  ${.CURDIR}/../boot $(DIR_SA) $(DIR_KERN) $(DIR_KERN_MD) \
	${DIR_LIBC}/gen ${DIR_LIBC}/arch/m68k/gen \
	${DIR_LIBC}/inet ${DIR_LIBC}/arch/m68k/inet \
	${DIR_LIBC}/quad ${DIR_LIBC}/arch/m68k/quad \
	${DIR_LIBC}/string ${DIR_LIBC}/arch/m68k/string

S=		${DIR_TOP}

# prefer our assembler versions over assembler, and assembler over C:

.SUFFIXES:
.SUFFIXES: .out .o .po .pico .so .s .S .c .cc .C .f .y .l .ln .m4 .sh

.ifdef BOOTXX_FFSV2
FILES=		bootxx_ffsv2
FSOBJS=		ffsv2.o
DEFS+=		-DBOOTXX_FFS_VERSION=2
.else
FILES=		bootxx_ffsv1 bootxx_fd
FSOBJS=		ufs.o ustarfs.o
DEFS+=		-DBOOTXX_FFS_VERSION=1
.endif

BINDIR=/usr/mdec

COBJS = main.o console.o xd.o bzero.o gets.o
COBJS+=  lseek.o open.o vers.o read.o close.o dev.o errno.o
COBJS+=  ${FSOBJS} panic.o files.o

SOBJS = alloc.o ashrdi3.o ashldi3.o bcopy.o muldi3.o printf.o startit.o
SOBJS += strlen.o strcmp.o fstat.o
SOBJS += libstubs.o memcmp.o memmove.o memset.o strncmp.o

OBJS+=	$(SOBJS) $(COBJS)

DEFS+=	-D_STANDALONE -DSA_EXEC_ANYOWNER -DSA_HARDCODED_SECSIZE \
	-D_PRIMARY_BOOT -DSERCONSOLE

.NOPATH: ${OBJS} x.out f.out libboot.a xxstart.o

### main target: ###

realall: ${FILES}

CLEANFILES += ${FILES} x.out f.out xxstart.o fdstart.o libboot.a

VERSIONFILE=${.CURDIR}/../boot/version
VERSIONFLAGS+=-n
.include "${S}/conf/newvers_stand.mk"

.include <bsd.prog.mk>
.include <bsd.klinks.mk>

### special  rules for bootblocks ###

INCPATH = -nostdinc -I${S} -I${S}/lib/libsa -I${.CURDIR}
INCPATH += -I${.CURDIR}/../boot -I${.CURDIR}/../../..
INCPATH += -I${.CURDIR}/../elf2bb -I${.OBJDIR}

AFLAGS += -m68030 -l
CAFLAGS += -Wa,-l -Wa,-march=68030 -Wa,-mcpu=68030 ${INCPATH} -D_PRIMARY_BOOT

COPTIM= -Os -fomit-frame-pointer -fcse-follow-jumps -fcse-skip-blocks
COPTIM+= -Wa,-l -m68060 -Wa,-mcpu=68030 -fno-unwind-tables
CFLAGS= -ffreestanding ${COPTIM} ${INCPATH} ${DEFS} -Wall #-Wstrict-prototypes

NETBSD_VERS!=	${HOST_SH} ${.CURDIR}/../../../../../conf/osrelease.sh
DEFS+=	-DNETBSD_VERS='"${NETBSD_VERS}"'

# Use small daddr_t to avoid code bloat
DEFS+=	-D__daddr_t=int32_t

.c.o:
	${_MKTARGET_COMPILE}
	${CC} ${CFLAGS} -S $< -o $*.s
	${TXLT} < $*.s | ${AS} ${AFLAGS} -o $*.o
	rm $*.s

.s.o:
	${_MKTARGET_COMPILE}
	${CC} ${CAFLAGS} ${COPTS} -x assembler-with-cpp -o $@@ -c $<

.S.o:
	${_MKTARGET_COMPILE}
	${CC} ${CAFLAGS} ${COPTS} -x assembler-with-cpp -o $@@ -c $<

bootxx_ffsv1: x.out
	${_MKTARGET_CREATE}
	${RELOC2BB} x.out $@@ || (${NM} -u x.out && false)

bootxx_ffsv2: x.out
	${_MKTARGET_CREATE}
	${RELOC2BB} x.out $@@ || (${NM} -u x.out && false)

bootxx_fd: f.out
	${_MKTARGET_CREATE}
	${RELOC2BB} -F f.out $@@ || (${NM} -u f.out && false)

x.out: xxstart.o libboot.a
	${_MKTARGET_LINK}
	${LD} ${LDFLAGS} -r -dc -e start -o $@@ $>
	${SIZE} $@@
	${NM} -u $@@

f.out: fdstart.o libboot.a
	${_MKTARGET_LINK}
	${LD} ${LDFLAGS} -r -dc -e start -o $@@ $>
	${SIZE} $@@
	${NM} -u $@@

xxstart.o: ${.CURDIR}/../boot/bbstart.s
	${_MKTARGET_COMPILE}
	${CC} ${CAFLAGS} ${COPTS} -x assembler-with-cpp \
		-o $@@ -c $>

fdstart.o: ${.CURDIR}/../boot//bbstart.s
	${_MKTARGET_COMPILE}
	${CC} -DAUTOLOAD=8192 ${CAFLAGS} ${COPTS} -x assembler-with-cpp \
		-o $@@ -c $>

libboot.a: ${OBJS}
	${_MKTARGET_BUILD}
	${AR} crs $@@ $> && ${RANLIB} $@@

# make sure these are built:

${COBJS}: ${TXLT}
${FILES}: ${RELOC2BB}

.include "${.CURDIR}/../Makefile.booters"
@


1.27
log
@Stop twiddling when loading boot.amiga; it is small enough.

Slightly reduce insn's for primary loaders, and stop them to output garbage.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.26 2021/02/25 03:42:14 rin Exp $
d49 2
a50 1
DEFS+= -D_STANDALONE -DSA_EXEC_ANYOWNER -D_PRIMARY_BOOT -DSERCONSOLE
@


1.26
log
@Add FFSv2 support for primary- and second-stage boot loaders.

Rename primary-stage boot for FFSv1 (and ustarfs) to bootxx_ffsv1 for clarity.

Bump version to 3.1.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.25 2017/04/09 14:51:52 christos Exp $
d39 1
a39 1
COBJS = main.o console.o xd.o twiddle.o bzero.o gets.o
@


1.25
log
@make this work again.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.24 2017/04/08 19:53:20 christos Exp $
d27 10
a36 1
FILES= bootxx_ffs bootxx_fd
d41 1
a41 1
COBJS+=  ufs.o ustarfs.o panic.o files.o
d49 1
a49 1
DEFS = -D_STANDALONE -DSA_EXEC_ANYOWNER -D_PRIMARY_BOOT -DSERCONSOLE
d57 1
a57 1
CLEANFILES += bootxx_ffs bootxx_fd x.out f.out xxstart.o fdstart.o libboot.a
d99 5
a103 1
bootxx_ffs: x.out
@


1.25.26.1
log
@Sync with HEAD.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.26 2021/02/25 03:42:14 rin Exp $
d27 1
a27 10
.ifdef BOOTXX_FFSV2
FILES=		bootxx_ffsv2
FSOBJS=		ffsv2.o
DEFS+=		-DBOOTXX_FFS_VERSION=2
.else
FILES=		bootxx_ffsv1 bootxx_fd
FSOBJS=		ufs.o ustarfs.o
DEFS+=		-DBOOTXX_FFS_VERSION=1
.endif

d32 1
a32 1
COBJS+=  ${FSOBJS} panic.o files.o
d40 1
a40 1
DEFS+= -D_STANDALONE -DSA_EXEC_ANYOWNER -D_PRIMARY_BOOT -DSERCONSOLE
d48 1
a48 1
CLEANFILES += ${FILES} x.out f.out xxstart.o fdstart.o libboot.a
d90 1
a90 5
bootxx_ffsv1: x.out
	${_MKTARGET_CREATE}
	${RELOC2BB} x.out $@@ || (${NM} -u x.out && false)

bootxx_ffsv2: x.out
@


1.24
log
@centralize vers.c building for standalone programs.
@
text
@d1 4
a4 1
#	$NetBSD: Makefile,v 1.23 2016/01/15 08:27:04 mlelstv Exp $
d8 5
a12 5
S=	${.CURDIR}/../../../../..
DIR_SA = 	${S}/lib/libsa
DIR_KERN=	${S}/lib/libkern
DIR_KERN_MD=	${S}/lib/libkern/arch/$(MACHINE_ARCH)
DIR_LIBC=	${S}/../common/lib/libc
d20 1
d31 1
a31 1
COBJS+=  lseek.o open.o read.o close.o dev.o errno.o
d50 4
a123 4
VERSIONFILE=${.CURDIR}/../boot/version
VERSIONFLAGS=-n
.include "${S}/conf/newvers_stand.mk"

@


1.23
log
@Add 'C' option to bootblock to enable serial console.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.22 2014/04/29 08:11:46 martin Exp $
d5 5
a9 5
DIR_TOP=	${.CURDIR}/../../../../..
DIR_SA = 	${DIR_TOP}/lib/libsa
DIR_KERN=	${DIR_TOP}/lib/libkern
DIR_KERN_MD=	${DIR_TOP}/lib/libkern/arch/$(MACHINE_ARCH)
DIR_LIBC=	${DIR_TOP}/../common/lib/libc
d28 1
a28 1
COBJS+=  ufs.o ustarfs.o panic.o vers.o files.o
d34 1
a34 1
OBJS=	$(SOBJS) $(COBJS)
d44 1
a44 1
CLEANFILES += bootxx_ffs bootxx_fd x.out f.out xxstart.o fdstart.o libboot.a vers.c
d51 1
a51 1
INCPATH = -nostdinc -I${DIR_TOP} -I${DIR_TOP}/lib/libsa -I${.CURDIR}
d116 3
a118 4
vers.c:	${.CURDIR}/../boot/version
	${_MKTARGET_CREATE}
	${HOST_SH} ${DIR_TOP}/conf/newvers_stand.sh -N \
	    ${.CURDIR}/../boot/version "amiga"
@


1.23.2.1
log
@Sync with HEAD
@
text
@d1 1
a1 4
#	$NetBSD: Makefile,v 1.25 2017/04/09 14:51:52 christos Exp $

.include <bsd.init.mk>
.include <bsd.sys.mk>
a16 1
S=		${DIR_TOP}
d27 2
a28 2
COBJS+=  lseek.o open.o vers.o read.o close.o dev.o errno.o
COBJS+=  ufs.o ustarfs.o panic.o files.o
d34 1
a34 1
OBJS+=	$(SOBJS) $(COBJS)
d44 1
a44 5
CLEANFILES += bootxx_ffs bootxx_fd x.out f.out xxstart.o fdstart.o libboot.a

VERSIONFILE=${.CURDIR}/../boot/version
VERSIONFLAGS+=-n
.include "${S}/conf/newvers_stand.mk"
d51 1
a51 1
INCPATH = -nostdinc -I${S} -I${S}/lib/libsa -I${.CURDIR}
d116 5
@


1.23.4.1
log
@Sync with HEAD
@
text
@d1 1
a1 4
#	$NetBSD: Makefile,v 1.25 2017/04/09 14:51:52 christos Exp $

.include <bsd.init.mk>
.include <bsd.sys.mk>
a16 1
S=		${DIR_TOP}
d27 2
a28 2
COBJS+=  lseek.o open.o vers.o read.o close.o dev.o errno.o
COBJS+=  ufs.o ustarfs.o panic.o files.o
d34 1
a34 1
OBJS+=	$(SOBJS) $(COBJS)
d44 1
a44 5
CLEANFILES += bootxx_ffs bootxx_fd x.out f.out xxstart.o fdstart.o libboot.a

VERSIONFILE=${.CURDIR}/../boot/version
VERSIONFLAGS+=-n
.include "${S}/conf/newvers_stand.mk"
d51 1
a51 1
INCPATH = -nostdinc -I${S} -I${S}/lib/libsa -I${.CURDIR}
d116 5
@


1.22
log
@Specify both -march=68030 and -mcpu=68030 for assembler files here
as well.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.21 2014/03/29 12:52:56 mlelstv Exp $
d36 1
a36 1
DEFS = -D_STANDALONE -DSA_EXEC_ANYOWNER -D_PRIMARY_BOOT
@


1.22.4.1
log
@Sync with HEAD
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.23 2016/01/15 08:27:04 mlelstv Exp $
d36 1
a36 1
DEFS = -D_STANDALONE -DSA_EXEC_ANYOWNER -D_PRIMARY_BOOT -DSERCONSOLE
@


1.22.4.2
log
@Sync with HEAD
@
text
@d1 1
a1 4
#	$NetBSD: Makefile,v 1.22.4.1 2016/03/19 11:29:55 skrll Exp $

.include <bsd.init.mk>
.include <bsd.sys.mk>
a16 1
S=		${DIR_TOP}
d27 2
a28 2
COBJS+=  lseek.o open.o vers.o read.o close.o dev.o errno.o
COBJS+=  ufs.o ustarfs.o panic.o files.o
d34 1
a34 1
OBJS+=	$(SOBJS) $(COBJS)
d44 1
a44 5
CLEANFILES += bootxx_ffs bootxx_fd x.out f.out xxstart.o fdstart.o libboot.a

VERSIONFILE=${.CURDIR}/../boot/version
VERSIONFLAGS+=-n
.include "${S}/conf/newvers_stand.mk"
d51 1
a51 1
INCPATH = -nostdinc -I${S} -I${S}/lib/libsa -I${.CURDIR}
d116 5
@


1.21
log
@Use different option (-mcpu=68030) to select target cpu for the assembler.
The old option (-m68030) causes it to complain about features used that
are not provided by the target cpu.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.20 2013/08/21 08:04:50 matt Exp $
d56 1
a56 1
CAFLAGS += -Wa,-l -Wa,-mcpu=68030 ${INCPATH} -D_PRIMARY_BOOT
@


1.21.2.1
log
@Rebase.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.22 2014/04/29 08:11:46 martin Exp $
d56 1
a56 1
CAFLAGS += -Wa,-l -Wa,-march=68030 -Wa,-mcpu=68030 ${INCPATH} -D_PRIMARY_BOOT
@


1.20
log
@Use <bsd.klinks.mk>
Use ${_MKTARGET_*}
Use correct arguments to ${AR}
Fix entry symbol.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.19 2013/07/18 12:15:15 joerg Exp $
d56 1
a56 1
CAFLAGS += -Wa,-l -Wa,-m68030 ${INCPATH} -D_PRIMARY_BOOT
d59 1
a59 1
COPTIM+= -Wa,-l -m68060 -Wa,-m68030 -fno-unwind-tables
@


1.19
log
@Explicitly disable unwind tables for the boot loader.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.18 2011/10/02 18:30:50 christos Exp $
d42 1
a42 1
realall: machine m68k ${FILES}
d44 1
a44 1
CLEANFILES += bootxx_ffs bootxx_fd x.out f.out xxstart.o fdstart.o libboot.a vers.c machine m68k
d47 1
d69 1
d74 7
a80 3
.s.o: ; ${CC} ${CAFLAGS} ${COPTS} -x assembler-with-cpp -o $@@ -c $<

.S.o: ; ${CC} ${CAFLAGS} ${COPTS} -x assembler-with-cpp -o $@@ -c $<
d83 1
d87 1
d91 2
a92 1
	${LD} ${LDFLAGS} -r -dc -e _start -o $@@ $>
d97 2
a98 1
	${LD} ${LDFLAGS} -r -dc -e _start -o $@@ $>
d103 1
d108 1
d113 2
a114 1
	${AR} r $@@ $> && ${RANLIB} $@@
d117 1
a120 13
.if !make(obj) && !make(clean) && !make(cleandir)
.NOPATH: machine m68k
.BEGIN: machine m68k

machine:
	-rm -f $@@
	ln -s ${DIR_TOP}/arch/amiga/include $@@

m68k:
	-rm -f $@@
	ln -s ${DIR_TOP}/arch/m68k/include $@@
.endif

@


1.18
log
@don't mark vers.c phony.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.17 2011/07/12 03:09:03 mrg Exp $
d57 2
a58 1
COPTIM= -Os -fomit-frame-pointer -fcse-follow-jumps -fcse-skip-blocks  -Wa,-l -m68060 -Wa,-m68030
@


1.18.12.1
log
@Rebase to HEAD as of a few days ago.
@
text
@d1 1
a1 1
#	$NetBSD$
d42 1
a42 1
realall: ${FILES}
d44 1
a44 1
CLEANFILES += bootxx_ffs bootxx_fd x.out f.out xxstart.o fdstart.o libboot.a vers.c
a46 1
.include <bsd.klinks.mk>
d55 1
a55 1
CAFLAGS += -Wa,-l -Wa,-march=68030 -Wa,-mcpu=68030 ${INCPATH} -D_PRIMARY_BOOT
d57 1
a57 2
COPTIM= -Os -fomit-frame-pointer -fcse-follow-jumps -fcse-skip-blocks
COPTIM+= -Wa,-l -m68060 -Wa,-mcpu=68030 -fno-unwind-tables
a66 1
	${_MKTARGET_COMPILE}
d71 3
a73 7
.s.o:
	${_MKTARGET_COMPILE}
	${CC} ${CAFLAGS} ${COPTS} -x assembler-with-cpp -o $@@ -c $<

.S.o:
	${_MKTARGET_COMPILE}
	${CC} ${CAFLAGS} ${COPTS} -x assembler-with-cpp -o $@@ -c $<
a75 1
	${_MKTARGET_CREATE}
a78 1
	${_MKTARGET_CREATE}
d82 1
a82 2
	${_MKTARGET_LINK}
	${LD} ${LDFLAGS} -r -dc -e start -o $@@ $>
d87 1
a87 2
	${_MKTARGET_LINK}
	${LD} ${LDFLAGS} -r -dc -e start -o $@@ $>
a91 1
	${_MKTARGET_COMPILE}
a95 1
	${_MKTARGET_COMPILE}
d100 1
a100 2
	${_MKTARGET_BUILD}
	${AR} crs $@@ $> && ${RANLIB} $@@
a102 1
	${_MKTARGET_CREATE}
d106 13
@


1.18.12.2
log
@update from HEAD
@
text
@a2 3
.include <bsd.init.mk>
.include <bsd.sys.mk>

a16 1
S=		${DIR_TOP}
d27 2
a28 2
COBJS+=  lseek.o open.o vers.o read.o close.o dev.o errno.o
COBJS+=  ufs.o ustarfs.o panic.o files.o
d34 1
a34 1
OBJS+=	$(SOBJS) $(COBJS)
d36 1
a36 1
DEFS = -D_STANDALONE -DSA_EXEC_ANYOWNER -D_PRIMARY_BOOT -DSERCONSOLE
d44 1
a44 5
CLEANFILES += bootxx_ffs bootxx_fd x.out f.out xxstart.o fdstart.o libboot.a

VERSIONFILE=${.CURDIR}/../boot/version
VERSIONFLAGS+=-n
.include "${S}/conf/newvers_stand.mk"
d51 1
a51 1
INCPATH = -nostdinc -I${S} -I${S}/lib/libsa -I${.CURDIR}
d116 5
@


1.18.2.1
log
@sync with head.

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

this commit was splitted into small chunks to avoid
a limitation of cvs.  ("Protocol error: too many arguments")
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.18 2011/10/02 18:30:50 christos Exp $
d42 1
a42 1
realall: ${FILES}
d44 1
a44 1
CLEANFILES += bootxx_ffs bootxx_fd x.out f.out xxstart.o fdstart.o libboot.a vers.c
a46 1
.include <bsd.klinks.mk>
d55 1
a55 1
CAFLAGS += -Wa,-l -Wa,-march=68030 -Wa,-mcpu=68030 ${INCPATH} -D_PRIMARY_BOOT
d57 1
a57 2
COPTIM= -Os -fomit-frame-pointer -fcse-follow-jumps -fcse-skip-blocks
COPTIM+= -Wa,-l -m68060 -Wa,-mcpu=68030 -fno-unwind-tables
a66 1
	${_MKTARGET_COMPILE}
d71 3
a73 7
.s.o:
	${_MKTARGET_COMPILE}
	${CC} ${CAFLAGS} ${COPTS} -x assembler-with-cpp -o $@@ -c $<

.S.o:
	${_MKTARGET_COMPILE}
	${CC} ${CAFLAGS} ${COPTS} -x assembler-with-cpp -o $@@ -c $<
a75 1
	${_MKTARGET_CREATE}
a78 1
	${_MKTARGET_CREATE}
d82 1
a82 2
	${_MKTARGET_LINK}
	${LD} ${LDFLAGS} -r -dc -e start -o $@@ $>
d87 1
a87 2
	${_MKTARGET_LINK}
	${LD} ${LDFLAGS} -r -dc -e start -o $@@ $>
a91 1
	${_MKTARGET_COMPILE}
a95 1
	${_MKTARGET_COMPILE}
d100 1
a100 2
	${_MKTARGET_BUILD}
	${AR} crs $@@ $> && ${RANLIB} $@@
a102 1
	${_MKTARGET_CREATE}
d106 13
@


1.18.16.1
log
@sync with head
@
text
@d1 1
a1 1
#	$NetBSD$
d42 1
a42 1
realall: ${FILES}
d44 1
a44 1
CLEANFILES += bootxx_ffs bootxx_fd x.out f.out xxstart.o fdstart.o libboot.a vers.c
a46 1
.include <bsd.klinks.mk>
d57 1
a57 2
COPTIM= -Os -fomit-frame-pointer -fcse-follow-jumps -fcse-skip-blocks
COPTIM+= -Wa,-l -m68060 -Wa,-m68030 -fno-unwind-tables
a66 1
	${_MKTARGET_COMPILE}
d71 3
a73 7
.s.o:
	${_MKTARGET_COMPILE}
	${CC} ${CAFLAGS} ${COPTS} -x assembler-with-cpp -o $@@ -c $<

.S.o:
	${_MKTARGET_COMPILE}
	${CC} ${CAFLAGS} ${COPTS} -x assembler-with-cpp -o $@@ -c $<
a75 1
	${_MKTARGET_CREATE}
a78 1
	${_MKTARGET_CREATE}
d82 1
a82 2
	${_MKTARGET_LINK}
	${LD} ${LDFLAGS} -r -dc -e start -o $@@ $>
d87 1
a87 2
	${_MKTARGET_LINK}
	${LD} ${LDFLAGS} -r -dc -e start -o $@@ $>
a91 1
	${_MKTARGET_COMPILE}
a95 1
	${_MKTARGET_COMPILE}
d100 1
a100 2
	${_MKTARGET_BUILD}
	${AR} crs $@@ $> && ${RANLIB} $@@
a102 1
	${_MKTARGET_CREATE}
d106 13
@


1.18.16.2
log
@sync with head
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.18.16.1 2013/08/28 23:59:10 rmind Exp $
d56 1
a56 1
CAFLAGS += -Wa,-l -Wa,-march=68030 -Wa,-mcpu=68030 ${INCPATH} -D_PRIMARY_BOOT
d59 1
a59 1
COPTIM+= -Wa,-l -m68060 -Wa,-mcpu=68030 -fno-unwind-tables
@


1.18.24.1
log
@sync with HEAD
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.19 2013/07/18 12:15:15 joerg Exp $
d57 1
a57 2
COPTIM= -Os -fomit-frame-pointer -fcse-follow-jumps -fcse-skip-blocks
COPTIM+= -Wa,-l -m68060 -Wa,-m68030 -fno-unwind-tables
@


1.17
log
@fix previous and only force the failure if reloc2bb already failed.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.16 2011/07/11 01:24:34 mrg Exp $
a101 1
.PHONY:	vers.c
@


1.16
log
@improve the error message if elf2bb finds we are too large.  if elf2bb
fails, make sure that the following nm -u's success doesn't cause make
to believe the target was built.  now amiga builds with HAVE_GCC=45
actually fail here, rather than fail at sets time due to missing files.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.15 2011/01/22 19:19:16 joerg Exp $
d76 1
a76 1
	${RELOC2BB} x.out $@@ || ${NM} -u x.out && false
d79 1
a79 1
	${RELOC2BB} -F f.out $@@ || ${NM} -u f.out && false
@


1.15
log
@Drop bootprog_maker (formerly enabled by -M) and bootprog_date (formerly
disabled by -D) from the output of newvers_stand.sh.  Change -D to the
inverted logic, so that it adds the date to bootprog_rev in ().

Change all platforms accordingly. -D is added if MKREPRO is not yes and
wasn't present before. Platforms that didn't use -D don't depend on
MKREPRO now either.
@
text
@d1 1
a1 1
#	$NetBSD: src/sys/arch/amiga/stand/bootblock/bootxx_ffs/Makefile,v 1.14 2010-07-06 06:09:57 mrg Exp $
d76 1
a76 1
	${RELOC2BB} x.out $@@ || ${NM} -u x.out
d79 1
a79 1
	${RELOC2BB} -F f.out $@@ || ${NM} -u f.out
@


1.14
log
@use elf2bb / elf2bb.h instead of the old, now gone aout2bb version.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.13 2010/03/14 00:26:10 mrg Exp $
d104 2
a105 1
	${HOST_SH} ${DIR_TOP}/conf/newvers_stand.sh -NDM ${.CURDIR}/../boot/version "amiga"
@


1.14.2.1
log
@Sync with HEAD.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.15 2011/01/22 19:19:16 joerg Exp $
d104 1
a104 2
	${HOST_SH} ${DIR_TOP}/conf/newvers_stand.sh -N \
	    ${.CURDIR}/../boot/version "amiga"
@


1.14.4.1
log
@Sync with HEAD
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.15 2011/01/22 19:19:16 joerg Exp $
d104 1
a104 2
	${HOST_SH} ${DIR_TOP}/conf/newvers_stand.sh -N \
	    ${.CURDIR}/../boot/version "amiga"
@


1.13
log
@update all of these makefiles for the .so -> .pico change.

most of them are most harmless, but the libgcc parts are quite essential.
before this change, all the special rules for .pico files were not applied,
and exception handling wasn't enabled.  this caused c++ exceptions not to
work on sparc64.


this fixes the build of boost-headers (it was correctly calling exception
support broken!), which in turn makes all the things that depend upon it
to actually work again on sparc64.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.12 2009/12/29 20:21:46 elad Exp $
d52 1
a52 1
INCPATH += -I${.CURDIR}/../aout2bb -I${.OBJDIR}
@


1.13.2.1
log
@sync with head
@
text
@d1 1
a1 1
#	$NetBSD$
d52 1
a52 1
INCPATH += -I${.CURDIR}/../elf2bb -I${.OBJDIR}
d104 1
a104 2
	${HOST_SH} ${DIR_TOP}/conf/newvers_stand.sh -N \
	    ${.CURDIR}/../boot/version "amiga"
@


1.12
log
@Don't abuse INSECURE for allowing exec() to load files not owned by uid 0.

Adjust references where this has been used.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.11 2009/01/12 07:42:30 tsutsui Exp $
d21 1
a21 1
.SUFFIXES: .out .o .po .so .s .S .c .cc .C .f .y .l .ln .m4 .sh
@


1.12.2.1
log
@Sync with HEAD.
@
text
@d1 1
a1 1
#	$NetBSD$
d21 1
a21 1
.SUFFIXES: .out .o .po .pico .so .s .S .c .cc .C .f .y .l .ln .m4 .sh
@


1.12.2.2
log
@Sync with HEAD.
@
text
@d52 1
a52 1
INCPATH += -I${.CURDIR}/../elf2bb -I${.OBJDIR}
@


1.11
log
@- WARNSfy
- make sure machine and ${MACHIN_ARCH} symlinks are always created
- add src/common/dist/zlib to INCPATH and remove unnecessary options
- remove -I${DESTDIR}/usr/include from INCPATH
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.10 2006/01/02 22:10:32 is Exp $
d36 1
a36 1
DEFS = -D_STANDALONE -DINSECURE -D_PRIMARY_BOOT
@


1.10
log
@Make the bootblocks compile again using the shared libc functions.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.9 2005/12/11 12:16:36 christos Exp $
d52 1
a52 1
INCPATH += -I${.CURDIR}/../aout2bb -I$(.CURDIR) -I${DESTDIR}/usr/include
d106 4
d117 1
@


1.10.76.1
log
@sync with head.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.10 2006/01/02 22:10:32 is Exp $
d52 1
a52 1
INCPATH += -I${.CURDIR}/../aout2bb -I${.OBJDIR}
a105 4
.if !make(obj) && !make(clean) && !make(cleandir)
.NOPATH: machine m68k
.BEGIN: machine m68k

a112 1
.endif
@


1.10.76.2
log
@sync with head
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.10.76.1 2009/05/04 08:10:35 yamt Exp $
d36 1
a36 1
DEFS = -D_STANDALONE -DSA_EXEC_ANYOWNER -D_PRIMARY_BOOT
@


1.10.76.3
log
@sync with head.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.10.76.2 2010/03/11 15:02:02 yamt Exp $
d21 1
a21 1
.SUFFIXES: .out .o .po .pico .so .s .S .c .cc .C .f .y .l .ln .m4 .sh
d52 1
a52 1
INCPATH += -I${.CURDIR}/../elf2bb -I${.OBJDIR}
@


1.10.84.1
log
@Sync with HEAD.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.11 2009/01/12 07:42:30 tsutsui Exp $
d52 1
a52 1
INCPATH += -I${.CURDIR}/../aout2bb -I${.OBJDIR}
a105 4
.if !make(obj) && !make(clean) && !make(cleandir)
.NOPATH: machine m68k
.BEGIN: machine m68k

a112 1
.endif
@


1.10.72.1
log
@Sync with HEAD.
@
text
@d1 1
a1 1
#	$NetBSD$
d52 1
a52 1
INCPATH += -I${.CURDIR}/../aout2bb -I${.OBJDIR}
a105 4
.if !make(obj) && !make(clean) && !make(cleandir)
.NOPATH: machine m68k
.BEGIN: machine m68k

a112 1
.endif
@


1.9
log
@merge ktrace-lwp.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.5.2.3 2004/09/21 13:12:46 skrll Exp $
d9 7
a16 1
.PATH:  ${.CURDIR}/../boot $(DIR_SA) $(DIR_KERN) $(DIR_KERN_MD)
@


1.9.2.1
log
@sync with head.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.9 2005/12/11 12:16:36 christos Exp $
a8 7
DIR_LIBC=	${DIR_TOP}/../common/lib/libc

.PATH:  ${.CURDIR}/../boot $(DIR_SA) $(DIR_KERN) $(DIR_KERN_MD) \
	${DIR_LIBC}/gen ${DIR_LIBC}/arch/m68k/gen \
	${DIR_LIBC}/inet ${DIR_LIBC}/arch/m68k/inet \
	${DIR_LIBC}/quad ${DIR_LIBC}/arch/m68k/quad \
	${DIR_LIBC}/string ${DIR_LIBC}/arch/m68k/string
d10 1
@


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

If necessary, pull in <bsd.sys.mk> to get the definition of HOST_SH;
Makefiles that pull in one of (most of) <bsd.*.mk> will get this anyway.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.7 2003/10/25 03:14:33 mhitch Exp $
@


1.8.16.1
log
@sync with head.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.8 2003/10/26 07:25:36 lukem Exp $
a8 7
DIR_LIBC=	${DIR_TOP}/../common/lib/libc

.PATH:  ${.CURDIR}/../boot $(DIR_SA) $(DIR_KERN) $(DIR_KERN_MD) \
	${DIR_LIBC}/gen ${DIR_LIBC}/arch/m68k/gen \
	${DIR_LIBC}/inet ${DIR_LIBC}/arch/m68k/inet \
	${DIR_LIBC}/quad ${DIR_LIBC}/arch/m68k/quad \
	${DIR_LIBC}/string ${DIR_LIBC}/arch/m68k/string
d10 1
@


1.7
log
@Use -Os to shrink bootblock code a little more.  Now bootxx_fd builds with
gcc 3.3.2.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.6 2003/08/24 15:11:19 he Exp $
d54 1
a54 1
NETBSD_VERS!=	sh ${.CURDIR}/../../../../../conf/osrelease.sh
d98 1
a98 1
	sh ${DIR_TOP}/conf/newvers_stand.sh -NDM ${.CURDIR}/../boot/version "amiga"
@


1.6
log
@Adapt to new ufs.c needing memcmp and memmove.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.5 2003/02/03 07:17:13 mhitch Exp $
d51 1
a51 1
COPTIM= -O -fomit-frame-pointer -fcse-follow-jumps -fcse-skip-blocks  -Wa,-l -m68060 -Wa,-m68030
@


1.5
log
@Use 32 bit daddr_t due to space limitations when using 64 bit div/mod.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.4 2002/05/31 20:57:42 thorpej Exp $
d26 1
a26 1
SOBJS += libstubs.o  memset.o strncmp.o
@


1.5.2.1
log
@Sync with HEAD
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.8 2003/10/26 07:25:36 lukem Exp $
d26 1
a26 1
SOBJS += libstubs.o memcmp.o memmove.o memset.o strncmp.o
d51 1
a51 1
COPTIM= -Os -fomit-frame-pointer -fcse-follow-jumps -fcse-skip-blocks  -Wa,-l -m68060 -Wa,-m68030
d54 1
a54 1
NETBSD_VERS!=	${HOST_SH} ${.CURDIR}/../../../../../conf/osrelease.sh
d98 1
a98 1
	${HOST_SH} ${DIR_TOP}/conf/newvers_stand.sh -NDM ${.CURDIR}/../boot/version "amiga"
@


1.5.2.2
log
@Sync with HEAD.
@
text
@@


1.5.2.3
log
@Fix the sync with head I botched.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.5.2.1 2004/08/03 10:32:09 skrll Exp $
@


1.4
log
@Add -ffreestanding.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.3 2002/03/26 05:19:39 mhitch Exp $
d56 3
@


1.3
log
@Need to include files.o for the file descriptor table used by open().
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.2 2002/01/26 15:03:17 aymeric Exp $
d52 1
a52 1
CFLAGS= ${COPTIM} ${INCPATH} ${DEFS} -Wall #-Wstrict-prototypes
@


1.3.2.1
log
@catch up with -current.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.4 2002/05/31 20:57:42 thorpej Exp $
d52 1
a52 1
CFLAGS= -ffreestanding ${COPTIM} ${INCPATH} ${DEFS} -Wall #-Wstrict-prototypes
@


1.2
log
@include ${.CURDIR}/../Makefile.booters
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.1 2001/12/17 05:40:40 mhitch Exp $
d22 1
a22 1
COBJS+=  ufs.o ustarfs.o panic.o vers.o
@


1.1
log
@Update amiga booter to two-stage booter.

First stage is bootxx_ffs (for ffs boot partitions) or bootxx_fd (for bootable
floppy disk).  These locate, load, and execute the second stage loader boot.amiga.
The console screen is created and passed to the second stage loader.

The second stage loader uses loadfile() to load the kernel image, which can
be either a.out or ELF format, and can also be compressed.  It will load a
kernel file from ffs file systems or the ustarfs used on floppy disks.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.20.4.1 2000/09/19 18:15:11 is Exp $
d109 2
@


1.1.2.1
log
@file Makefile was added on branch kqueue on 2002-01-10 19:37:25 +0000
@
text
@d1 108
@


1.1.2.2
log
@Sync kqueue branch with -current.
@
text
@a0 108
#	$NetBSD: Makefile,v 1.1.2.1 2002/01/10 19:37:25 thorpej Exp $

### what we need:

DIR_TOP=	${.CURDIR}/../../../../..
DIR_SA = 	${DIR_TOP}/lib/libsa
DIR_KERN=	${DIR_TOP}/lib/libkern
DIR_KERN_MD=	${DIR_TOP}/lib/libkern/arch/$(MACHINE_ARCH)

.PATH:  ${.CURDIR}/../boot $(DIR_SA) $(DIR_KERN) $(DIR_KERN_MD)

# prefer our assembler versions over assembler, and assembler over C:

.SUFFIXES:
.SUFFIXES: .out .o .po .so .s .S .c .cc .C .f .y .l .ln .m4 .sh

FILES= bootxx_ffs bootxx_fd
BINDIR=/usr/mdec

COBJS = main.o console.o xd.o twiddle.o bzero.o gets.o
COBJS+=  lseek.o open.o read.o close.o dev.o errno.o
COBJS+=  ufs.o ustarfs.o panic.o vers.o

SOBJS = alloc.o ashrdi3.o ashldi3.o bcopy.o muldi3.o printf.o startit.o
SOBJS += strlen.o strcmp.o fstat.o
SOBJS += libstubs.o  memset.o strncmp.o

OBJS=	$(SOBJS) $(COBJS)

DEFS = -D_STANDALONE -DINSECURE -D_PRIMARY_BOOT

.NOPATH: ${OBJS} x.out f.out libboot.a xxstart.o

### main target: ###

realall: machine m68k ${FILES}

CLEANFILES += bootxx_ffs bootxx_fd x.out f.out xxstart.o fdstart.o libboot.a vers.c machine m68k

.include <bsd.prog.mk>

### special  rules for bootblocks ###

INCPATH = -nostdinc -I${DIR_TOP} -I${DIR_TOP}/lib/libsa -I${.CURDIR}
INCPATH += -I${.CURDIR}/../boot -I${.CURDIR}/../../..
INCPATH += -I${.CURDIR}/../aout2bb -I$(.CURDIR) -I${DESTDIR}/usr/include

AFLAGS += -m68030 -l
CAFLAGS += -Wa,-l -Wa,-m68030 ${INCPATH} -D_PRIMARY_BOOT

COPTIM= -O -fomit-frame-pointer -fcse-follow-jumps -fcse-skip-blocks  -Wa,-l -m68060 -Wa,-m68030
CFLAGS= ${COPTIM} ${INCPATH} ${DEFS} -Wall #-Wstrict-prototypes

NETBSD_VERS!=	sh ${.CURDIR}/../../../../../conf/osrelease.sh
DEFS+=	-DNETBSD_VERS='"${NETBSD_VERS}"'

.c.o:
	${CC} ${CFLAGS} -S $< -o $*.s
	${TXLT} < $*.s | ${AS} ${AFLAGS} -o $*.o
	rm $*.s

.s.o: ; ${CC} ${CAFLAGS} ${COPTS} -x assembler-with-cpp -o $@@ -c $<

.S.o: ; ${CC} ${CAFLAGS} ${COPTS} -x assembler-with-cpp -o $@@ -c $<

bootxx_ffs: x.out
	${RELOC2BB} x.out $@@ || ${NM} -u x.out

bootxx_fd: f.out
	${RELOC2BB} -F f.out $@@ || ${NM} -u f.out

x.out: xxstart.o libboot.a
	${LD} ${LDFLAGS} -r -dc -e _start -o $@@ $>
	${SIZE} $@@
	${NM} -u $@@

f.out: fdstart.o libboot.a
	${LD} ${LDFLAGS} -r -dc -e _start -o $@@ $>
	${SIZE} $@@
	${NM} -u $@@

xxstart.o: ${.CURDIR}/../boot/bbstart.s
	${CC} ${CAFLAGS} ${COPTS} -x assembler-with-cpp \
		-o $@@ -c $>

fdstart.o: ${.CURDIR}/../boot//bbstart.s
	${CC} -DAUTOLOAD=8192 ${CAFLAGS} ${COPTS} -x assembler-with-cpp \
		-o $@@ -c $>

libboot.a: ${OBJS}
	${AR} r $@@ $> && ${RANLIB} $@@

.PHONY:	vers.c
vers.c:	${.CURDIR}/../boot/version
	sh ${DIR_TOP}/conf/newvers_stand.sh -NDM ${.CURDIR}/../boot/version "amiga"

machine:
	-rm -f $@@
	ln -s ${DIR_TOP}/arch/amiga/include $@@

m68k:
	-rm -f $@@
	ln -s ${DIR_TOP}/arch/m68k/include $@@

# make sure these are built:

${COBJS}: ${TXLT}
${FILES}: ${RELOC2BB}
@


1.1.2.3
log
@Sync w/ -current.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.1.2.2 2002/02/11 20:07:11 jdolecek Exp $
a108 2

.include "${.CURDIR}/../Makefile.booters"
@


1.1.2.4
log
@catch up with -current on kqueue branch
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.1.2.3 2002/06/23 17:34:34 jdolecek Exp $
d22 1
a22 1
COBJS+=  ufs.o ustarfs.o panic.o vers.o files.o
d52 1
a52 1
CFLAGS= -ffreestanding ${COPTIM} ${INCPATH} ${DEFS} -Wall #-Wstrict-prototypes
@
