head	1.17;
access;
symbols
	netbsd-11-0-RC3:1.17
	netbsd-11-0-RC2:1.17
	netbsd-11-0-RC1:1.17
	perseant-exfatfs-base-20250801:1.17
	netbsd-11:1.17.0.120
	netbsd-11-base:1.17
	netbsd-10-1-RELEASE:1.17
	perseant-exfatfs-base-20240630:1.17
	perseant-exfatfs:1.17.0.118
	perseant-exfatfs-base:1.17
	netbsd-8-3-RELEASE:1.17
	netbsd-9-4-RELEASE:1.17
	netbsd-10-0-RELEASE:1.17
	netbsd-10-0-RC6:1.17
	netbsd-10-0-RC5:1.17
	netbsd-10-0-RC4:1.17
	netbsd-10-0-RC3:1.17
	netbsd-10-0-RC2:1.17
	thorpej-ifq:1.17.0.116
	thorpej-ifq-base:1.17
	thorpej-altq-separation:1.17.0.114
	thorpej-altq-separation-base:1.17
	netbsd-10-0-RC1:1.17
	netbsd-10:1.17.0.112
	netbsd-10-base:1.17
	bouyer-sunxi-drm:1.17.0.110
	bouyer-sunxi-drm-base:1.17
	netbsd-9-3-RELEASE:1.17
	thorpej-i2c-spi-conf2:1.17.0.108
	thorpej-i2c-spi-conf2-base:1.17
	thorpej-futex2:1.17.0.106
	thorpej-futex2-base:1.17
	thorpej-cfargs2:1.17.0.104
	thorpej-cfargs2-base:1.17
	cjep_sun2x-base1:1.17
	cjep_sun2x:1.17.0.102
	cjep_sun2x-base:1.17
	cjep_staticlib_x-base1:1.17
	netbsd-9-2-RELEASE:1.17
	cjep_staticlib_x:1.17.0.100
	cjep_staticlib_x-base:1.17
	thorpej-i2c-spi-conf:1.17.0.98
	thorpej-i2c-spi-conf-base:1.17
	thorpej-cfargs:1.17.0.96
	thorpej-cfargs-base:1.17
	thorpej-futex:1.17.0.94
	thorpej-futex-base:1.17
	netbsd-9-1-RELEASE:1.17
	bouyer-xenpvh-base2:1.17
	phil-wifi-20200421:1.17
	bouyer-xenpvh-base1:1.17
	phil-wifi-20200411:1.17
	bouyer-xenpvh:1.17.0.92
	bouyer-xenpvh-base:1.17
	is-mlppp:1.17.0.90
	is-mlppp-base:1.17
	phil-wifi-20200406:1.17
	netbsd-8-2-RELEASE:1.17
	ad-namecache-base3:1.17
	netbsd-9-0-RELEASE:1.17
	netbsd-9-0-RC2:1.17
	ad-namecache-base2:1.17
	ad-namecache-base1:1.17
	ad-namecache:1.17.0.88
	ad-namecache-base:1.17
	netbsd-9-0-RC1:1.17
	phil-wifi-20191119:1.17
	netbsd-9:1.17.0.86
	netbsd-9-base:1.17
	phil-wifi-20190609:1.17
	netbsd-8-1-RELEASE:1.17
	netbsd-8-1-RC1:1.17
	isaki-audio2:1.17.0.84
	isaki-audio2-base:1.17
	pgoyette-compat-merge-20190127:1.17
	pgoyette-compat-20190127:1.17
	pgoyette-compat-20190118:1.17
	pgoyette-compat-1226:1.17
	pgoyette-compat-1126:1.17
	pgoyette-compat-1020:1.17
	pgoyette-compat-0930:1.17
	pgoyette-compat-0906:1.17
	netbsd-7-2-RELEASE:1.17
	pgoyette-compat-0728:1.17
	netbsd-8-0-RELEASE:1.17
	phil-wifi:1.17.0.82
	phil-wifi-base:1.17
	pgoyette-compat-0625:1.17
	netbsd-8-0-RC2:1.17
	pgoyette-compat-0521:1.17
	pgoyette-compat-0502:1.17
	pgoyette-compat-0422:1.17
	netbsd-8-0-RC1:1.17
	pgoyette-compat-0415:1.17
	pgoyette-compat-0407:1.17
	pgoyette-compat-0330:1.17
	pgoyette-compat-0322:1.17
	pgoyette-compat-0315:1.17
	netbsd-7-1-2-RELEASE:1.17
	pgoyette-compat:1.17.0.80
	pgoyette-compat-base:1.17
	netbsd-7-1-1-RELEASE:1.17
	tls-maxphys-base-20171202:1.17
	matt-nb8-mediatek:1.17.0.78
	matt-nb8-mediatek-base:1.17
	nick-nhusb-base-20170825:1.17
	perseant-stdc-iso10646:1.17.0.76
	perseant-stdc-iso10646-base:1.17
	netbsd-8:1.17.0.74
	netbsd-8-base:1.17
	prg-localcount2-base3:1.17
	prg-localcount2-base2:1.17
	prg-localcount2-base1:1.17
	prg-localcount2:1.17.0.72
	prg-localcount2-base:1.17
	pgoyette-localcount-20170426:1.17
	bouyer-socketcan-base1:1.17
	jdolecek-ncq:1.17.0.70
	jdolecek-ncq-base:1.17
	pgoyette-localcount-20170320:1.17
	netbsd-7-1:1.17.0.68
	netbsd-7-1-RELEASE:1.17
	netbsd-7-1-RC2:1.17
	nick-nhusb-base-20170204:1.17
	netbsd-7-nhusb-base-20170116:1.17
	bouyer-socketcan:1.17.0.66
	bouyer-socketcan-base:1.17
	pgoyette-localcount-20170107:1.17
	netbsd-7-1-RC1:1.17
	nick-nhusb-base-20161204:1.17
	pgoyette-localcount-20161104:1.17
	netbsd-7-0-2-RELEASE:1.17
	nick-nhusb-base-20161004:1.17
	localcount-20160914:1.17
	netbsd-7-nhusb:1.17.0.64
	netbsd-7-nhusb-base:1.17
	pgoyette-localcount-20160806:1.17
	pgoyette-localcount-20160726:1.17
	pgoyette-localcount:1.17.0.62
	pgoyette-localcount-base:1.17
	nick-nhusb-base-20160907:1.17
	nick-nhusb-base-20160529:1.17
	netbsd-7-0-1-RELEASE:1.17
	nick-nhusb-base-20160422:1.17
	nick-nhusb-base-20160319:1.17
	nick-nhusb-base-20151226:1.17
	netbsd-7-0:1.17.0.60
	netbsd-7-0-RELEASE:1.17
	nick-nhusb-base-20150921:1.17
	netbsd-7-0-RC3:1.17
	netbsd-7-0-RC2:1.17
	netbsd-7-0-RC1:1.17
	nick-nhusb-base-20150606:1.17
	nick-nhusb-base-20150406:1.17
	nick-nhusb:1.17.0.58
	nick-nhusb-base:1.17
	netbsd-5-2-3-RELEASE:1.17
	netbsd-5-1-5-RELEASE:1.17
	netbsd-6-0-6-RELEASE:1.17
	netbsd-6-1-5-RELEASE:1.17
	netbsd-7:1.17.0.56
	netbsd-7-base:1.17
	yamt-pagecache-base9:1.17
	yamt-pagecache-tag8:1.17
	netbsd-6-1-4-RELEASE:1.17
	netbsd-6-0-5-RELEASE:1.17
	tls-earlyentropy:1.17.0.54
	tls-earlyentropy-base:1.17
	riastradh-xf86-video-intel-2-7-1-pre-2-21-15:1.17
	riastradh-drm2-base3:1.17
	netbsd-6-1-3-RELEASE:1.17
	netbsd-6-0-4-RELEASE:1.17
	netbsd-5-2-2-RELEASE:1.17
	netbsd-5-1-4-RELEASE:1.17
	netbsd-6-1-2-RELEASE:1.17
	netbsd-6-0-3-RELEASE:1.17
	netbsd-5-2-1-RELEASE:1.17
	netbsd-5-1-3-RELEASE:1.17
	rmind-smpnet-nbase:1.17
	netbsd-6-1-1-RELEASE:1.17
	riastradh-drm2-base2:1.17
	riastradh-drm2-base1:1.17
	riastradh-drm2:1.17.0.52
	riastradh-drm2-base:1.17
	rmind-smpnet:1.17.0.44
	rmind-smpnet-base:1.17
	netbsd-6-1:1.17.0.50
	netbsd-6-0-2-RELEASE:1.17
	netbsd-6-1-RELEASE:1.17
	khorben-n900:1.17.0.48
	netbsd-6-1-RC4:1.17
	netbsd-6-1-RC3:1.17
	agc-symver:1.17.0.46
	agc-symver-base:1.17
	netbsd-6-1-RC2:1.17
	netbsd-6-1-RC1:1.17
	yamt-pagecache-base8:1.17
	netbsd-5-2:1.17.0.42
	netbsd-6-0-1-RELEASE:1.17
	yamt-pagecache-base7:1.17
	netbsd-5-2-RELEASE:1.17
	netbsd-5-2-RC1:1.17
	matt-nb6-plus-nbase:1.17
	yamt-pagecache-base6:1.17
	netbsd-6-0:1.17.0.40
	netbsd-6-0-RELEASE:1.17
	netbsd-6-0-RC2:1.17
	tls-maxphys:1.17.0.38
	tls-maxphys-base:1.17
	matt-nb6-plus:1.17.0.36
	matt-nb6-plus-base:1.17
	netbsd-6-0-RC1:1.17
	jmcneill-usbmp-base10:1.17
	yamt-pagecache-base5:1.17
	jmcneill-usbmp-base9:1.17
	yamt-pagecache-base4:1.17
	jmcneill-usbmp-base8:1.17
	jmcneill-usbmp-base7:1.17
	jmcneill-usbmp-base6:1.17
	jmcneill-usbmp-base5:1.17
	jmcneill-usbmp-base4:1.17
	jmcneill-usbmp-base3:1.17
	jmcneill-usbmp-pre-base2:1.17
	jmcneill-usbmp-base2:1.17
	netbsd-6:1.17.0.34
	netbsd-6-base:1.17
	netbsd-5-1-2-RELEASE:1.17
	netbsd-5-1-1-RELEASE:1.17
	jmcneill-usbmp:1.17.0.32
	jmcneill-usbmp-base:1.17
	jmcneill-audiomp3:1.17.0.30
	jmcneill-audiomp3-base:1.17
	yamt-pagecache-base3:1.17
	yamt-pagecache-base2:1.17
	yamt-pagecache:1.17.0.28
	yamt-pagecache-base:1.17
	rmind-uvmplock-nbase:1.17
	cherry-xenmp:1.17.0.26
	cherry-xenmp-base:1.17
	jym-xensuspend-nbase:1.17
	uebayasi-xip-base7:1.17
	bouyer-quota2-nbase:1.17
	bouyer-quota2:1.17.0.24
	bouyer-quota2-base:1.17
	jruoho-x86intr:1.17.0.22
	jruoho-x86intr-base:1.17
	matt-mips64-premerge-20101231:1.17
	matt-nb5-mips64-premerge-20101231:1.17
	matt-nb5-pq3:1.17.0.20
	matt-nb5-pq3-base:1.17
	netbsd-5-1:1.17.0.18
	uebayasi-xip-base6:1.17
	uebayasi-xip-base5:1.17
	netbsd-5-1-RELEASE:1.17
	uebayasi-xip-base4:1.17
	uebayasi-xip-base3:1.17
	yamt-nfs-mp-base11:1.17
	netbsd-5-1-RC4:1.17
	matt-nb5-mips64-k15:1.17
	uebayasi-xip-base2:1.17
	yamt-nfs-mp-base10:1.17
	netbsd-5-1-RC3:1.17
	netbsd-5-1-RC2:1.17
	uebayasi-xip-base1:1.17
	netbsd-5-1-RC1:1.17
	rmind-uvmplock:1.17.0.16
	rmind-uvmplock-base:1.17
	yamt-nfs-mp-base9:1.17
	uebayasi-xip:1.17.0.14
	uebayasi-xip-base:1.17
	netbsd-5-0-2-RELEASE:1.17
	matt-nb5-mips64-premerge-20091211:1.17
	matt-premerge-20091211:1.17
	yamt-nfs-mp-base8:1.17
	matt-nb5-mips64-u2-k2-k4-k7-k8-k9:1.17
	matt-nb4-mips64-k7-u2a-k9b:1.17
	matt-nb5-mips64-u1-k1-k5:1.17
	yamt-nfs-mp-base7:1.17
	matt-nb5-mips64:1.17.0.12
	netbsd-5-0-1-RELEASE:1.17
	jymxensuspend-base:1.17
	yamt-nfs-mp-base6:1.17
	yamt-nfs-mp-base5:1.17
	yamt-nfs-mp-base4:1.17
	yamt-nfs-mp-base3:1.17
	nick-hppapmap-base4:1.17
	nick-hppapmap-base3:1.17
	netbsd-5-0:1.17.0.10
	netbsd-5-0-RELEASE:1.17
	netbsd-5-0-RC4:1.17
	netbsd-5-0-RC3:1.17
	nick-hppapmap-base2:1.17
	netbsd-5-0-RC2:1.17
	jym-xensuspend:1.17.0.8
	jym-xensuspend-base:1.17
	netbsd-5-0-RC1:1.17
	haad-dm-base2:1.17
	haad-nbase2:1.17
	ad-audiomp2:1.17.0.6
	ad-audiomp2-base:1.17
	netbsd-5:1.17.0.4
	netbsd-5-base:1.17
	nick-hppapmap:1.17.0.2
	nick-hppapmap-base:1.17
	matt-mips64-base2:1.16
	haad-dm-base1:1.15
	wrstuden-revivesa-base-4:1.15
	netbsd-4-0-1-RELEASE:1.15
	wrstuden-revivesa-base-3:1.15
	wrstuden-revivesa-base-2:1.15
	wrstuden-fixsa-newbase:1.15
	nick-csl-alignment-base5:1.15
	haad-dm:1.15.0.68
	haad-dm-base:1.17
	wrstuden-revivesa-base-1:1.15
	simonb-wapbl-nbase:1.15
	yamt-pf42-base4:1.15
	simonb-wapbl:1.15.0.66
	simonb-wapbl-base:1.15
	yamt-pf42-base3:1.15
	hpcarm-cleanup-nbase:1.15
	yamt-pf42-baseX:1.15
	yamt-pf42-base2:1.15
	yamt-nfs-mp-base2:1.15
	wrstuden-revivesa:1.15.0.64
	wrstuden-revivesa-base:1.15
	yamt-nfs-mp:1.15.0.62
	yamt-nfs-mp-base:1.15
	yamt-pf42:1.15.0.60
	yamt-pf42-base:1.15
	ad-socklock-base1:1.15
	yamt-lazymbuf-base15:1.15
	yamt-lazymbuf-base14:1.15
	keiichi-mipv6-nbase:1.15
	mjf-devfs2:1.15.0.58
	mjf-devfs2-base:1.17
	nick-net80211-sync:1.15.0.56
	nick-net80211-sync-base:1.15
	keiichi-mipv6:1.15.0.54
	keiichi-mipv6-base:1.15
	bouyer-xeni386-merge1:1.15
	matt-armv6-prevmlocking:1.15
	wrstuden-fixsa-base-1:1.15
	vmlocking2-base3:1.15
	netbsd-4-0:1.15.0.52
	netbsd-4-0-RELEASE:1.15
	bouyer-xeni386-nbase:1.15
	yamt-kmem-base3:1.15
	cube-autoconf:1.15.0.50
	cube-autoconf-base:1.15
	yamt-kmem-base2:1.15
	bouyer-xeni386:1.15.0.48
	bouyer-xeni386-base:1.15
	yamt-kmem:1.15.0.46
	yamt-kmem-base:1.15
	vmlocking2-base2:1.15
	reinoud-bufcleanup-nbase:1.15
	vmlocking2:1.15.0.44
	vmlocking2-base1:1.15
	netbsd-4-0-RC5:1.15
	matt-nb4-arm:1.15.0.42
	matt-nb4-arm-base:1.15
	matt-armv6-nbase:1.15
	jmcneill-base:1.15
	netbsd-4-0-RC4:1.15
	mjf-devfs:1.15.0.40
	mjf-devfs-base:1.15
	bouyer-xenamd64-base2:1.15
	vmlocking-nbase:1.15
	yamt-x86pmap-base4:1.15
	bouyer-xenamd64:1.15.0.38
	bouyer-xenamd64-base:1.15
	netbsd-4-0-RC3:1.15
	yamt-x86pmap-base3:1.15
	yamt-x86pmap-base2:1.15
	netbsd-4-0-RC2:1.15
	yamt-x86pmap:1.15.0.36
	yamt-x86pmap-base:1.15
	netbsd-4-0-RC1:1.15
	matt-armv6:1.15.0.34
	matt-armv6-base:1.15
	jmcneill-pm:1.15.0.32
	jmcneill-pm-base:1.15
	hpcarm-cleanup:1.15.0.30
	hpcarm-cleanup-base:1.15
	nick-csl-alignment:1.15.0.28
	nick-csl-alignment-base:1.15
	matt-mips64:1.15.0.26
	matt-mips64-base:1.15
	netbsd-3-1-1-RELEASE:1.11
	netbsd-3-0-3-RELEASE:1.11
	yamt-idlelwp-base8:1.15
	wrstuden-fixsa:1.15.0.24
	wrstuden-fixsa-base:1.15
	ppcoea-renovation:1.15.0.22
	ppcoea-renovation-base:1.15
	thorpej-atomic:1.15.0.20
	thorpej-atomic-base:1.15
	reinoud-bufcleanup:1.15.0.18
	reinoud-bufcleanup-base:1.15
	mjf-ufs-trans:1.15.0.16
	mjf-ufs-trans-base:1.15
	vmlocking:1.15.0.14
	vmlocking-base:1.15
	ad-audiomp:1.15.0.12
	ad-audiomp-base:1.15
	yamt-idlelwp:1.15.0.10
	post-newlock2-merge:1.15
	newlock2-nbase:1.15
	yamt-splraiseipl-base5:1.15
	yamt-splraiseipl-base4:1.15
	yamt-splraiseipl-base3:1.15
	abandoned-netbsd-4-base:1.15
	abandoned-netbsd-4:1.15.0.2
	netbsd-3-1:1.11.0.28
	netbsd-3-1-RELEASE:1.11
	netbsd-3-0-2-RELEASE:1.11
	yamt-splraiseipl-base2:1.15
	netbsd-3-1-RC4:1.11
	yamt-splraiseipl:1.15.0.6
	yamt-splraiseipl-base:1.15
	netbsd-3-1-RC3:1.11
	yamt-pdpolicy-base9:1.15
	newlock2:1.15.0.4
	newlock2-base:1.15
	yamt-pdpolicy-base8:1.15
	netbsd-3-1-RC2:1.11
	netbsd-3-1-RC1:1.11
	yamt-pdpolicy-base7:1.15
	netbsd-4:1.15.0.8
	netbsd-4-base:1.15
	yamt-pdpolicy-base6:1.15
	chap-midi-nbase:1.14
	netbsd-3-0-1-RELEASE:1.11
	gdamore-uart:1.13.0.4
	gdamore-uart-base:1.13
	simonb-timcounters-final:1.12.6.1
	yamt-pdpolicy-base5:1.13
	chap-midi:1.13.0.2
	chap-midi-base:1.14
	yamt-pdpolicy-base4:1.13
	yamt-pdpolicy-base3:1.12
	peter-altq-base:1.12
	peter-altq:1.12.0.12
	yamt-pdpolicy-base2:1.12
	elad-kernelauth-base:1.13
	elad-kernelauth:1.12.0.10
	yamt-pdpolicy:1.12.0.8
	yamt-pdpolicy-base:1.12
	yamt-uio_vmspace-base5:1.12
	simonb-timecounters:1.12.0.6
	simonb-timecounters-base:1.13
	rpaulo-netinet-merge-pcb:1.12.0.4
	rpaulo-netinet-merge-pcb-base:1.15
	yamt-uio_vmspace:1.12.0.2
	netbsd-3-0:1.11.0.26
	netbsd-3-0-RELEASE:1.11
	netbsd-3-0-RC6:1.11
	yamt-readahead-base3:1.11
	netbsd-3-0-RC5:1.11
	netbsd-3-0-RC4:1.11
	netbsd-3-0-RC3:1.11
	yamt-readahead-base2:1.11
	netbsd-3-0-RC2:1.11
	yamt-readahead-pervnode:1.11
	yamt-readahead-perfile:1.11
	yamt-readahead:1.11.0.24
	yamt-readahead-base:1.11
	netbsd-3-0-RC1:1.11
	yamt-vop-base3:1.11
	netbsd-2-0-3-RELEASE:1.11
	netbsd-2-1:1.11.0.22
	yamt-vop-base2:1.11
	thorpej-vnode-attr:1.11.0.20
	thorpej-vnode-attr-base:1.11
	netbsd-2-1-RELEASE:1.11
	yamt-vop:1.11.0.18
	yamt-vop-base:1.11
	netbsd-2-1-RC6:1.11
	netbsd-2-1-RC5:1.11
	netbsd-2-1-RC4:1.11
	netbsd-2-1-RC3:1.11
	netbsd-2-1-RC2:1.11
	netbsd-2-1-RC1:1.11
	yamt-lazymbuf:1.11.0.16
	yamt-km-base4:1.11
	netbsd-2-0-2-RELEASE:1.11
	yamt-km-base3:1.11
	netbsd-3:1.11.0.14
	netbsd-3-base:1.11
	yamt-km-base2:1.11
	yamt-km:1.11.0.10
	yamt-km-base:1.11
	kent-audio2:1.11.0.8
	kent-audio2-base:1.11
	netbsd-2-0-1-RELEASE:1.11
	kent-audio1-beforemerge:1.11
	netbsd-2:1.11.0.6
	netbsd-2-base:1.11
	kent-audio1:1.11.0.4
	kent-audio1-base:1.11
	netbsd-2-0-RELEASE:1.11
	netbsd-2-0-RC5:1.11
	netbsd-2-0-RC4:1.11
	netbsd-2-0-RC3:1.11
	netbsd-2-0-RC2:1.11
	netbsd-2-0-RC1:1.11
	netbsd-2-0:1.11.0.2
	netbsd-2-0-base:1.11
	netbsd-1-6-PATCH002-RELEASE:1.9
	netbsd-1-6-PATCH002:1.9
	netbsd-1-6-PATCH002-RC4:1.9
	netbsd-1-6-PATCH002-RC3:1.9
	netbsd-1-6-PATCH002-RC2:1.9
	netbsd-1-6-PATCH002-RC1:1.9
	ktrace-lwp:1.10.0.6
	ktrace-lwp-base:1.11
	netbsd-1-6-PATCH001:1.9
	netbsd-1-6-PATCH001-RELEASE:1.9
	netbsd-1-6-PATCH001-RC3:1.9
	netbsd-1-6-PATCH001-RC2:1.9
	netbsd-1-6-PATCH001-RC1:1.9
	nathanw_sa_end:1.9.4.2
	nathanw_sa_before_merge:1.10
	fvdl_fs64_base:1.10
	gmcgarry_ctxsw:1.10.0.4
	gmcgarry_ctxsw_base:1.10
	gmcgarry_ucred:1.10.0.2
	gmcgarry_ucred_base:1.10
	nathanw_sa_base:1.10
	kqueue-aftermerge:1.10
	kqueue-beforemerge:1.10
	netbsd-1-6-RELEASE:1.9
	netbsd-1-6-RC3:1.9
	netbsd-1-6-RC2:1.9
	netbsd-1-6-RC1:1.9
	netbsd-1-6:1.9.0.14
	netbsd-1-6-base:1.9
	gehenna-devsw:1.9.0.12
	gehenna-devsw-base:1.10
	netbsd-1-5-PATCH003:1.7
	eeh-devprop:1.9.0.10
	eeh-devprop-base:1.9
	newlock:1.9.0.8
	newlock-base:1.9
	ifpoll-base:1.9
	nathanw_sa:1.9.0.4
	thorpej-mips-cache:1.9.0.2
	thorpej-mips-cache-base:1.9
	thorpej-devvp-base3:1.9
	thorpej-devvp-base2:1.7
	post-chs-ubcperf:1.7
	pre-chs-ubcperf:1.7
	thorpej-devvp:1.7.0.28
	thorpej-devvp-base:1.7
	netbsd-1-5-PATCH002:1.7
	kqueue:1.7.0.30
	kqueue-base:1.10
	netbsd-1-5-PATCH001:1.7
	thorpej_scsipi_beforemerge:1.7
	thorpej_scsipi_nbase:1.7
	netbsd-1-5-RELEASE:1.7
	netbsd-1-5-BETA2:1.7
	netbsd-1-5-BETA:1.7
	netbsd-1-4-PATCH003:1.7
	netbsd-1-5-ALPHA2:1.7
	netbsd-1-5:1.7.0.26
	netbsd-1-5-base:1.7
	minoura-xpg4dl:1.7.0.24
	minoura-xpg4dl-base:1.7
	netbsd-1-4-PATCH002:1.7
	chs-ubc2-newbase:1.7
	wrstuden-devbsize-19991221:1.7
	wrstuden-devbsize:1.7.0.22
	wrstuden-devbsize-base:1.7
	kame_141_19991130:1.7
	comdex-fall-1999:1.7.0.20
	comdex-fall-1999-base:1.7
	fvdl-softdep:1.7.0.18
	fvdl-softdep-base:1.7
	thorpej_scsipi:1.7.0.16
	thorpej_scsipi_base:1.7
	netbsd-1-4-PATCH001:1.7
	kame_14_19990705:1.7
	kame_14_19990628:1.7
	kame:1.7.0.14
	chs-ubc2:1.7.0.12
	chs-ubc2-base:1.7
	netbsd-1-4-RELEASE:1.7
	netbsd-1-4:1.7.0.10
	netbsd-1-4-base:1.7
	netbsd-1-3-PATCH003:1.7
	netbsd-1-3-PATCH003-CANDIDATE2:1.7
	kenh-if-detach:1.7.0.8
	kenh-if-detach-base:1.7
	netbsd-1-3-PATCH003-CANDIDATE1:1.7
	netbsd-1-3-PATCH003-CANDIDATE0:1.7
	chs-ubc:1.7.0.6
	chs-ubc-base:1.7
	eeh-paddr_t:1.7.0.4
	eeh-paddr_t-base:1.7
	netbsd-1-3-PATCH002:1.7
	netbsd-1-3-PATCH001:1.7
	netbsd-1-3-RELEASE:1.7
	netbsd-1-3-BETA:1.7
	netbsd-1-3:1.7.0.2
	netbsd-1-3-base:1.7
	thorpej-signal:1.6.0.6
	thorpej-signal-base:1.6
	marc-pcmcia:1.6.0.4
	marc-pcmcia-bp:1.6
	marc-pcmcia-base:1.7
	bouyer-scsipi:1.6.0.2
	is-newarp-before-merge:1.4
	is-newarp:1.4.0.10
	is-newarp-base:1.4
	netbsd-1-2-PATCH001:1.4
	mrg-vm-swap:1.4.0.8
	thorpej-setroot:1.4.0.4
	netbsd-1-2-RELEASE:1.4
	netbsd-1-2-BETA:1.4
	netbsd-1-2:1.4.0.6
	netbsd-1-2-base:1.4
	netbsd-1-1-PATCH001:1.4
	netbsd-1-1-RELEASE:1.4
	netbsd-1-1:1.4.0.2
	netbsd-1-1-base:1.4
	netbsd-1-0-PATCH06:1.3
	netbsd-1-0-PATCH05:1.3
	netbsd-1-0-PATCH04:1.3
	netbsd-1-0-PATCH03:1.3
	netbsd-1-0-PATCH02:1.3
	netbsd-1-0-PATCH1:1.3
	netbsd-1-0-PATCH0:1.3
	netbsd-1-0-RELEASE:1.3
	netbsd-1-0:1.3.0.2
	netbsd-1-0-base:1.3
	fpsp_08_93:1.1.1.1
	Motorola:1.1.1;
locks; strict;
comment	@# @;


1.17
date	2008.10.25.22.27.37;	author apb;	state Exp;
branches;
next	1.16;

1.16
date	2008.10.19.22.05.21;	author apb;	state Exp;
branches;
next	1.15;

1.15
date	2006.06.24.03.28.42;	author tsutsui;	state Exp;
branches
	1.15.58.1
	1.15.62.1
	1.15.68.1;
next	1.14;

1.14
date	2006.06.18.05.21.21;	author gdamore;	state Exp;
branches;
next	1.13;

1.13
date	2006.04.07.19.38.58;	author mrg;	state Exp;
branches
	1.13.2.1
	1.13.4.1;
next	1.12;

1.12
date	2005.12.11.12.17.53;	author christos;	state Exp;
branches
	1.12.4.1
	1.12.6.1
	1.12.8.1
	1.12.10.1
	1.12.12.1;
next	1.11;

1.11
date	2003.10.26.07.25.36;	author lukem;	state Exp;
branches
	1.11.16.1;
next	1.10;

1.10
date	2002.06.04.21.39.10;	author thorpej;	state Exp;
branches
	1.10.6.1;
next	1.9;

1.9
date	2001.10.07.01.39.51;	author tsutsui;	state Exp;
branches
	1.9.4.1
	1.9.12.1;
next	1.8;

1.8
date	2001.10.02.06.34.52;	author chs;	state Exp;
branches;
next	1.7;

1.7
date	97.09.18.22.55.56;	author jeremy;	state Exp;
branches
	1.7.28.1
	1.7.30.1;
next	1.6;

1.6
date	97.04.25.22.17.33;	author veego;	state Exp;
branches
	1.6.4.1;
next	1.5;

1.5
date	97.04.25.02.26.48;	author thorpej;	state Exp;
branches;
next	1.4;

1.4
date	94.10.26.07.48.46;	author cgd;	state Exp;
branches;
next	1.3;

1.3
date	94.07.07.07.29.07;	author mycroft;	state Exp;
branches
	1.3.2.1;
next	1.2;

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

1.1
date	94.07.05.17.50.27;	author mycroft;	state Exp;
branches
	1.1.1.1;
next	;

1.15.58.1
date	2009.01.17.13.28.10;	author mjf;	state Exp;
branches;
next	;

1.15.62.1
date	2009.05.04.08.11.25;	author yamt;	state Exp;
branches;
next	;

1.15.68.1
date	2008.12.13.01.13.16;	author haad;	state Exp;
branches;
next	;

1.13.2.1
date	2006.06.19.03.44.26;	author chap;	state Exp;
branches;
next	;

1.13.4.1
date	2006.06.18.05.17.54;	author gdamore;	state Exp;
branches;
next	1.13.4.2;

1.13.4.2
date	2006.06.24.03.29.24;	author tsutsui;	state Exp;
branches;
next	;

1.12.4.1
date	2006.09.09.02.40.59;	author rpaulo;	state Exp;
branches;
next	;

1.12.6.1
date	2006.04.22.11.37.40;	author simonb;	state Exp;
branches;
next	;

1.12.8.1
date	2006.04.11.11.53.43;	author yamt;	state Exp;
branches;
next	1.12.8.2;

1.12.8.2
date	2006.06.26.12.44.54;	author yamt;	state Exp;
branches;
next	;

1.12.10.1
date	2006.04.19.02.33.11;	author elad;	state Exp;
branches;
next	;

1.12.12.1
date	2006.05.24.15.48.12;	author tron;	state Exp;
branches;
next	;

1.11.16.1
date	2006.06.21.14.53.01;	author yamt;	state Exp;
branches;
next	1.11.16.2;

1.11.16.2
date	2006.12.30.20.46.24;	author yamt;	state Exp;
branches;
next	;

1.10.6.1
date	2004.08.03.10.36.40;	author skrll;	state Exp;
branches;
next	1.10.6.2;

1.10.6.2
date	2004.09.18.14.36.16;	author skrll;	state Exp;
branches;
next	1.10.6.3;

1.10.6.3
date	2004.09.21.13.17.35;	author skrll;	state Exp;
branches;
next	;

1.9.4.1
date	2001.10.07.01.39.51;	author nathanw;	state dead;
branches;
next	1.9.4.2;

1.9.4.2
date	2002.06.20.03.39.19;	author nathanw;	state Exp;
branches;
next	;

1.9.12.1
date	2002.07.14.18.37.02;	author gehenna;	state Exp;
branches;
next	;

1.7.28.1
date	2001.10.11.00.01.46;	author fvdl;	state Exp;
branches;
next	;

1.7.30.1
date	2002.01.10.19.45.23;	author thorpej;	state Exp;
branches;
next	1.7.30.2;

1.7.30.2
date	2002.06.23.17.37.39;	author jdolecek;	state Exp;
branches;
next	;

1.6.4.1
date	97.09.22.06.31.52;	author thorpej;	state Exp;
branches;
next	;

1.3.2.1
date	94.07.07.07.29.07;	author mycroft;	state dead;
branches;
next	1.3.2.2;

1.3.2.2
date	94.07.07.07.29.08;	author mycroft;	state Exp;
branches;
next	;

1.1.1.1
date	94.07.05.17.50.28;	author mycroft;	state Exp;
branches;
next	;


desc
@@


1.17
log
@Use ${TOOL_SED} instead if plain sed in Makefiles.
@
text
@#	$NetBSD: Makefile,v 1.16 2008/10/19 22:05:21 apb Exp $

#	MOTOROLA MICROPROCESSOR & MEMORY TECHNOLOGY GROUP
#	M68000 Hi-Performance Microprocessor Division
#	M68040 Software Package 
#
#	M68040 Software Package Copyright (c) 1993, 1994 Motorola Inc.
#	All rights reserved.
#
#	THE SOFTWARE is provided on an "AS IS" basis and without warranty.
#	To the maximum extent permitted by applicable law,
#	MOTOROLA DISCLAIMS ALL WARRANTIES WHETHER EXPRESS OR IMPLIED,
#	INCLUDING IMPLIED WARRANTIES OF MERCHANTABILITY OR FITNESS FOR A
#	PARTICULAR PURPOSE and any warranty against infringement with
#	regard to the SOFTWARE (INCLUDING ANY MODIFIED VERSIONS THEREOF)
#	and any accompanying written materials. 
#
#	To the maximum extent permitted by applicable law,
#	IN NO EVENT SHALL MOTOROLA BE LIABLE FOR ANY DAMAGES WHATSOEVER
#	(INCLUDING WITHOUT LIMITATION, DAMAGES FOR LOSS OF BUSINESS
#	PROFITS, BUSINESS INTERRUPTION, LOSS OF BUSINESS INFORMATION, OR
#	OTHER PECUNIARY LOSS) ARISING OF THE USE OR INABILITY TO USE THE
#	SOFTWARE.  Motorola assumes no responsibility for the maintenance
#	and support of the SOFTWARE.  
#
#	You are hereby granted a copyright license to use, modify, and
#	distribute the SOFTWARE so long as this entire notice is retained
#	without alteration in any modified and/or redistributed versions,
#	and that such modified versions are clearly identified as such.
#	No licenses are granted by implication, estoppel or otherwise
#	under any patents or trademarks of Motorola, Inc.

#
#	Makefile 3.3 3/27/91
#
#	Makefile for 68040 Floating Point Software Package
#

.include <bsd.prog.mk>

TARGET = fpsp

CPPFLAGS=	${FPSPCPPFLAGS} ${FPSPMISCCPPFLAGS}
.SUFFIXES:	.o .s .sa .defs .h

.PATH.h: ${FPSPDIR}
.PATH.s: ${FPSPDIR}
.PATH.sa: ${FPSPDIR}

AS?		= as
LD?		= ld
AFLAGS		= -x assembler-with-cpp -m68040

#
# For the Library Version:
#
AR?		= ar
LIB_FILTER 	= ${TOOL_SED} 's/fpsp.defs/l_fpsp.defs/'
LIB_TARGET	= lib$(TARGET).a
#
# SYS selects the template set to use
#	templates are supplied for R3V6, CI5 and GEN(generic)
# PREFIX is a string that begins a temporary label in the assembler
#	R3V6 uses 'L%', CI5 likes '.L'
#
#SYS		= R3V6
#PREFIX		= L%%
#
#SYS		= CI5
#PREFIX		= .L
#
#SYS		= GEN
#PREFIX		= L_
#
SYS		= GCC
PREFIX		= L_

.sa.s:
	SED=${TOOL_SED:Q} ${HOST_SH} ${FPSPDIR}/asm2gas ${.IMPSRC} >${.TARGET}
.h.defs:
	SED=${TOOL_SED:Q} ${HOST_SH} ${FPSPDIR}/asm2gas ${.IMPSRC} >${.TARGET}
.s.o:
	${CC} ${AFLAGS} ${CPPFLAGS} -c -o ${.TARGET} ${.IMPSRC}

H_FILES = \
	fpsp.defs \
	l_fpsp.defs

O_FILES = \
	copyright.o \
	netbsd.o \
	bindec.o \
	binstr.o \
	decbin.o \
	do_func.o \
	gen_except.o \
	get_op.o \
	kernel_ex.o \
	res_func.o \
	round.o \
	sacos.o \
	sasin.o \
	satan.o \
	satanh.o \
	scosh.o \
	setox.o \
	sgetem.o \
	sint.o \
	slogn.o \
	slog2.o \
	smovecr.o \
	srem_mod.o \
	scale.o \
	ssin.o \
	ssinh.o \
	stan.o \
	stanh.o \
	sto_res.o \
	stwotox.o \
	tbldo.o \
	util.o \
	x_bsun.o \
	x_fline.o \
	x_operr.o \
	x_ovfl.o \
	x_snan.o \
	x_store.o \
	x_unfl.o \
	x_unimp.o \
	x_unsupp.o \
	bugfix.o

LIB_O_FILES	= \
	l_copyright.o \
	l_entry.o \
	l_do_func.o \
	l_round.o \
	l_sacos.o \
	l_sasin.o \
	l_satan.o \
	l_satanh.o \
	l_scale.o \
	l_scosh.o \
	l_setox.o \
	l_sgetem.o \
	l_sint.o \
	l_slog2.o \
	l_slogn.o \
	l_srem_mod.o \
	l_ssin.o \
	l_ssinh.o \
	l_stan.o \
	l_stanh.o \
	l_stwotox.o \
	l_support.o

S_FILES = \
	netbsd.s \
	bindec.s \
	binstr.s \
	decbin.s \
	do_func.s \
	get_op.s \
	gen_except.s \
	kernel_ex.s \
	res_func.s \
	round.s \
	sacos.s \
	sasin.s \
	satan.s \
	satanh.s \
	scosh.s \
	setox.s \
	sgetem.s \
	sint.s \
	slogn.s \
	slog2.s \
	smovecr.s \
	srem_mod.s \
	scale.s \
	ssin.s \
	ssinh.s \
	stan.s \
	stanh.s \
	sto_res.s \
	stwotox.s \
	tbldo.s \
	util.s \
	x_bsun.s \
	x_fline.s \
	x_operr.s \
	x_ovfl.s \
	x_snan.s \
	x_store.s \
	x_unfl.s \
	x_unimp.s \
	x_unsupp.s \
	bugfix.s

LIB_S_FILES	= \
	l_entry.sa l_entry.s \
	l_do_func.s \
	l_round.s \
	l_sacos.s \
	l_sasin.s \
	l_satan.s \
	l_satanh.s \
	l_scale.s \
	l_scosh.s \
	l_setox.s \
	l_sgetem.s \
	l_sint.s \
	l_slog2.s \
	l_slogn.s \
	l_srem_mod.s \
	l_ssin.s \
	l_ssinh.s \
	l_stan.s \
	l_stanh.s \
	l_stwotox.s \
	l_support.s

#
#	Build the target object.  The linkfile is created on the fly.
#	Change the SEG directives to suit your system.
#
$(TARGET).o:	$(O_FILES)
	$(LD) -r -o $(TARGET).o $(O_FILES)

#
#	Just about every file needs fpsp.h so:
#
$(O_FILES):	fpsp.defs

#
#-----------------------------------------------------------------------
#
#	For making a library version of the FPSP:
#
library:	$(LIB_TARGET)

$(LIB_TARGET):	$(LIB_O_FILES)
	rm -f $(LIB_TARGET)
	$(AR) crv $(LIB_TARGET) $(LIB_O_FILES)

$(LIB_O_FILES): l_fpsp.defs

#
# The entry points to the library version are created here
# by using two template files an awk script and a list of
# the entry routines for each function.
#
l_entry.sa: L_ENTRY.AWK L_LIST MONADIC.$(SYS) DYADIC.$(SYS) l_fpsp.h
	${TOOL_AWK} -f L_ENTRY.AWK SYS=$(SYS) PREFIX=$(PREFIX) - \
	    <L_LIST | ${HOST_SH} >l_entry.sa

#
# Do_func.sa and round.sa need special editing to remove references that
# aren't needed in the library version.  Beware that changes in
# the source code may cause this editing to break....
#
l_do_func.s: do_func.s 
	$(LIB_FILTER) ${.ALLSRC} >${.TARGET}
	echo '/global.*do_func/,/^	rts/d' >.SCRIPT
	echo 'g/smovcr/d' >>.SCRIPT
	echo 'g/tblpre/d' >>.SCRIPT
	echo 'w' >>.SCRIPT
	echo 'q' >>.SCRIPT
	ed - ${.TARGET} <.SCRIPT
	rm .SCRIPT

l_round.s: round.s 
	$(LIB_FILTER) ${.ALLSRC} >${.TARGET}
	echo '/^not_E3:/-6,/^not_E3:/d' >.SCRIPT
	echo 'w' >>.SCRIPT
	echo 'q' >>.SCRIPT
	ed - ${.TARGET} <.SCRIPT
	rm .SCRIPT

l_copyright.s: copyright.s 
	$(LIB_FILTER) ${.ALLSRC} >${.TARGET}

l_sacos.s: sacos.s 
	$(LIB_FILTER) ${.ALLSRC} >${.TARGET}

l_sasin.s: sasin.s 
	$(LIB_FILTER) ${.ALLSRC} >${.TARGET}

l_satan.s: satan.s 
	$(LIB_FILTER) ${.ALLSRC} >${.TARGET}

l_satanh.s: satanh.s 
	$(LIB_FILTER) ${.ALLSRC} >${.TARGET}

l_scale.s: scale.s 
	$(LIB_FILTER) ${.ALLSRC} >${.TARGET}

l_scosh.s: scosh.s 
	$(LIB_FILTER) ${.ALLSRC} >${.TARGET}

l_setox.s: setox.s 
	$(LIB_FILTER) ${.ALLSRC} >${.TARGET}

l_sgetem.s: sgetem.s 
	$(LIB_FILTER) ${.ALLSRC} >${.TARGET}

l_sint.s: sint.s 
	$(LIB_FILTER) ${.ALLSRC} >${.TARGET}

l_slog2.s: slog2.s 
	$(LIB_FILTER) ${.ALLSRC} >${.TARGET}

l_slogn.s: slogn.s 
	$(LIB_FILTER) ${.ALLSRC} >${.TARGET}

l_srem_mod.s: srem_mod.s 
	$(LIB_FILTER) ${.ALLSRC} >${.TARGET}

l_ssin.s: ssin.s 
	$(LIB_FILTER) ${.ALLSRC} >${.TARGET}

l_ssinh.s: ssinh.s 
	$(LIB_FILTER) ${.ALLSRC} >${.TARGET}

l_stan.s: stan.s 
	$(LIB_FILTER) ${.ALLSRC} >${.TARGET}

l_stanh.s: stanh.s 
	$(LIB_FILTER) ${.ALLSRC} >${.TARGET}

l_stwotox.s: stwotox.s 
	$(LIB_FILTER) ${.ALLSRC} >${.TARGET}

#
#	Extract all files from SCCS directory
#
clean:
	rm -f $(H_FILES)
	rm -f $(S_FILES)
	rm -f $(O_FILES)
	rm -f $(TARGET).o
	rm -f $(LIB_S_FILES)
	rm -f $(LIB_O_FILES)
	rm -f $(LIB_TARGET)

clobber:	clean
@


1.16
log
@Use ${TOOL_AWK} instead of ${AWK} or plain "awk" in make commands.
Pass AWK=${TOOL_AWK:Q} to shell scripts that use awk.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.15 2006/06/24 03:28:42 tsutsui Exp $
d58 1
a58 1
LIB_FILTER 	= sed 's/fpsp.defs/l_fpsp.defs/'
@


1.15
log
@Pass sed command path to asm2gas via environment
rather than arg. ok'ed by gdamore.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.14 2006/06/18 05:21:21 gdamore Exp $
a39 1
#.include <bsd.sys.mk>		# for HOST_SH
d254 1
a254 1
	awk -f L_ENTRY.AWK SYS=$(SYS) PREFIX=$(PREFIX) - \
@


1.15.62.1
log
@sync with head.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.15 2006/06/24 03:28:42 tsutsui Exp $
d40 1
d59 1
a59 1
LIB_FILTER 	= ${TOOL_SED} 's/fpsp.defs/l_fpsp.defs/'
d255 1
a255 1
	${TOOL_AWK} -f L_ENTRY.AWK SYS=$(SYS) PREFIX=$(PREFIX) - \
@


1.15.58.1
log
@Sync with HEAD.
@
text
@d1 1
a1 1
#	$NetBSD$
d40 1
d59 1
a59 1
LIB_FILTER 	= ${TOOL_SED} 's/fpsp.defs/l_fpsp.defs/'
d255 1
a255 1
	${TOOL_AWK} -f L_ENTRY.AWK SYS=$(SYS) PREFIX=$(PREFIX) - \
@


1.15.68.1
log
@Update haad-dm branch to haad-dm-base2.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.17 2008/10/25 22:27:37 apb Exp $
d40 1
d59 1
a59 1
LIB_FILTER 	= ${TOOL_SED} 's/fpsp.defs/l_fpsp.defs/'
d255 1
a255 1
	${TOOL_AWK} -f L_ENTRY.AWK SYS=$(SYS) PREFIX=$(PREFIX) - \
@


1.14
log
@Use TOOL_SED for asm2gas, which makes it possible to cross-compile this
on Solaris 10.  (Solaris 10's sed doesn't like the comment lines, and
also complains about too many commands in the input.)
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.13.4.1 2006/06/18 05:17:54 gdamore Exp $
d80 1
a80 1
	${HOST_SH} ${FPSPDIR}/asm2gas ${TOOL_SED} ${.IMPSRC} >${.TARGET}
d82 1
a82 1
	${HOST_SH} ${FPSPDIR}/asm2gas ${TOOL_SED} ${.IMPSRC} >${.TARGET}
@


1.13
log
@retire HAVE_GCC3/HAVE_GCC4 and introduce HAVE_GCC that is set to 2, 3 or 4.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.12 2005/12/11 12:17:53 christos Exp $
d39 2
a40 1
.include <bsd.sys.mk>		# for HOST_SH
d80 1
a80 1
	${HOST_SH} ${FPSPDIR}/asm2gas ${.IMPSRC} >${.TARGET}
d82 1
a82 1
	${HOST_SH} ${FPSPDIR}/asm2gas ${.IMPSRC} >${.TARGET}
@


1.13.2.1
log
@Sync with head.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.14 2006/06/18 05:21:21 gdamore Exp $
d39 1
a39 2
.include <bsd.prog.mk>
#.include <bsd.sys.mk>		# for HOST_SH
d79 1
a79 1
	${HOST_SH} ${FPSPDIR}/asm2gas ${TOOL_SED} ${.IMPSRC} >${.TARGET}
d81 1
a81 1
	${HOST_SH} ${FPSPDIR}/asm2gas ${TOOL_SED} ${.IMPSRC} >${.TARGET}
@


1.13.4.1
log
@Use TOOL_SED for asm2gas, which makes it possible to cross-compile this
on Solaris 10.  (Solaris 10's sed doesn't like the comment lines, and
also complains about too many commands in the input.)
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.13 2006/04/07 19:38:58 mrg Exp $
d39 1
a39 2
.include <bsd.prog.mk>
#.include <bsd.sys.mk>		# for HOST_SH
d79 1
a79 1
	${HOST_SH} ${FPSPDIR}/asm2gas ${TOOL_SED} ${.IMPSRC} >${.TARGET}
d81 1
a81 1
	${HOST_SH} ${FPSPDIR}/asm2gas ${TOOL_SED} ${.IMPSRC} >${.TARGET}
@


1.13.4.2
log
@Pass sed command path to asm2gas via environment
rather than arg. ok'ed by gdamore.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.13.4.1 2006/06/18 05:17:54 gdamore Exp $
d80 1
a80 1
	SED=${TOOL_SED:Q} ${HOST_SH} ${FPSPDIR}/asm2gas ${.IMPSRC} >${.TARGET}
d82 1
a82 1
	SED=${TOOL_SED:Q} ${HOST_SH} ${FPSPDIR}/asm2gas ${.IMPSRC} >${.TARGET}
@


1.12
log
@merge ktrace-lwp.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.10.6.3 2004/09/21 13:17:35 skrll Exp $
a51 1
.if defined(HAVE_GCC3)
a52 3
.else
AFLAGS		= -x assembler-with-cpp -traditional-cpp -m68040
.endif
@


1.12.4.1
log
@sync with head
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.15 2006/06/24 03:28:42 tsutsui Exp $
d39 1
a39 2
.include <bsd.prog.mk>
#.include <bsd.sys.mk>		# for HOST_SH
d52 1
d54 3
d83 1
a83 1
	SED=${TOOL_SED:Q} ${HOST_SH} ${FPSPDIR}/asm2gas ${.IMPSRC} >${.TARGET}
d85 1
a85 1
	SED=${TOOL_SED:Q} ${HOST_SH} ${FPSPDIR}/asm2gas ${.IMPSRC} >${.TARGET}
@


1.12.12.1
log
@Merge 2006-05-24 NetBSD-current into the "peter-altq" branch.
@
text
@d1 1
a1 1
#	$NetBSD$
d52 1
d54 3
@


1.12.6.1
log
@Sync with head.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.13 2006/04/07 19:38:58 mrg Exp $
d52 1
d54 3
@


1.12.10.1
log
@sync with head - hopefully this will work
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.13 2006/04/07 19:38:58 mrg Exp $
d52 1
d54 3
@


1.12.8.1
log
@sync with head
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.12 2005/12/11 12:17:53 christos Exp $
d52 1
d54 3
@


1.12.8.2
log
@sync with head.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.12.8.1 2006/04/11 11:53:43 yamt Exp $
d39 1
a39 2
.include <bsd.prog.mk>
#.include <bsd.sys.mk>		# for HOST_SH
d79 1
a79 1
	SED=${TOOL_SED:Q} ${HOST_SH} ${FPSPDIR}/asm2gas ${.IMPSRC} >${.TARGET}
d81 1
a81 1
	SED=${TOOL_SED:Q} ${HOST_SH} ${FPSPDIR}/asm2gas ${.IMPSRC} >${.TARGET}
@


1.11
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.10 2002/06/04 21:39:10 thorpej Exp $
@


1.11.16.1
log
@sync with head.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.11 2003/10/26 07:25:36 lukem Exp $
d39 1
a39 2
.include <bsd.prog.mk>
#.include <bsd.sys.mk>		# for HOST_SH
d52 1
d54 3
d83 1
a83 1
	${HOST_SH} ${FPSPDIR}/asm2gas ${TOOL_SED} ${.IMPSRC} >${.TARGET}
d85 1
a85 1
	${HOST_SH} ${FPSPDIR}/asm2gas ${TOOL_SED} ${.IMPSRC} >${.TARGET}
@


1.11.16.2
log
@sync with head.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.11.16.1 2006/06/21 14:53:01 yamt Exp $
d80 1
a80 1
	SED=${TOOL_SED:Q} ${HOST_SH} ${FPSPDIR}/asm2gas ${.IMPSRC} >${.TARGET}
d82 1
a82 1
	SED=${TOOL_SED:Q} ${HOST_SH} ${FPSPDIR}/asm2gas ${.IMPSRC} >${.TARGET}
@


1.10
log
@Don't use -traditional-cpp if HAVE_GCC3.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.9 2001/10/07 01:39:51 tsutsui Exp $
d39 2
d83 1
a83 1
	sh ${FPSPDIR}/asm2gas ${.IMPSRC} >${.TARGET}
d85 1
a85 1
	sh ${FPSPDIR}/asm2gas ${.IMPSRC} >${.TARGET}
d258 2
a259 1
	awk -f L_ENTRY.AWK SYS=$(SYS) PREFIX=$(PREFIX) - <L_LIST|sh>l_entry.sa
a350 1

@


1.10.6.1
log
@Sync with HEAD
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.11 2003/10/26 07:25:36 lukem Exp $
a38 2
.include <bsd.sys.mk>		# for HOST_SH

d81 1
a81 1
	${HOST_SH} ${FPSPDIR}/asm2gas ${.IMPSRC} >${.TARGET}
d83 1
a83 1
	${HOST_SH} ${FPSPDIR}/asm2gas ${.IMPSRC} >${.TARGET}
d256 1
a256 2
	awk -f L_ENTRY.AWK SYS=$(SYS) PREFIX=$(PREFIX) - \
	    <L_LIST | ${HOST_SH} >l_entry.sa
d348 1
@


1.10.6.2
log
@Sync with HEAD.
@
text
@@


1.10.6.3
log
@Fix the sync with head I botched.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.10.6.1 2004/08/03 10:36:40 skrll Exp $
@


1.9
log
@Pass CPPFLAGS properly so that source files can include <machine/asm.h> .
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.8 2001/10/02 06:34:52 chs Exp $
d50 3
d54 1
@


1.9.4.1
log
@file Makefile was added on branch nathanw_sa on 2002-06-20 03:39:19 +0000
@
text
@d1 344
@


1.9.4.2
log
@Catch up to -current.
@
text
@a0 348
#	$NetBSD: Makefile,v 1.9.4.1 2002/06/20 03:39:19 nathanw Exp $

#	MOTOROLA MICROPROCESSOR & MEMORY TECHNOLOGY GROUP
#	M68000 Hi-Performance Microprocessor Division
#	M68040 Software Package 
#
#	M68040 Software Package Copyright (c) 1993, 1994 Motorola Inc.
#	All rights reserved.
#
#	THE SOFTWARE is provided on an "AS IS" basis and without warranty.
#	To the maximum extent permitted by applicable law,
#	MOTOROLA DISCLAIMS ALL WARRANTIES WHETHER EXPRESS OR IMPLIED,
#	INCLUDING IMPLIED WARRANTIES OF MERCHANTABILITY OR FITNESS FOR A
#	PARTICULAR PURPOSE and any warranty against infringement with
#	regard to the SOFTWARE (INCLUDING ANY MODIFIED VERSIONS THEREOF)
#	and any accompanying written materials. 
#
#	To the maximum extent permitted by applicable law,
#	IN NO EVENT SHALL MOTOROLA BE LIABLE FOR ANY DAMAGES WHATSOEVER
#	(INCLUDING WITHOUT LIMITATION, DAMAGES FOR LOSS OF BUSINESS
#	PROFITS, BUSINESS INTERRUPTION, LOSS OF BUSINESS INFORMATION, OR
#	OTHER PECUNIARY LOSS) ARISING OF THE USE OR INABILITY TO USE THE
#	SOFTWARE.  Motorola assumes no responsibility for the maintenance
#	and support of the SOFTWARE.  
#
#	You are hereby granted a copyright license to use, modify, and
#	distribute the SOFTWARE so long as this entire notice is retained
#	without alteration in any modified and/or redistributed versions,
#	and that such modified versions are clearly identified as such.
#	No licenses are granted by implication, estoppel or otherwise
#	under any patents or trademarks of Motorola, Inc.

#
#	Makefile 3.3 3/27/91
#
#	Makefile for 68040 Floating Point Software Package
#

TARGET = fpsp

CPPFLAGS=	${FPSPCPPFLAGS} ${FPSPMISCCPPFLAGS}
.SUFFIXES:	.o .s .sa .defs .h

.PATH.h: ${FPSPDIR}
.PATH.s: ${FPSPDIR}
.PATH.sa: ${FPSPDIR}

AS?		= as
LD?		= ld
.if defined(HAVE_GCC3)
AFLAGS		= -x assembler-with-cpp -m68040
.else
AFLAGS		= -x assembler-with-cpp -traditional-cpp -m68040
.endif

#
# For the Library Version:
#
AR?		= ar
LIB_FILTER 	= sed 's/fpsp.defs/l_fpsp.defs/'
LIB_TARGET	= lib$(TARGET).a
#
# SYS selects the template set to use
#	templates are supplied for R3V6, CI5 and GEN(generic)
# PREFIX is a string that begins a temporary label in the assembler
#	R3V6 uses 'L%', CI5 likes '.L'
#
#SYS		= R3V6
#PREFIX		= L%%
#
#SYS		= CI5
#PREFIX		= .L
#
#SYS		= GEN
#PREFIX		= L_
#
SYS		= GCC
PREFIX		= L_

.sa.s:
	sh ${FPSPDIR}/asm2gas ${.IMPSRC} >${.TARGET}
.h.defs:
	sh ${FPSPDIR}/asm2gas ${.IMPSRC} >${.TARGET}
.s.o:
	${CC} ${AFLAGS} ${CPPFLAGS} -c -o ${.TARGET} ${.IMPSRC}

H_FILES = \
	fpsp.defs \
	l_fpsp.defs

O_FILES = \
	copyright.o \
	netbsd.o \
	bindec.o \
	binstr.o \
	decbin.o \
	do_func.o \
	gen_except.o \
	get_op.o \
	kernel_ex.o \
	res_func.o \
	round.o \
	sacos.o \
	sasin.o \
	satan.o \
	satanh.o \
	scosh.o \
	setox.o \
	sgetem.o \
	sint.o \
	slogn.o \
	slog2.o \
	smovecr.o \
	srem_mod.o \
	scale.o \
	ssin.o \
	ssinh.o \
	stan.o \
	stanh.o \
	sto_res.o \
	stwotox.o \
	tbldo.o \
	util.o \
	x_bsun.o \
	x_fline.o \
	x_operr.o \
	x_ovfl.o \
	x_snan.o \
	x_store.o \
	x_unfl.o \
	x_unimp.o \
	x_unsupp.o \
	bugfix.o

LIB_O_FILES	= \
	l_copyright.o \
	l_entry.o \
	l_do_func.o \
	l_round.o \
	l_sacos.o \
	l_sasin.o \
	l_satan.o \
	l_satanh.o \
	l_scale.o \
	l_scosh.o \
	l_setox.o \
	l_sgetem.o \
	l_sint.o \
	l_slog2.o \
	l_slogn.o \
	l_srem_mod.o \
	l_ssin.o \
	l_ssinh.o \
	l_stan.o \
	l_stanh.o \
	l_stwotox.o \
	l_support.o

S_FILES = \
	netbsd.s \
	bindec.s \
	binstr.s \
	decbin.s \
	do_func.s \
	get_op.s \
	gen_except.s \
	kernel_ex.s \
	res_func.s \
	round.s \
	sacos.s \
	sasin.s \
	satan.s \
	satanh.s \
	scosh.s \
	setox.s \
	sgetem.s \
	sint.s \
	slogn.s \
	slog2.s \
	smovecr.s \
	srem_mod.s \
	scale.s \
	ssin.s \
	ssinh.s \
	stan.s \
	stanh.s \
	sto_res.s \
	stwotox.s \
	tbldo.s \
	util.s \
	x_bsun.s \
	x_fline.s \
	x_operr.s \
	x_ovfl.s \
	x_snan.s \
	x_store.s \
	x_unfl.s \
	x_unimp.s \
	x_unsupp.s \
	bugfix.s

LIB_S_FILES	= \
	l_entry.sa l_entry.s \
	l_do_func.s \
	l_round.s \
	l_sacos.s \
	l_sasin.s \
	l_satan.s \
	l_satanh.s \
	l_scale.s \
	l_scosh.s \
	l_setox.s \
	l_sgetem.s \
	l_sint.s \
	l_slog2.s \
	l_slogn.s \
	l_srem_mod.s \
	l_ssin.s \
	l_ssinh.s \
	l_stan.s \
	l_stanh.s \
	l_stwotox.s \
	l_support.s

#
#	Build the target object.  The linkfile is created on the fly.
#	Change the SEG directives to suit your system.
#
$(TARGET).o:	$(O_FILES)
	$(LD) -r -o $(TARGET).o $(O_FILES)

#
#	Just about every file needs fpsp.h so:
#
$(O_FILES):	fpsp.defs

#
#-----------------------------------------------------------------------
#
#	For making a library version of the FPSP:
#
library:	$(LIB_TARGET)

$(LIB_TARGET):	$(LIB_O_FILES)
	rm -f $(LIB_TARGET)
	$(AR) crv $(LIB_TARGET) $(LIB_O_FILES)

$(LIB_O_FILES): l_fpsp.defs

#
# The entry points to the library version are created here
# by using two template files an awk script and a list of
# the entry routines for each function.
#
l_entry.sa: L_ENTRY.AWK L_LIST MONADIC.$(SYS) DYADIC.$(SYS) l_fpsp.h
	awk -f L_ENTRY.AWK SYS=$(SYS) PREFIX=$(PREFIX) - <L_LIST|sh>l_entry.sa

#
# Do_func.sa and round.sa need special editing to remove references that
# aren't needed in the library version.  Beware that changes in
# the source code may cause this editing to break....
#
l_do_func.s: do_func.s 
	$(LIB_FILTER) ${.ALLSRC} >${.TARGET}
	echo '/global.*do_func/,/^	rts/d' >.SCRIPT
	echo 'g/smovcr/d' >>.SCRIPT
	echo 'g/tblpre/d' >>.SCRIPT
	echo 'w' >>.SCRIPT
	echo 'q' >>.SCRIPT
	ed - ${.TARGET} <.SCRIPT
	rm .SCRIPT

l_round.s: round.s 
	$(LIB_FILTER) ${.ALLSRC} >${.TARGET}
	echo '/^not_E3:/-6,/^not_E3:/d' >.SCRIPT
	echo 'w' >>.SCRIPT
	echo 'q' >>.SCRIPT
	ed - ${.TARGET} <.SCRIPT
	rm .SCRIPT

l_copyright.s: copyright.s 
	$(LIB_FILTER) ${.ALLSRC} >${.TARGET}

l_sacos.s: sacos.s 
	$(LIB_FILTER) ${.ALLSRC} >${.TARGET}

l_sasin.s: sasin.s 
	$(LIB_FILTER) ${.ALLSRC} >${.TARGET}

l_satan.s: satan.s 
	$(LIB_FILTER) ${.ALLSRC} >${.TARGET}

l_satanh.s: satanh.s 
	$(LIB_FILTER) ${.ALLSRC} >${.TARGET}

l_scale.s: scale.s 
	$(LIB_FILTER) ${.ALLSRC} >${.TARGET}

l_scosh.s: scosh.s 
	$(LIB_FILTER) ${.ALLSRC} >${.TARGET}

l_setox.s: setox.s 
	$(LIB_FILTER) ${.ALLSRC} >${.TARGET}

l_sgetem.s: sgetem.s 
	$(LIB_FILTER) ${.ALLSRC} >${.TARGET}

l_sint.s: sint.s 
	$(LIB_FILTER) ${.ALLSRC} >${.TARGET}

l_slog2.s: slog2.s 
	$(LIB_FILTER) ${.ALLSRC} >${.TARGET}

l_slogn.s: slogn.s 
	$(LIB_FILTER) ${.ALLSRC} >${.TARGET}

l_srem_mod.s: srem_mod.s 
	$(LIB_FILTER) ${.ALLSRC} >${.TARGET}

l_ssin.s: ssin.s 
	$(LIB_FILTER) ${.ALLSRC} >${.TARGET}

l_ssinh.s: ssinh.s 
	$(LIB_FILTER) ${.ALLSRC} >${.TARGET}

l_stan.s: stan.s 
	$(LIB_FILTER) ${.ALLSRC} >${.TARGET}

l_stanh.s: stanh.s 
	$(LIB_FILTER) ${.ALLSRC} >${.TARGET}

l_stwotox.s: stwotox.s 
	$(LIB_FILTER) ${.ALLSRC} >${.TARGET}

#
#	Extract all files from SCCS directory
#
clean:
	rm -f $(H_FILES)
	rm -f $(S_FILES)
	rm -f $(O_FILES)
	rm -f $(TARGET).o
	rm -f $(LIB_S_FILES)
	rm -f $(LIB_O_FILES)
	rm -f $(LIB_TARGET)

clobber:	clean

@


1.9.12.1
log
@catch up with -current.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.10 2002/06/04 21:39:10 thorpej Exp $
a49 3
.if defined(HAVE_GCC3)
AFLAGS		= -x assembler-with-cpp -m68040
.else
a50 1
.endif
@


1.8
log
@support building fpsp with MAKEOBJDIRPREFIX.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.7 1997/09/18 22:55:56 jeremy Exp $
d41 1
d48 1
a48 1
AS		= ${CC} -x assembler-with-cpp -traditional-cpp -c -m68040 -I${.CURDIR}
d50 1
d81 1
a81 1
	$(AS) -o ${.TARGET} ${.IMPSRC}
@


1.7
log
@Use ${CC} instead of cc and don't explicitly set AR and LD unless they are
unset.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.6 1997/04/25 22:17:33 veego Exp $
d41 6
a73 2
.SUFFIXES:	.o .s .sa .defs .h

d75 1
a75 1
	sh ${.CURDIR}/asm2gas ${.IMPSRC} >${.TARGET}
d77 1
a77 1
	sh ${.CURDIR}/asm2gas ${.IMPSRC} >${.TARGET}
@


1.7.30.1
log
@Sync kqueue branch with -current.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.9 2001/10/07 01:39:51 tsutsui Exp $
d41 1
a41 8
CPPFLAGS=	${FPSPCPPFLAGS} ${FPSPMISCCPPFLAGS}
.SUFFIXES:	.o .s .sa .defs .h

.PATH.h: ${FPSPDIR}
.PATH.s: ${FPSPDIR}
.PATH.sa: ${FPSPDIR}

AS?		= as
a42 1
AFLAGS		= -x assembler-with-cpp -traditional-cpp -m68040
d68 2
d71 1
a71 1
	sh ${FPSPDIR}/asm2gas ${.IMPSRC} >${.TARGET}
d73 1
a73 1
	sh ${FPSPDIR}/asm2gas ${.IMPSRC} >${.TARGET}
d75 1
a75 1
	${CC} ${AFLAGS} ${CPPFLAGS} -c -o ${.TARGET} ${.IMPSRC}
@


1.7.30.2
log
@catch up with -current on kqueue branch
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.7.30.1 2002/01/10 19:45:23 thorpej Exp $
a49 3
.if defined(HAVE_GCC3)
AFLAGS		= -x assembler-with-cpp -m68040
.else
a50 1
.endif
@


1.7.28.1
log
@Catch up with -current. Fix some bogons in the sparc64 kbd/ms
attach code. cd18xx conversion provided by mrg.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.7 1997/09/18 22:55:56 jeremy Exp $
d41 1
a41 8
CPPFLAGS=	${FPSPCPPFLAGS} ${FPSPMISCCPPFLAGS}
.SUFFIXES:	.o .s .sa .defs .h

.PATH.h: ${FPSPDIR}
.PATH.s: ${FPSPDIR}
.PATH.sa: ${FPSPDIR}

AS?		= as
a42 1
AFLAGS		= -x assembler-with-cpp -traditional-cpp -m68040
d68 2
d71 1
a71 1
	sh ${FPSPDIR}/asm2gas ${.IMPSRC} >${.TARGET}
d73 1
a73 1
	sh ${FPSPDIR}/asm2gas ${.IMPSRC} >${.TARGET}
d75 1
a75 1
	${CC} ${AFLAGS} ${CPPFLAGS} -c -o ${.TARGET} ${.IMPSRC}
@


1.6
log
@Add a -I${.CURDIR} to build netbsd.sa with a obj dir
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.5 1997/04/25 02:26:48 thorpej Exp $
d41 2
a42 2
AS		= cc -x assembler-with-cpp -traditional-cpp -c -m68040 -I${.CURDIR}
LD		= ld
d47 1
a47 1
AR		= ar
@


1.6.4.1
log
@Update marc-pcmcia branch from trunk.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.7 1997/09/18 22:55:56 jeremy Exp $
d41 2
a42 2
AS		= ${CC} -x assembler-with-cpp -traditional-cpp -c -m68040 -I${.CURDIR}
LD?		= ld
d47 1
a47 1
AR?		= ar
@


1.5
log
@Preprocess .s files before assembling them.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.4 1994/10/26 07:48:46 cgd Exp $
d41 1
a41 1
AS		= cc -x assembler-with-cpp -traditional-cpp -c -m68040
@


1.4
log
@new RCS ID format.
@
text
@d1 1
a1 1
#	$NetBSD$
d41 1
a41 1
AS		= as -m68040
@


1.3
log
@Add copyright; clean up a bit.
@
text
@d1 2
@


1.3.2.1
log
@file Makefile was added on branch netbsd-1-0 on 1994-07-07 07:29:08 +0000
@
text
@d1 336
@


1.3.2.2
log
@Add copyright; clean up a bit.
@
text
@a0 336
#	MOTOROLA MICROPROCESSOR & MEMORY TECHNOLOGY GROUP
#	M68000 Hi-Performance Microprocessor Division
#	M68040 Software Package 
#
#	M68040 Software Package Copyright (c) 1993, 1994 Motorola Inc.
#	All rights reserved.
#
#	THE SOFTWARE is provided on an "AS IS" basis and without warranty.
#	To the maximum extent permitted by applicable law,
#	MOTOROLA DISCLAIMS ALL WARRANTIES WHETHER EXPRESS OR IMPLIED,
#	INCLUDING IMPLIED WARRANTIES OF MERCHANTABILITY OR FITNESS FOR A
#	PARTICULAR PURPOSE and any warranty against infringement with
#	regard to the SOFTWARE (INCLUDING ANY MODIFIED VERSIONS THEREOF)
#	and any accompanying written materials. 
#
#	To the maximum extent permitted by applicable law,
#	IN NO EVENT SHALL MOTOROLA BE LIABLE FOR ANY DAMAGES WHATSOEVER
#	(INCLUDING WITHOUT LIMITATION, DAMAGES FOR LOSS OF BUSINESS
#	PROFITS, BUSINESS INTERRUPTION, LOSS OF BUSINESS INFORMATION, OR
#	OTHER PECUNIARY LOSS) ARISING OF THE USE OR INABILITY TO USE THE
#	SOFTWARE.  Motorola assumes no responsibility for the maintenance
#	and support of the SOFTWARE.  
#
#	You are hereby granted a copyright license to use, modify, and
#	distribute the SOFTWARE so long as this entire notice is retained
#	without alteration in any modified and/or redistributed versions,
#	and that such modified versions are clearly identified as such.
#	No licenses are granted by implication, estoppel or otherwise
#	under any patents or trademarks of Motorola, Inc.

#
#	Makefile 3.3 3/27/91
#
#	Makefile for 68040 Floating Point Software Package
#

TARGET = fpsp

AS		= as -m68040
LD		= ld

#
# For the Library Version:
#
AR		= ar
LIB_FILTER 	= sed 's/fpsp.defs/l_fpsp.defs/'
LIB_TARGET	= lib$(TARGET).a
#
# SYS selects the template set to use
#	templates are supplied for R3V6, CI5 and GEN(generic)
# PREFIX is a string that begins a temporary label in the assembler
#	R3V6 uses 'L%', CI5 likes '.L'
#
#SYS		= R3V6
#PREFIX		= L%%
#
#SYS		= CI5
#PREFIX		= .L
#
#SYS		= GEN
#PREFIX		= L_
#
SYS		= GCC
PREFIX		= L_

.SUFFIXES:	.o .s .sa .defs .h

.sa.s:
	sh ${.CURDIR}/asm2gas ${.IMPSRC} >${.TARGET}
.h.defs:
	sh ${.CURDIR}/asm2gas ${.IMPSRC} >${.TARGET}
.s.o:
	$(AS) -o ${.TARGET} ${.IMPSRC}

H_FILES = \
	fpsp.defs \
	l_fpsp.defs

O_FILES = \
	copyright.o \
	netbsd.o \
	bindec.o \
	binstr.o \
	decbin.o \
	do_func.o \
	gen_except.o \
	get_op.o \
	kernel_ex.o \
	res_func.o \
	round.o \
	sacos.o \
	sasin.o \
	satan.o \
	satanh.o \
	scosh.o \
	setox.o \
	sgetem.o \
	sint.o \
	slogn.o \
	slog2.o \
	smovecr.o \
	srem_mod.o \
	scale.o \
	ssin.o \
	ssinh.o \
	stan.o \
	stanh.o \
	sto_res.o \
	stwotox.o \
	tbldo.o \
	util.o \
	x_bsun.o \
	x_fline.o \
	x_operr.o \
	x_ovfl.o \
	x_snan.o \
	x_store.o \
	x_unfl.o \
	x_unimp.o \
	x_unsupp.o \
	bugfix.o

LIB_O_FILES	= \
	l_copyright.o \
	l_entry.o \
	l_do_func.o \
	l_round.o \
	l_sacos.o \
	l_sasin.o \
	l_satan.o \
	l_satanh.o \
	l_scale.o \
	l_scosh.o \
	l_setox.o \
	l_sgetem.o \
	l_sint.o \
	l_slog2.o \
	l_slogn.o \
	l_srem_mod.o \
	l_ssin.o \
	l_ssinh.o \
	l_stan.o \
	l_stanh.o \
	l_stwotox.o \
	l_support.o

S_FILES = \
	netbsd.s \
	bindec.s \
	binstr.s \
	decbin.s \
	do_func.s \
	get_op.s \
	gen_except.s \
	kernel_ex.s \
	res_func.s \
	round.s \
	sacos.s \
	sasin.s \
	satan.s \
	satanh.s \
	scosh.s \
	setox.s \
	sgetem.s \
	sint.s \
	slogn.s \
	slog2.s \
	smovecr.s \
	srem_mod.s \
	scale.s \
	ssin.s \
	ssinh.s \
	stan.s \
	stanh.s \
	sto_res.s \
	stwotox.s \
	tbldo.s \
	util.s \
	x_bsun.s \
	x_fline.s \
	x_operr.s \
	x_ovfl.s \
	x_snan.s \
	x_store.s \
	x_unfl.s \
	x_unimp.s \
	x_unsupp.s \
	bugfix.s

LIB_S_FILES	= \
	l_entry.sa l_entry.s \
	l_do_func.s \
	l_round.s \
	l_sacos.s \
	l_sasin.s \
	l_satan.s \
	l_satanh.s \
	l_scale.s \
	l_scosh.s \
	l_setox.s \
	l_sgetem.s \
	l_sint.s \
	l_slog2.s \
	l_slogn.s \
	l_srem_mod.s \
	l_ssin.s \
	l_ssinh.s \
	l_stan.s \
	l_stanh.s \
	l_stwotox.s \
	l_support.s

#
#	Build the target object.  The linkfile is created on the fly.
#	Change the SEG directives to suit your system.
#
$(TARGET).o:	$(O_FILES)
	$(LD) -r -o $(TARGET).o $(O_FILES)

#
#	Just about every file needs fpsp.h so:
#
$(O_FILES):	fpsp.defs

#
#-----------------------------------------------------------------------
#
#	For making a library version of the FPSP:
#
library:	$(LIB_TARGET)

$(LIB_TARGET):	$(LIB_O_FILES)
	rm -f $(LIB_TARGET)
	$(AR) crv $(LIB_TARGET) $(LIB_O_FILES)

$(LIB_O_FILES): l_fpsp.defs

#
# The entry points to the library version are created here
# by using two template files an awk script and a list of
# the entry routines for each function.
#
l_entry.sa: L_ENTRY.AWK L_LIST MONADIC.$(SYS) DYADIC.$(SYS) l_fpsp.h
	awk -f L_ENTRY.AWK SYS=$(SYS) PREFIX=$(PREFIX) - <L_LIST|sh>l_entry.sa

#
# Do_func.sa and round.sa need special editing to remove references that
# aren't needed in the library version.  Beware that changes in
# the source code may cause this editing to break....
#
l_do_func.s: do_func.s 
	$(LIB_FILTER) ${.ALLSRC} >${.TARGET}
	echo '/global.*do_func/,/^	rts/d' >.SCRIPT
	echo 'g/smovcr/d' >>.SCRIPT
	echo 'g/tblpre/d' >>.SCRIPT
	echo 'w' >>.SCRIPT
	echo 'q' >>.SCRIPT
	ed - ${.TARGET} <.SCRIPT
	rm .SCRIPT

l_round.s: round.s 
	$(LIB_FILTER) ${.ALLSRC} >${.TARGET}
	echo '/^not_E3:/-6,/^not_E3:/d' >.SCRIPT
	echo 'w' >>.SCRIPT
	echo 'q' >>.SCRIPT
	ed - ${.TARGET} <.SCRIPT
	rm .SCRIPT

l_copyright.s: copyright.s 
	$(LIB_FILTER) ${.ALLSRC} >${.TARGET}

l_sacos.s: sacos.s 
	$(LIB_FILTER) ${.ALLSRC} >${.TARGET}

l_sasin.s: sasin.s 
	$(LIB_FILTER) ${.ALLSRC} >${.TARGET}

l_satan.s: satan.s 
	$(LIB_FILTER) ${.ALLSRC} >${.TARGET}

l_satanh.s: satanh.s 
	$(LIB_FILTER) ${.ALLSRC} >${.TARGET}

l_scale.s: scale.s 
	$(LIB_FILTER) ${.ALLSRC} >${.TARGET}

l_scosh.s: scosh.s 
	$(LIB_FILTER) ${.ALLSRC} >${.TARGET}

l_setox.s: setox.s 
	$(LIB_FILTER) ${.ALLSRC} >${.TARGET}

l_sgetem.s: sgetem.s 
	$(LIB_FILTER) ${.ALLSRC} >${.TARGET}

l_sint.s: sint.s 
	$(LIB_FILTER) ${.ALLSRC} >${.TARGET}

l_slog2.s: slog2.s 
	$(LIB_FILTER) ${.ALLSRC} >${.TARGET}

l_slogn.s: slogn.s 
	$(LIB_FILTER) ${.ALLSRC} >${.TARGET}

l_srem_mod.s: srem_mod.s 
	$(LIB_FILTER) ${.ALLSRC} >${.TARGET}

l_ssin.s: ssin.s 
	$(LIB_FILTER) ${.ALLSRC} >${.TARGET}

l_ssinh.s: ssinh.s 
	$(LIB_FILTER) ${.ALLSRC} >${.TARGET}

l_stan.s: stan.s 
	$(LIB_FILTER) ${.ALLSRC} >${.TARGET}

l_stanh.s: stanh.s 
	$(LIB_FILTER) ${.ALLSRC} >${.TARGET}

l_stwotox.s: stwotox.s 
	$(LIB_FILTER) ${.ALLSRC} >${.TARGET}

#
#	Extract all files from SCCS directory
#
clean:
	rm -f $(H_FILES)
	rm -f $(S_FILES)
	rm -f $(O_FILES)
	rm -f $(TARGET).o
	rm -f $(LIB_S_FILES)
	rm -f $(LIB_O_FILES)
	rm -f $(LIB_TARGET)

clobber:	clean

@


1.2
log
@Port to NetBSD, with some bug fixes and minor performance tweaks.
@
text
@d69 1
a69 1
	sh ${.CURDIR}/asm2gas ${.CURDIR}/$*.sa >$*.s
d71 1
a71 1
	sh ${.CURDIR}/asm2gas ${.CURDIR}/$*.h >$*.defs
d73 1
a73 1
	$(AS) -o $*.o $*.s
d80 1
d124 1
d252 1
a252 1
	$(LIB_FILTER) do_func.s >l_do_func.s
d258 1
a258 1
	ed - l_do_func.s <.SCRIPT
d262 1
a262 1
	$(LIB_FILTER) round.s >l_round.s
d266 1
a266 1
	ed - l_round.s <.SCRIPT
d269 3
d273 1
a273 1
	$(LIB_FILTER) sacos.s >l_sacos.s
d276 1
a276 1
	$(LIB_FILTER) sasin.s >l_sasin.s
d279 1
a279 1
	$(LIB_FILTER) satan.s >l_satan.s
d282 1
a282 1
	$(LIB_FILTER) satanh.s >l_satanh.s
d285 1
a285 1
	$(LIB_FILTER) scale.s >l_scale.s
d288 1
a288 1
	$(LIB_FILTER) scosh.s >l_scosh.s
d291 1
a291 1
	$(LIB_FILTER) setox.s >l_setox.s
d294 1
a294 1
	$(LIB_FILTER) sgetem.s >l_sgetem.s
d297 1
a297 1
	$(LIB_FILTER) sint.s >l_sint.s
d300 1
a300 1
	$(LIB_FILTER) slog2.s >l_slog2.s
d303 1
a303 1
	$(LIB_FILTER) slogn.s >l_slogn.s
d306 1
a306 1
	$(LIB_FILTER) srem_mod.s >l_srem_mod.s
d309 1
a309 1
	$(LIB_FILTER) ssin.s >l_ssin.s
d312 1
a312 1
	$(LIB_FILTER) ssinh.s >l_ssinh.s
d315 1
a315 1
	$(LIB_FILTER) stan.s >l_stan.s
d318 1
a318 1
	$(LIB_FILTER) stanh.s >l_stanh.s
d321 1
a321 1
	$(LIB_FILTER) stwotox.s >l_stwotox.s
@


1.1
log
@Initial revision
@
text
@d37 1
a37 1
TARGET = FPSP
d39 2
a40 4
ASM		= ./pasm
ASMOPTS		= +p=68020/68881 +l +C +M
PLINK		= ./plink
PLINKOPTS	= dummy +q$(TARGET) +w32 +x +i +m$(TARGET).linkmap
d46 2
a47 2
LIB_FILTER 	= sed 's/fpsp.h/l_fpsp.h/'
LIB_TARGET	= libFPSP.a
d60 4
a63 1
SYS		= GEN
d66 1
a66 9
.SUFFIXES:	.s .s~ .sa .sa~ .ro .h .h~

.sa.ro:
	$(ASM) $(ASMOPTS) $*.sa
	
.sa~.ro:
	sccs get SCCS/s.$*.sa
	$(ASM) $(ASMOPTS) $*.sa
	rm -f $*.sa
d69 5
a73 1
	asm2as $*.sa >$*.s
d75 3
a77 2
.sa~.sa:
	sccs get SCCS/s.$*.sa
d79 65
a143 2
.s~.s:
	sccs get SCCS/s.$*.s
d145 2
a146 142
.h~.h:
	sccs get SCCS/s.$*.h

RO_FILES = \
	skeleton.ro \
	bindec.ro \
	binstr.ro \
	decbin.ro \
	do_func.ro \
	gen_except.ro \
	get_op.ro \
	kernel_ex.ro \
	res_func.ro \
	round.ro \
	sacos.ro \
	sasin.ro \
	satan.ro \
	satanh.ro \
	scosh.ro \
	setox.ro \
	sgetem.ro \
	sint.ro \
	slogn.ro \
	slog2.ro \
	smovecr.ro \
	srem_mod.ro \
	scale.ro \
	ssin.ro \
	ssinh.ro \
	stan.ro \
	stanh.ro \
	sto_res.ro \
	stwotox.ro \
	tbldo.ro \
	util.ro \
	x_bsun.ro \
	x_fline.ro \
	x_operr.ro \
	x_ovfl.ro \
	x_snan.ro \
	x_store.ro \
	x_unfl.ro \
	x_unimp.ro \
	x_unsupp.ro \
	bugfix.ro \
	FPSP.ro

LIB_RO_FILES	= \
	l_entry.ro \
	l_do_func.ro \
	l_round.ro \
	l_sacos.ro \
	l_sasin.ro \
	l_satan.ro \
	l_satanh.ro \
	l_scale.ro \
	l_scosh.ro \
	l_setox.ro \
	l_sgetem.ro \
	l_sint.ro \
	l_slog2.ro \
	l_slogn.ro \
	l_srem_mod.ro \
	l_ssin.ro \
	l_ssinh.ro \
	l_stan.ro \
	l_stanh.ro \
	l_stwotox.ro \
	l_support.ro

SA_FILES = \
	skeleton.sa \
	bindec.sa \
	binstr.sa \
	decbin.sa \
	do_func.sa \
	get_op.sa \
	gen_except.sa \
	kernel_ex.sa \
	res_func.sa \
	round.sa \
	sacos.sa \
	sasin.sa \
	satan.sa \
	satanh.sa \
	scosh.sa \
	setox.sa \
	sgetem.sa \
	sint.sa \
	slogn.sa \
	slog2.sa \
	smovecr.sa \
	srem_mod.sa \
	scale.sa \
	ssin.sa \
	ssinh.sa \
	stan.sa \
	stanh.sa \
	sto_res.sa \
	stwotox.sa \
	tbldo.sa \
	util.sa \
	x_bsun.sa \
	x_fline.sa \
	x_operr.sa \
	x_ovfl.sa \
	x_snan.sa \
	x_store.sa \
	x_unfl.sa \
	x_unimp.sa \
	x_unsupp.sa \
	bugfix.sa \
	FPSP.sa

LIB_SA_FILES	= \
	l_entry.sa \
	l_do_func.sa \
	l_round.sa \
	l_sacos.sa \
	l_sasin.sa \
	l_satan.sa \
	l_satanh.sa \
	l_scale.sa \
	l_scosh.sa \
	l_setox.sa \
	l_sgetem.sa \
	l_sint.sa \
	l_slog2.sa \
	l_slogn.sa \
	l_srem_mod.sa \
	l_ssin.sa \
	l_ssinh.sa \
	l_stan.sa \
	l_stanh.sa \
	l_stwotox.sa

H_FILES = \
	fpsp.h \
	l_fpsp.h

U_FILES = \
	unix.s \
d186 4
a189 4
	bugfix.s \
	fpsp.mk \
	fpsp.defs \
	l_entry.s \
d209 1
a209 2
	l_support.s \
	l_fpsp.defs
d215 2
a216 9
$(TARGET).mx:	$(RO_FILES)
	rm -f linkfile
	echo 'IDENT FPSP,2,1,68040 Floating Point Software Package'>linkfile
	echo 'SEG SEG0(G):7  $$00004000' >>linkfile
	echo 'SEG SEG1(G):8  $$000D0000' >>linkfile
	echo 'SEG SEG2(G):15 $$000E0000' >>linkfile
	echo $(RO_FILES) | tr ' ' '\012' | sed 's/^/INPUT /' >>linkfile
	echo 'END' >>linkfile
	$(PLINK) $(PLINKOPTS) <linkfile
d221 1
a221 10
$(RO_FILES):	fpsp.h

fpsp.defs:	fpsp.h
	asm2as fpsp.h >fpsp.defs

unix.s:
	sccs get unix.s

fpsp.mk:
	sccs get fpsp.mk
d230 1
a230 1
$(LIB_TARGET):	$(LIB_RO_FILES)
d232 1
a232 1
	$(AR) crv $(LIB_TARGET) $(LIB_RO_FILES)
d234 1
a234 4
$(LIB_RO_FILES): l_fpsp.h

l_fpsp.defs:	l_fpsp.h
	asm2as l_fpsp.h >l_fpsp.defs
d249 3
a251 3
l_do_func.sa: do_func.sa 
	$(LIB_FILTER) do_func.sa >l_do_func.sa
	echo '/xdef.*do_func/,/^	rts/d' >.SCRIPT
d256 1
a256 1
	ed - l_do_func.sa <.SCRIPT
d259 2
a260 2
l_round.sa: round.sa 
	$(LIB_FILTER) round.sa >l_round.sa
d264 1
a264 1
	ed - l_round.sa <.SCRIPT
d267 2
a268 2
l_sacos.sa: sacos.sa 
	$(LIB_FILTER) sacos.sa >l_sacos.sa
d270 2
a271 2
l_sasin.sa: sasin.sa 
	$(LIB_FILTER) sasin.sa >l_sasin.sa
d273 2
a274 2
l_satan.sa: satan.sa 
	$(LIB_FILTER) satan.sa >l_satan.sa
d276 2
a277 2
l_satanh.sa: satanh.sa 
	$(LIB_FILTER) satanh.sa >l_satanh.sa
d279 2
a280 2
l_scale.sa: scale.sa 
	$(LIB_FILTER) scale.sa >l_scale.sa
d282 2
a283 2
l_scosh.sa: scosh.sa 
	$(LIB_FILTER) scosh.sa >l_scosh.sa
d285 2
a286 2
l_setox.sa: setox.sa 
	$(LIB_FILTER) setox.sa >l_setox.sa
d288 2
a289 2
l_sgetem.sa: sgetem.sa 
	$(LIB_FILTER) sgetem.sa >l_sgetem.sa
d291 2
a292 2
l_sint.sa: sint.sa 
	$(LIB_FILTER) sint.sa >l_sint.sa
d294 2
a295 2
l_slog2.sa: slog2.sa 
	$(LIB_FILTER) slog2.sa >l_slog2.sa
d297 2
a298 2
l_slogn.sa: slogn.sa 
	$(LIB_FILTER) slogn.sa >l_slogn.sa
d300 2
a301 2
l_srem_mod.sa: srem_mod.sa 
	$(LIB_FILTER) srem_mod.sa >l_srem_mod.sa
d303 2
a304 2
l_ssin.sa: ssin.sa 
	$(LIB_FILTER) ssin.sa >l_ssin.sa
d306 2
a307 2
l_ssinh.sa: ssinh.sa 
	$(LIB_FILTER) ssinh.sa >l_ssinh.sa
d309 2
a310 2
l_stan.sa: stan.sa 
	$(LIB_FILTER) stan.sa >l_stan.sa
d312 2
a313 2
l_stanh.sa: stanh.sa 
	$(LIB_FILTER) stanh.sa >l_stanh.sa
d315 2
a316 2
l_stwotox.sa: stwotox.sa 
	$(LIB_FILTER) stwotox.sa >l_stwotox.sa
a320 4
getall:	$(SA_FILES) $(H_FILES)

convert:	$(U_FILES)

d322 7
a328 7
	rm -f $(RO_FILES)
	rm -f $(U_FILES)
	rm -f *.ls linkfile $(TARGET).linkmap
	rm -f FPSP.mx
	rm -f $(LIB_TARGET) .SCRIPT
	rm -f $(LIB_RO_FILES)
	rm -f $(LIB_SA_FILES)
@


1.1.1.1
log
@Import the Motorola 68040 Floating Point Software Package.
@
text
@@
