head	1.16;
access;
symbols
	perseant-exfatfs-base-20250801:1.16
	perseant-exfatfs-base-20240630:1.16
	perseant-exfatfs:1.16.0.26
	perseant-exfatfs-base:1.16
	bouyer-sunxi-drm:1.16.0.24
	bouyer-sunxi-drm-base:1.16
	cjep_sun2x:1.16.0.22
	cjep_sun2x-base:1.16
	cjep_staticlib_x-base1:1.16
	cjep_staticlib_x:1.16.0.20
	cjep_staticlib_x-base:1.16
	thorpej-futex-base:1.16
	bouyer-xenpvh-base2:1.16
	phil-wifi-20200421:1.16
	bouyer-xenpvh-base1:1.16
	phil-wifi-20200411:1.16
	bouyer-xenpvh:1.16.0.18
	bouyer-xenpvh-base:1.16
	phil-wifi-20200406:1.16
	ad-namecache-base3:1.16
	ad-namecache-base2:1.16
	ad-namecache-base1:1.16
	ad-namecache:1.16.0.16
	ad-namecache-base:1.16
	isaki-audio2:1.16.0.14
	isaki-audio2-base:1.16
	pgoyette-compat-merge-20190127:1.16
	pgoyette-compat-20190127:1.16
	pgoyette-compat-20190118:1.16
	pgoyette-compat-1226:1.16
	pgoyette-compat-1126:1.16
	pgoyette-compat-1020:1.16
	pgoyette-compat-0930:1.16
	pgoyette-compat-0906:1.16
	pgoyette-compat-0728:1.16
	pgoyette-compat-0625:1.16
	pgoyette-compat-0521:1.16
	pgoyette-compat-0502:1.16
	pgoyette-compat-0422:1.16
	pgoyette-compat-0415:1.16
	pgoyette-compat-0407:1.16
	pgoyette-compat-0330:1.16
	pgoyette-compat-0322:1.16
	pgoyette-compat-0315:1.16
	pgoyette-compat:1.16.0.12
	pgoyette-compat-base:1.16
	perseant-stdc-iso10646:1.16.0.10
	perseant-stdc-iso10646-base:1.16
	prg-localcount2-base3:1.16
	prg-localcount2-base2:1.16
	prg-localcount2-base1:1.16
	prg-localcount2:1.16.0.8
	prg-localcount2-base:1.16
	pgoyette-localcount-20170426:1.16
	bouyer-socketcan-base1:1.16
	pgoyette-localcount-20170320:1.16
	bouyer-socketcan:1.16.0.6
	bouyer-socketcan-base:1.16
	pgoyette-localcount-20170107:1.16
	pgoyette-localcount-20161104:1.16
	localcount-20160914:1.16
	pgoyette-localcount-20160806:1.16
	pgoyette-localcount-20160726:1.16
	pgoyette-localcount:1.16.0.4
	pgoyette-localcount-base:1.16
	netbsd-5-2-3-RELEASE:1.12
	netbsd-5-1-5-RELEASE:1.12
	netbsd-6-0-6-RELEASE:1.14
	netbsd-6-1-5-RELEASE:1.14
	yamt-pagecache-base9:1.16
	yamt-pagecache-tag8:1.14
	netbsd-6-1-4-RELEASE:1.14
	netbsd-6-0-5-RELEASE:1.14
	tls-earlyentropy:1.16.0.2
	tls-earlyentropy-base:1.16
	riastradh-xf86-video-intel-2-7-1-pre-2-21-15:1.16
	riastradh-drm2-base3:1.16
	netbsd-6-1-3-RELEASE:1.14
	netbsd-6-0-4-RELEASE:1.14
	netbsd-5-2-2-RELEASE:1.12
	netbsd-5-1-4-RELEASE:1.12
	netbsd-6-1-2-RELEASE:1.14
	netbsd-6-0-3-RELEASE:1.14
	netbsd-5-2-1-RELEASE:1.12
	netbsd-5-1-3-RELEASE:1.12
	rmind-smpnet-nbase:1.16
	netbsd-6-1-1-RELEASE:1.14
	riastradh-drm2-base2:1.14
	riastradh-drm2-base1:1.14
	riastradh-drm2:1.14.0.26
	riastradh-drm2-base:1.14
	rmind-smpnet:1.14.0.18
	rmind-smpnet-base:1.16
	netbsd-6-1:1.14.0.24
	netbsd-6-0-2-RELEASE:1.14
	netbsd-6-1-RELEASE:1.14
	khorben-n900:1.14.0.22
	netbsd-6-1-RC4:1.14
	netbsd-6-1-RC3:1.14
	agc-symver:1.14.0.20
	agc-symver-base:1.14
	netbsd-6-1-RC2:1.14
	netbsd-6-1-RC1:1.14
	yamt-pagecache-base8:1.14
	netbsd-5-2:1.12.0.20
	netbsd-6-0-1-RELEASE:1.14
	yamt-pagecache-base7:1.14
	netbsd-5-2-RELEASE:1.12
	netbsd-5-2-RC1:1.12
	matt-nb6-plus-nbase:1.14
	yamt-pagecache-base6:1.14
	netbsd-6-0:1.14.0.16
	netbsd-6-0-RELEASE:1.14
	netbsd-6-0-RC2:1.14
	tls-maxphys:1.14.0.14
	tls-maxphys-base:1.16
	matt-nb6-plus:1.14.0.12
	matt-nb6-plus-base:1.14
	netbsd-6-0-RC1:1.14
	jmcneill-usbmp-base10:1.14
	yamt-pagecache-base5:1.14
	jmcneill-usbmp-base9:1.14
	yamt-pagecache-base4:1.14
	jmcneill-usbmp-base8:1.14
	jmcneill-usbmp-base7:1.14
	jmcneill-usbmp-base6:1.14
	jmcneill-usbmp-base5:1.14
	jmcneill-usbmp-base4:1.14
	jmcneill-usbmp-base3:1.14
	jmcneill-usbmp-pre-base2:1.14
	jmcneill-usbmp-base2:1.14
	netbsd-6:1.14.0.10
	netbsd-6-base:1.14
	netbsd-5-1-2-RELEASE:1.12
	netbsd-5-1-1-RELEASE:1.12
	jmcneill-usbmp:1.14.0.8
	jmcneill-usbmp-base:1.14
	jmcneill-audiomp3:1.14.0.6
	jmcneill-audiomp3-base:1.14
	yamt-pagecache-base3:1.14
	yamt-pagecache-base2:1.14
	yamt-pagecache:1.14.0.4
	yamt-pagecache-base:1.14
	rmind-uvmplock-nbase:1.14
	cherry-xenmp:1.14.0.2
	cherry-xenmp-base:1.14
	jym-xensuspend-nbase:1.14
	uebayasi-xip-base7:1.14
	bouyer-quota2-nbase:1.14
	bouyer-quota2:1.13.0.8
	bouyer-quota2-base:1.14
	jruoho-x86intr:1.13.0.6
	jruoho-x86intr-base:1.13
	matt-mips64-premerge-20101231:1.13
	matt-nb5-mips64-premerge-20101231:1.12
	matt-nb5-pq3:1.12.0.18
	matt-nb5-pq3-base:1.12
	netbsd-5-1:1.12.0.16
	uebayasi-xip-base6:1.13
	uebayasi-xip-base5:1.13
	netbsd-5-1-RELEASE:1.12
	uebayasi-xip-base4:1.13
	uebayasi-xip-base3:1.13
	yamt-nfs-mp-base11:1.13
	netbsd-5-1-RC4:1.12
	matt-nb5-mips64-k15:1.12
	uebayasi-xip-base2:1.13
	yamt-nfs-mp-base10:1.13
	netbsd-5-1-RC3:1.12
	netbsd-5-1-RC2:1.12
	uebayasi-xip-base1:1.13
	netbsd-5-1-RC1:1.12
	rmind-uvmplock:1.13.0.4
	rmind-uvmplock-base:1.14
	yamt-nfs-mp-base9:1.13
	uebayasi-xip:1.13.0.2
	uebayasi-xip-base:1.13
	netbsd-5-0-2-RELEASE:1.12
	matt-nb5-mips64-premerge-20091211:1.12
	matt-premerge-20091211:1.13
	yamt-nfs-mp-base8:1.13
	matt-nb5-mips64-u2-k2-k4-k7-k8-k9:1.12
	matt-nb4-mips64-k7-u2a-k9b:1.12
	matt-nb5-mips64-u1-k1-k5:1.12
	yamt-nfs-mp-base7:1.13
	matt-nb5-mips64:1.12.0.14
	netbsd-5-0-1-RELEASE:1.12
	jymxensuspend-base:1.13
	yamt-nfs-mp-base6:1.13
	yamt-nfs-mp-base5:1.13
	yamt-nfs-mp-base4:1.13
	yamt-nfs-mp-base3:1.13
	nick-hppapmap-base4:1.12
	nick-hppapmap-base3:1.12
	netbsd-5-0:1.12.0.12
	netbsd-5-0-RELEASE:1.12
	netbsd-5-0-RC4:1.12
	netbsd-5-0-RC3:1.12
	nick-hppapmap-base2:1.12
	netbsd-5-0-RC2:1.12
	jym-xensuspend:1.12.0.10
	jym-xensuspend-base:1.14
	netbsd-5-0-RC1:1.12
	haad-dm-base2:1.12
	haad-nbase2:1.12
	ad-audiomp2:1.12.0.8
	ad-audiomp2-base:1.12
	netbsd-5:1.12.0.6
	netbsd-5-base:1.12
	nick-hppapmap:1.12.0.4
	nick-hppapmap-base:1.12
	matt-mips64-base2:1.12
	haad-dm-base1:1.12
	wrstuden-revivesa-base-4:1.12
	netbsd-4-0-1-RELEASE:1.10
	wrstuden-revivesa-base-3:1.12
	wrstuden-revivesa-base-2:1.12
	wrstuden-fixsa-newbase:1.10
	nick-csl-alignment-base5:1.10
	haad-dm:1.12.0.2
	haad-dm-base:1.12
	wrstuden-revivesa-base-1:1.12
	simonb-wapbl-nbase:1.12
	yamt-pf42-base4:1.12
	simonb-wapbl:1.11.0.2
	simonb-wapbl-base:1.12
	yamt-pf42-base3:1.11
	hpcarm-cleanup-nbase:1.11
	yamt-pf42-baseX:1.10
	yamt-pf42-base2:1.11
	yamt-nfs-mp-base2:1.11
	wrstuden-revivesa:1.10.0.64
	wrstuden-revivesa-base:1.12
	yamt-nfs-mp:1.10.0.62
	yamt-nfs-mp-base:1.10
	yamt-pf42:1.10.0.60
	yamt-pf42-base:1.10
	ad-socklock-base1:1.10
	yamt-lazymbuf-base15:1.10
	yamt-lazymbuf-base14:1.10
	keiichi-mipv6-nbase:1.10
	mjf-devfs2:1.10.0.58
	mjf-devfs2-base:1.12
	nick-net80211-sync:1.10.0.56
	nick-net80211-sync-base:1.10
	keiichi-mipv6:1.10.0.54
	keiichi-mipv6-base:1.10
	bouyer-xeni386-merge1:1.10
	matt-armv6-prevmlocking:1.10
	wrstuden-fixsa-base-1:1.10
	vmlocking2-base3:1.10
	netbsd-4-0:1.10.0.52
	netbsd-4-0-RELEASE:1.10
	bouyer-xeni386-nbase:1.10
	yamt-kmem-base3:1.10
	cube-autoconf:1.10.0.50
	cube-autoconf-base:1.10
	yamt-kmem-base2:1.10
	bouyer-xeni386:1.10.0.48
	bouyer-xeni386-base:1.10
	yamt-kmem:1.10.0.46
	yamt-kmem-base:1.10
	vmlocking2-base2:1.10
	reinoud-bufcleanup-nbase:1.10
	vmlocking2:1.10.0.44
	vmlocking2-base1:1.10
	netbsd-4-0-RC5:1.10
	matt-nb4-arm:1.10.0.42
	matt-nb4-arm-base:1.10
	matt-armv6-nbase:1.10
	jmcneill-base:1.10
	netbsd-4-0-RC4:1.10
	mjf-devfs:1.10.0.40
	mjf-devfs-base:1.10
	bouyer-xenamd64-base2:1.10
	vmlocking-nbase:1.10
	yamt-x86pmap-base4:1.10
	bouyer-xenamd64:1.10.0.38
	bouyer-xenamd64-base:1.10
	netbsd-4-0-RC3:1.10
	yamt-x86pmap-base3:1.10
	yamt-x86pmap-base2:1.10
	netbsd-4-0-RC2:1.10
	yamt-x86pmap:1.10.0.36
	yamt-x86pmap-base:1.10
	netbsd-4-0-RC1:1.10
	matt-armv6:1.10.0.34
	matt-armv6-base:1.10
	jmcneill-pm:1.10.0.32
	jmcneill-pm-base:1.10
	hpcarm-cleanup:1.10.0.30
	hpcarm-cleanup-base:1.10
	nick-csl-alignment:1.10.0.28
	nick-csl-alignment-base:1.10
	matt-mips64:1.10.0.26
	matt-mips64-base:1.10
	netbsd-3-1-1-RELEASE:1.6
	netbsd-3-0-3-RELEASE:1.6
	yamt-idlelwp-base8:1.10
	wrstuden-fixsa:1.10.0.24
	wrstuden-fixsa-base:1.10
	ppcoea-renovation:1.10.0.22
	ppcoea-renovation-base:1.10
	thorpej-atomic:1.10.0.20
	thorpej-atomic-base:1.10
	reinoud-bufcleanup:1.10.0.18
	reinoud-bufcleanup-base:1.10
	mjf-ufs-trans:1.10.0.16
	mjf-ufs-trans-base:1.10
	vmlocking:1.10.0.14
	vmlocking-base:1.10
	ad-audiomp:1.10.0.12
	ad-audiomp-base:1.10
	yamt-idlelwp:1.10.0.10
	post-newlock2-merge:1.10
	newlock2-nbase:1.10
	yamt-splraiseipl-base5:1.10
	yamt-splraiseipl-base4:1.10
	yamt-splraiseipl-base3:1.10
	abandoned-netbsd-4-base:1.10
	abandoned-netbsd-4:1.10.0.2
	netbsd-3-1:1.6.0.14
	netbsd-3-1-RELEASE:1.6
	netbsd-3-0-2-RELEASE:1.6
	yamt-splraiseipl-base2:1.10
	netbsd-3-1-RC4:1.6
	yamt-splraiseipl:1.10.0.6
	yamt-splraiseipl-base:1.10
	netbsd-3-1-RC3:1.6
	yamt-pdpolicy-base9:1.10
	newlock2:1.10.0.4
	newlock2-base:1.10
	yamt-pdpolicy-base8:1.10
	netbsd-3-1-RC2:1.6
	netbsd-3-1-RC1:1.6
	yamt-pdpolicy-base7:1.10
	netbsd-4:1.10.0.8
	netbsd-4-base:1.10
	yamt-pdpolicy-base6:1.9
	chap-midi-nbase:1.9
	netbsd-3-0-1-RELEASE:1.6
	gdamore-uart:1.9.0.16
	gdamore-uart-base:1.9
	simonb-timcounters-final:1.9
	yamt-pdpolicy-base5:1.9
	chap-midi:1.9.0.14
	chap-midi-base:1.9
	yamt-pdpolicy-base4:1.9
	yamt-pdpolicy-base3:1.9
	peter-altq-base:1.9
	peter-altq:1.9.0.12
	yamt-pdpolicy-base2:1.9
	elad-kernelauth-base:1.9
	elad-kernelauth:1.9.0.10
	yamt-pdpolicy:1.9.0.8
	yamt-pdpolicy-base:1.9
	yamt-uio_vmspace-base5:1.9
	simonb-timecounters:1.9.0.6
	simonb-timecounters-base:1.9
	rpaulo-netinet-merge-pcb:1.9.0.4
	rpaulo-netinet-merge-pcb-base:1.10
	yamt-uio_vmspace:1.9.0.2
	netbsd-3-0:1.6.0.12
	netbsd-3-0-RELEASE:1.6
	netbsd-3-0-RC6:1.6
	yamt-readahead-base3:1.8
	netbsd-3-0-RC5:1.6
	netbsd-3-0-RC4:1.6
	netbsd-3-0-RC3:1.6
	yamt-readahead-base2:1.8
	netbsd-3-0-RC2:1.6
	yamt-readahead-pervnode:1.8
	yamt-readahead-perfile:1.8
	yamt-readahead:1.8.0.8
	yamt-readahead-base:1.8
	netbsd-3-0-RC1:1.6
	yamt-vop-base3:1.8
	netbsd-2-0-3-RELEASE:1.5
	netbsd-2-1:1.5.0.6
	yamt-vop-base2:1.8
	thorpej-vnode-attr:1.8.0.6
	thorpej-vnode-attr-base:1.8
	netbsd-2-1-RELEASE:1.5
	yamt-vop:1.8.0.4
	yamt-vop-base:1.8
	netbsd-2-1-RC6:1.5
	netbsd-2-1-RC5:1.5
	netbsd-2-1-RC4:1.5
	netbsd-2-1-RC3:1.5
	netbsd-2-1-RC2:1.5
	netbsd-2-1-RC1:1.5
	yamt-lazymbuf:1.8.0.2
	yamt-km-base4:1.6
	netbsd-2-0-2-RELEASE:1.5
	yamt-km-base3:1.6
	netbsd-3:1.6.0.10
	netbsd-3-base:1.6
	yamt-km-base2:1.6
	yamt-km:1.6.0.6
	yamt-km-base:1.6
	kent-audio2:1.6.0.4
	kent-audio2-base:1.6
	netbsd-2-0-1-RELEASE:1.5
	kent-audio1-beforemerge:1.6
	netbsd-2:1.5.0.4
	netbsd-2-base:1.5
	kent-audio1:1.6.0.2
	kent-audio1-base:1.6
	netbsd-2-0-RELEASE:1.5
	netbsd-2-0-RC5:1.5
	netbsd-2-0-RC4:1.5
	netbsd-2-0-RC3:1.5
	netbsd-2-0-RC2:1.5
	netbsd-2-0-RC1:1.5
	netbsd-2-0:1.5.0.2
	netbsd-2-0-base:1.5
	ktrace-lwp:1.2.0.6
	ktrace-lwp-base:1.8
	nathanw_sa_before_merge:1.2
	fvdl_fs64_base:1.2
	gmcgarry_ctxsw:1.2.0.4
	gmcgarry_ctxsw_base:1.2
	gmcgarry_ucred:1.2.0.2
	gmcgarry_ucred_base:1.2
	kqueue-aftermerge:1.1
	kqueue-beforemerge:1.1
	gehenna-devsw-base:1.1
	gehenna-devsw:1.1.0.4
	kqueue-base:1.1
	kqueue:1.1.0.2;
locks; strict;
comment	@# @;


1.16
date	2014.02.24.07.23.42;	author skrll;	state dead;
branches;
next	1.15;

1.15
date	2014.01.12.15.26.29;	author tsutsui;	state Exp;
branches;
next	1.14;

1.14
date	2011.01.22.19.19.17;	author joerg;	state Exp;
branches
	1.14.4.1
	1.14.14.1
	1.14.18.1;
next	1.13;

1.13
date	2009.05.03.17.33.29;	author tsutsui;	state Exp;
branches
	1.13.4.1
	1.13.6.1
	1.13.8.1;
next	1.12;

1.12
date	2008.06.12.14.08.29;	author skrll;	state Exp;
branches
	1.12.10.1;
next	1.11;

1.11
date	2008.05.10.19.11.59;	author skrll;	state Exp;
branches
	1.11.2.1;
next	1.10;

1.10
date	2006.06.28.02.20.44;	author lukem;	state Exp;
branches
	1.10.58.1
	1.10.60.1
	1.10.62.1
	1.10.64.1;
next	1.9;

1.9
date	2005.12.11.12.17.24;	author christos;	state Exp;
branches
	1.9.4.1
	1.9.8.1
	1.9.16.1;
next	1.8;

1.8
date	2005.05.22.08.22.28;	author skrll;	state Exp;
branches
	1.8.2.1;
next	1.7;

1.7
date	2005.05.01.18.41.18;	author chs;	state Exp;
branches;
next	1.6;

1.6
date	2004.06.28.16.27.15;	author jkunz;	state Exp;
branches;
next	1.5;

1.5
date	2003.10.26.07.25.36;	author lukem;	state Exp;
branches;
next	1.4;

1.4
date	2003.10.21.12.43.19;	author itohy;	state Exp;
branches;
next	1.3;

1.3
date	2003.10.12.18.56.44;	author he;	state Exp;
branches;
next	1.2;

1.2
date	2002.11.28.06.00.28;	author chs;	state Exp;
branches
	1.2.6.1;
next	1.1;

1.1
date	2002.06.06.19.48.11;	author fredette;	state Exp;
branches
	1.1.2.1
	1.1.4.1;
next	;

1.14.4.1
date	2014.05.22.11.39.48;	author yamt;	state dead;
branches;
next	;

1.14.14.1
date	2014.08.20.00.03.02;	author tls;	state dead;
branches;
next	;

1.14.18.1
date	2014.05.18.17.45.09;	author rmind;	state dead;
branches;
next	;

1.13.4.1
date	2011.03.05.20.50.29;	author rmind;	state Exp;
branches;
next	;

1.13.6.1
date	2011.06.06.09.05.41;	author jruoho;	state Exp;
branches;
next	;

1.13.8.1
date	2011.02.08.16.19.24;	author bouyer;	state Exp;
branches;
next	;

1.12.10.1
date	2009.05.13.17.17.44;	author jym;	state Exp;
branches;
next	;

1.11.2.1
date	2008.06.18.16.32.41;	author simonb;	state Exp;
branches;
next	;

1.10.58.1
date	2008.06.02.13.22.07;	author mjf;	state Exp;
branches;
next	1.10.58.2;

1.10.58.2
date	2008.06.29.09.32.57;	author mjf;	state Exp;
branches;
next	;

1.10.60.1
date	2008.05.18.12.31.58;	author yamt;	state Exp;
branches;
next	1.10.60.2;

1.10.60.2
date	2008.06.17.09.14.00;	author yamt;	state Exp;
branches;
next	;

1.10.62.1
date	2008.05.16.02.22.23;	author yamt;	state Exp;
branches;
next	1.10.62.2;

1.10.62.2
date	2009.05.04.08.11.08;	author yamt;	state Exp;
branches;
next	;

1.10.64.1
date	2008.06.23.04.30.22;	author wrstuden;	state Exp;
branches;
next	;

1.9.4.1
date	2006.09.09.02.39.26;	author rpaulo;	state Exp;
branches;
next	;

1.9.8.1
date	2006.08.11.15.41.43;	author yamt;	state Exp;
branches;
next	;

1.9.16.1
date	2006.07.13.17.48.49;	author gdamore;	state Exp;
branches;
next	;

1.8.2.1
date	2006.12.30.20.46.01;	author yamt;	state Exp;
branches;
next	;

1.2.6.1
date	2004.08.03.10.34.54;	author skrll;	state Exp;
branches;
next	1.2.6.2;

1.2.6.2
date	2004.09.18.14.34.32;	author skrll;	state Exp;
branches;
next	1.2.6.3;

1.2.6.3
date	2004.09.21.13.15.40;	author skrll;	state Exp;
branches;
next	1.2.6.4;

1.2.6.4
date	2005.11.10.13.56.13;	author skrll;	state Exp;
branches;
next	;

1.1.2.1
date	2002.06.06.19.48.11;	author jdolecek;	state dead;
branches;
next	1.1.2.2;

1.1.2.2
date	2002.06.23.17.36.29;	author jdolecek;	state Exp;
branches;
next	;

1.1.4.1
date	2002.06.06.19.48.11;	author gehenna;	state dead;
branches;
next	1.1.4.2;

1.1.4.2
date	2002.07.14.17.46.41;	author gehenna;	state Exp;
branches;
next	;


desc
@@


1.16
log
@Rename NetBSD/hp700 to NetBSD/hppa.

Unfortunately our VCS isn't very helpful here.
@
text
@#	$NetBSD: Makefile.buildboot,v 1.15 2014/01/12 15:26:29 tsutsui Exp $

RELOC=	120000
HEAP_LIMIT=0x1c0000
#DEBUGFLAGS=-DDEBUG
#DEBUGFLAGS+=-DDEBUGBUG
#DEBUGFLAGS+=-DPDCDEBUG
#DEBUGFLAGS+=-DLIFDEBUG
#DEBUGFLAGS+=-DEXEC_DEBUG
#DEBUGFLAGS+=-DALLOC_TRACE
#DEBUGLIBS=	no

LIBCRT0=	# nothing
LIBCRTI=	# nothing
LIBCRTBEGIN=	# nothing
LIBCRTEND=	# nothing
LIBC=		# nothing

S=		${.CURDIR}/../../../..

.PATH: ${.CURDIR}/../common

SRCS=		${PROGSOURCE} ${COMMONSOURCE} ${DRIVERSOURCE}
NOMAN=		
STRIPFLAG=
BINMODE=	444

.include <bsd.own.mk>

CPPFLAGS+=	-nostdinc -I${.CURDIR}/../../.. -I${.CURDIR}/../../../.. \
		-I${.OBJDIR}
CFLAGS+=	-Os -msoft-float -Wno-main
CFLAGS+=	-fno-builtin
CFLAGS+=	-mdisable-fpregs -mfast-indirect-calls -mpa-risc-1-0

SRCS+=		vers.c
CLEANFILES+=	vers.c

vers.c: ${.CURDIR}/version
	${HOST_SH} ${S}/conf/newvers_stand.sh ${${MKREPRO} == "yes" :?:-D} \
	    ${.CURDIR}/version hp700 ${NEWVERSWHAT}

CPPFLAGS+=		-D_STANDALONE -Dhp700 ${DEBUGFLAGS}
CPPFLAGS+=		-DRELOC=0x${RELOC} -DHEAP_LIMIT=${HEAP_LIMIT}
CPPFLAGS+=		-DNO_NET

COMMONSOURCE=		cons.c dev_hppa.c dk.c itecons.c \
			machdep.c milli_tiny.S pdc.c time.c
DRIVERSOURCE=		

### find out what to use for libkern
KERN_AS=	library
.include "${S}/lib/libkern/Makefile.inc"
LIBKERN=	${KERNLIB}

### find out what to use for libz
Z_AS=		library
.include "${S}/lib/libz/Makefile.inc"
LIBZ=		${ZLIB}

### find out what to use for libsa
SA_AS=		library
SAMISCMAKEFLAGS+="SA_USE_LOADFILE=yes"
.include "${S}/lib/libsa/Makefile.inc"
LIBSA=		${SALIB}

LDFLAGS+=	-static -nostdlib -Wl,-N -Wl,-Ttext,$(RELOC)
LDFLAGS+=	-Wl,-T,${.CURDIR}/ld.script -Wl,-Map,${PROG}.map

${PROG}: ${OBJS} ${LIBSA} ${LIBZ} ${LIBKERN}
	${CC} ${LDFLAGS} -o ${PROG} ${OBJS} ${LIBSA} ${LIBZ} ${LIBKERN}
	@@${SIZE} ${PROG}
	@@echo ${PROG} total size should not exceed XXXX bytes

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


1.15
log
@Add empty LIBCRTI= as LIBCRT0 to build sa programs without installed DESTDIR.

XXX: probabry we should have bsd.saprog.mk or something.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.buildboot,v 1.14 2011/01/22 19:19:17 joerg Exp $
@


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

Change all platforms accordingly. -D is added if MKREPRO is not yes and
wasn't present before. Platforms that didn't use -D don't depend on
MKREPRO now either.
@
text
@d1 1
a1 1
#	$NetBSD: src/sys/arch/hp700/stand/Makefile.buildboot,v 1.13 2009-05-03 17:33:29 tsutsui Exp $
d14 1
@


1.14.14.1
log
@Rebase to HEAD as of a few days ago.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.buildboot,v 1.14 2011/01/22 19:19:17 joerg Exp $
@


1.14.4.1
log
@sync with head.

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

this commit was splitted into small chunks to avoid
a limitation of cvs.  ("Protocol error: too many arguments")
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.buildboot,v 1.14 2011/01/22 19:19:17 joerg Exp $
@


1.14.18.1
log
@sync with head
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.buildboot,v 1.14 2011/01/22 19:19:17 joerg Exp $
@


1.13
log
@Use <bsd.klinks.mk> to create machine and ${MACHINE_ARCH} symlinks.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.buildboot,v 1.12 2008/06/12 14:08:29 skrll Exp $
d27 2
d39 2
a40 2
	${HOST_SH} ${S}/conf/newvers_stand.sh ${.CURDIR}/version \
		hp700 ${NEWVERSWHAT}
@


1.13.6.1
log
@Sync with HEAD.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.buildboot,v 1.14 2011/01/22 19:19:17 joerg Exp $
a26 2
.include <bsd.own.mk>

d37 2
a38 2
	${HOST_SH} ${S}/conf/newvers_stand.sh ${${MKREPRO} == "yes" :?:-D} \
	    ${.CURDIR}/version hp700 ${NEWVERSWHAT}
@


1.13.4.1
log
@sync with head
@
text
@d1 1
a1 1
#	$NetBSD$
a26 2
.include <bsd.own.mk>

d37 2
a38 2
	${HOST_SH} ${S}/conf/newvers_stand.sh ${${MKREPRO} == "yes" :?:-D} \
	    ${.CURDIR}/version hp700 ${NEWVERSWHAT}
@


1.13.8.1
log
@Sync with HEAD
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.buildboot,v 1.14 2011/01/22 19:19:17 joerg Exp $
a26 2
.include <bsd.own.mk>

d37 2
a38 2
	${HOST_SH} ${S}/conf/newvers_stand.sh ${${MKREPRO} == "yes" :?:-D} \
	    ${.CURDIR}/version hp700 ${NEWVERSWHAT}
@


1.12
log
@Move milli_tiny.S into sys/arch/hp700/stand/common and use in all boot
programs.

This shrinks cdboot to a size that fits into the first 32K of a CD image
again.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.buildboot,v 1.11 2008/05/10 19:11:59 skrll Exp $
d73 1
a73 10

.if !make(obj) && !make(clean) && !make(cleandir)
.BEGIN:
	@@([ -h machine ] || ln -s $S/arch/hp700/include machine)
	@@([ -h hppa ] || ln -s $S/arch/hppa/include hppa)

.NOPATH: machine hppa
.endif

CLEANFILES+=machine hppa
@


1.12.10.1
log
@Sync with HEAD.

Commit is split, to avoid a "too many arguments" protocol error.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.buildboot,v 1.13 2009/05/03 17:33:29 tsutsui Exp $
d73 10
a82 1
.include <bsd.klinks.mk>
@


1.11
log
@Add a cdboot prog.

Derived from OpenBSD.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.buildboot,v 1.10 2006/06/28 02:20:44 lukem Exp $
d45 1
a45 1
			machdep.c pdc.c time.c
@


1.11.2.1
log
@Sync with head.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.buildboot,v 1.12 2008/06/12 14:08:29 skrll Exp $
d45 1
a45 1
			machdep.c milli_tiny.S pdc.c time.c
@


1.10
log
@Convert to using CC instead of LD, as LDFLAGS is for CC not LD.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.buildboot,v 1.9 2005/12/11 12:17:24 christos Exp $
d41 2
a42 2
CPPFLAGS+=		-DRELOC=0x${RELOC} -DHEAP_LIMIT=${HEAP_LIMIT} 
CPPFLAGS+=		-DNO_NET -D__INTERNAL_LIBSA_CREAD -DCOMPAT_UFS
d44 2
a45 2
COMMONSOURCE=		cons.c ct.c dev_hppa.c dk.c itecons.c \
			lf.c lif.c machdep.c pdc.c time.c
a59 1
SAMISCMAKEFLAGS+="SA_USE_CREAD=yes"
@


1.10.64.1
log
@Sync w/ -current. 34 merge conflicts to follow.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.buildboot,v 1.10 2006/06/28 02:20:44 lukem Exp $
d41 2
a42 2
CPPFLAGS+=		-DRELOC=0x${RELOC} -DHEAP_LIMIT=${HEAP_LIMIT}
CPPFLAGS+=		-DNO_NET
d44 2
a45 2
COMMONSOURCE=		cons.c dev_hppa.c dk.c itecons.c \
			machdep.c milli_tiny.S pdc.c time.c
d60 1
@


1.10.58.1
log
@Sync with HEAD.
@
text
@d1 1
a1 1
#	$NetBSD$
d41 2
a42 2
CPPFLAGS+=		-DRELOC=0x${RELOC} -DHEAP_LIMIT=${HEAP_LIMIT}
CPPFLAGS+=		-DNO_NET
d44 2
a45 2
COMMONSOURCE=		cons.c dev_hppa.c dk.c itecons.c \
			machdep.c pdc.c time.c
d60 1
@


1.10.58.2
log
@Sync with HEAD.
@
text
@d45 1
a45 1
			machdep.c milli_tiny.S pdc.c time.c
@


1.10.60.1
log
@sync with head.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.buildboot,v 1.10 2006/06/28 02:20:44 lukem Exp $
d41 2
a42 2
CPPFLAGS+=		-DRELOC=0x${RELOC} -DHEAP_LIMIT=${HEAP_LIMIT}
CPPFLAGS+=		-DNO_NET
d44 2
a45 2
COMMONSOURCE=		cons.c dev_hppa.c dk.c itecons.c \
			machdep.c pdc.c time.c
d60 1
@


1.10.60.2
log
@sync with head.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.buildboot,v 1.10.60.1 2008/05/18 12:31:58 yamt Exp $
d45 1
a45 1
			machdep.c milli_tiny.S pdc.c time.c
@


1.10.62.1
log
@sync with head.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.buildboot,v 1.10 2006/06/28 02:20:44 lukem Exp $
d41 2
a42 2
CPPFLAGS+=		-DRELOC=0x${RELOC} -DHEAP_LIMIT=${HEAP_LIMIT}
CPPFLAGS+=		-DNO_NET
d44 2
a45 2
COMMONSOURCE=		cons.c dev_hppa.c dk.c itecons.c \
			machdep.c pdc.c time.c
d60 1
@


1.10.62.2
log
@sync with head.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.buildboot,v 1.10.62.1 2008/05/16 02:22:23 yamt Exp $
d45 1
a45 1
			machdep.c milli_tiny.S pdc.c time.c
d73 10
a82 1
.include <bsd.klinks.mk>
@


1.9
log
@merge ktrace-lwp.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.buildboot,v 1.2.6.4 2005/11/10 13:56:13 skrll Exp $
d65 2
a66 2
LDFLAGS+=	-Bstatic -nostartfiles -nostdlib -N -Ttext $(RELOC)
LDFLAGS+=	-T ${.CURDIR}/ld.script -Map ${PROG}.map
d69 1
a69 1
	${LD} ${LDFLAGS} -o ${PROG} ${OBJS} ${LIBSA} ${LIBZ} ${LIBKERN}
@


1.9.4.1
log
@sync with head
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.buildboot,v 1.10 2006/06/28 02:20:44 lukem Exp $
d65 2
a66 2
LDFLAGS+=	-static -nostdlib -Wl,-N -Wl,-Ttext,$(RELOC)
LDFLAGS+=	-Wl,-T,${.CURDIR}/ld.script -Wl,-Map,${PROG}.map
d69 1
a69 1
	${CC} ${LDFLAGS} -o ${PROG} ${OBJS} ${LIBSA} ${LIBZ} ${LIBKERN}
@


1.9.8.1
log
@sync with head
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.buildboot,v 1.9 2005/12/11 12:17:24 christos Exp $
d65 2
a66 2
LDFLAGS+=	-static -nostdlib -Wl,-N -Wl,-Ttext,$(RELOC)
LDFLAGS+=	-Wl,-T,${.CURDIR}/ld.script -Wl,-Map,${PROG}.map
d69 1
a69 1
	${CC} ${LDFLAGS} -o ${PROG} ${OBJS} ${LIBSA} ${LIBZ} ${LIBKERN}
@


1.9.16.1
log
@Merge from HEAD.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.buildboot,v 1.10 2006/06/28 02:20:44 lukem Exp $
d65 2
a66 2
LDFLAGS+=	-static -nostdlib -Wl,-N -Wl,-Ttext,$(RELOC)
LDFLAGS+=	-Wl,-T,${.CURDIR}/ld.script -Wl,-Map,${PROG}.map
d69 1
a69 1
	${CC} ${LDFLAGS} -o ${PROG} ${OBJS} ${LIBSA} ${LIBZ} ${LIBKERN}
@


1.8
log
@Do not make the links as part of the obj, clean and cleandir rules.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.buildboot,v 1.7 2005/05/01 18:41:18 chs Exp $
@


1.8.2.1
log
@sync with head.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.buildboot,v 1.8 2005/05/22 08:22:28 skrll Exp $
d65 2
a66 2
LDFLAGS+=	-static -nostdlib -Wl,-N -Wl,-Ttext,$(RELOC)
LDFLAGS+=	-Wl,-T,${.CURDIR}/ld.script -Wl,-Map,${PROG}.map
d69 1
a69 1
	${CC} ${LDFLAGS} -o ${PROG} ${OBJS} ${LIBSA} ${LIBZ} ${LIBKERN}
@


1.7
log
@fix .BEGIN lossage.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.buildboot,v 1.6 2004/06/28 16:27:15 jkunz Exp $
d75 1
d81 2
@


1.6
log
@The bootloader overwrites itself when relocated to 0x720000 and booting a
"big" kernel like GENERIC. So relocate the boot loader just below kernel text.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.buildboot,v 1.5 2003/10/26 07:25:36 lukem Exp $
a2 2
MACHINE_ARCH=hppa
MACHINE=hp700
d27 2
a28 3
CLEANFILES+=	${PROGAOUT} vers.c vers.o

CPPFLAGS+=	-nostdinc -I${.CURDIR}/../../.. -I${.CURDIR}/../../../..  -I${.OBJDIR}
d30 1
a30 1
CFLAGS+=	-fno-builtin 
a35 1
.PHONY: vers.c
d37 2
a38 1
	${HOST_SH} ${S}/conf/newvers_stand.sh ${.CURDIR}/version hp700 ${NEWVERSWHAT}
d74 7
@


1.5
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.buildboot,v 1.4 2003/10/21 12:43:19 itohy Exp $
d5 2
a6 2
RELOC=	720000
HEAP_LIMIT=0x7c0000
@


1.4
log
@Slightly change the base address so GENERIC kernel may boot (but not confirmed).
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.buildboot,v 1.3 2003/10/12 18:56:44 he Exp $
d41 1
a41 1
	sh ${S}/conf/newvers_stand.sh ${.CURDIR}/version hp700 ${NEWVERSWHAT}
@


1.3
log
@Since the boot loader is a stand-alone program, stub out LIBCRT0,
LIBCRTBEGIN, LIBCRTEND, and LIBC -- these are being added to the
PROG target list by bsd.prog.mk.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.buildboot,v 1.2 2002/11/28 06:00:28 chs Exp $
d5 1
a5 1
RELOC=	700000
@


1.2
log
@force useful values for MACHINE_ARCH and MACHINE.
remove the goofy hack to have the target be the LIF file,
just build the boot program with this Makefile.
just add to CFLAGS, don't override.
use NOMAN.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.buildboot,v 1.1 2002/06/06 19:48:11 fredette Exp $
d14 5
@


1.2.6.1
log
@Sync with HEAD
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.buildboot,v 1.6 2004/06/28 16:27:15 jkunz Exp $
d5 2
a6 2
RELOC=	120000
HEAP_LIMIT=0x1c0000
a14 5
LIBCRT0=	# nothing
LIBCRTBEGIN=	# nothing
LIBCRTEND=	# nothing
LIBC=		# nothing

d36 1
a36 1
	${HOST_SH} ${S}/conf/newvers_stand.sh ${.CURDIR}/version hp700 ${NEWVERSWHAT}
@


1.2.6.2
log
@Sync with HEAD.
@
text
@@


1.2.6.3
log
@Fix the sync with head I botched.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.buildboot,v 1.2.6.1 2004/08/03 10:34:54 skrll Exp $
@


1.2.6.4
log
@Sync with HEAD. Here we go again...
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.buildboot,v 1.2.6.3 2004/09/21 13:15:40 skrll Exp $
d3 2
d29 3
a31 2
CPPFLAGS+=	-nostdinc -I${.CURDIR}/../../.. -I${.CURDIR}/../../../.. \
		-I${.OBJDIR}
d33 1
a33 1
CFLAGS+=	-fno-builtin
d39 1
d41 1
a41 2
	${HOST_SH} ${S}/conf/newvers_stand.sh ${.CURDIR}/version \
		hp700 ${NEWVERSWHAT}
a76 10

.if !make(obj) && !make(clean) && !make(cleandir)
.BEGIN:
	@@([ -h machine ] || ln -s $S/arch/hp700/include machine)
	@@([ -h hppa ] || ln -s $S/arch/hppa/include hppa)

.NOPATH: machine hppa
.endif

CLEANFILES+=machine hppa
@


1.1
log
@Added hp700-specific files.  Still a work in progress.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.buildboot,v 1.15 2001/05/27 05:35:11 gmcgarry Exp $
d3 2
a18 2
PROG=		${PROGAOUT}.lif

d20 1
a20 1
MKMAN=		no
d27 1
a27 1
CFLAGS=		-Os -msoft-float -Wno-main
a37 5
${PROG}: ${PROGAOUT} ${MKBOOT_PROG}
	-@@cp ${PROGAOUT} ${PROGAOUT}.gdb
	${STRIP} ${PROGAOUT}
	${MKBOOT_PROG} -v ${PROGAOUT} ${ADDBOOT} ${PROG}

a45 11
.ifnmake(print-objdir)
MKBOOTOBJDIR!=		cd ${.CURDIR}/../mkboot ; ${MAKE} print-objdir
MKBOOT_PROG?=		${MKBOOTOBJDIR}/mkboot
.endif

# Make sure ${MKBOOT_PROG} is always available
${MKBOOTOBJDIR}/mkboot:
	@@cd ${MKBOOTDIR} && ${MAKE} depend && ${MAKE}

.include <bsd.prog.mk>

d64 6
a69 1
LDFLAGS+=	-T ${.CURDIR}/ld.script -Map ${PROGAOUT}.map
d71 1
a71 5
${PROGAOUT}: ${OBJS} ${LIBSA} ${LIBZ} ${LIBKERN}
	${LD} ${LDFLAGS} -o ${PROGAOUT} \
	    ${OBJS} ${LIBSA} ${LIBZ} ${LIBKERN}
	@@${SIZE} ${PROGAOUT}
	@@echo ${PROGAOUT} total size should not exceed XXXX bytes
@


1.1.4.1
log
@file Makefile.buildboot was added on branch gehenna-devsw on 2002-07-14 17:46:41 +0000
@
text
@d1 86
@


1.1.4.2
log
@catch up with -current.
@
text
@a0 86
#	$NetBSD: Makefile.buildboot,v 1.1.4.1 2002/07/14 17:46:41 gehenna Exp $

RELOC=	700000
HEAP_LIMIT=0x7c0000
#DEBUGFLAGS=-DDEBUG
#DEBUGFLAGS+=-DDEBUGBUG
#DEBUGFLAGS+=-DPDCDEBUG
#DEBUGFLAGS+=-DLIFDEBUG
#DEBUGFLAGS+=-DEXEC_DEBUG
#DEBUGFLAGS+=-DALLOC_TRACE
#DEBUGLIBS=	no

S=		${.CURDIR}/../../../..

.PATH: ${.CURDIR}/../common

PROG=		${PROGAOUT}.lif

SRCS=		${PROGSOURCE} ${COMMONSOURCE} ${DRIVERSOURCE}
MKMAN=		no
STRIPFLAG=
BINMODE=	444

CLEANFILES+=	${PROGAOUT} vers.c vers.o

CPPFLAGS+=	-nostdinc -I${.CURDIR}/../../.. -I${.CURDIR}/../../../..  -I${.OBJDIR}
CFLAGS=		-Os -msoft-float -Wno-main
CFLAGS+=	-fno-builtin 
CFLAGS+=	-mdisable-fpregs -mfast-indirect-calls -mpa-risc-1-0

SRCS+=		vers.c
CLEANFILES+=	vers.c

.PHONY: vers.c
vers.c: ${.CURDIR}/version
	sh ${S}/conf/newvers_stand.sh ${.CURDIR}/version hp700 ${NEWVERSWHAT}

${PROG}: ${PROGAOUT} ${MKBOOT_PROG}
	-@@cp ${PROGAOUT} ${PROGAOUT}.gdb
	${STRIP} ${PROGAOUT}
	${MKBOOT_PROG} -v ${PROGAOUT} ${ADDBOOT} ${PROG}

CPPFLAGS+=		-D_STANDALONE -Dhp700 ${DEBUGFLAGS}
CPPFLAGS+=		-DRELOC=0x${RELOC} -DHEAP_LIMIT=${HEAP_LIMIT} 
CPPFLAGS+=		-DNO_NET -D__INTERNAL_LIBSA_CREAD -DCOMPAT_UFS

COMMONSOURCE=		cons.c ct.c dev_hppa.c dk.c itecons.c \
			lf.c lif.c machdep.c pdc.c time.c
DRIVERSOURCE=		

.ifnmake(print-objdir)
MKBOOTOBJDIR!=		cd ${.CURDIR}/../mkboot ; ${MAKE} print-objdir
MKBOOT_PROG?=		${MKBOOTOBJDIR}/mkboot
.endif

# Make sure ${MKBOOT_PROG} is always available
${MKBOOTOBJDIR}/mkboot:
	@@cd ${MKBOOTDIR} && ${MAKE} depend && ${MAKE}

.include <bsd.prog.mk>

### find out what to use for libkern
KERN_AS=	library
.include "${S}/lib/libkern/Makefile.inc"
LIBKERN=	${KERNLIB}

### find out what to use for libz
Z_AS=		library
.include "${S}/lib/libz/Makefile.inc"
LIBZ=		${ZLIB}

### find out what to use for libsa
SA_AS=		library
SAMISCMAKEFLAGS+="SA_USE_CREAD=yes"
SAMISCMAKEFLAGS+="SA_USE_LOADFILE=yes"
.include "${S}/lib/libsa/Makefile.inc"
LIBSA=		${SALIB}

LDFLAGS+=	-Bstatic -nostartfiles -nostdlib -N -Ttext $(RELOC)
LDFLAGS+=	-T ${.CURDIR}/ld.script -Map ${PROGAOUT}.map

${PROGAOUT}: ${OBJS} ${LIBSA} ${LIBZ} ${LIBKERN}
	${LD} ${LDFLAGS} -o ${PROGAOUT} \
	    ${OBJS} ${LIBSA} ${LIBZ} ${LIBKERN}
	@@${SIZE} ${PROGAOUT}
	@@echo ${PROGAOUT} total size should not exceed XXXX bytes
@


1.1.2.1
log
@file Makefile.buildboot was added on branch kqueue on 2002-06-23 17:36:29 +0000
@
text
@d1 86
@


1.1.2.2
log
@catch up with -current on kqueue branch
@
text
@a0 86
#	$NetBSD: Makefile.buildboot,v 1.1.2.1 2002/06/23 17:36:29 jdolecek Exp $

RELOC=	700000
HEAP_LIMIT=0x7c0000
#DEBUGFLAGS=-DDEBUG
#DEBUGFLAGS+=-DDEBUGBUG
#DEBUGFLAGS+=-DPDCDEBUG
#DEBUGFLAGS+=-DLIFDEBUG
#DEBUGFLAGS+=-DEXEC_DEBUG
#DEBUGFLAGS+=-DALLOC_TRACE
#DEBUGLIBS=	no

S=		${.CURDIR}/../../../..

.PATH: ${.CURDIR}/../common

PROG=		${PROGAOUT}.lif

SRCS=		${PROGSOURCE} ${COMMONSOURCE} ${DRIVERSOURCE}
MKMAN=		no
STRIPFLAG=
BINMODE=	444

CLEANFILES+=	${PROGAOUT} vers.c vers.o

CPPFLAGS+=	-nostdinc -I${.CURDIR}/../../.. -I${.CURDIR}/../../../..  -I${.OBJDIR}
CFLAGS=		-Os -msoft-float -Wno-main
CFLAGS+=	-fno-builtin 
CFLAGS+=	-mdisable-fpregs -mfast-indirect-calls -mpa-risc-1-0

SRCS+=		vers.c
CLEANFILES+=	vers.c

.PHONY: vers.c
vers.c: ${.CURDIR}/version
	sh ${S}/conf/newvers_stand.sh ${.CURDIR}/version hp700 ${NEWVERSWHAT}

${PROG}: ${PROGAOUT} ${MKBOOT_PROG}
	-@@cp ${PROGAOUT} ${PROGAOUT}.gdb
	${STRIP} ${PROGAOUT}
	${MKBOOT_PROG} -v ${PROGAOUT} ${ADDBOOT} ${PROG}

CPPFLAGS+=		-D_STANDALONE -Dhp700 ${DEBUGFLAGS}
CPPFLAGS+=		-DRELOC=0x${RELOC} -DHEAP_LIMIT=${HEAP_LIMIT} 
CPPFLAGS+=		-DNO_NET -D__INTERNAL_LIBSA_CREAD -DCOMPAT_UFS

COMMONSOURCE=		cons.c ct.c dev_hppa.c dk.c itecons.c \
			lf.c lif.c machdep.c pdc.c time.c
DRIVERSOURCE=		

.ifnmake(print-objdir)
MKBOOTOBJDIR!=		cd ${.CURDIR}/../mkboot ; ${MAKE} print-objdir
MKBOOT_PROG?=		${MKBOOTOBJDIR}/mkboot
.endif

# Make sure ${MKBOOT_PROG} is always available
${MKBOOTOBJDIR}/mkboot:
	@@cd ${MKBOOTDIR} && ${MAKE} depend && ${MAKE}

.include <bsd.prog.mk>

### find out what to use for libkern
KERN_AS=	library
.include "${S}/lib/libkern/Makefile.inc"
LIBKERN=	${KERNLIB}

### find out what to use for libz
Z_AS=		library
.include "${S}/lib/libz/Makefile.inc"
LIBZ=		${ZLIB}

### find out what to use for libsa
SA_AS=		library
SAMISCMAKEFLAGS+="SA_USE_CREAD=yes"
SAMISCMAKEFLAGS+="SA_USE_LOADFILE=yes"
.include "${S}/lib/libsa/Makefile.inc"
LIBSA=		${SALIB}

LDFLAGS+=	-Bstatic -nostartfiles -nostdlib -N -Ttext $(RELOC)
LDFLAGS+=	-T ${.CURDIR}/ld.script -Map ${PROGAOUT}.map

${PROGAOUT}: ${OBJS} ${LIBSA} ${LIBZ} ${LIBKERN}
	${LD} ${LDFLAGS} -o ${PROGAOUT} \
	    ${OBJS} ${LIBSA} ${LIBZ} ${LIBKERN}
	@@${SIZE} ${PROGAOUT}
	@@echo ${PROGAOUT} total size should not exceed XXXX bytes
@
