head	1.8;
access;
symbols
	netbsd-11-0-RC4:1.7
	netbsd-11-0-RC3:1.7
	netbsd-11-0-RC2:1.7
	netbsd-11-0-RC1:1.7
	perseant-exfatfs-base-20250801:1.7
	netbsd-11:1.7.0.40
	netbsd-11-base:1.7
	netbsd-10-1-RELEASE:1.7
	perseant-exfatfs-base-20240630:1.7
	perseant-exfatfs:1.7.0.38
	perseant-exfatfs-base:1.7
	netbsd-8-3-RELEASE:1.4.10.1
	netbsd-9-4-RELEASE:1.7
	netbsd-10-0-RELEASE:1.7
	netbsd-10-0-RC6:1.7
	netbsd-10-0-RC5:1.7
	netbsd-10-0-RC4:1.7
	netbsd-10-0-RC3:1.7
	netbsd-10-0-RC2:1.7
	thorpej-ifq:1.7.0.36
	thorpej-ifq-base:1.7
	thorpej-altq-separation:1.7.0.34
	thorpej-altq-separation-base:1.7
	netbsd-10-0-RC1:1.7
	netbsd-10:1.7.0.32
	netbsd-10-base:1.7
	bouyer-sunxi-drm:1.7.0.30
	bouyer-sunxi-drm-base:1.7
	netbsd-9-3-RELEASE:1.7
	thorpej-i2c-spi-conf2:1.7.0.28
	thorpej-i2c-spi-conf2-base:1.7
	thorpej-futex2:1.7.0.26
	thorpej-futex2-base:1.7
	thorpej-cfargs2:1.7.0.24
	thorpej-cfargs2-base:1.7
	cjep_sun2x-base1:1.7
	cjep_sun2x:1.7.0.22
	cjep_sun2x-base:1.7
	cjep_staticlib_x-base1:1.7
	netbsd-9-2-RELEASE:1.7
	cjep_staticlib_x:1.7.0.20
	cjep_staticlib_x-base:1.7
	thorpej-i2c-spi-conf:1.7.0.18
	thorpej-i2c-spi-conf-base:1.7
	thorpej-cfargs:1.7.0.16
	thorpej-cfargs-base:1.7
	thorpej-futex:1.7.0.14
	thorpej-futex-base:1.7
	netbsd-9-1-RELEASE:1.7
	bouyer-xenpvh-base2:1.7
	phil-wifi-20200421:1.7
	bouyer-xenpvh-base1:1.7
	phil-wifi-20200411:1.7
	bouyer-xenpvh:1.7.0.12
	bouyer-xenpvh-base:1.7
	is-mlppp:1.7.0.10
	is-mlppp-base:1.7
	phil-wifi-20200406:1.7
	netbsd-8-2-RELEASE:1.4.10.1
	ad-namecache-base3:1.7
	netbsd-9-0-RELEASE:1.7
	netbsd-9-0-RC2:1.7
	ad-namecache-base2:1.7
	ad-namecache-base1:1.7
	ad-namecache:1.7.0.8
	ad-namecache-base:1.7
	netbsd-9-0-RC1:1.7
	phil-wifi-20191119:1.7
	netbsd-9:1.7.0.6
	netbsd-9-base:1.7
	phil-wifi-20190609:1.7
	netbsd-8-1-RELEASE:1.4.10.1
	netbsd-8-1-RC1:1.4.10.1
	isaki-audio2:1.7.0.4
	isaki-audio2-base:1.7
	pgoyette-compat-merge-20190127:1.4.16.1
	pgoyette-compat-20190127:1.7
	pgoyette-compat-20190118:1.7
	pgoyette-compat-1226:1.7
	pgoyette-compat-1126:1.7
	pgoyette-compat-1020:1.7
	pgoyette-compat-0930:1.7
	pgoyette-compat-0906:1.7
	netbsd-7-2-RELEASE:1.2
	pgoyette-compat-0728:1.7
	netbsd-8-0-RELEASE:1.4.10.1
	phil-wifi:1.7.0.2
	phil-wifi-base:1.7
	pgoyette-compat-0625:1.7
	netbsd-8-0-RC2:1.4.10.1
	pgoyette-compat-0521:1.4
	pgoyette-compat-0502:1.4
	pgoyette-compat-0422:1.4
	netbsd-8-0-RC1:1.4
	pgoyette-compat-0415:1.4
	pgoyette-compat-0407:1.4
	pgoyette-compat-0330:1.4
	pgoyette-compat-0322:1.4
	pgoyette-compat-0315:1.4
	netbsd-7-1-2-RELEASE:1.2
	pgoyette-compat:1.4.0.16
	pgoyette-compat-base:1.4
	netbsd-7-1-1-RELEASE:1.2
	tls-maxphys-base-20171202:1.4
	matt-nb8-mediatek:1.4.0.14
	matt-nb8-mediatek-base:1.4
	nick-nhusb-base-20170825:1.4
	perseant-stdc-iso10646:1.4.0.12
	perseant-stdc-iso10646-base:1.4
	netbsd-8:1.4.0.10
	netbsd-8-base:1.4
	prg-localcount2-base3:1.4
	prg-localcount2-base2:1.4
	prg-localcount2-base1:1.4
	prg-localcount2:1.4.0.8
	prg-localcount2-base:1.4
	pgoyette-localcount-20170426:1.4
	bouyer-socketcan-base1:1.4
	jdolecek-ncq:1.4.0.6
	jdolecek-ncq-base:1.4
	pgoyette-localcount-20170320:1.4
	netbsd-7-1:1.2.0.46
	netbsd-7-1-RELEASE:1.2
	netbsd-7-1-RC2:1.2
	nick-nhusb-base-20170204:1.4
	netbsd-7-nhusb-base-20170116:1.2
	bouyer-socketcan:1.4.0.4
	bouyer-socketcan-base:1.4
	pgoyette-localcount-20170107:1.4
	netbsd-7-1-RC1:1.2
	nick-nhusb-base-20161204:1.4
	pgoyette-localcount-20161104:1.4
	netbsd-7-0-2-RELEASE:1.2
	nick-nhusb-base-20161004:1.4
	localcount-20160914:1.4
	netbsd-7-nhusb:1.2.0.44
	netbsd-7-nhusb-base:1.2
	pgoyette-localcount-20160806:1.4
	pgoyette-localcount-20160726:1.4
	pgoyette-localcount:1.4.0.2
	pgoyette-localcount-base:1.4
	nick-nhusb-base-20160907:1.4
	nick-nhusb-base-20160529:1.4
	netbsd-7-0-1-RELEASE:1.2
	nick-nhusb-base-20160422:1.4
	nick-nhusb-base-20160319:1.3
	nick-nhusb-base-20151226:1.3
	netbsd-7-0:1.2.0.42
	netbsd-7-0-RELEASE:1.2
	nick-nhusb-base-20150921:1.3
	netbsd-7-0-RC3:1.2
	netbsd-7-0-RC2:1.2
	netbsd-7-0-RC1:1.2
	nick-nhusb-base-20150606:1.2
	nick-nhusb-base-20150406:1.2
	nick-nhusb:1.2.0.40
	nick-nhusb-base:1.2
	netbsd-5-2-3-RELEASE:1.1
	netbsd-5-1-5-RELEASE:1.1
	netbsd-6-0-6-RELEASE:1.2
	netbsd-6-1-5-RELEASE:1.2
	netbsd-7:1.2.0.38
	netbsd-7-base:1.2
	yamt-pagecache-base9:1.2
	yamt-pagecache-tag8:1.2
	netbsd-6-1-4-RELEASE:1.2
	netbsd-6-0-5-RELEASE:1.2
	tls-earlyentropy:1.2.0.36
	tls-earlyentropy-base:1.2
	riastradh-xf86-video-intel-2-7-1-pre-2-21-15:1.2
	riastradh-drm2-base3:1.2
	netbsd-6-1-3-RELEASE:1.2
	netbsd-6-0-4-RELEASE:1.2
	netbsd-5-2-2-RELEASE:1.1
	netbsd-5-1-4-RELEASE:1.1
	netbsd-6-1-2-RELEASE:1.2
	netbsd-6-0-3-RELEASE:1.2
	netbsd-5-2-1-RELEASE:1.1
	netbsd-5-1-3-RELEASE:1.1
	rmind-smpnet-nbase:1.2
	netbsd-6-1-1-RELEASE:1.2
	riastradh-drm2-base2:1.2
	riastradh-drm2-base1:1.2
	riastradh-drm2:1.2.0.34
	riastradh-drm2-base:1.2
	rmind-smpnet:1.2.0.26
	rmind-smpnet-base:1.2
	netbsd-6-1:1.2.0.32
	netbsd-6-0-2-RELEASE:1.2
	netbsd-6-1-RELEASE:1.2
	khorben-n900:1.2.0.30
	netbsd-6-1-RC4:1.2
	netbsd-6-1-RC3:1.2
	agc-symver:1.2.0.28
	agc-symver-base:1.2
	netbsd-6-1-RC2:1.2
	netbsd-6-1-RC1:1.2
	yamt-pagecache-base8:1.2
	netbsd-5-2:1.1.0.102
	netbsd-6-0-1-RELEASE:1.2
	yamt-pagecache-base7:1.2
	netbsd-5-2-RELEASE:1.1
	netbsd-5-2-RC1:1.1
	matt-nb6-plus-nbase:1.2
	yamt-pagecache-base6:1.2
	netbsd-6-0:1.2.0.24
	netbsd-6-0-RELEASE:1.2
	netbsd-6-0-RC2:1.2
	tls-maxphys:1.2.0.22
	tls-maxphys-base:1.2
	matt-nb6-plus:1.2.0.20
	matt-nb6-plus-base:1.2
	netbsd-6-0-RC1:1.2
	jmcneill-usbmp-base10:1.2
	yamt-pagecache-base5:1.2
	jmcneill-usbmp-base9:1.2
	yamt-pagecache-base4:1.2
	jmcneill-usbmp-base8:1.2
	jmcneill-usbmp-base7:1.2
	jmcneill-usbmp-base6:1.2
	jmcneill-usbmp-base5:1.2
	jmcneill-usbmp-base4:1.2
	jmcneill-usbmp-base3:1.2
	jmcneill-usbmp-pre-base2:1.2
	jmcneill-usbmp-base2:1.2
	netbsd-6:1.2.0.18
	netbsd-6-base:1.2
	netbsd-5-1-2-RELEASE:1.1
	netbsd-5-1-1-RELEASE:1.1
	jmcneill-usbmp:1.2.0.16
	jmcneill-usbmp-base:1.2
	jmcneill-audiomp3:1.2.0.14
	jmcneill-audiomp3-base:1.2
	yamt-pagecache-base3:1.2
	yamt-pagecache-base2:1.2
	yamt-pagecache:1.2.0.12
	yamt-pagecache-base:1.2
	rmind-uvmplock-nbase:1.2
	cherry-xenmp:1.2.0.10
	cherry-xenmp-base:1.2
	jym-xensuspend-nbase:1.2
	uebayasi-xip-base7:1.2
	bouyer-quota2-nbase:1.2
	bouyer-quota2:1.2.0.8
	bouyer-quota2-base:1.2
	jruoho-x86intr:1.2.0.6
	jruoho-x86intr-base:1.2
	matt-mips64-premerge-20101231:1.2
	matt-nb5-mips64-premerge-20101231:1.1
	matt-nb5-pq3:1.1.0.100
	matt-nb5-pq3-base:1.1
	netbsd-5-1:1.1.0.98
	uebayasi-xip-base6:1.2
	uebayasi-xip-base5:1.2
	netbsd-5-1-RELEASE:1.1
	uebayasi-xip-base4:1.2
	uebayasi-xip-base3:1.2
	yamt-nfs-mp-base11:1.2
	netbsd-5-1-RC4:1.1
	matt-nb5-mips64-k15:1.1
	uebayasi-xip-base2:1.2
	yamt-nfs-mp-base10:1.2
	netbsd-5-1-RC3:1.1
	netbsd-5-1-RC2:1.1
	uebayasi-xip-base1:1.2
	netbsd-5-1-RC1:1.1
	rmind-uvmplock:1.2.0.4
	rmind-uvmplock-base:1.2
	yamt-nfs-mp-base9:1.2
	uebayasi-xip:1.2.0.2
	uebayasi-xip-base:1.2
	netbsd-5-0-2-RELEASE:1.1
	matt-nb5-mips64-premerge-20091211:1.1
	matt-premerge-20091211:1.2
	yamt-nfs-mp-base8:1.2
	matt-nb5-mips64-u2-k2-k4-k7-k8-k9:1.1
	matt-nb4-mips64-k7-u2a-k9b:1.1
	matt-nb5-mips64-u1-k1-k5:1.1
	yamt-nfs-mp-base7:1.2
	matt-nb5-mips64:1.1.0.96
	netbsd-5-0-1-RELEASE:1.1
	jymxensuspend-base:1.2
	yamt-nfs-mp-base6:1.1
	yamt-nfs-mp-base5:1.1
	yamt-nfs-mp-base4:1.1
	yamt-nfs-mp-base3:1.1
	nick-hppapmap-base4:1.1
	nick-hppapmap-base3:1.1
	netbsd-5-0:1.1.0.94
	netbsd-5-0-RELEASE:1.1
	netbsd-5-0-RC4:1.1
	netbsd-5-0-RC3:1.1
	nick-hppapmap-base2:1.1
	netbsd-5-0-RC2:1.1
	jym-xensuspend:1.1.0.92
	jym-xensuspend-base:1.2
	netbsd-5-0-RC1:1.1
	haad-dm-base2:1.1
	haad-nbase2:1.1
	ad-audiomp2:1.1.0.90
	ad-audiomp2-base:1.1
	netbsd-5:1.1.0.88
	netbsd-5-base:1.1
	nick-hppapmap:1.1.0.86
	nick-hppapmap-base:1.1
	matt-mips64-base2:1.1
	haad-dm-base1:1.1
	wrstuden-revivesa-base-4:1.1
	netbsd-4-0-1-RELEASE:1.1
	wrstuden-revivesa-base-3:1.1
	wrstuden-revivesa-base-2:1.1
	wrstuden-fixsa-newbase:1.1
	nick-csl-alignment-base5:1.1
	haad-dm:1.1.0.84
	haad-dm-base:1.1
	wrstuden-revivesa-base-1:1.1
	simonb-wapbl-nbase:1.1
	yamt-pf42-base4:1.1
	simonb-wapbl:1.1.0.82
	simonb-wapbl-base:1.1
	yamt-pf42-base3:1.1
	hpcarm-cleanup-nbase:1.1
	yamt-pf42-baseX:1.1
	yamt-pf42-base2:1.1
	yamt-nfs-mp-base2:1.1
	wrstuden-revivesa:1.1.0.80
	wrstuden-revivesa-base:1.1
	yamt-nfs-mp:1.1.0.78
	yamt-nfs-mp-base:1.1
	yamt-pf42:1.1.0.76
	yamt-pf42-base:1.1
	ad-socklock-base1:1.1
	yamt-lazymbuf-base15:1.1
	yamt-lazymbuf-base14:1.1
	keiichi-mipv6-nbase:1.1
	mjf-devfs2:1.1.0.74
	mjf-devfs2-base:1.1
	nick-net80211-sync:1.1.0.72
	nick-net80211-sync-base:1.1
	keiichi-mipv6:1.1.0.70
	keiichi-mipv6-base:1.1
	bouyer-xeni386-merge1:1.1
	matt-armv6-prevmlocking:1.1
	wrstuden-fixsa-base-1:1.1
	vmlocking2-base3:1.1
	netbsd-4-0:1.1.0.68
	netbsd-4-0-RELEASE:1.1
	bouyer-xeni386-nbase:1.1
	yamt-kmem-base3:1.1
	cube-autoconf:1.1.0.66
	cube-autoconf-base:1.1
	yamt-kmem-base2:1.1
	bouyer-xeni386:1.1.0.64
	bouyer-xeni386-base:1.1
	yamt-kmem:1.1.0.62
	yamt-kmem-base:1.1
	vmlocking2-base2:1.1
	reinoud-bufcleanup-nbase:1.1
	vmlocking2:1.1.0.60
	vmlocking2-base1:1.1
	netbsd-4-0-RC5:1.1
	matt-nb4-arm:1.1.0.58
	matt-nb4-arm-base:1.1
	matt-armv6-nbase:1.1
	jmcneill-base:1.1
	netbsd-4-0-RC4:1.1
	mjf-devfs:1.1.0.56
	mjf-devfs-base:1.1
	bouyer-xenamd64-base2:1.1
	vmlocking-nbase:1.1
	yamt-x86pmap-base4:1.1
	bouyer-xenamd64:1.1.0.54
	bouyer-xenamd64-base:1.1
	netbsd-4-0-RC3:1.1
	yamt-x86pmap-base3:1.1
	yamt-x86pmap-base2:1.1
	netbsd-4-0-RC2:1.1
	yamt-x86pmap:1.1.0.52
	yamt-x86pmap-base:1.1
	netbsd-4-0-RC1:1.1
	matt-armv6:1.1.0.50
	matt-armv6-base:1.1
	jmcneill-pm:1.1.0.48
	jmcneill-pm-base:1.1
	hpcarm-cleanup:1.1.0.46
	hpcarm-cleanup-base:1.1
	nick-csl-alignment:1.1.0.44
	nick-csl-alignment-base:1.1
	matt-mips64:1.1.0.42
	matt-mips64-base:1.1
	yamt-idlelwp-base8:1.1
	wrstuden-fixsa:1.1.0.40
	wrstuden-fixsa-base:1.1
	ppcoea-renovation:1.1.0.38
	ppcoea-renovation-base:1.1
	thorpej-atomic:1.1.0.36
	thorpej-atomic-base:1.1
	reinoud-bufcleanup:1.1.0.34
	reinoud-bufcleanup-base:1.1
	mjf-ufs-trans:1.1.0.32
	mjf-ufs-trans-base:1.1
	vmlocking:1.1.0.30
	vmlocking-base:1.1
	ad-audiomp:1.1.0.28
	ad-audiomp-base:1.1
	yamt-idlelwp:1.1.0.26
	post-newlock2-merge:1.1
	newlock2-nbase:1.1
	yamt-splraiseipl-base5:1.1
	yamt-splraiseipl-base4:1.1
	yamt-splraiseipl-base3:1.1
	abandoned-netbsd-4-base:1.1
	abandoned-netbsd-4:1.1.0.16
	yamt-splraiseipl-base2:1.1
	yamt-splraiseipl:1.1.0.22
	yamt-splraiseipl-base:1.1
	yamt-pdpolicy-base9:1.1
	rpaulo-netinet-merge-pcb-base:1.1
	rpaulo-netinet-merge-pcb:1.1.0.20
	newlock2:1.1.0.18
	newlock2-base:1.1
	yamt-pdpolicy-base8:1.1
	yamt-pdpolicy-base7:1.1
	netbsd-4:1.1.0.24
	netbsd-4-base:1.1
	yamt-pdpolicy-base6:1.1
	yamt-lazymbuf:1.1.0.14
	chap-midi-nbase:1.1
	gdamore-uart:1.1.0.12
	gdamore-uart-base:1.1
	simonb-timcounters-final:1.1.6.2
	peter-altq:1.1.0.10
	yamt-pdpolicy-base5:1.1
	chap-midi:1.1.0.8
	chap-midi-base:1.1
	simonb-timecounters-base:1.1
	simonb-timecounters:1.1.0.6
	elad-kernelauth-base:1.1
	elad-kernelauth:1.1.0.4
	yamt-pdpolicy:1.1.0.2
	yamt-pdpolicy-base4:1.1;
locks; strict;
comment	@# @;


1.8
date	2025.09.24.04.38.47;	author rillig;	state Exp;
branches;
next	1.7;
commitid	r8RqaglJ8gc4gVbG;

1.7
date	2018.06.13.16.04.55;	author christos;	state Exp;
branches;
next	1.6;
commitid	71oVHgZcZf1Ey8GA;

1.6
date	2018.06.11.21.38.27;	author christos;	state Exp;
branches;
next	1.5;
commitid	FnDkStYOwP51tUFA;

1.5
date	2018.05.27.01.14.50;	author christos;	state Exp;
branches;
next	1.4;
commitid	e0gagjXvNVR6bSDA;

1.4
date	2016.03.22.08.25.22;	author mrg;	state Exp;
branches
	1.4.10.1
	1.4.16.1;
next	1.3;
commitid	lmOvAeOuRxFV8CZy;

1.3
date	2015.09.06.15.34.55;	author uebayasi;	state Exp;
branches;
next	1.2;
commitid	xTQ0LIgWuLiLScAy;

1.2
date	2009.07.20.04.59.03;	author kiyohara;	state Exp;
branches
	1.2.40.1;
next	1.1;

1.1
date	2006.04.07.14.21.32;	author cherry;	state Exp;
branches
	1.1.2.1
	1.1.4.1
	1.1.6.1
	1.1.10.1
	1.1.14.1
	1.1.20.1
	1.1.78.1;
next	;

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

1.4.16.1
date	2018.06.25.07.25.43;	author pgoyette;	state Exp;
branches;
next	;
commitid	8PtAu9af7VvhiDHA;

1.2.40.1
date	2015.09.22.12.05.44;	author skrll;	state Exp;
branches;
next	1.2.40.2;
commitid	CpNWKp3ozVNTafCy;

1.2.40.2
date	2016.04.22.15.44.10;	author skrll;	state Exp;
branches;
next	;
commitid	bbo6x38wuxyZyD3z;

1.1.2.1
date	2006.04.07.14.21.32;	author yamt;	state dead;
branches;
next	1.1.2.2;

1.1.2.2
date	2006.04.11.11.53.42;	author yamt;	state Exp;
branches;
next	;

1.1.4.1
date	2006.04.07.14.21.32;	author elad;	state dead;
branches;
next	1.1.4.2;

1.1.4.2
date	2006.04.19.02.33.08;	author elad;	state Exp;
branches;
next	;

1.1.6.1
date	2006.04.07.14.21.32;	author simonb;	state dead;
branches;
next	1.1.6.2;

1.1.6.2
date	2006.04.22.11.37.39;	author simonb;	state Exp;
branches;
next	;

1.1.10.1
date	2006.04.07.14.21.32;	author tron;	state dead;
branches;
next	1.1.10.2;

1.1.10.2
date	2006.05.24.15.48.08;	author tron;	state Exp;
branches;
next	;

1.1.14.1
date	2006.04.07.14.21.32;	author yamt;	state dead;
branches;
next	1.1.14.2;

1.1.14.2
date	2006.06.21.14.52.53;	author yamt;	state Exp;
branches;
next	;

1.1.20.1
date	2006.04.07.14.21.32;	author rpaulo;	state dead;
branches;
next	1.1.20.2;

1.1.20.2
date	2006.09.09.02.40.40;	author rpaulo;	state Exp;
branches;
next	;

1.1.78.1
date	2009.08.19.18.46.25;	author yamt;	state Exp;
branches;
next	;


desc
@@


1.8
log
@ia64: fix "Invalid internal option" warning from make
@
text
@#	$NetBSD: Makefile.inc,v 1.7 2018/06/13 16:04:55 christos Exp $
#
#	Configuration variables (default values are below):
#
#	S	must be set to the top of the 'sys' tree.
#	EFIDST	may be set to the location of the directory where library
#		objects are to be built.  Defaults to ${.OBJDIR}/lib/efi.
#	EFIMISCCPPFLAGS
#		Miscellaneous cpp flags to be passed to the library's Makefile
#		when building.
#	EFIMISCMAKEFLAGS
#		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:
EFIDST?=		${.OBJDIR}/efi/libefi

EFIDIR?=		$S/arch/ia64/stand/efi/libefi
EFILIB=			${EFIDST}/libefi.a

EFIMAKE= \
	cd ${EFIDIR} && MAKEOBJDIRPREFIX= && unset MAKEOBJDIRPREFIX && \
	    MAKEOBJDIR=${EFIDST} ${MAKE} \
	    CC=${CC:q} CFLAGS=${CFLAGS:q} \
	    AS=${AS:q} AFLAGS=${AFLAGS:q} \
	    LD=${LD:q} STRIP=${STRIP:q} \
	    MACHINE=${MACHINE} MACHINE_ARCH=${MACHINE_ARCH:q} \
	    EFICPPFLAGS=${CPPFLAGS:S@@^-I.@@-I../../.@@g:q} \
	    EFIMISCCPPFLAGS=${EFIMISCCPPFLAGS:q} \
	    ${EFIMISCMAKEFLAGS}

${EFILIB}:		.MAKE .NOTMAIN __always_make_efilib
	@@echo making sure the efi library is up to date...
	@@${EFIMAKE} libefi.a

clean:			.NOTMAIN cleanefilib
cleanefilib:		.MAKE .NOTMAIN
	@@echo cleaning the efi library objects
	@@if [ -d "${EFIDST}" ]; then ${EFIMAKE} clean; fi

cleandir distclean:	.NOTMAIN cleandirefilib
cleandirefilib:		.MAKE .NOTMAIN
	@@echo cleandiring the efi library objects
	@@if [ -d "${EFIDST}" ]; then ${EFIMAKE} cleandir; fi
	-rm -rf efi

dependall depend:	.NOTMAIN dependefilib
dependefilib:		.MAKE .NOTMAIN __always_make_efilib
	@@echo depending the efi library objects
	@@${EFIMAKE} depend

__always_make_efilib:	.NOTMAIN
	@@mkdir -p ${EFIDST}
@


1.7
log
@revert previous MAKEOBJDIRPREFIX massaging
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.inc,v 1.5 2018/05/27 01:14:50 christos Exp $
d33 1
a33 1
${EFILIB}:		.NOTMAIN __always_make_efilib
d38 1
a38 1
cleanefilib:		.NOTMAIN
d43 1
a43 1
cleandirefilib:		.NOTMAIN
d49 1
a49 1
dependefilib:		.NOTMAIN __always_make_efilib
@


1.6
log
@switch from MAKEOBJDIRPREFIX to MAKEOBJDIR.
@
text
@d25 1
a25 1
	    CC=${CC:q} CFLAGS=${CFLAGS:S/MAKEOBJDIRPREFIX/MAKEOBJDIR/:q} \
@


1.5
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.4 2016/03/22 08:25:22 mrg Exp $
d25 1
a25 1
	    CC=${CC:q} CFLAGS=${CFLAGS:q} \
@


1.4
log
@remove a bunch of "@@echo done" from the tail of rules.  these messages
were vaguely useful back when we didn't run make -j, but now you end
up with a single line "done" every so often, with no idea what it is
for.  very few other targets claim they're done so just remove these.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.inc,v 1.3 2015/09/06 15:34:55 uebayasi Exp $
d25 6
a30 6
	    CC=${CC:Q} CFLAGS=${CFLAGS:Q} \
	    AS=${AS:Q} AFLAGS=${AFLAGS:Q} \
	    LD=${LD:Q} STRIP=${STRIP:Q} \
	    MACHINE=${MACHINE} MACHINE_ARCH=${MACHINE_ARCH:Q} \
	    EFICPPFLAGS=${CPPFLAGS:S@@^-I.@@-I../../.@@g:Q} \
	    EFIMISCCPPFLAGS=${EFIMISCCPPFLAGS:Q} \
@


1.4.16.1
log
@Sync with HEAD
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.inc,v 1.7 2018/06/13 16:04:55 christos Exp $
d25 6
a30 6
	    CC=${CC:q} CFLAGS=${CFLAGS:q} \
	    AS=${AS:q} AFLAGS=${AFLAGS:q} \
	    LD=${LD:q} STRIP=${STRIP:q} \
	    MACHINE=${MACHINE} MACHINE_ARCH=${MACHINE_ARCH:q} \
	    EFICPPFLAGS=${CPPFLAGS:S@@^-I.@@-I../../.@@g:q} \
	    EFIMISCCPPFLAGS=${EFIMISCCPPFLAGS:q} \
@


1.4.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.4 2016/03/22 08:25:22 mrg Exp $
d25 6
a30 6
	    CC=${CC:q} CFLAGS=${CFLAGS:q} \
	    AS=${AS:q} AFLAGS=${AFLAGS:q} \
	    LD=${LD:q} STRIP=${STRIP:q} \
	    MACHINE=${MACHINE} MACHINE_ARCH=${MACHINE_ARCH:q} \
	    EFICPPFLAGS=${CPPFLAGS:S@@^-I.@@-I../../.@@g:q} \
	    EFIMISCCPPFLAGS=${EFIMISCCPPFLAGS:q} \
@


1.3
log
@In kernel lib build, print message when things not only start bug also end.
@
text
@d1 1
a1 1
#	$NetBSD$
a35 1
	@@echo done
a40 1
	@@echo done
a46 1
	@@echo done
a51 1
	@@echo done
@


1.2
log
@Fix little bit, and add a few files.
  current status is to see following thread.
    http://mail-index.netbsd.org/port-ia64/2009/06/18/msg000102.html
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.inc,v 1.1 2006/04/07 14:21:32 cherry Exp $
d36 1
d42 1
d49 1
d55 1
@


1.2.40.1
log
@Sync with HEAD
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.inc,v 1.3 2015/09/06 15:34:55 uebayasi Exp $
a35 1
	@@echo done
a40 1
	@@echo done
a46 1
	@@echo done
a51 1
	@@echo done
@


1.2.40.2
log
@Sync with HEAD
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.inc,v 1.2.40.1 2015/09/22 12:05:44 skrll Exp $
d36 1
d42 1
d49 1
d55 1
@


1.1
log
@Initial import of arch/ia64 sources.
These sources are ported from FreeBSD/ia64 code.
See individual source files for credits.
In addition, code from NetBSD/alpha NetBSD/sparc64,
NetBSD/i386 and NetBSD/amd64 were used as templates,
along with my own additions.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.inc,v 1.12 2003/11/07 23:39:27 dsl Exp $
d46 1
@


1.1.6.1
log
@file Makefile.inc was added on branch simonb-timecounters on 2006-04-22 11:37:39 +0000
@
text
@d1 53
@


1.1.6.2
log
@Sync with head.
@
text
@a0 53
#	$NetBSD: Makefile.inc,v 1.1.6.1 2006/04/22 11:37:39 simonb Exp $
#
#	Configuration variables (default values are below):
#
#	S	must be set to the top of the 'sys' tree.
#	EFIDST	may be set to the location of the directory where library
#		objects are to be built.  Defaults to ${.OBJDIR}/lib/efi.
#	EFIMISCCPPFLAGS
#		Miscellaneous cpp flags to be passed to the library's Makefile
#		when building.
#	EFIMISCMAKEFLAGS
#		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:
EFIDST?=		${.OBJDIR}/efi/libefi

EFIDIR?=		$S/arch/ia64/stand/efi/libefi
EFILIB=			${EFIDST}/libefi.a

EFIMAKE= \
	cd ${EFIDIR} && MAKEOBJDIRPREFIX= && unset MAKEOBJDIRPREFIX && \
	    MAKEOBJDIR=${EFIDST} ${MAKE} \
	    CC=${CC:Q} CFLAGS=${CFLAGS:Q} \
	    AS=${AS:Q} AFLAGS=${AFLAGS:Q} \
	    LD=${LD:Q} STRIP=${STRIP:Q} \
	    MACHINE=${MACHINE} MACHINE_ARCH=${MACHINE_ARCH:Q} \
	    EFICPPFLAGS=${CPPFLAGS:S@@^-I.@@-I../../.@@g:Q} \
	    EFIMISCCPPFLAGS=${EFIMISCCPPFLAGS:Q} \
	    ${EFIMISCMAKEFLAGS}

${EFILIB}:		.NOTMAIN __always_make_efilib
	@@echo making sure the efi library is up to date...
	@@${EFIMAKE} libefi.a

clean:			.NOTMAIN cleanefilib
cleanefilib:		.NOTMAIN
	@@echo cleaning the efi library objects
	@@if [ -d "${EFIDST}" ]; then ${EFIMAKE} clean; fi

cleandir distclean:	.NOTMAIN cleandirefilib
cleandirefilib:		.NOTMAIN
	@@echo cleandiring the efi library objects
	@@if [ -d "${EFIDST}" ]; then ${EFIMAKE} cleandir; fi

dependall depend:	.NOTMAIN dependefilib
dependefilib:		.NOTMAIN __always_make_efilib
	@@echo depending the efi library objects
	@@${EFIMAKE} depend

__always_make_efilib:	.NOTMAIN
	@@mkdir -p ${EFIDST}
@


1.1.10.1
log
@file Makefile.inc was added on branch peter-altq on 2006-05-24 15:48:08 +0000
@
text
@d1 53
@


1.1.10.2
log
@Merge 2006-05-24 NetBSD-current into the "peter-altq" branch.
@
text
@a0 53
#	$NetBSD: Makefile.inc,v 1.1.10.1 2006/05/24 15:48:08 tron Exp $
#
#	Configuration variables (default values are below):
#
#	S	must be set to the top of the 'sys' tree.
#	EFIDST	may be set to the location of the directory where library
#		objects are to be built.  Defaults to ${.OBJDIR}/lib/efi.
#	EFIMISCCPPFLAGS
#		Miscellaneous cpp flags to be passed to the library's Makefile
#		when building.
#	EFIMISCMAKEFLAGS
#		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:
EFIDST?=		${.OBJDIR}/efi/libefi

EFIDIR?=		$S/arch/ia64/stand/efi/libefi
EFILIB=			${EFIDST}/libefi.a

EFIMAKE= \
	cd ${EFIDIR} && MAKEOBJDIRPREFIX= && unset MAKEOBJDIRPREFIX && \
	    MAKEOBJDIR=${EFIDST} ${MAKE} \
	    CC=${CC:Q} CFLAGS=${CFLAGS:Q} \
	    AS=${AS:Q} AFLAGS=${AFLAGS:Q} \
	    LD=${LD:Q} STRIP=${STRIP:Q} \
	    MACHINE=${MACHINE} MACHINE_ARCH=${MACHINE_ARCH:Q} \
	    EFICPPFLAGS=${CPPFLAGS:S@@^-I.@@-I../../.@@g:Q} \
	    EFIMISCCPPFLAGS=${EFIMISCCPPFLAGS:Q} \
	    ${EFIMISCMAKEFLAGS}

${EFILIB}:		.NOTMAIN __always_make_efilib
	@@echo making sure the efi library is up to date...
	@@${EFIMAKE} libefi.a

clean:			.NOTMAIN cleanefilib
cleanefilib:		.NOTMAIN
	@@echo cleaning the efi library objects
	@@if [ -d "${EFIDST}" ]; then ${EFIMAKE} clean; fi

cleandir distclean:	.NOTMAIN cleandirefilib
cleandirefilib:		.NOTMAIN
	@@echo cleandiring the efi library objects
	@@if [ -d "${EFIDST}" ]; then ${EFIMAKE} cleandir; fi

dependall depend:	.NOTMAIN dependefilib
dependefilib:		.NOTMAIN __always_make_efilib
	@@echo depending the efi library objects
	@@${EFIMAKE} depend

__always_make_efilib:	.NOTMAIN
	@@mkdir -p ${EFIDST}
@


1.1.2.1
log
@file Makefile.inc was added on branch yamt-pdpolicy on 2006-04-11 11:53:42 +0000
@
text
@d1 53
@


1.1.2.2
log
@sync with head
@
text
@a0 53
#	$NetBSD: Makefile.inc,v 1.1.2.1 2006/04/11 11:53:42 yamt Exp $
#
#	Configuration variables (default values are below):
#
#	S	must be set to the top of the 'sys' tree.
#	EFIDST	may be set to the location of the directory where library
#		objects are to be built.  Defaults to ${.OBJDIR}/lib/efi.
#	EFIMISCCPPFLAGS
#		Miscellaneous cpp flags to be passed to the library's Makefile
#		when building.
#	EFIMISCMAKEFLAGS
#		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:
EFIDST?=		${.OBJDIR}/efi/libefi

EFIDIR?=		$S/arch/ia64/stand/efi/libefi
EFILIB=			${EFIDST}/libefi.a

EFIMAKE= \
	cd ${EFIDIR} && MAKEOBJDIRPREFIX= && unset MAKEOBJDIRPREFIX && \
	    MAKEOBJDIR=${EFIDST} ${MAKE} \
	    CC=${CC:Q} CFLAGS=${CFLAGS:Q} \
	    AS=${AS:Q} AFLAGS=${AFLAGS:Q} \
	    LD=${LD:Q} STRIP=${STRIP:Q} \
	    MACHINE=${MACHINE} MACHINE_ARCH=${MACHINE_ARCH:Q} \
	    EFICPPFLAGS=${CPPFLAGS:S@@^-I.@@-I../../.@@g:Q} \
	    EFIMISCCPPFLAGS=${EFIMISCCPPFLAGS:Q} \
	    ${EFIMISCMAKEFLAGS}

${EFILIB}:		.NOTMAIN __always_make_efilib
	@@echo making sure the efi library is up to date...
	@@${EFIMAKE} libefi.a

clean:			.NOTMAIN cleanefilib
cleanefilib:		.NOTMAIN
	@@echo cleaning the efi library objects
	@@if [ -d "${EFIDST}" ]; then ${EFIMAKE} clean; fi

cleandir distclean:	.NOTMAIN cleandirefilib
cleandirefilib:		.NOTMAIN
	@@echo cleandiring the efi library objects
	@@if [ -d "${EFIDST}" ]; then ${EFIMAKE} cleandir; fi

dependall depend:	.NOTMAIN dependefilib
dependefilib:		.NOTMAIN __always_make_efilib
	@@echo depending the efi library objects
	@@${EFIMAKE} depend

__always_make_efilib:	.NOTMAIN
	@@mkdir -p ${EFIDST}
@


1.1.20.1
log
@file Makefile.inc was added on branch rpaulo-netinet-merge-pcb on 2006-09-09 02:40:40 +0000
@
text
@d1 53
@


1.1.20.2
log
@sync with head
@
text
@a0 53
#	$NetBSD: Makefile.inc,v 1.1.20.1 2006/09/09 02:40:40 rpaulo Exp $
#
#	Configuration variables (default values are below):
#
#	S	must be set to the top of the 'sys' tree.
#	EFIDST	may be set to the location of the directory where library
#		objects are to be built.  Defaults to ${.OBJDIR}/lib/efi.
#	EFIMISCCPPFLAGS
#		Miscellaneous cpp flags to be passed to the library's Makefile
#		when building.
#	EFIMISCMAKEFLAGS
#		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:
EFIDST?=		${.OBJDIR}/efi/libefi

EFIDIR?=		$S/arch/ia64/stand/efi/libefi
EFILIB=			${EFIDST}/libefi.a

EFIMAKE= \
	cd ${EFIDIR} && MAKEOBJDIRPREFIX= && unset MAKEOBJDIRPREFIX && \
	    MAKEOBJDIR=${EFIDST} ${MAKE} \
	    CC=${CC:Q} CFLAGS=${CFLAGS:Q} \
	    AS=${AS:Q} AFLAGS=${AFLAGS:Q} \
	    LD=${LD:Q} STRIP=${STRIP:Q} \
	    MACHINE=${MACHINE} MACHINE_ARCH=${MACHINE_ARCH:Q} \
	    EFICPPFLAGS=${CPPFLAGS:S@@^-I.@@-I../../.@@g:Q} \
	    EFIMISCCPPFLAGS=${EFIMISCCPPFLAGS:Q} \
	    ${EFIMISCMAKEFLAGS}

${EFILIB}:		.NOTMAIN __always_make_efilib
	@@echo making sure the efi library is up to date...
	@@${EFIMAKE} libefi.a

clean:			.NOTMAIN cleanefilib
cleanefilib:		.NOTMAIN
	@@echo cleaning the efi library objects
	@@if [ -d "${EFIDST}" ]; then ${EFIMAKE} clean; fi

cleandir distclean:	.NOTMAIN cleandirefilib
cleandirefilib:		.NOTMAIN
	@@echo cleandiring the efi library objects
	@@if [ -d "${EFIDST}" ]; then ${EFIMAKE} cleandir; fi

dependall depend:	.NOTMAIN dependefilib
dependefilib:		.NOTMAIN __always_make_efilib
	@@echo depending the efi library objects
	@@${EFIMAKE} depend

__always_make_efilib:	.NOTMAIN
	@@mkdir -p ${EFIDST}
@


1.1.4.1
log
@file Makefile.inc was added on branch elad-kernelauth on 2006-04-19 02:33:08 +0000
@
text
@d1 53
@


1.1.4.2
log
@sync with head - hopefully this will work
@
text
@a0 53
#	$NetBSD: Makefile.inc,v 1.1.4.1 2006/04/19 02:33:08 elad Exp $
#
#	Configuration variables (default values are below):
#
#	S	must be set to the top of the 'sys' tree.
#	EFIDST	may be set to the location of the directory where library
#		objects are to be built.  Defaults to ${.OBJDIR}/lib/efi.
#	EFIMISCCPPFLAGS
#		Miscellaneous cpp flags to be passed to the library's Makefile
#		when building.
#	EFIMISCMAKEFLAGS
#		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:
EFIDST?=		${.OBJDIR}/efi/libefi

EFIDIR?=		$S/arch/ia64/stand/efi/libefi
EFILIB=			${EFIDST}/libefi.a

EFIMAKE= \
	cd ${EFIDIR} && MAKEOBJDIRPREFIX= && unset MAKEOBJDIRPREFIX && \
	    MAKEOBJDIR=${EFIDST} ${MAKE} \
	    CC=${CC:Q} CFLAGS=${CFLAGS:Q} \
	    AS=${AS:Q} AFLAGS=${AFLAGS:Q} \
	    LD=${LD:Q} STRIP=${STRIP:Q} \
	    MACHINE=${MACHINE} MACHINE_ARCH=${MACHINE_ARCH:Q} \
	    EFICPPFLAGS=${CPPFLAGS:S@@^-I.@@-I../../.@@g:Q} \
	    EFIMISCCPPFLAGS=${EFIMISCCPPFLAGS:Q} \
	    ${EFIMISCMAKEFLAGS}

${EFILIB}:		.NOTMAIN __always_make_efilib
	@@echo making sure the efi library is up to date...
	@@${EFIMAKE} libefi.a

clean:			.NOTMAIN cleanefilib
cleanefilib:		.NOTMAIN
	@@echo cleaning the efi library objects
	@@if [ -d "${EFIDST}" ]; then ${EFIMAKE} clean; fi

cleandir distclean:	.NOTMAIN cleandirefilib
cleandirefilib:		.NOTMAIN
	@@echo cleandiring the efi library objects
	@@if [ -d "${EFIDST}" ]; then ${EFIMAKE} cleandir; fi

dependall depend:	.NOTMAIN dependefilib
dependefilib:		.NOTMAIN __always_make_efilib
	@@echo depending the efi library objects
	@@${EFIMAKE} depend

__always_make_efilib:	.NOTMAIN
	@@mkdir -p ${EFIDST}
@


1.1.14.1
log
@file Makefile.inc was added on branch yamt-lazymbuf on 2006-06-21 14:52:53 +0000
@
text
@d1 53
@


1.1.14.2
log
@sync with head.
@
text
@a0 53
#	$NetBSD: Makefile.inc,v 1.1.14.1 2006/06/21 14:52:53 yamt Exp $
#
#	Configuration variables (default values are below):
#
#	S	must be set to the top of the 'sys' tree.
#	EFIDST	may be set to the location of the directory where library
#		objects are to be built.  Defaults to ${.OBJDIR}/lib/efi.
#	EFIMISCCPPFLAGS
#		Miscellaneous cpp flags to be passed to the library's Makefile
#		when building.
#	EFIMISCMAKEFLAGS
#		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:
EFIDST?=		${.OBJDIR}/efi/libefi

EFIDIR?=		$S/arch/ia64/stand/efi/libefi
EFILIB=			${EFIDST}/libefi.a

EFIMAKE= \
	cd ${EFIDIR} && MAKEOBJDIRPREFIX= && unset MAKEOBJDIRPREFIX && \
	    MAKEOBJDIR=${EFIDST} ${MAKE} \
	    CC=${CC:Q} CFLAGS=${CFLAGS:Q} \
	    AS=${AS:Q} AFLAGS=${AFLAGS:Q} \
	    LD=${LD:Q} STRIP=${STRIP:Q} \
	    MACHINE=${MACHINE} MACHINE_ARCH=${MACHINE_ARCH:Q} \
	    EFICPPFLAGS=${CPPFLAGS:S@@^-I.@@-I../../.@@g:Q} \
	    EFIMISCCPPFLAGS=${EFIMISCCPPFLAGS:Q} \
	    ${EFIMISCMAKEFLAGS}

${EFILIB}:		.NOTMAIN __always_make_efilib
	@@echo making sure the efi library is up to date...
	@@${EFIMAKE} libefi.a

clean:			.NOTMAIN cleanefilib
cleanefilib:		.NOTMAIN
	@@echo cleaning the efi library objects
	@@if [ -d "${EFIDST}" ]; then ${EFIMAKE} clean; fi

cleandir distclean:	.NOTMAIN cleandirefilib
cleandirefilib:		.NOTMAIN
	@@echo cleandiring the efi library objects
	@@if [ -d "${EFIDST}" ]; then ${EFIMAKE} cleandir; fi

dependall depend:	.NOTMAIN dependefilib
dependefilib:		.NOTMAIN __always_make_efilib
	@@echo depending the efi library objects
	@@${EFIMAKE} depend

__always_make_efilib:	.NOTMAIN
	@@mkdir -p ${EFIDST}
@


1.1.78.1
log
@sync with head.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.inc,v 1.1 2006/04/07 14:21:32 cherry Exp $
a45 1
	-rm -rf efi
@
