head	1.52;
access;
symbols
	netbsd-11-0-RC4:1.49
	netbsd-11-0-RC3:1.49
	netbsd-11-0-RC2:1.49
	netbsd-11-0-RC1:1.49
	perseant-exfatfs-base-20250801:1.49
	netbsd-11:1.49.0.8
	netbsd-11-base:1.49
	netbsd-10-1-RELEASE:1.48
	perseant-exfatfs-base-20240630:1.49
	perseant-exfatfs:1.49.0.6
	perseant-exfatfs-base:1.49
	netbsd-8-3-RELEASE:1.44.10.1
	netbsd-9-4-RELEASE:1.46
	netbsd-10-0-RELEASE:1.48
	netbsd-10-0-RC6:1.48
	netbsd-10-0-RC5:1.48
	netbsd-10-0-RC4:1.48
	netbsd-10-0-RC3:1.48
	netbsd-10-0-RC2:1.48
	thorpej-ifq:1.49.0.4
	thorpej-ifq-base:1.49
	thorpej-altq-separation:1.49.0.2
	thorpej-altq-separation-base:1.49
	netbsd-10-0-RC1:1.48
	netbsd-10:1.48.0.4
	netbsd-10-base:1.48
	bouyer-sunxi-drm:1.48.0.2
	bouyer-sunxi-drm-base:1.48
	netbsd-9-3-RELEASE:1.46
	thorpej-i2c-spi-conf2:1.46.0.26
	thorpej-i2c-spi-conf2-base:1.46
	thorpej-futex2:1.46.0.24
	thorpej-futex2-base:1.46
	thorpej-cfargs2:1.46.0.22
	thorpej-cfargs2-base:1.46
	cjep_sun2x-base1:1.46
	cjep_sun2x:1.46.0.20
	cjep_sun2x-base:1.46
	cjep_staticlib_x-base1:1.46
	netbsd-9-2-RELEASE:1.46
	cjep_staticlib_x:1.46.0.18
	cjep_staticlib_x-base:1.46
	thorpej-i2c-spi-conf:1.46.0.16
	thorpej-i2c-spi-conf-base:1.46
	thorpej-cfargs:1.46.0.14
	thorpej-cfargs-base:1.46
	thorpej-futex:1.46.0.12
	thorpej-futex-base:1.46
	netbsd-9-1-RELEASE:1.46
	bouyer-xenpvh-base2:1.46
	phil-wifi-20200421:1.46
	bouyer-xenpvh-base1:1.46
	phil-wifi-20200411:1.46
	bouyer-xenpvh:1.46.0.10
	bouyer-xenpvh-base:1.46
	is-mlppp:1.46.0.8
	is-mlppp-base:1.46
	phil-wifi-20200406:1.46
	netbsd-8-2-RELEASE:1.44.10.1
	ad-namecache-base3:1.46
	netbsd-9-0-RELEASE:1.46
	netbsd-9-0-RC2:1.46
	ad-namecache-base2:1.46
	ad-namecache-base1:1.46
	ad-namecache:1.46.0.6
	ad-namecache-base:1.46
	netbsd-9-0-RC1:1.46
	phil-wifi-20191119:1.46
	netbsd-9:1.46.0.4
	netbsd-9-base:1.46
	phil-wifi-20190609:1.46
	netbsd-8-1-RELEASE:1.44.10.1
	netbsd-8-1-RC1:1.44.10.1
	isaki-audio2:1.46.0.2
	isaki-audio2-base:1.46
	pgoyette-compat-merge-20190127:1.44.16.2
	pgoyette-compat-20190127:1.46
	pgoyette-compat-20190118:1.46
	pgoyette-compat-1226:1.46
	pgoyette-compat-1126:1.46
	pgoyette-compat-1020:1.46
	pgoyette-compat-0930:1.46
	pgoyette-compat-0906:1.45
	netbsd-7-2-RELEASE:1.42
	pgoyette-compat-0728:1.45
	netbsd-8-0-RELEASE:1.44.10.1
	phil-wifi:1.45.0.2
	phil-wifi-base:1.45
	pgoyette-compat-0625:1.45
	netbsd-8-0-RC2:1.44.10.1
	pgoyette-compat-0521:1.44
	pgoyette-compat-0502:1.44
	pgoyette-compat-0422:1.44
	netbsd-8-0-RC1:1.44
	pgoyette-compat-0415:1.44
	pgoyette-compat-0407:1.44
	pgoyette-compat-0330:1.44
	pgoyette-compat-0322:1.44
	pgoyette-compat-0315:1.44
	netbsd-7-1-2-RELEASE:1.42
	pgoyette-compat:1.44.0.16
	pgoyette-compat-base:1.44
	netbsd-7-1-1-RELEASE:1.42
	tls-maxphys-base-20171202:1.44
	matt-nb8-mediatek:1.44.0.14
	matt-nb8-mediatek-base:1.44
	nick-nhusb-base-20170825:1.44
	perseant-stdc-iso10646:1.44.0.12
	perseant-stdc-iso10646-base:1.44
	netbsd-8:1.44.0.10
	netbsd-8-base:1.44
	prg-localcount2-base3:1.44
	prg-localcount2-base2:1.44
	prg-localcount2-base1:1.44
	prg-localcount2:1.44.0.8
	prg-localcount2-base:1.44
	pgoyette-localcount-20170426:1.44
	bouyer-socketcan-base1:1.44
	jdolecek-ncq:1.44.0.6
	jdolecek-ncq-base:1.44
	pgoyette-localcount-20170320:1.44
	netbsd-7-1:1.42.0.20
	netbsd-7-1-RELEASE:1.42
	netbsd-7-1-RC2:1.42
	nick-nhusb-base-20170204:1.44
	netbsd-7-nhusb-base-20170116:1.42
	bouyer-socketcan:1.44.0.4
	bouyer-socketcan-base:1.44
	pgoyette-localcount-20170107:1.44
	netbsd-7-1-RC1:1.42
	nick-nhusb-base-20161204:1.44
	pgoyette-localcount-20161104:1.44
	netbsd-7-0-2-RELEASE:1.42
	nick-nhusb-base-20161004:1.44
	localcount-20160914:1.44
	netbsd-7-nhusb:1.42.0.18
	netbsd-7-nhusb-base:1.42
	pgoyette-localcount-20160806:1.44
	pgoyette-localcount-20160726:1.44
	pgoyette-localcount:1.44.0.2
	pgoyette-localcount-base:1.44
	nick-nhusb-base-20160907:1.44
	nick-nhusb-base-20160529:1.44
	netbsd-7-0-1-RELEASE:1.42
	nick-nhusb-base-20160422:1.44
	nick-nhusb-base-20160319:1.44
	nick-nhusb-base-20151226:1.44
	netbsd-7-0:1.42.0.16
	netbsd-7-0-RELEASE:1.42
	nick-nhusb-base-20150921:1.43
	netbsd-7-0-RC3:1.42
	netbsd-7-0-RC2:1.42
	netbsd-7-0-RC1:1.42
	nick-nhusb-base-20150606:1.42
	nick-nhusb-base-20150406:1.42
	nick-nhusb:1.42.0.14
	nick-nhusb-base:1.42
	netbsd-5-2-3-RELEASE:1.40
	netbsd-5-1-5-RELEASE:1.40
	netbsd-6-0-6-RELEASE:1.40
	netbsd-6-1-5-RELEASE:1.40
	netbsd-7:1.42.0.12
	netbsd-7-base:1.42
	yamt-pagecache-base9:1.42
	yamt-pagecache-tag8:1.40.110.2
	netbsd-6-1-4-RELEASE:1.40
	netbsd-6-0-5-RELEASE:1.40
	tls-earlyentropy:1.42.0.10
	tls-earlyentropy-base:1.42
	riastradh-xf86-video-intel-2-7-1-pre-2-21-15:1.42
	riastradh-drm2-base3:1.42
	netbsd-6-1-3-RELEASE:1.40
	netbsd-6-0-4-RELEASE:1.40
	netbsd-5-2-2-RELEASE:1.40
	netbsd-5-1-4-RELEASE:1.40
	netbsd-6-1-2-RELEASE:1.40
	netbsd-6-0-3-RELEASE:1.40
	netbsd-5-2-1-RELEASE:1.40
	netbsd-5-1-3-RELEASE:1.40
	rmind-smpnet-nbase:1.42
	netbsd-6-1-1-RELEASE:1.40
	riastradh-drm2-base2:1.42
	riastradh-drm2-base1:1.42
	riastradh-drm2:1.42.0.8
	riastradh-drm2-base:1.42
	rmind-smpnet:1.42.0.2
	rmind-smpnet-base:1.42
	netbsd-6-1:1.40.0.124
	netbsd-6-0-2-RELEASE:1.40
	netbsd-6-1-RELEASE:1.40
	khorben-n900:1.42.0.6
	netbsd-6-1-RC4:1.40
	netbsd-6-1-RC3:1.40
	agc-symver:1.42.0.4
	agc-symver-base:1.42
	netbsd-6-1-RC2:1.40
	netbsd-6-1-RC1:1.40
	yamt-pagecache-base8:1.42
	netbsd-5-2:1.40.0.122
	netbsd-6-0-1-RELEASE:1.40
	yamt-pagecache-base7:1.42
	netbsd-5-2-RELEASE:1.40
	netbsd-5-2-RC1:1.40
	matt-nb6-plus-nbase:1.40
	yamt-pagecache-base6:1.41
	netbsd-6-0:1.40.0.120
	netbsd-6-0-RELEASE:1.40
	netbsd-6-0-RC2:1.40
	tls-maxphys:1.41.0.2
	tls-maxphys-base:1.42
	matt-nb6-plus:1.40.0.118
	matt-nb6-plus-base:1.40
	netbsd-6-0-RC1:1.40
	jmcneill-usbmp-base10:1.40
	yamt-pagecache-base5:1.40
	jmcneill-usbmp-base9:1.40
	yamt-pagecache-base4:1.40
	jmcneill-usbmp-base8:1.40
	jmcneill-usbmp-base7:1.40
	jmcneill-usbmp-base6:1.40
	jmcneill-usbmp-base5:1.40
	jmcneill-usbmp-base4:1.40
	jmcneill-usbmp-base3:1.40
	jmcneill-usbmp-pre-base2:1.40
	jmcneill-usbmp-base2:1.40
	netbsd-6:1.40.0.116
	netbsd-6-base:1.40
	netbsd-5-1-2-RELEASE:1.40
	netbsd-5-1-1-RELEASE:1.40
	jmcneill-usbmp:1.40.0.114
	jmcneill-usbmp-base:1.40
	jmcneill-audiomp3:1.40.0.112
	jmcneill-audiomp3-base:1.40
	yamt-pagecache-base3:1.40
	yamt-pagecache-base2:1.40
	yamt-pagecache:1.40.0.110
	yamt-pagecache-base:1.40
	rmind-uvmplock-nbase:1.40
	cherry-xenmp:1.40.0.108
	cherry-xenmp-base:1.40
	bouyer-quota2-nbase:1.40
	bouyer-quota2:1.40.0.106
	bouyer-quota2-base:1.40
	jruoho-x86intr:1.40.0.104
	jruoho-x86intr-base:1.40
	matt-mips64-premerge-20101231:1.40
	matt-nb5-mips64-premerge-20101231:1.40.94.1
	matt-nb5-pq3:1.40.0.102
	matt-nb5-pq3-base:1.40
	netbsd-5-1:1.40.0.100
	netbsd-5-1-RELEASE:1.40
	uebayasi-xip-base4:1.40
	uebayasi-xip-base3:1.40
	yamt-nfs-mp-base11:1.40
	netbsd-5-1-RC4:1.40
	matt-nb5-mips64-k15:1.40.94.1
	uebayasi-xip-base2:1.40
	yamt-nfs-mp-base10:1.40
	netbsd-5-1-RC3:1.40
	netbsd-5-1-RC2:1.40
	uebayasi-xip-base1:1.40
	netbsd-5-1-RC1:1.40
	rmind-uvmplock:1.40.0.98
	rmind-uvmplock-base:1.40
	yamt-nfs-mp-base9:1.40
	uebayasi-xip:1.40.0.96
	uebayasi-xip-base:1.40
	netbsd-5-0-2-RELEASE:1.40
	matt-nb5-mips64-premerge-20091211:1.40.94.1
	matt-premerge-20091211:1.40
	yamt-nfs-mp-base8:1.40
	matt-nb5-mips64-u2-k2-k4-k7-k8-k9:1.40.94.1
	matt-nb4-mips64-k7-u2a-k9b:1.40.94.1
	matt-nb5-mips64-u1-k1-k5:1.40.94.1
	yamt-nfs-mp-base7:1.40
	matt-nb5-mips64:1.40.0.94
	netbsd-5-0-1-RELEASE:1.40
	jymxensuspend-base:1.40
	yamt-nfs-mp-base6:1.40
	yamt-nfs-mp-base5:1.40
	yamt-nfs-mp-base4:1.40
	jym-xensuspend-nbase:1.40
	yamt-nfs-mp-base3:1.40
	nick-hppapmap-base4:1.40
	nick-hppapmap-base3:1.40
	netbsd-5-0:1.40.0.92
	netbsd-5-0-RELEASE:1.40
	netbsd-5-0-RC4:1.40
	netbsd-5-0-RC3:1.40
	nick-hppapmap-base2:1.40
	netbsd-5-0-RC2:1.40
	jym-xensuspend:1.40.0.90
	jym-xensuspend-base:1.40
	netbsd-5-0-RC1:1.40
	haad-dm-base2:1.40
	haad-nbase2:1.40
	ad-audiomp2:1.40.0.88
	ad-audiomp2-base:1.40
	netbsd-5:1.40.0.86
	netbsd-5-base:1.40
	nick-hppapmap:1.40.0.84
	nick-hppapmap-base:1.40
	matt-mips64-base2:1.40
	matt-mips64:1.40.0.82
	haad-dm-base1:1.40
	wrstuden-revivesa-base-4:1.40
	netbsd-4-0-1-RELEASE:1.40
	wrstuden-revivesa-base-3:1.40
	wrstuden-revivesa-base-2:1.40
	wrstuden-fixsa-newbase:1.40
	nick-csl-alignment-base5:1.40
	haad-dm:1.40.0.80
	haad-dm-base:1.40
	wrstuden-revivesa-base-1:1.40
	simonb-wapbl-nbase:1.40
	yamt-pf42-base4:1.40
	simonb-wapbl:1.40.0.78
	simonb-wapbl-base:1.40
	yamt-pf42-base3:1.40
	hpcarm-cleanup-nbase:1.40
	yamt-pf42-baseX:1.40
	yamt-pf42-base2:1.40
	yamt-nfs-mp-base2:1.40
	wrstuden-revivesa:1.40.0.76
	wrstuden-revivesa-base:1.40
	yamt-nfs-mp:1.40.0.74
	yamt-nfs-mp-base:1.40
	yamt-pf42:1.40.0.72
	yamt-pf42-base:1.40
	ad-socklock-base1:1.40
	yamt-lazymbuf-base15:1.40
	yamt-lazymbuf-base14:1.40
	keiichi-mipv6-nbase:1.40
	mjf-devfs2:1.40.0.70
	mjf-devfs2-base:1.40
	nick-net80211-sync:1.40.0.68
	nick-net80211-sync-base:1.40
	keiichi-mipv6:1.40.0.66
	keiichi-mipv6-base:1.40
	bouyer-xeni386-merge1:1.40
	matt-armv6-prevmlocking:1.40
	wrstuden-fixsa-base-1:1.40
	vmlocking2-base3:1.40
	netbsd-4-0:1.40.0.64
	netbsd-4-0-RELEASE:1.40
	bouyer-xeni386-nbase:1.40
	yamt-kmem-base3:1.40
	cube-autoconf:1.40.0.62
	cube-autoconf-base:1.40
	yamt-kmem-base2:1.40
	bouyer-xeni386:1.40.0.60
	bouyer-xeni386-base:1.40
	yamt-kmem:1.40.0.58
	yamt-kmem-base:1.40
	vmlocking2-base2:1.40
	reinoud-bufcleanup-nbase:1.40
	vmlocking2:1.40.0.56
	vmlocking2-base1:1.40
	netbsd-4-0-RC5:1.40
	matt-nb4-arm:1.40.0.54
	matt-nb4-arm-base:1.40
	matt-armv6-nbase:1.40
	jmcneill-base:1.40
	netbsd-4-0-RC4:1.40
	mjf-devfs:1.40.0.52
	mjf-devfs-base:1.40
	bouyer-xenamd64-base2:1.40
	vmlocking-nbase:1.40
	yamt-x86pmap-base4:1.40
	bouyer-xenamd64:1.40.0.50
	bouyer-xenamd64-base:1.40
	netbsd-4-0-RC3:1.40
	yamt-x86pmap-base3:1.40
	yamt-x86pmap-base2:1.40
	netbsd-4-0-RC2:1.40
	yamt-x86pmap:1.40.0.48
	yamt-x86pmap-base:1.40
	netbsd-4-0-RC1:1.40
	matt-armv6:1.40.0.46
	matt-armv6-base:1.40
	matt-mips64-base:1.40
	jmcneill-pm:1.40.0.44
	jmcneill-pm-base:1.40
	hpcarm-cleanup:1.40.0.42
	hpcarm-cleanup-base:1.40
	nick-csl-alignment:1.40.0.40
	nick-csl-alignment-base:1.40
	netbsd-3-1-1-RELEASE:1.38
	netbsd-3-0-3-RELEASE:1.38
	yamt-idlelwp-base8:1.40
	wrstuden-fixsa:1.40.0.38
	wrstuden-fixsa-base:1.40
	thorpej-atomic:1.40.0.36
	thorpej-atomic-base:1.40
	reinoud-bufcleanup:1.40.0.34
	reinoud-bufcleanup-base:1.40
	mjf-ufs-trans:1.40.0.32
	mjf-ufs-trans-base:1.40
	vmlocking:1.40.0.30
	vmlocking-base:1.40
	ad-audiomp:1.40.0.28
	ad-audiomp-base:1.40
	yamt-idlelwp:1.40.0.26
	post-newlock2-merge:1.40
	newlock2-nbase:1.40
	yamt-splraiseipl-base5:1.40
	yamt-splraiseipl-base4:1.40
	yamt-splraiseipl-base3:1.40
	abandoned-netbsd-4-base:1.40
	abandoned-netbsd-4:1.40.0.18
	netbsd-3-1:1.38.0.14
	netbsd-3-1-RELEASE:1.38
	netbsd-3-0-2-RELEASE:1.38
	yamt-splraiseipl-base2:1.40
	netbsd-3-1-RC4:1.38
	yamt-splraiseipl:1.40.0.22
	yamt-splraiseipl-base:1.40
	netbsd-3-1-RC3:1.38
	yamt-pdpolicy-base9:1.40
	newlock2:1.40.0.20
	newlock2-base:1.40
	yamt-pdpolicy-base8:1.40
	netbsd-3-1-RC2:1.38
	netbsd-3-1-RC1:1.38
	yamt-pdpolicy-base7:1.40
	netbsd-4:1.40.0.24
	netbsd-4-base:1.40
	yamt-pdpolicy-base6:1.40
	chap-midi-nbase:1.40
	netbsd-3-0-1-RELEASE:1.38
	gdamore-uart:1.40.0.16
	gdamore-uart-base:1.40
	simonb-timcounters-final:1.40
	yamt-pdpolicy-base5:1.40
	chap-midi:1.40.0.14
	chap-midi-base:1.40
	yamt-pdpolicy-base4:1.40
	yamt-pdpolicy-base3:1.40
	peter-altq-base:1.40
	peter-altq:1.40.0.12
	yamt-pdpolicy-base2:1.40
	elad-kernelauth-base:1.40
	elad-kernelauth:1.40.0.10
	yamt-pdpolicy:1.40.0.8
	yamt-pdpolicy-base:1.40
	yamt-uio_vmspace-base5:1.40
	simonb-timecounters:1.40.0.6
	simonb-timecounters-base:1.40
	rpaulo-netinet-merge-pcb:1.40.0.4
	rpaulo-netinet-merge-pcb-base:1.40
	yamt-uio_vmspace:1.40.0.2
	netbsd-3-0:1.38.0.12
	netbsd-3-0-RELEASE:1.38
	netbsd-3-0-RC6:1.38
	yamt-readahead-base3:1.38
	netbsd-3-0-RC5:1.38
	netbsd-3-0-RC4:1.38
	netbsd-3-0-RC3:1.38
	yamt-readahead-base2:1.38
	netbsd-3-0-RC2:1.38
	yamt-readahead-pervnode:1.38
	yamt-readahead-perfile:1.38
	yamt-readahead:1.38.0.10
	yamt-readahead-base:1.38
	netbsd-3-0-RC1:1.38
	yamt-vop-base3:1.38
	netbsd-2-0-3-RELEASE:1.37
	netbsd-2-1:1.37.0.14
	yamt-vop-base2:1.38
	thorpej-vnode-attr:1.38.0.8
	thorpej-vnode-attr-base:1.38
	netbsd-2-1-RELEASE:1.37
	yamt-vop:1.38.0.6
	yamt-vop-base:1.38
	netbsd-2-1-RC6:1.37
	netbsd-2-1-RC5:1.37
	netbsd-2-1-RC4:1.37
	netbsd-2-1-RC3:1.37
	netbsd-2-1-RC2:1.37
	netbsd-2-1-RC1:1.37
	yamt-lazymbuf:1.38.0.4
	yamt-km-base4:1.38
	netbsd-2-0-2-RELEASE:1.37
	yamt-km-base3:1.38
	netbsd-3:1.38.0.2
	netbsd-3-base:1.38
	yamt-km-base2:1.37
	yamt-km:1.37.0.10
	yamt-km-base:1.37
	kent-audio2:1.37.0.8
	kent-audio2-base:1.38
	netbsd-2-0-1-RELEASE:1.37
	kent-audio1-beforemerge:1.37
	netbsd-2:1.37.0.6
	netbsd-2-base:1.37
	kent-audio1:1.37.0.4
	kent-audio1-base:1.37
	netbsd-2-0-RELEASE:1.37
	netbsd-2-0-RC5:1.37
	netbsd-2-0-RC4:1.37
	netbsd-2-0-RC3:1.37
	netbsd-2-0-RC2:1.37
	netbsd-2-0-RC1:1.37
	netbsd-2-0:1.37.0.2
	netbsd-2-0-base:1.37
	netbsd-1-6-PATCH002-RELEASE:1.35
	netbsd-1-6-PATCH002:1.35
	netbsd-1-6-PATCH002-RC4:1.35
	netbsd-1-6-PATCH002-RC3:1.35
	netbsd-1-6-PATCH002-RC2:1.35
	netbsd-1-6-PATCH002-RC1:1.35
	ktrace-lwp:1.36.0.6
	ktrace-lwp-base:1.38
	netbsd-1-6-PATCH001:1.35
	netbsd-1-6-PATCH001-RELEASE:1.35
	netbsd-1-6-PATCH001-RC3:1.35
	netbsd-1-6-PATCH001-RC2:1.35
	netbsd-1-6-PATCH001-RC1:1.35
	nathanw_sa_end:1.34.2.2
	nathanw_sa_before_merge:1.36
	fvdl_fs64_base:1.36
	gmcgarry_ctxsw:1.36.0.4
	gmcgarry_ctxsw_base:1.36
	gmcgarry_ucred:1.36.0.2
	gmcgarry_ucred_base:1.36
	nathanw_sa_base:1.36
	kqueue-aftermerge:1.35
	kqueue-beforemerge:1.35
	netbsd-1-6-RELEASE:1.35
	netbsd-1-6-RC3:1.35
	netbsd-1-6-RC2:1.35
	netbsd-1-6-RC1:1.35
	netbsd-1-6:1.35.0.10
	netbsd-1-6-base:1.35
	gehenna-devsw:1.35.0.8
	gehenna-devsw-base:1.35
	netbsd-1-5-PATCH003:1.33
	eeh-devprop:1.35.0.6
	eeh-devprop-base:1.35
	newlock:1.35.0.4
	newlock-base:1.35
	ifpoll-base:1.35
	thorpej-mips-cache:1.34.0.8
	thorpej-mips-cache-base:1.34
	thorpej-devvp-base3:1.34
	thorpej-devvp-base2:1.34
	post-chs-ubcperf:1.34
	pre-chs-ubcperf:1.34
	thorpej-devvp:1.34.0.6
	thorpej-devvp-base:1.34
	netbsd-1-5-PATCH002:1.33
	kqueue:1.34.0.4
	kqueue-base:1.35
	netbsd-1-5-PATCH001:1.33
	thorpej_scsipi_beforemerge:1.34
	nathanw_sa:1.34.0.2
	thorpej_scsipi_nbase:1.34
	netbsd-1-5-RELEASE:1.33
	netbsd-1-5-BETA2:1.33
	netbsd-1-5-BETA:1.33
	netbsd-1-4-PATCH003:1.30
	netbsd-1-5-ALPHA2:1.33
	netbsd-1-5:1.33.0.4
	netbsd-1-5-base:1.33
	minoura-xpg4dl-base:1.33
	minoura-xpg4dl:1.33.0.2
	netbsd-1-4-PATCH002:1.30
	chs-ubc2-newbase:1.33
	wrstuden-devbsize-19991221:1.31
	wrstuden-devbsize:1.31.0.8
	wrstuden-devbsize-base:1.31
	kame_141_19991130:1.30
	comdex-fall-1999:1.31.0.6
	comdex-fall-1999-base:1.31
	fvdl-softdep:1.31.0.4
	fvdl-softdep-base:1.31
	thorpej_scsipi:1.31.0.2
	thorpej_scsipi_base:1.34
	netbsd-1-4-PATCH001:1.30
	kame_14_19990705:1.30
	kame_14_19990628:1.30
	kame:1.30.0.10
	chs-ubc2:1.30.0.8
	chs-ubc2-base:1.31
	netbsd-1-4-RELEASE:1.30
	netbsd-1-4:1.30.0.6
	netbsd-1-4-base:1.30
	netbsd-1-3-PATCH003:1.26.8.1
	netbsd-1-3-PATCH003-CANDIDATE2:1.26.8.1
	kenh-if-detach:1.30.0.4
	kenh-if-detach-base:1.30
	netbsd-1-3-PATCH003-CANDIDATE1:1.26.8.1
	netbsd-1-3-PATCH003-CANDIDATE0:1.26.8.1
	chs-ubc:1.30.0.2
	chs-ubc-base:1.30
	eeh-paddr_t:1.28.0.2
	eeh-paddr_t-base:1.28
	netbsd-1-3-PATCH002:1.26.8.1
	netbsd-1-3-PATCH001:1.26.8.1
	netbsd-1-3-RELEASE:1.26.8.1
	netbsd-1-3-BETA:1.26.8.1
	netbsd-1-3:1.26.0.8
	netbsd-1-3-base:1.26
	thorpej-signal:1.26.0.6
	thorpej-signal-base:1.26
	marc-pcmcia:1.26.0.4
	marc-pcmcia-bp:1.26
	marc-pcmcia-base:1.26
	bouyer-scsipi:1.26.0.2
	is-newarp-before-merge:1.26
	is-newarp:1.24.0.4
	is-newarp-base:1.24
	netbsd-1-2-PATCH001:1.15
	mrg-vm-swap:1.24.0.2
	thorpej-setroot:1.23.0.2
	netbsd-1-2-RELEASE:1.15
	netbsd-1-2-BETA:1.15
	netbsd-1-2:1.15.0.2
	netbsd-1-2-base:1.15
	date-03-may-96:1.1.1.1
	netbsd:1.1.1
	netbsd-1-1-PATCH001:1.12
	netbsd-1-1-RELEASE:1.12
	netbsd-1-1:1.12.0.2
	netbsd-1-1-base:1.12
	netbsd-1-0-PATCH06:1.7
	netbsd-1-0-PATCH05:1.7
	netbsd-1-0-PATCH04:1.7
	netbsd-1-0-PATCH03:1.7
	netbsd-1-0-PATCH02:1.7
	netbsd-1-0-PATCH1:1.7
	netbsd-1-0-PATCH0:1.7
	netbsd-1-0-RELEASE:1.7
	netbsd-1-0:1.7.0.2
	netbsd-1-0-base:1.7
	magnum:1.4.0.2
	magnum-base:1.4;
locks; strict;
comment	@# @;


1.52
date	2025.12.02.15.41.48;	author thorpej;	state Exp;
branches;
next	1.51;
commitid	UWbu8NgjIGa0IQkG;

1.51
date	2025.12.02.14.50.51;	author thorpej;	state Exp;
branches;
next	1.50;
commitid	qHWOJtn4Hq5vqQkG;

1.50
date	2025.09.20.06.36.50;	author mrg;	state Exp;
branches;
next	1.49;
commitid	KKWDWtHR2LpL1qbG;

1.49
date	2023.08.30.18.47.56;	author christos;	state Exp;
branches;
next	1.48;
commitid	DIySJlPLQCl4gQCE;

1.48
date	2022.06.19.18.28.16;	author rillig;	state Exp;
branches;
next	1.47;
commitid	AlRdL7R1qhHSbGID;

1.47
date	2022.05.30.14.13.59;	author rin;	state Exp;
branches;
next	1.46;
commitid	Vhjf8ldAPHVHq5GD;

1.46
date	2018.09.22.12.24.04;	author rin;	state Exp;
branches;
next	1.45;
commitid	oPiNEJ7VnAF626TA;

1.45
date	2018.05.27.01.14.50;	author christos;	state Exp;
branches
	1.45.2.1;
next	1.44;
commitid	e0gagjXvNVR6bSDA;

1.44
date	2015.10.29.00.18.55;	author mrg;	state Exp;
branches
	1.44.10.1
	1.44.16.1;
next	1.43;

1.43
date	2015.09.06.15.34.55;	author uebayasi;	state Exp;
branches;
next	1.42;

1.42
date	2012.12.12.15.10.27;	author matt;	state Exp;
branches
	1.42.14.1;
next	1.41;

1.41
date	2012.08.10.16.05.27;	author joerg;	state Exp;
branches
	1.41.2.1;
next	1.40;

1.40
date	2005.12.20.19.35.26;	author christos;	state Exp;
branches
	1.40.94.1
	1.40.110.1
	1.40.118.1;
next	1.39;

1.39
date	2005.12.11.12.24.37;	author christos;	state Exp;
branches;
next	1.38;

1.38
date	2005.02.26.22.58.56;	author perry;	state Exp;
branches
	1.38.4.1;
next	1.37;

1.37
date	2003.11.07.23.34.28;	author dsl;	state Exp;
branches
	1.37.8.1
	1.37.10.1;
next	1.36;

1.36
date	2002.11.02.07.48.17;	author perry;	state Exp;
branches
	1.36.6.1;
next	1.35;

1.35
date	2001.11.21.22.10.54;	author jmc;	state Exp;
branches;
next	1.34;

1.34
date	2000.12.05.17.01.19;	author sommerfeld;	state Exp;
branches
	1.34.2.1
	1.34.4.1;
next	1.33;

1.33
date	2000.02.01.05.25.51;	author tsutsui;	state Exp;
branches;
next	1.32;

1.32
date	2000.01.19.16.30.05;	author tsutsui;	state Exp;
branches;
next	1.31;

1.31
date	99.05.07.14.28.50;	author drochner;	state Exp;
branches
	1.31.2.1;
next	1.30;

1.30
date	98.10.15.18.46.37;	author drochner;	state Exp;
branches
	1.30.8.1;
next	1.29;

1.29
date	98.09.05.15.15.19;	author lukem;	state Exp;
branches;
next	1.28;

1.28
date	98.02.07.00.11.29;	author cgd;	state Exp;
branches;
next	1.27;

1.27
date	97.11.04.21.18.24;	author gwr;	state Exp;
branches;
next	1.26;

1.26
date	97.03.07.00.50.30;	author thorpej;	state Exp;
branches
	1.26.8.1;
next	1.25;

1.25
date	97.02.16.21.25.19;	author cgd;	state Exp;
branches;
next	1.24;

1.24
date	97.01.23.22.29.07;	author cgd;	state Exp;
branches
	1.24.4.1;
next	1.23;

1.23
date	96.12.26.21.32.37;	author christos;	state Exp;
branches;
next	1.22;

1.22
date	96.09.30.15.54.35;	author ws;	state Exp;
branches;
next	1.21;

1.21
date	96.09.23.05.00.45;	author ghudson;	state Exp;
branches;
next	1.20;

1.20
date	96.09.09.18.03.46;	author mycroft;	state Exp;
branches;
next	1.19;

1.19
date	96.08.10.04.01.33;	author mycroft;	state Exp;
branches;
next	1.18;

1.18
date	96.08.10.03.00.59;	author mycroft;	state Exp;
branches;
next	1.17;

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

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

1.15
date	96.05.20.17.23.25;	author mrg;	state Exp;
branches;
next	1.14;

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

1.13
date	96.02.02.20.34.41;	author mycroft;	state Exp;
branches;
next	1.12;

1.12
date	95.10.07.09.56.55;	author mycroft;	state Exp;
branches;
next	1.11;

1.11
date	95.06.26.03.25.48;	author christos;	state Exp;
branches;
next	1.10;

1.10
date	95.06.24.20.31.18;	author christos;	state Exp;
branches;
next	1.9;

1.9
date	94.12.31.04.26.58;	author mycroft;	state Exp;
branches;
next	1.8;

1.8
date	94.10.26.06.42.13;	author cgd;	state Exp;
branches;
next	1.7;

1.7
date	94.01.09.17.22.54;	author ws;	state Exp;
branches;
next	1.6;

1.6
date	93.12.28.11.56.38;	author davidb;	state Exp;
branches;
next	1.5;

1.5
date	93.12.22.04.58.02;	author cgd;	state Exp;
branches;
next	1.4;

1.4
date	93.10.23.02.33.19;	author cgd;	state Exp;
branches
	1.4.2.1;
next	1.3;

1.3
date	93.10.13.12.19.37;	author cgd;	state Exp;
branches;
next	1.2;

1.2
date	93.10.13.06.17.16;	author cgd;	state Exp;
branches;
next	1.1;

1.1
date	93.10.13.05.55.20;	author cgd;	state Exp;
branches;
next	;

1.45.2.1
date	2019.06.10.22.09.04;	author christos;	state Exp;
branches;
next	;
commitid	jtc8rnCzWiEEHGqB;

1.44.10.1
date	2018.06.09.15.35.38;	author martin;	state Exp;
branches;
next	;
commitid	LCIzeghK1s7AwCFA;

1.44.16.1
date	2018.06.25.07.26.04;	author pgoyette;	state Exp;
branches;
next	1.44.16.2;
commitid	8PtAu9af7VvhiDHA;

1.44.16.2
date	2018.09.30.01.45.55;	author pgoyette;	state Exp;
branches;
next	;
commitid	SQ44grEPCeKPh4UA;

1.42.14.1
date	2015.09.22.12.06.07;	author skrll;	state Exp;
branches;
next	1.42.14.2;

1.42.14.2
date	2015.12.27.12.10.05;	author skrll;	state Exp;
branches;
next	;

1.41.2.1
date	2013.02.25.00.29.58;	author tls;	state Exp;
branches;
next	;

1.40.94.1
date	2009.08.21.18.01.18;	author matt;	state Exp;
branches;
next	;

1.40.110.1
date	2012.10.30.17.22.39;	author yamt;	state Exp;
branches;
next	1.40.110.2;

1.40.110.2
date	2013.01.16.05.33.46;	author yamt;	state Exp;
branches;
next	;

1.40.118.1
date	2012.12.06.17.13.31;	author matt;	state Exp;
branches;
next	;

1.38.4.1
date	2006.06.21.15.10.13;	author yamt;	state Exp;
branches;
next	;

1.37.8.1
date	2005.04.29.11.29.25;	author kent;	state Exp;
branches;
next	;

1.37.10.1
date	2005.03.19.08.36.21;	author yamt;	state Exp;
branches;
next	;

1.36.6.1
date	2004.08.03.10.53.31;	author skrll;	state Exp;
branches;
next	1.36.6.2;

1.36.6.2
date	2004.09.18.14.53.41;	author skrll;	state Exp;
branches;
next	1.36.6.3;

1.36.6.3
date	2004.09.21.13.35.53;	author skrll;	state Exp;
branches;
next	1.36.6.4;

1.36.6.4
date	2005.03.04.16.52.29;	author skrll;	state Exp;
branches;
next	;

1.34.2.1
date	2002.01.08.00.32.46;	author nathanw;	state Exp;
branches;
next	1.34.2.2;

1.34.2.2
date	2002.11.11.22.14.20;	author nathanw;	state Exp;
branches;
next	;

1.34.4.1
date	2002.01.10.20.00.26;	author thorpej;	state Exp;
branches;
next	;

1.31.2.1
date	2000.11.20.18.09.19;	author bouyer;	state Exp;
branches;
next	1.31.2.2;

1.31.2.2
date	2000.12.08.09.14.16;	author bouyer;	state Exp;
branches;
next	;

1.30.8.1
date	99.06.21.01.25.30;	author thorpej;	state Exp;
branches;
next	;

1.26.8.1
date	97.11.12.23.51.54;	author thorpej;	state Exp;
branches;
next	;

1.24.4.1
date	97.03.12.16.01.16;	author is;	state Exp;
branches;
next	;

1.4.2.1
date	93.10.23.02.33.19;	author davidb;	state dead;
branches;
next	1.4.2.2;

1.4.2.2
date	93.12.28.12.24.33;	author davidb;	state Exp;
branches;
next	;


desc
@@


1.52
log
@Revert previous.  I guess I'll have to solve the m68k build issue
a different way.
@
text
@#	$NetBSD: Makefile.inc,v 1.50 2025/09/20 06:36:50 mrg Exp $
#
#	Configuration variables (default values are below):
#
#	S	must be set to the top of the 'sys' tree.
#	KERNDST	may be set to the location of the directory where library
#		objects are to be built.  Defaults to ${.OBJDIR}/lib/kern.
#	KERN_AS	may be set to 'obj' to build a object from the library's
#		object files.  (Otherwise, a library will be built.)
#		Defaults to 'obj' if OPT_MODULAR is set. Otherwise,
#		'library' is used as a default value.
#	KERNMISCCPPFLAGS
#		Miscellaneous cpp flags to be passed to the library's Makefile
#		when building.
#	KERNMISCMAKEFLAGS
#		Miscellaneous flags to be passed to the library's Makefile when
#		building.  See library's Makefile for more details about
#		supported flags and their default values.

# Default values:
KERNDST?=	${.OBJDIR}/lib/kern
.if !empty(OPT_MODULAR)
KERN_AS?=	obj
.else
KERN_AS?=	library
.endif
KERNDOTDIR?= ../../.

KERNDIR=	${S:S@@^.@@${KERNDOTDIR}@@:q}/lib/libkern
.if (${KERN_AS} == "obj")
KERNLIB=	${KERNDST}/libkern.o
KERNLIB_PROF=	${KERNDST}/libkern.po
.else
KERNLIB=	${KERNDST}/libkern.a
KERNLIB_PROF=	${KERNDST}/libkern_p.a
.endif

LIBKERNLNBN=	llib-lkern.ln
KERNLIBLN=	${KERNDST}/${LIBKERNLNBN}

LIBKERN_MD_FLAGS?=	none

KERNMAKE= \
	cd ${KERNDST} && ${MAKE} -f ${KERNDIR:Q}/Makefile \
	    KERNDIR=${KERNDIR:q} \
	    CC=${CC:q} CFLAGS=${CFLAGS:q} CPUFLAGS= \
	    AS=${AS:q} AFLAGS=${AFLAGS:q} \
	    LORDER=${LORDER:q} \
	    TSORT=${TSORT:q} \
	    COPTS=${COPTS:q} \
	    LD=${LD:q} STRIP=${STRIP:q} \
	    AR=${AR:q} NM=${NM:q} \
	    RANLIB=${RANLIB:q} SIZE=${SIZE:q} \
	    MACHINE=${MACHINE} MACHINE_ARCH=${MACHINE_ARCH:q} \
	    KERNCPPFLAGS=${CPPFLAGS:S@@^-I.@@-I${KERNDOTDIR}@@g:q} \
	    KERNMISCCPPFLAGS=${KERNMISCCPPFLAGS:q} \
	    LINTFLAGS=${KERNLINTFLAGS:q} \
	    LIBKERN_ARCH=${LIBKERN_ARCH:q} \
	    COMMON_MACHINE_ARCH=${COMMON_MACHINE_ARCH:q} \
	    LIBKERN_MD_FLAGS=${LIBKERN_MD_FLAGS:q} \
	    ${KERNMISCMAKEFLAGS}

${KERNLIB}:		.NOTMAIN .MAKE __always_make_kernlib
	@@echo making sure the kern library is up to date...
.if (${KERN_AS} == "library")
	@@${KERNMAKE} libkern.a
.else
	@@${KERNMAKE} libkern.o
.endif

${KERNLIB_PROF}:	.NOTMAIN .MAKE __always_make_kernlib
	@@echo making sure the profiled kern library is up to date...
.if (${KERN_AS} == "library")
	@@${KERNMAKE} libkern_p.a
.else
	@@${KERNMAKE} libkern.po
.endif

${KERNLIBLN}:		.NOTMAIN .MAKE __always_make_kernlib
	@@echo making sure the kern lint library is up to date...
	@@${KERNMAKE} ${LIBKERNLNBN}

clean:			.NOTMAIN cleankernlib
cleankernlib:		.MAKE .NOTMAIN
	@@echo cleaning the kern library objects
	@@if [ -d "${KERNDST}" ]; then ${KERNMAKE} clean; fi

cleandir distclean:	.NOTMAIN cleandirkernlib
cleandirkernlib:	.MAKE .NOTMAIN
	@@echo cleandiring the kern library objects
	@@if [ -d "${KERNDST}" ]; then ${KERNMAKE} cleandir; fi

dependall depend:	.NOTMAIN dependkernlib
dependkernlib:		.NOTMAIN .MAKE __always_make_kernlib
	@@echo depending the kern library objects
	@@${KERNMAKE} depend

__always_make_kernlib:	.NOTMAIN
	@@(mkdir -p ${KERNDST})

.PHONY: __always_make_kernlib
.PHONY: cleankernlib cleandirkernlib dependkernlib

.include "${.PARSEDIR}/../../../common/lib/libc/Makefile.inc"
@


1.51
log
@Make libkern depend on assym.h.
@
text
@d63 1
a63 1
${KERNLIB}:		.NOTMAIN .MAKE __always_make_kernlib assym.h
d71 1
a71 1
${KERNLIB_PROF}:	.NOTMAIN .MAKE __always_make_kernlib assym.h
d79 1
a79 1
${KERNLIBLN}:		.NOTMAIN .MAKE __always_make_kernlib assym.h
d94 1
a94 1
dependkernlib:		.NOTMAIN .MAKE __always_make_kernlib assym.h
@


1.50
log
@mark cleankernlib and cleandirkernlib as .MAKE.

fixes a couple of:
   nbmake[1]: warning: Invalid internal option "-J" in <..>
problems that appear with "build.sh -U .. kernel=" but not with -u.

solution from rillig@@ in private email.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.inc,v 1.49 2023/08/30 18:47:56 christos Exp $
d63 1
a63 1
${KERNLIB}:		.NOTMAIN .MAKE __always_make_kernlib
d71 1
a71 1
${KERNLIB_PROF}:	.NOTMAIN .MAKE __always_make_kernlib
d79 1
a79 1
${KERNLIBLN}:		.NOTMAIN .MAKE __always_make_kernlib
d94 1
a94 1
dependkernlib:		.NOTMAIN .MAKE __always_make_kernlib
@


1.49
log
@explicitly pass COPTS
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.inc,v 1.48 2022/06/19 18:28:16 rillig Exp $
d84 1
a84 1
cleankernlib:		.NOTMAIN
d89 1
a89 1
cleandirkernlib:	.NOTMAIN
@


1.48
log
@libkern: fix wrong escaping in makefile

In the unlikely event that KERNDIR contains a '$' character, that '$'
should not be doubled to '$$'. It only needs the usual shell quoting.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.inc,v 1.47 2022/05/30 14:13:59 rin Exp $
d50 1
@


1.47
log
@Introduce LIBKERN_MD_FLAGS to pass some MD flags for libkern.

This is necessary since libkern is built by coprocess, and
threfore subsets of make(1) variables are passed.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.inc,v 1.46 2018/09/22 12:24:04 rin Exp $
d44 1
a44 1
	cd ${KERNDST} && ${MAKE} -f ${KERNDIR:q}/Makefile \
@


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

- Specify OPT_MODULAR in the port Makefile instead of KERN_AS.

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

OK christos
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.inc,v 1.45 2018/05/27 01:14:50 christos Exp $
d41 2
d59 1
@


1.45
log
@- Introduce :q modifier for make variables and make it double escape $'s so
  that passing variables to recursive makes with :q works as expected.
- Revert :Q to work as before.
- Adjust makefiles that use recursive make to use :q

Discussed on tech-toolchain@@
XXX: pullup 8
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.inc,v 1.44 2015/10/29 00:18:55 mrg Exp $
d10 2
a11 1
#		Defaults to 'library'.
d22 3
d26 1
@


1.45.2.1
log
@Sync with HEAD
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.inc,v 1.46 2018/09/22 12:24:04 rin Exp $
d10 1
a10 2
#		Defaults to 'obj' if OPT_MODULAR is set. Otherwise,
#		'library' is used as a default value.
a20 3
.if !empty(OPT_MODULAR)
KERN_AS?=	obj
.else
a21 1
.endif
@


1.44
log
@remove "@@echo done" from 4 rules that don't need it and the random "done"
in my build logs don't help understanding.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.inc,v 1.43 2015/09/06 15:34:55 uebayasi Exp $
d24 1
a24 1
KERNDIR=	${S:S@@^.@@${KERNDOTDIR}@@:Q}/lib/libkern
d37 15
a51 15
	cd ${KERNDST} && ${MAKE} -f ${KERNDIR:Q}/Makefile \
	    KERNDIR=${KERNDIR:Q} \
	    CC=${CC:Q} CFLAGS=${CFLAGS:Q} CPUFLAGS= \
	    AS=${AS:Q} AFLAGS=${AFLAGS:Q} \
	    LORDER=${LORDER:Q} \
	    TSORT=${TSORT:Q} \
	    LD=${LD:Q} STRIP=${STRIP:Q} \
	    AR=${AR:Q} NM=${NM:Q} \
	    RANLIB=${RANLIB:Q} SIZE=${SIZE:Q} \
	    MACHINE=${MACHINE} MACHINE_ARCH=${MACHINE_ARCH:Q} \
	    KERNCPPFLAGS=${CPPFLAGS:S@@^-I.@@-I${KERNDOTDIR}@@g:Q} \
	    KERNMISCCPPFLAGS=${KERNMISCCPPFLAGS:Q} \
	    LINTFLAGS=${KERNLINTFLAGS:Q} \
	    LIBKERN_ARCH=${LIBKERN_ARCH:Q} \
	    COMMON_MACHINE_ARCH=${COMMON_MACHINE_ARCH:Q} \
@


1.44.16.1
log
@Sync with HEAD
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.inc,v 1.45 2018/05/27 01:14:50 christos Exp $
d24 1
a24 1
KERNDIR=	${S:S@@^.@@${KERNDOTDIR}@@:q}/lib/libkern
d37 15
a51 15
	cd ${KERNDST} && ${MAKE} -f ${KERNDIR:q}/Makefile \
	    KERNDIR=${KERNDIR:q} \
	    CC=${CC:q} CFLAGS=${CFLAGS:q} CPUFLAGS= \
	    AS=${AS:q} AFLAGS=${AFLAGS:q} \
	    LORDER=${LORDER:q} \
	    TSORT=${TSORT:q} \
	    LD=${LD:q} STRIP=${STRIP:q} \
	    AR=${AR:q} NM=${NM:q} \
	    RANLIB=${RANLIB:q} SIZE=${SIZE:q} \
	    MACHINE=${MACHINE} MACHINE_ARCH=${MACHINE_ARCH:q} \
	    KERNCPPFLAGS=${CPPFLAGS:S@@^-I.@@-I${KERNDOTDIR}@@g:q} \
	    KERNMISCCPPFLAGS=${KERNMISCCPPFLAGS:q} \
	    LINTFLAGS=${KERNLINTFLAGS:q} \
	    LIBKERN_ARCH=${LIBKERN_ARCH:q} \
	    COMMON_MACHINE_ARCH=${COMMON_MACHINE_ARCH:q} \
@


1.44.16.2
log
@Ssync with HEAD
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.inc,v 1.46 2018/09/22 12:24:04 rin Exp $
d10 1
a10 2
#		Defaults to 'obj' if OPT_MODULAR is set. Otherwise,
#		'library' is used as a default value.
a20 3
.if !empty(OPT_MODULAR)
KERN_AS?=	obj
.else
a21 1
.endif
@


1.44.10.1
log
@Pull up following revision(s) (requested by christos in ticket #870):

	sys/lib/libgnuefi/Makefile.inc: revision 1.5
	external/mit/xorg/xorg-pkg-ver.mk: revision 1.9
	sys/arch/i386/stand/lib/Makefile.inc: revision 1.17
	sys/compat/common/Makefile.inc: revision 1.25
	usr.bin/make/unit-tests/varquote.exp: revision 1.1, 1.2
	sys/lib/libsa/Makefile.inc: revision 1.24
	usr.bin/make/var.c: revision 1.220
	sys/arch/ia64/stand/efi/libefi/Makefile.inc: revision 1.5
	sys/arch/hppa/spmath/Makefile.inc: revision 1.10
	usr.bin/make/unit-tests/varquote.mk: revision 1.1, 1.2
	usr.bin/make/unit-tests/Makefile: revision 1.53
	sys/lib/libkern/Makefile.inc: revision 1.45
	sys/arch/acorn32/stand/lib/Makefile.inc: revision 1.4
	sys/arch/m68k/fpsp/Makefile.inc: revision 1.21
	usr.bin/make/make.1: revision 1.273
	sys/lib/libz/Makefile.inc: revision 1.17

- Introduce :q modifier for make variables and make it double escape $'s so
  that passing variables to recursive makes with :q works as expected.
- Adjust makefiles that use recursive make to use :q

Discussed on tech-toolchain@@

XXX: pullup 8
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.inc,v 1.44 2015/10/29 00:18:55 mrg Exp $
d24 1
a24 1
KERNDIR=	${S:S@@^.@@${KERNDOTDIR}@@:q}/lib/libkern
d37 15
a51 15
	cd ${KERNDST} && ${MAKE} -f ${KERNDIR:q}/Makefile \
	    KERNDIR=${KERNDIR:q} \
	    CC=${CC:q} CFLAGS=${CFLAGS:q} CPUFLAGS= \
	    AS=${AS:q} AFLAGS=${AFLAGS:q} \
	    LORDER=${LORDER:q} \
	    TSORT=${TSORT:q} \
	    LD=${LD:q} STRIP=${STRIP:q} \
	    AR=${AR:q} NM=${NM:q} \
	    RANLIB=${RANLIB:q} SIZE=${SIZE:q} \
	    MACHINE=${MACHINE} MACHINE_ARCH=${MACHINE_ARCH:q} \
	    KERNCPPFLAGS=${CPPFLAGS:S@@^-I.@@-I${KERNDOTDIR}@@g:q} \
	    KERNMISCCPPFLAGS=${KERNMISCCPPFLAGS:q} \
	    LINTFLAGS=${KERNLINTFLAGS:q} \
	    LIBKERN_ARCH=${LIBKERN_ARCH:q} \
	    COMMON_MACHINE_ARCH=${COMMON_MACHINE_ARCH:q} \
@


1.43
log
@In kernel lib build, print message when things not only start bug also end.
@
text
@d1 1
a1 1
#	$NetBSD$
a60 1
	@@echo done
a68 1
	@@echo done
a72 1
	@@echo done
a77 1
	@@echo done
a82 1
	@@echo done
a87 1
	@@echo done
@


1.42
log
@Don't pass down CPUFLAGS since its value is already in CFLAGS.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.inc,v 1.41 2012/08/10 16:05:27 joerg Exp $
d61 1
d70 1
d75 1
d81 1
d87 1
d93 1
@


1.42.14.1
log
@Sync with HEAD
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.inc,v 1.43 2015/09/06 15:34:55 uebayasi Exp $
a60 1
	@@echo done
a68 1
	@@echo done
a72 1
	@@echo done
a77 1
	@@echo done
a82 1
	@@echo done
a87 1
	@@echo done
@


1.42.14.2
log
@Sync with HEAD (as of 26th Dec)
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.inc,v 1.42.14.1 2015/09/22 12:06:07 skrll Exp $
d61 1
d70 1
d75 1
d81 1
d87 1
d93 1
@


1.41
log
@Deal with optional HAVE_GCC.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.inc,v 1.40 2005/12/20 19:35:26 christos Exp $
d39 1
a39 1
	    CC=${CC:Q} CFLAGS=${CFLAGS:Q} \
@


1.41.2.1
log
@resync with head
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.inc,v 1.41 2012/08/10 16:05:27 joerg Exp $
d39 1
a39 1
	    CC=${CC:Q} CFLAGS=${CFLAGS:Q} CPUFLAGS= \
@


1.40
log
@Use common sources with userland.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.inc,v 1.39 2005/12/11 12:24:37 christos Exp $
d50 2
@


1.40.118.1
log
@Don't pass CPUFLAGS down since its value is in CFLAGS
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.inc,v 1.40 2005/12/20 19:35:26 christos Exp $
a44 1
	    CPUFLAGS= \
@


1.40.110.1
log
@sync with head
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.inc,v 1.40 2005/12/20 19:35:26 christos Exp $
a49 2
	    LIBKERN_ARCH=${LIBKERN_ARCH:Q} \
	    COMMON_MACHINE_ARCH=${COMMON_MACHINE_ARCH:Q} \
@


1.40.110.2
log
@sync with (a bit old) head
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.inc,v 1.40.110.1 2012/10/30 17:22:39 yamt Exp $
d39 1
a39 1
	    CC=${CC:Q} CFLAGS=${CFLAGS:Q} CPUFLAGS= \
@


1.40.94.1
log
@Pass LDFLAGS
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.inc,v 1.40 2005/12/20 19:35:26 christos Exp $
d43 1
a43 2
	    LD=${LD:Q} LDFLAGS=${LDFLAGS:Q} \
	    STRIP=${STRIP:Q} \
@


1.39
log
@merge ktrace-lwp.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.inc,v 1.36.6.4 2005/03/04 16:52:29 skrll Exp $
d92 2
@


1.38
log
@nuke trailing whitespace
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.inc,v 1.37 2003/11/07 23:34:28 dsl Exp $
@


1.38.4.1
log
@sync with head.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.inc,v 1.38 2005/02/26 22:58:56 perry Exp $
a91 2

.include "${.PARSEDIR}/../../../common/lib/libc/Makefile.inc"
@


1.37
log
@Make 'dependall' generate dependencies in these libraries.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.inc,v 1.36 2002/11/02 07:48:17 perry Exp $
d73 1
a73 1
cleankernlib:		.NOTMAIN 
d78 1
a78 1
cleandirkernlib:	.NOTMAIN 
@


1.37.8.1
log
@sync with -current
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.inc,v 1.38 2005/02/26 22:58:56 perry Exp $
d73 1
a73 1
cleankernlib:		.NOTMAIN
d78 1
a78 1
cleandirkernlib:	.NOTMAIN
@


1.37.10.1
log
@sync with head.  xen and whitespace.  xen part is not finished.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.inc,v 1.37 2003/11/07 23:34:28 dsl Exp $
d73 1
a73 1
cleankernlib:		.NOTMAIN
d78 1
a78 1
cleandirkernlib:	.NOTMAIN
@


1.36
log
@Add lint infrastructure
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.inc,v 1.35 2001/11/21 22:10:54 jmc Exp $
d82 1
a82 1
depend:			.NOTMAIN dependkernlib
@


1.36.6.1
log
@Sync with HEAD
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.inc,v 1.37 2003/11/07 23:34:28 dsl Exp $
d82 1
a82 1
dependall depend:	.NOTMAIN dependkernlib
@


1.36.6.2
log
@Sync with HEAD.
@
text
@@


1.36.6.3
log
@Fix the sync with head I botched.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.inc,v 1.36.6.1 2004/08/03 10:53:31 skrll Exp $
@


1.36.6.4
log
@Sync with HEAD.

Hi Perry!
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.inc,v 1.36.6.3 2004/09/21 13:35:53 skrll Exp $
d73 1
a73 1
cleankernlib:		.NOTMAIN
d78 1
a78 1
cleandirkernlib:	.NOTMAIN
@


1.35
log
@Don't make clean and cleandir depend on the lib subdir. Just check for it's
existance before running the submake. This makes it possible to run a
make build (which runs cleandir before make obj) in a r/o source tree
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.inc,v 1.34 2000/12/05 17:01:19 sommerfeld Exp $
d33 3
d49 1
d67 4
@


1.34
log
@Have recursive make invocations depend on the .MAKE pseudo-target so
make knows to handle them specially.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.inc,v 1.33 2000/02/01 05:25:51 tsutsui Exp $
d65 1
a65 1
cleankernlib:		.NOTMAIN .MAKE __always_make_kernlib
d67 1
a67 1
	@@${KERNMAKE} clean
d70 1
a70 1
cleandirkernlib:	.NOTMAIN .MAKE __always_make_kernlib
d72 1
a72 1
	@@${KERNMAKE} cleandir
@


1.34.4.1
log
@Sync kqueue branch with -current.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.inc,v 1.35 2001/11/21 22:10:54 jmc Exp $
d65 1
a65 1
cleankernlib:		.NOTMAIN 
d67 1
a67 1
	@@if [ -d "${KERNDST}" ]; then ${KERNMAKE} clean; fi
d70 1
a70 1
cleandirkernlib:	.NOTMAIN 
d72 1
a72 1
	@@if [ -d "${KERNDST}" ]; then ${KERNMAKE} cleandir; fi
@


1.34.2.1
log
@Catch up to -current.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.inc,v 1.34 2000/12/05 17:01:19 sommerfeld Exp $
d65 1
a65 1
cleankernlib:		.NOTMAIN 
d67 1
a67 1
	@@if [ -d "${KERNDST}" ]; then ${KERNMAKE} clean; fi
d70 1
a70 1
cleandirkernlib:	.NOTMAIN 
d72 1
a72 1
	@@if [ -d "${KERNDST}" ]; then ${KERNMAKE} cleandir; fi
@


1.34.2.2
log
@Catch up to -current
@
text
@d1 1
a1 1
#	$NetBSD$
a32 3
LIBKERNLNBN=	llib-lkern.ln
KERNLIBLN=	${KERNDST}/${LIBKERNLNBN}

a45 1
	    LINTFLAGS=${KERNLINTFLAGS:Q} \
a62 4

${KERNLIBLN}:		.NOTMAIN .MAKE __always_make_kernlib
	@@echo making sure the kern lint library is up to date...
	@@${KERNMAKE} ${LIBKERNLNBN}
@


1.33
log
@Revert STRIPPROG -> STRIP
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.inc,v 1.32 2000/01/19 16:30:05 tsutsui Exp $
d48 1
a48 1
${KERNLIB}:		.NOTMAIN __always_make_kernlib
d56 1
a56 1
${KERNLIB_PROF}:	.NOTMAIN __always_make_kernlib
d65 1
a65 1
cleankernlib:		.NOTMAIN __always_make_kernlib
d70 1
a70 1
cleandirkernlib:	.NOTMAIN __always_make_kernlib
d75 1
a75 1
dependkernlib:		.NOTMAIN __always_make_kernlib
@


1.32
log
@STRIP -> STRIPPROG
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.inc,v 1.31 1999/05/07 14:28:50 drochner Exp $
d40 1
a40 1
	    LD=${LD:Q} STRIPPROG=${STRIPPROG:Q} \
@


1.31
log
@Build libraries for kernel/standalone code from within their compilation
directories and use .PATH to lookup the source files.
(Formerly, the libs were built from the source dirs, with MAKEOBJDIR
set to the compilation directory.)
This solves 2 problems:
-"mkdep" and "make" are now consistent about the file lookup, this fixes
 bad interactions with amd reported in PR bin/7374 (Arne Juul) and
 lossage reported by Andrew Gillham ("obj" dirs and relative paths still
 don't work well together)
-kernel compile trees can be moved around without forcing a new
 "make depend" - fixing PR kern/4021 by Martin Husemann
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.inc,v 1.30 1998/10/15 18:46:37 drochner Exp $
d40 1
a40 1
	    LD=${LD:Q} STRIP=${STRIP:Q} \
@


1.31.2.1
log
@Update thorpej_scsipi to -current as of a month ago
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.inc,v 1.33 2000/02/01 05:25:51 tsutsui Exp $
@


1.31.2.2
log
@Sync with HEAD.
@
text
@d1 1
a1 1
#	$NetBSD$
d48 1
a48 1
${KERNLIB}:		.NOTMAIN .MAKE __always_make_kernlib
d56 1
a56 1
${KERNLIB_PROF}:	.NOTMAIN .MAKE __always_make_kernlib
d65 1
a65 1
cleankernlib:		.NOTMAIN .MAKE __always_make_kernlib
d70 1
a70 1
cleandirkernlib:	.NOTMAIN .MAKE __always_make_kernlib
d75 1
a75 1
dependkernlib:		.NOTMAIN .MAKE __always_make_kernlib
@


1.30
log
@change handling of libkern:
-sys/lib/libkern builds as library per default (as it was documented all
 the time)
-ports able to LKM set "KERN_AS=obj" explicitely in their Makefiles
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.inc,v 1.29 1998/09/05 15:15:19 lukem Exp $
d22 1
d24 1
a24 1
KERNDIR=	$S/lib/libkern
d34 2
a35 1
	cd ${KERNDIR} && MAKEOBJDIR=${KERNDST} ${MAKE} \
d44 1
a44 1
	    KERNCPPFLAGS=${CPPFLAGS:S@@^-I.@@-I../../.@@g:Q} \
d81 3
@


1.30.8.1
log
@Sync w/ -current.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.inc,v 1.31 1999/05/07 14:28:50 drochner Exp $
a21 1
KERNDOTDIR?= ../../.
d23 1
a23 1
KERNDIR=	${S:S@@^.@@${KERNDOTDIR}@@:Q}/lib/libkern
d33 1
a33 2
	cd ${KERNDST} && ${MAKE} -f ${KERNDIR:Q}/Makefile \
	    KERNDIR=${KERNDIR:Q} \
d42 1
a42 1
	    KERNCPPFLAGS=${CPPFLAGS:S@@^-I.@@-I${KERNDOTDIR}@@g:Q} \
a78 3

.PHONY: __always_make_kernlib
.PHONY: cleankernlib cleandirkernlib dependkernlib
@


1.29
log
@distclean is a synonym for cleandir
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.inc,v 1.28 1998/02/07 00:11:29 cgd Exp $
d21 1
a21 1
KERN_AS?=	obj
@


1.28
log
@make sure that LORDER, TSORT, AR, NM, RANLIB, and SIZE are correctly
and consistently set when doing kernel library builds.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.inc,v 1.27 1997/11/04 21:18:24 gwr Exp $
d67 1
a67 1
cleandir:		.NOTMAIN cleandirkernlib
@


1.27
log
@Pass down the values of: AR NM RANLIB
(Fixes PR#4426 from SAITOH Masanobu)
Also pass down LORDER TSORT.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.inc,v 1.26 1997/03/07 00:50:30 thorpej Exp $
a35 1
	    AR=${AR:Q} NM=${NM:Q} \
a37 1
	    RANLIB=${RANLIB:Q} \
d39 2
@


1.26
log
@Allow depend target to be parallized, from Andrew Wheadon
<andrew@@wipux2.wifo.uni-mannheim.de>, PR #3257.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.inc,v 1.25 1997/02/16 21:25:19 cgd Exp $
d36 4
@


1.26.8.1
log
@Sync w/ trunk.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.inc,v 1.27 1997/11/04 21:18:24 gwr Exp $
a35 4
	    AR=${AR:Q} NM=${NM:Q} \
	    LORDER=${LORDER:Q} \
	    TSORT=${TSORT:Q} \
	    RANLIB=${RANLIB:Q} \
@


1.25
log
@allow includers to specify library-specific CPP flags via ${LIB}MISCCPPFLAGS
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.inc,v 1.24 1997/01/23 22:29:07 cgd Exp $
d74 1
a74 1
	@@mkdir -p ${KERNDST}
@


1.24
log
@clean up substantially.  Transform clean, depend, cleandir targets from ::
to :, so they can be used e.g. with <bsd.prog.mk>.  Standardize variable
names used to configure kernel libraries.

Variables used by these Makefile.inc's are:

S		must be set to the top of the 'sys' tree.
${LIB}DST	may be set to the location of the directory where library
		objects are to be built.  Defaults to ${.OBJDIR}/lib/${lib}.
${LIB}_AS	may be set to 'obj' to build a object from the library's
		object files.  (Otherwise, a library will be built.)
		Defaults to 'library'.
${LIB}MISCMAKEFLAGS
		Miscellaneous flags to be passed to the library's Makefile when
		building.  See library's Makefile for more details about
		supported flags and their default values.

(where LIB is KERN, SA, or Z, and lib is kern, sa, or z, depending on which
library's Makefile.inc is being discussed.)
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.inc,v 1.23 1996/12/26 21:32:37 christos Exp $
d11 3
d39 1
@


1.24.4.1
log
@Merge in changes from The Trunk
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.inc,v 1.26 1997/03/07 00:50:30 thorpej Exp $
a10 3
#	KERNMISCCPPFLAGS
#		Miscellaneous cpp flags to be passed to the library's Makefile
#		when building.
a35 1
	    KERNMISCCPPFLAGS=${KERNMISCCPPFLAGS:Q} \
d70 1
a70 1
	@@(mkdir -p ${KERNDST})
@


1.23
log
@PR/2981: use ${VAR:Q} instead of '${VAR}' to avoid quoting problems
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.inc,v 1.22 1996/09/30 15:54:35 ws Exp $
d3 12
a14 3
#	NOTE: $S must correspond to the top of the 'sys' tree

KERNDIR=	$S/lib/libkern
d16 1
d20 5
a24 1
.if (${KERN_AS} == "library")
a26 3
.else
KERNLIB=	${KERNDST}/libkern.o
KERNLIB_PROF=	${KERNDST}/libkern.po
d35 2
a36 1
	    KERNCPPFLAGS=${CPPFLAGS:S@@^-I.@@-I../../.@@g:Q}
d54 2
a55 1
clean:: 		.NOTMAIN __always_make_kernlib
d59 7
a65 1
depend:: 		.NOTMAIN __always_make_kernlib
@


1.22
log
@Allow compilation of libkern as library for standalone programs
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.inc,v 1.21 1996/09/23 05:00:45 ghudson Exp $
d20 5
a24 5
	    CC='${CC}' CFLAGS='${CFLAGS}' \
	    AS='${AS}' AFLAGS='${AFLAGS}' \
	    LD='${LD}' STRIP='${STRIP}' \
	    MACHINE='${MACHINE}' MACHINE_ARCH='${MACHINE_ARCH}' \
	    KERNCPPFLAGS='${CPPFLAGS:S@@^-I.@@-I../../.@@g}'
@


1.21
log
@Handle relative paths to the source directory if they begin with a '.'.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.inc,v 1.20 1996/09/09 18:03:46 mycroft Exp $
d8 6
d16 1
d28 3
d32 1
d36 3
d40 1
@


1.20
log
@Pass $STRIP to the sub-make.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.inc,v 1.19 1996/08/10 04:01:33 mycroft Exp $
d17 1
a17 1
	    KERNCPPFLAGS='${CPPFLAGS:S@@^-I.$@@-I${.OBJDIR}@@}'
@


1.19
log
@Add anchors so that only exactly `-I. is modified.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.inc,v 1.18 1996/08/10 03:00:59 mycroft Exp $
d15 1
a15 1
	    LD='${LD}' \
@


1.18
log
@Convert the -I. to -I${.OBJDIR}, so that the `machine symlink is available.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.inc,v 1.17 1996/08/08 15:15:19 mycroft Exp $
d17 1
a17 1
	    KERNCPPFLAGS='${CPPFLAGS:S@@-I.@@-I${.OBJDIR}@@}'
@


1.17
log
@We dont need to pass down COMPATDIR and KERNDIR.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.inc,v 1.16 1996/08/08 15:06:43 mycroft Exp $
d17 1
a17 1
	    KERNCPPFLAGS='${CPPFLAGS}'
@


1.16
log
@Run the child make in the source directory, so that nothing here needs to be
changed when the compile directory is outside the source tree.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.inc,v 1.15 1996/05/20 17:23:25 mrg Exp $
d17 1
a17 2
	    KERNCPPFLAGS='${CPPFLAGS}' \
	    KERNDIR='${KERNDIR}'
@


1.15
log
@use ' not " when passing variables to a sub-make.  pr#1199/pr#1296
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.inc,v 1.14 1996/05/11 16:13:39 mycroft Exp $
d7 2
a8 3
KERNDST=	lib/kern
KERNREL?=	../../
KERNLIB?=	${KERNDST}/libkern.o
d12 1
a12 1
	cd ${KERNDST} && ${MAKE} -f ${KERNREL}${KERNDIR}/Makefile \
a17 1
	    KERNREL='${KERNREL}' \
@


1.14
log
@Make `make depend' work for libraries.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.inc,v 1.13 1996/02/02 20:34:41 mycroft Exp $
d14 7
a20 7
	    CC="${CC}" CFLAGS="${CFLAGS}" \
	    AS="${AS}" AFLAGS="${AFLAGS}" \
	    LD="${LD}" \
	    MACHINE="${MACHINE}" MACHINE_ARCH="${MACHINE_ARCH}" \
	    KERNCPPFLAGS="${CPPFLAGS}" \
	    KERNREL="${KERNREL}" \
	    KERNDIR="${KERNDIR}"
@


1.13
log
@Simplify, and add support for passing CPPFLAGS.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.inc,v 1.12 1995/10/07 09:56:55 mycroft Exp $
d33 4
@


1.12
log
@Build libkern as one .o file, so that all symbols defined therein are
always available to loadable modules.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.inc,v 1.11 1995/06/26 03:25:48 christos Exp $
d12 10
d24 1
a24 5
	@@(cd ${KERNDST} && ${MAKE} -f ${KERNREL}${KERNDIR}/Makefile \
	  KERNCC="${CC}" \
	  KERNCFLAGS="${CFLAGS}" \
	  KERNREL="${KERNREL}" \
	  KERNDIR="${KERNDIR}" libkern.o)
d28 1
a28 5
	@@(cd ${KERNDST} && ${MAKE} -f ${KERNREL}${KERNDIR}/Makefile \
	  KERNCC="${CC}" \
	  KERNCFLAGS="${CFLAGS}" \
	  KERNREL="${KERNREL}" \
	  KERNDIR="${KERNDIR}" libkern.po)
d32 1
a32 5
	@@(cd ${KERNDST} && ${MAKE} -f ${KERNREL}${KERNDIR}/Makefile \
	  KERNCC="${CC}" \
	  KERNCFLAGS="${CFLAGS}" \
	  KERNREL="${KERNREL}" \
	  KERNDIR="${KERNDIR}" clean)
d35 1
a35 1
	@@([ -d ${KERNDST} ] || mkdir -p ${KERNDST})
@


1.11
log
@Add the ability to override KERNREL and KERNDST.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.inc,v 1.10 1995/06/24 20:31:18 christos Exp $
d9 2
a10 2
KERNLIB?=	${KERNDST}/libkern.a
KERNLIB_PROF=	${KERNDST}/libkern_p.a
d18 1
a18 1
	  KERNDIR="${KERNDIR}" libkern.a)
d26 1
a26 1
	  KERNDIR="${KERNDIR}" libkern_p.a)
@


1.10
log
@Build libkern in the kernel compilation directory, like libcompat.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.inc,v 1.9 1994/12/31 04:26:58 mycroft Exp $
d8 2
a9 2
KERNREL=	../..
KERNLIB=	${KERNDST}/libkern.a
d14 1
a14 1
	@@(cd ${KERNDST} && ${MAKE} -f ${KERNREL}/${KERNDIR}/Makefile \
d22 1
a22 1
	@@(cd ${KERNDST} && ${MAKE} -f ${KERNREL}/${KERNDIR}/Makefile \
d30 1
a30 1
	@@(cd ${KERNDST} && ${MAKE} -f ${KERNREL}/${KERNDIR}/Makefile \
@


1.9
log
@Only build the version of the library that's needed.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.inc,v 1.8 1994/10/26 06:42:13 cgd Exp $
d7 4
a10 2
KERNLIBDIR!=cd $(KERNDIR); \
	printf "xxx:\n\techo \$${.OBJDIR}\n" | $(MAKE) -r -s -f - xxx
d12 1
a12 4
KERNLIB=	$(KERNLIBDIR)/libkern.a
KERNLIB_PROF=	$(KERNLIBDIR)/libkern_p.a

$(KERNLIB):		.NOTMAIN __always_make_kernlib
d14 5
a18 1
	@@(cd $(KERNDIR); $(MAKE) libkern.a)
d20 1
a20 1
$(KERNLIB_PROF):	.NOTMAIN __always_make_kernlib
d22 13
a34 1
	@@(cd $(KERNDIR); $(MAKE) libkern_p.a)
d37 1
@


1.8
log
@new RCS ID format.
@
text
@d1 1
a1 1
#	$NetBSD$
d15 1
a15 1
	@@(cd $(KERNDIR) ; $(MAKE))
d19 1
a19 1
	@@(cd $(KERNDIR) ; $(MAKE))
@


1.7
log
@Use $(MAKE) instead of make
@
text
@d1 1
a1 1
#	$Id: Makefile.inc,v 1.6 1993/12/28 11:56:38 davidb Exp $
@


1.6
log
@Changed to use make's new .OBJDIR
@
text
@d1 1
a1 1
#	$Id: Makefile.inc,v 1.5 1993/12/22 04:58:02 cgd Exp $
d8 1
a8 1
	printf "xxx:\n\techo \$${.OBJDIR}\n" | make -r -s -f - xxx
@


1.5
log
@use ${MAKE} rather than "make", as suggested by Roland McGrath
@
text
@d1 1
a1 1
#	$Id: Makefile.inc,v 1.4 1993/10/23 02:33:19 cgd Exp $
d7 2
a8 5
.if exists($(KERNDIR)/obj.${MACHINE})
KERNLIBDIR=	$(KERNDIR)/obj.${MACHINE}
.else
KERNLIBDIR=	$(KERNDIR)
.endif
@


1.4
log
@use obj.${MACHINE} dirs to compile into
@
text
@d1 1
a1 1
#	$Id: Makefile.inc,v 1.3 1993/10/13 12:19:37 cgd Exp $
d18 1
a18 1
	@@(cd $(KERNDIR) ; make)
d22 1
a22 1
	@@(cd $(KERNDIR) ; make)
@


1.4.2.1
log
@file Makefile.inc was added on branch magnum on 1993-12-28 12:24:33 +0000
@
text
@d1 24
@


1.4.2.2
log
@Changes from main branch:
	Use make's new .OBJDIR
	Changed make to $(MAKE)
@
text
@a0 21
#	$Id: Makefile.inc,v 1.4.2.1 1993/12/28 12:24:33 davidb Exp $
#
#	NOTE: $S must correspond to the top of the 'sys' tree

KERNDIR=	$S/lib/libkern

KERNLIBDIR!=cd $(KERNDIR); \
	printf "xxx:\n\techo \$${.OBJDIR}\n" | make -r -s -f - xxx

KERNLIB=	$(KERNLIBDIR)/libkern.a
KERNLIB_PROF=	$(KERNLIBDIR)/libkern_p.a

$(KERNLIB):		.NOTMAIN __always_make_kernlib
	@@echo making sure the kern library is up to date...
	@@(cd $(KERNDIR) ; $(MAKE))

$(KERNLIB_PROF):	.NOTMAIN __always_make_kernlib
	@@echo making sure the profiled kern library is up to date...
	@@(cd $(KERNDIR) ; $(MAKE))

__always_make_kernlib:	.NOTMAIN
@


1.3
log
@punt on doing minimal work in favor of less output in 'happy' case.
@
text
@d1 1
a1 1
#	$Id: Makefile.inc,v 1.2 1993/10/13 06:17:16 cgd Exp $
d7 2
a8 2
.if exists($(KERNDIR)/obj)
KERNLIBDIR=	$(KERNDIR)/obj
@


1.2
log
@add a bunch of .NOTMAINs
@
text
@d1 1
a1 1
#	$Id: Makefile.inc,v 1.1 1993/10/13 05:55:20 cgd Exp $
d18 1
a18 1
	@@(cd $(KERNDIR) ; make libkern.a)
d22 1
a22 1
	@@(cd $(KERNDIR) ; make libkern_p.a)
@


1.1
log
@slight cleanup, and ... (gasp) add comments
@
text
@d1 1
a1 1
#	$Id: Makefile.inc,v 1.1 1993/10/13 05:41:19 cgd Exp $
d16 1
a16 1
$(KERNLIB):		__always_make_kernlib
d20 1
a20 1
$(KERNLIB_PROF):	__always_make_kernlib
d24 1
a24 1
__always_make_kernlib:
@
