head	1.78;
access;
symbols
	perseant-exfatfs-base-20250801:1.78
	perseant-exfatfs-base-20240630:1.78
	perseant-exfatfs:1.78.0.70
	perseant-exfatfs-base:1.78
	bouyer-sunxi-drm:1.78.0.68
	bouyer-sunxi-drm-base:1.78
	cjep_sun2x:1.78.0.66
	cjep_sun2x-base:1.78
	cjep_staticlib_x-base1:1.78
	cjep_staticlib_x:1.78.0.64
	cjep_staticlib_x-base:1.78
	thorpej-futex-base:1.78
	bouyer-xenpvh-base2:1.78
	phil-wifi-20200421:1.78
	bouyer-xenpvh-base1:1.78
	phil-wifi-20200411:1.78
	bouyer-xenpvh:1.78.0.62
	bouyer-xenpvh-base:1.78
	phil-wifi-20200406:1.78
	ad-namecache-base3:1.78
	ad-namecache-base2:1.78
	ad-namecache-base1:1.78
	ad-namecache:1.78.0.60
	ad-namecache-base:1.78
	isaki-audio2:1.78.0.58
	isaki-audio2-base:1.78
	pgoyette-compat-merge-20190127:1.78
	pgoyette-compat-20190127:1.78
	pgoyette-compat-20190118:1.78
	pgoyette-compat-1226:1.78
	pgoyette-compat-1126:1.78
	pgoyette-compat-1020:1.78
	pgoyette-compat-0930:1.78
	pgoyette-compat-0906:1.78
	pgoyette-compat-0728:1.78
	pgoyette-compat-0625:1.78
	pgoyette-compat-0521:1.78
	pgoyette-compat-0502:1.78
	pgoyette-compat-0422:1.78
	pgoyette-compat-0415:1.78
	pgoyette-compat-0407:1.78
	pgoyette-compat-0330:1.78
	pgoyette-compat-0322:1.78
	pgoyette-compat-0315:1.78
	pgoyette-compat:1.78.0.56
	pgoyette-compat-base:1.78
	perseant-stdc-iso10646:1.78.0.54
	perseant-stdc-iso10646-base:1.78
	prg-localcount2-base3:1.78
	prg-localcount2-base2:1.78
	prg-localcount2-base1:1.78
	prg-localcount2:1.78.0.52
	prg-localcount2-base:1.78
	pgoyette-localcount-20170426:1.78
	bouyer-socketcan-base1:1.78
	pgoyette-localcount-20170320:1.78
	bouyer-socketcan:1.78.0.50
	bouyer-socketcan-base:1.78
	pgoyette-localcount-20170107:1.78
	pgoyette-localcount-20161104:1.78
	localcount-20160914:1.78
	pgoyette-localcount-20160806:1.78
	pgoyette-localcount-20160726:1.78
	pgoyette-localcount:1.78.0.48
	pgoyette-localcount-base:1.78
	netbsd-5-2-3-RELEASE:1.78
	netbsd-5-1-5-RELEASE:1.78
	yamt-pagecache-base9:1.78
	yamt-pagecache-tag8:1.78
	tls-earlyentropy:1.78.0.46
	tls-earlyentropy-base:1.78
	riastradh-xf86-video-intel-2-7-1-pre-2-21-15:1.78
	riastradh-drm2-base3:1.78
	netbsd-5-2-2-RELEASE:1.78
	netbsd-5-1-4-RELEASE:1.78
	netbsd-5-2-1-RELEASE:1.78
	netbsd-5-1-3-RELEASE:1.78
	rmind-smpnet-nbase:1.78
	rmind-smpnet:1.78.0.42
	rmind-smpnet-base:1.78
	agc-symver:1.78.0.44
	agc-symver-base:1.78
	tls-maxphys-base:1.78
	yamt-pagecache-base8:1.78
	netbsd-5-2:1.78.0.40
	yamt-pagecache-base7:1.78
	netbsd-5-2-RELEASE:1.78
	netbsd-5-2-RC1:1.78
	yamt-pagecache-base6:1.78
	yamt-pagecache-base5:1.78
	yamt-pagecache-base4:1.78
	netbsd-5-1-2-RELEASE:1.78
	netbsd-5-1-1-RELEASE:1.78
	jmcneill-usbmp:1.78.0.38
	jmcneill-usbmp-base:1.78
	jmcneill-audiomp3:1.78.0.36
	jmcneill-audiomp3-base:1.78
	yamt-pagecache-base3:1.78
	yamt-pagecache-base2:1.78
	yamt-pagecache:1.78.0.34
	yamt-pagecache-base:1.78
	rmind-uvmplock-nbase:1.78
	jym-xensuspend-nbase:1.78
	bouyer-quota2-nbase:1.78
	bouyer-quota2:1.78.0.32
	bouyer-quota2-base:1.78
	jruoho-x86intr:1.78.0.30
	jruoho-x86intr-base:1.78
	matt-nb5-pq3:1.78.0.28
	matt-nb5-pq3-base:1.78
	netbsd-5-1:1.78.0.26
	netbsd-5-1-RELEASE:1.78
	yamt-nfs-mp-base11:1.78
	netbsd-5-1-RC4:1.78
	uebayasi-xip-base2:1.78
	yamt-nfs-mp-base10:1.78
	netbsd-5-1-RC3:1.78
	netbsd-5-1-RC2:1.78
	netbsd-5-1-RC1:1.78
	rmind-uvmplock:1.78.0.24
	rmind-uvmplock-base:1.78
	yamt-nfs-mp-base9:1.78
	uebayasi-xip:1.78.0.22
	uebayasi-xip-base:1.78
	netbsd-5-0-2-RELEASE:1.78
	yamt-nfs-mp-base8:1.78
	yamt-nfs-mp-base7:1.78
	netbsd-5-0-1-RELEASE:1.78
	jymxensuspend-base:1.78
	yamt-nfs-mp-base6:1.78
	yamt-nfs-mp-base5:1.78
	yamt-nfs-mp-base4:1.78
	yamt-nfs-mp-base3:1.78
	netbsd-5-0:1.78.0.20
	netbsd-5-0-RELEASE:1.78
	netbsd-5-0-RC4:1.78
	netbsd-5-0-RC3:1.78
	netbsd-5-0-RC2:1.78
	jym-xensuspend:1.78.0.18
	jym-xensuspend-base:1.78
	netbsd-5-0-RC1:1.78
	haad-dm-base2:1.78
	haad-nbase2:1.78
	ad-audiomp2:1.78.0.16
	ad-audiomp2-base:1.78
	netbsd-5:1.78.0.14
	netbsd-5-base:1.78
	haad-dm-base1:1.78
	netbsd-4-0-1-RELEASE:1.77
	wrstuden-fixsa-newbase:1.77
	haad-dm:1.78.0.12
	haad-dm-base:1.78
	simonb-wapbl-nbase:1.78
	yamt-pf42-base4:1.78
	simonb-wapbl:1.78.0.10
	simonb-wapbl-base:1.78
	yamt-pf42-base3:1.78
	hpcarm-cleanup-nbase:1.78
	yamt-pf42-base2:1.78
	yamt-nfs-mp-base2:1.78
	yamt-nfs-mp:1.78.0.8
	yamt-nfs-mp-base:1.78
	yamt-pf42:1.78.0.6
	yamt-pf42-base:1.78
	ad-socklock-base1:1.78
	yamt-lazymbuf-base15:1.78
	yamt-lazymbuf-base14:1.78
	keiichi-mipv6-nbase:1.78
	mjf-devfs2:1.78.0.4
	mjf-devfs2-base:1.78
	keiichi-mipv6:1.78.0.2
	keiichi-mipv6-base:1.78
	bouyer-xeni386-merge1:1.77.64.1
	pc532-eol-2008:1.77
	matt-armv6-prevmlocking:1.77
	wrstuden-fixsa-base-1:1.77
	vmlocking2-base3:1.77
	netbsd-4-0:1.77.0.68
	netbsd-4-0-RELEASE:1.77
	bouyer-xeni386-nbase:1.78
	yamt-kmem-base3:1.77
	cube-autoconf:1.77.0.66
	cube-autoconf-base:1.77
	yamt-kmem-base2:1.77
	bouyer-xeni386:1.77.0.64
	bouyer-xeni386-base:1.78
	yamt-kmem:1.77.0.62
	yamt-kmem-base:1.77
	vmlocking2-base2:1.77
	reinoud-bufcleanup-nbase:1.77
	vmlocking2:1.77.0.60
	vmlocking2-base1:1.77
	netbsd-4-0-RC5:1.77
	matt-nb4-arm:1.77.0.58
	matt-nb4-arm-base:1.77
	matt-armv6-nbase:1.78
	jmcneill-base:1.77
	netbsd-4-0-RC4:1.77
	mjf-devfs:1.77.0.56
	mjf-devfs-base:1.78
	bouyer-xenamd64-base2:1.77
	vmlocking-nbase:1.77
	yamt-x86pmap-base4:1.77
	bouyer-xenamd64:1.77.0.54
	bouyer-xenamd64-base:1.77
	netbsd-4-0-RC3:1.77
	yamt-x86pmap-base3:1.77
	yamt-x86pmap-base2:1.77
	netbsd-4-0-RC2:1.77
	yamt-x86pmap:1.77.0.52
	yamt-x86pmap-base:1.77
	nick-csl-alignment-base5:1.77
	nick-csl-alignment-base4:1.77
	netbsd-4-0-RC1:1.77
	matt-armv6:1.77.0.50
	matt-armv6-base:1.77
	nick-csl-alignment-base3:1.77
	nick-csl-alignment-base2:1.77
	jmcneill-pm:1.77.0.48
	jmcneill-pm-base:1.77
	hpcarm-cleanup:1.77.0.46
	hpcarm-cleanup-base:1.78
	nick-csl-alignment:1.77.0.44
	nick-csl-alignment-base:1.77
	matt-mips64:1.77.0.42
	matt-mips64-base:1.77
	netbsd-3-1-1-RELEASE:1.75
	netbsd-3-0-3-RELEASE:1.75
	yamt-idlelwp-base8:1.77
	wrstuden-fixsa:1.77.0.40
	wrstuden-fixsa-base:1.77
	ppcoea-renovation:1.77.0.38
	ppcoea-renovation-base:1.77
	thorpej-atomic:1.77.0.36
	thorpej-atomic-base:1.77
	reinoud-bufcleanup:1.77.0.34
	reinoud-bufcleanup-base:1.77
	mjf-ufs-trans:1.77.0.32
	mjf-ufs-trans-base:1.77
	vmlocking:1.77.0.30
	vmlocking-base:1.77
	ad-audiomp:1.77.0.28
	ad-audiomp-base:1.77
	yamt-idlelwp:1.77.0.26
	post-newlock2-merge:1.77
	newlock2-nbase:1.77
	yamt-splraiseipl-base5:1.77
	yamt-splraiseipl-base4:1.77
	yamt-splraiseipl-base3:1.77
	abandoned-netbsd-4-base:1.77
	abandoned-netbsd-4:1.77.0.18
	netbsd-3-1:1.75.0.14
	netbsd-3-1-RELEASE:1.75
	netbsd-3-0-2-RELEASE:1.75
	yamt-splraiseipl-base2:1.77
	netbsd-3-1-RC4:1.75
	yamt-splraiseipl:1.77.0.22
	yamt-splraiseipl-base:1.77
	netbsd-3-1-RC3:1.75
	yamt-pdpolicy-base9:1.77
	newlock2:1.77.0.20
	newlock2-base:1.77
	yamt-pdpolicy-base8:1.77
	netbsd-3-1-RC2:1.75
	netbsd-3-1-RC1:1.75
	yamt-pdpolicy-base7:1.77
	netbsd-4:1.77.0.24
	netbsd-4-base:1.77
	yamt-pdpolicy-base6:1.77
	chap-midi-nbase:1.77
	netbsd-3-0-1-RELEASE:1.75
	gdamore-uart:1.77.0.16
	gdamore-uart-base:1.77
	simonb-timcounters-final:1.77
	yamt-pdpolicy-base5:1.77
	chap-midi:1.77.0.14
	chap-midi-base:1.77
	yamt-pdpolicy-base4:1.77
	yamt-pdpolicy-base3:1.77
	peter-altq-base:1.77
	peter-altq:1.77.0.12
	yamt-pdpolicy-base2:1.77
	elad-kernelauth-base:1.77
	elad-kernelauth:1.77.0.10
	yamt-pdpolicy:1.77.0.8
	yamt-pdpolicy-base:1.77
	yamt-uio_vmspace-base5:1.77
	simonb-timecounters:1.77.0.6
	simonb-timecounters-base:1.77
	rpaulo-netinet-merge-pcb:1.77.0.4
	rpaulo-netinet-merge-pcb-base:1.77
	yamt-uio_vmspace:1.77.0.2
	netbsd-3-0:1.75.0.12
	netbsd-3-0-RELEASE:1.75
	netbsd-3-0-RC6:1.75
	yamt-readahead-base3:1.76
	netbsd-3-0-RC5:1.75
	netbsd-3-0-RC4:1.75
	netbsd-3-0-RC3:1.75
	yamt-readahead-base2:1.76
	netbsd-3-0-RC2:1.75
	yamt-readahead-pervnode:1.76
	yamt-readahead-perfile:1.76
	yamt-readahead:1.76.0.8
	yamt-readahead-base:1.76
	netbsd-3-0-RC1:1.75
	yamt-vop-base3:1.76
	netbsd-2-0-3-RELEASE:1.74
	netbsd-2-1:1.74.4.1.0.2
	yamt-vop-base2:1.76
	thorpej-vnode-attr:1.76.0.6
	thorpej-vnode-attr-base:1.76
	netbsd-2-1-RELEASE:1.74.4.1
	yamt-vop:1.76.0.4
	yamt-vop-base:1.76
	netbsd-2-1-RC6:1.74.4.1
	netbsd-2-1-RC5:1.74.4.1
	netbsd-2-1-RC4:1.74.4.1
	netbsd-2-1-RC3:1.74.4.1
	netbsd-2-1-RC2:1.74.4.1
	netbsd-2-1-RC1:1.74.4.1
	yamt-lazymbuf:1.76.0.2
	yamt-km-base4:1.75
	netbsd-2-0-2-RELEASE:1.74
	yamt-km-base3:1.75
	netbsd-3:1.75.0.10
	netbsd-3-base:1.75
	yamt-km-base2:1.75
	yamt-km:1.75.0.6
	yamt-km-base:1.75
	kent-audio2:1.75.0.4
	kent-audio2-base:1.75
	netbsd-2-0-1-RELEASE:1.74
	kent-audio1-beforemerge:1.75
	netbsd-2:1.74.0.4
	netbsd-2-base:1.74
	kent-audio1:1.75.0.2
	kent-audio1-base:1.75
	netbsd-2-0-RELEASE:1.74
	netbsd-2-0-RC5:1.74
	netbsd-2-0-RC4:1.74
	netbsd-2-0-RC3:1.74
	netbsd-2-0-RC2:1.74
	netbsd-2-0-RC1:1.74
	netbsd-2-0:1.74.0.2
	netbsd-2-0-base:1.74
	netbsd-1-6-PATCH002-RELEASE:1.69
	netbsd-1-6-PATCH002:1.69
	netbsd-1-6-PATCH002-RC4:1.69
	netbsd-1-6-PATCH002-RC3:1.69
	netbsd-1-6-PATCH002-RC2:1.69
	netbsd-1-6-PATCH002-RC1:1.69
	ktrace-lwp:1.70.0.6
	ktrace-lwp-base:1.76
	netbsd-1-6-PATCH001:1.69
	netbsd-1-6-PATCH001-RELEASE:1.69
	netbsd-1-6-PATCH001-RC3:1.69
	netbsd-1-6-PATCH001-RC2:1.69
	netbsd-1-6-PATCH001-RC1:1.69
	nathanw_sa_before_merge:1.70
	fvdl_fs64_base:1.70
	gmcgarry_ctxsw:1.70.0.4
	gmcgarry_ctxsw_base:1.70
	gmcgarry_ucred:1.70.0.2
	gmcgarry_ucred_base:1.70
	kqueue-aftermerge:1.70
	kqueue-beforemerge:1.70
	netbsd-1-6-RELEASE:1.69
	netbsd-1-6-RC3:1.69
	netbsd-1-6-RC2:1.69
	netbsd-1-6-RC1:1.69
	netbsd-1-6:1.69.0.10
	netbsd-1-6-base:1.69
	gehenna-devsw:1.69.0.8
	gehenna-devsw-base:1.70
	netbsd-1-5-PATCH003:1.62
	eeh-devprop:1.69.0.6
	eeh-devprop-base:1.69
	newlock:1.69.0.4
	newlock-base:1.69
	ifpoll-base:1.69
	thorpej-mips-cache:1.66.0.2
	thorpej-mips-cache-base:1.67
	thorpej-devvp-base3:1.65
	thorpej-devvp-base2:1.65
	post-chs-ubcperf:1.65
	pre-chs-ubcperf:1.65
	thorpej-devvp:1.65.0.4
	thorpej-devvp-base:1.65
	netbsd-1-5-PATCH002:1.62
	kqueue:1.65.0.2
	kqueue-base:1.70
	netbsd-1-5-PATCH001:1.62
	thorpej_scsipi_beforemerge:1.64
	thorpej_scsipi_nbase:1.64
	netbsd-1-5-RELEASE:1.62
	netbsd-1-5-BETA2:1.62
	netbsd-1-5-BETA:1.62
	netbsd-1-4-PATCH003:1.54
	netbsd-1-5-ALPHA2:1.62
	netbsd-1-5:1.62.0.4
	netbsd-1-5-base:1.62
	minoura-xpg4dl-base:1.62
	minoura-xpg4dl:1.62.0.2
	netbsd-1-4-PATCH002:1.54
	chs-ubc2-newbase:1.60
	wrstuden-devbsize-19991221:1.56
	wrstuden-devbsize:1.56.0.8
	wrstuden-devbsize-base:1.56
	kame_141_19991130:1.54
	comdex-fall-1999:1.56.0.6
	comdex-fall-1999-base:1.56
	fvdl-softdep:1.56.0.4
	fvdl-softdep-base:1.56
	thorpej_scsipi:1.56.0.2
	thorpej_scsipi_base:1.64
	netbsd-1-4-PATCH001:1.54
	kame_14_19990705:1.54
	kame_14_19990628:1.54
	kame:1.54.0.6
	chs-ubc2:1.54.0.4
	chs-ubc2-base:1.56
	netbsd-1-4-RELEASE:1.54
	netbsd-1-4:1.54.0.2
	netbsd-1-4-base:1.54
	netbsd-1-3-PATCH003:1.46.2.1
	netbsd-1-3-PATCH003-CANDIDATE2:1.46.2.1
	kenh-if-detach:1.52.0.4
	kenh-if-detach-base:1.52
	netbsd-1-3-PATCH003-CANDIDATE1:1.46.2.1
	netbsd-1-3-PATCH003-CANDIDATE0:1.46.2.1
	chs-ubc:1.52.0.2
	chs-ubc-base:1.52
	eeh-paddr_t:1.50.0.2
	eeh-paddr_t-base:1.50
	netbsd-1-3-PATCH002:1.46.2.1
	netbsd-1-3-PATCH001:1.46.2.1
	netbsd-1-3-RELEASE:1.46.2.1
	netbsd-1-3-BETA:1.46.2.1
	netbsd-1-3:1.46.0.2
	netbsd-1-3-base:1.46
	thorpej-signal:1.44.0.4
	thorpej-signal-base:1.44
	marc-pcmcia:1.44.0.2
	marc-pcmcia-bp:1.44
	marc-pcmcia-base:1.46
	bouyer-scsipi:1.43.0.2
	is-newarp-before-merge:1.39
	is-newarp:1.37.0.2
	is-newarp-base:1.37
	netbsd-1-2-PATCH001:1.26
	mrg-vm-swap:1.39.0.2
	thorpej-setroot:1.34.0.2
	netbsd-1-2-RELEASE:1.26
	netbsd-1-2-BETA:1.26
	netbsd-1-2:1.26.0.4
	netbsd-1-2-base:1.26
	netbsd-1-1-PATCH001:1.14
	netbsd-1-1-RELEASE:1.14
	netbsd-1-1:1.14.0.2
	netbsd-1-1-base:1.14
	netbsd-1-0-PATCH06:1.8
	netbsd-1-0-PATCH05:1.8
	netbsd-1-0-PATCH04:1.8
	netbsd-1-0-PATCH03:1.8
	netbsd-1-0-PATCH02:1.8
	netbsd-1-0-PATCH1:1.8
	netbsd-1-0-PATCH0:1.8
	netbsd-1-0-RELEASE:1.8
	netbsd-1-0:1.8.0.2
	netbsd-1-0-base:1.8
	magnum-base:1.1.1.1
	pc532-1:1.1.1.1
	phil-pc532:1.1.1;
locks; strict;
comment	@# @;


1.78
date	2008.01.09.11.27.24;	author simonb;	state dead;
branches;
next	1.77;

1.77
date	2005.12.11.12.18.31;	author christos;	state Exp;
branches
	1.77.50.1
	1.77.56.1
	1.77.64.1;
next	1.76;

1.76
date	2005.05.31.04.03.10;	author christos;	state Exp;
branches
	1.76.2.1;
next	1.75;

1.75
date	2004.06.04.04.45.50;	author thorpej;	state Exp;
branches;
next	1.74;

1.74
date	2003.11.04.02.18.49;	author simonb;	state Exp;
branches
	1.74.4.1;
next	1.73;

1.73
date	2003.10.27.09.27.25;	author simonb;	state Exp;
branches;
next	1.72;

1.72
date	2003.10.27.07.39.10;	author simonb;	state Exp;
branches;
next	1.71;

1.71
date	2003.10.27.07.26.17;	author simonb;	state Exp;
branches;
next	1.70;

1.70
date	2002.07.09.12.55.47;	author simonb;	state Exp;
branches
	1.70.6.1;
next	1.69;

1.69
date	2001.12.09.05.00.49;	author atatat;	state Exp;
branches
	1.69.8.1;
next	1.68;

1.68
date	2001.11.20.12.56.36;	author lukem;	state Exp;
branches;
next	1.67;

1.67
date	2001.10.26.06.45.38;	author jmc;	state Exp;
branches;
next	1.66;

1.66
date	2001.10.23.19.26.46;	author thorpej;	state Exp;
branches
	1.66.2.1;
next	1.65;

1.65
date	2001.05.29.02.20.25;	author mrg;	state Exp;
branches
	1.65.2.1;
next	1.64;

1.64
date	2000.12.17.15.52.43;	author jdolecek;	state Exp;
branches
	1.64.2.1;
next	1.63;

1.63
date	2000.07.18.12.45.49;	author matthias;	state Exp;
branches;
next	1.62;

1.62
date	2000.05.09.00.56.26;	author hubertf;	state Exp;
branches;
next	1.61;

1.61
date	2000.05.09.00.32.25;	author thorpej;	state Exp;
branches;
next	1.60;

1.60
date	2000.02.01.05.25.44;	author tsutsui;	state Exp;
branches;
next	1.59;

1.59
date	2000.01.24.20.36.16;	author tron;	state Exp;
branches;
next	1.58;

1.58
date	2000.01.19.16.30.00;	author tsutsui;	state Exp;
branches;
next	1.57;

1.57
date	2000.01.19.14.45.07;	author tsutsui;	state Exp;
branches;
next	1.56;

1.56
date	99.07.26.05.20.47;	author cgd;	state Exp;
branches
	1.56.2.1;
next	1.55;

1.55
date	99.07.09.09.52.59;	author mrg;	state Exp;
branches;
next	1.54;

1.54
date	99.03.14.05.03.35;	author jonb;	state Exp;
branches
	1.54.4.1;
next	1.53;

1.53
date	99.01.08.19.26.14;	author augustss;	state Exp;
branches;
next	1.52;

1.52
date	98.10.15.18.37.16;	author drochner;	state Exp;
branches;
next	1.51;

1.51
date	98.09.05.15.15.17;	author lukem;	state Exp;
branches;
next	1.50;

1.50
date	98.05.31.23.25.43;	author thorpej;	state Exp;
branches;
next	1.49;

1.49
date	98.04.12.23.47.44;	author tv;	state Exp;
branches;
next	1.48;

1.48
date	97.11.12.23.12.18;	author thorpej;	state Exp;
branches;
next	1.47;

1.47
date	97.11.12.22.26.16;	author thorpej;	state Exp;
branches;
next	1.46;

1.46
date	97.10.03.07.17.42;	author lukem;	state Exp;
branches
	1.46.2.1;
next	1.45;

1.45
date	97.09.30.22.53.31;	author christos;	state Exp;
branches;
next	1.44;

1.44
date	97.07.12.22.08.01;	author leo;	state Exp;
branches
	1.44.2.1;
next	1.43;

1.43
date	97.04.01.16.30.48;	author matthias;	state Exp;
branches;
next	1.42;

1.42
date	97.03.20.12.03.23;	author matthias;	state Exp;
branches;
next	1.41;

1.41
date	97.03.14.23.27.31;	author mycroft;	state Exp;
branches;
next	1.40;

1.40
date	97.03.14.23.21.36;	author mycroft;	state Exp;
branches;
next	1.39;

1.39
date	97.02.10.10.54.00;	author matthias;	state Exp;
branches;
next	1.38;

1.38
date	97.02.08.09.33.27;	author matthias;	state Exp;
branches;
next	1.37;

1.37
date	97.02.04.05.08.40;	author perry;	state Exp;
branches
	1.37.2.1;
next	1.36;

1.36
date	97.02.04.04.32.11;	author perry;	state Exp;
branches;
next	1.35;

1.35
date	97.02.01.09.23.02;	author matthias;	state Exp;
branches;
next	1.34;

1.34
date	96.12.22.19.14.14;	author veego;	state Exp;
branches;
next	1.33;

1.33
date	96.12.07.09.24.37;	author matthias;	state Exp;
branches;
next	1.32;

1.32
date	96.12.01.06.12.34;	author jonathan;	state Exp;
branches;
next	1.31;

1.31
date	96.09.09.21.07.04;	author mycroft;	state Exp;
branches;
next	1.30;

1.30
date	96.08.31.21.41.30;	author mycroft;	state Exp;
branches;
next	1.29;

1.29
date	96.08.12.00.51.52;	author mycroft;	state Exp;
branches;
next	1.28;

1.28
date	96.08.10.06.09.22;	author mycroft;	state Exp;
branches;
next	1.27;

1.27
date	96.08.10.05.29.44;	author mycroft;	state Exp;
branches;
next	1.26;

1.26
date	96.05.11.16.12.34;	author mycroft;	state Exp;
branches;
next	1.25;

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

1.24
date	96.02.26.02.53.44;	author mycroft;	state Exp;
branches;
next	1.23;

1.23
date	96.02.15.20.19.48;	author phil;	state Exp;
branches;
next	1.22;

1.22
date	96.02.15.08.37.56;	author phil;	state Exp;
branches;
next	1.21;

1.21
date	96.02.09.02.21.30;	author mycroft;	state Exp;
branches;
next	1.20;

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

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

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

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

1.16
date	96.02.01.03.00.57;	author phil;	state Exp;
branches;
next	1.15;

1.15
date	96.01.14.21.06.52;	author thorpej;	state Exp;
branches;
next	1.14;

1.14
date	95.09.19.23.51.40;	author thorpej;	state Exp;
branches;
next	1.13;

1.13
date	95.06.24.20.46.09;	author christos;	state Exp;
branches;
next	1.12;

1.12
date	95.05.16.22.25.02;	author jtc;	state Exp;
branches;
next	1.11;

1.11
date	95.03.23.19.47.13;	author jtc;	state Exp;
branches;
next	1.10;

1.10
date	94.12.22.03.23.20;	author phil;	state Exp;
branches;
next	1.9;

1.9
date	94.10.26.08.24.00;	author cgd;	state Exp;
branches;
next	1.8;

1.8
date	94.06.26.14.58.53;	author phil;	state Exp;
branches;
next	1.7;

1.7
date	94.06.17.07.09.39;	author phil;	state Exp;
branches;
next	1.6;

1.6
date	94.05.17.17.28.36;	author phil;	state Exp;
branches;
next	1.5;

1.5
date	94.05.03.07.27.03;	author phil;	state Exp;
branches;
next	1.4;

1.4
date	94.04.01.23.14.54;	author phil;	state Exp;
branches;
next	1.3;

1.3
date	93.10.20.23.53.26;	author phil;	state Exp;
branches;
next	1.2;

1.2
date	93.09.23.18.25.14;	author phil;	state Exp;
branches;
next	1.1;

1.1
date	93.09.09.23.53.44;	author phil;	state Exp;
branches
	1.1.1.1;
next	;

1.77.50.1
date	2008.03.23.02.04.15;	author matt;	state dead;
branches;
next	;

1.77.56.1
date	2008.02.18.21.04.54;	author mjf;	state dead;
branches;
next	;

1.77.64.1
date	2008.01.10.23.43.34;	author bouyer;	state dead;
branches;
next	;

1.76.2.1
date	2008.01.21.09.37.57;	author yamt;	state dead;
branches;
next	;

1.74.4.1
date	2005.02.06.07.45.25;	author jmc;	state Exp;
branches;
next	;

1.70.6.1
date	2004.08.03.10.38.46;	author skrll;	state Exp;
branches;
next	1.70.6.2;

1.70.6.2
date	2004.09.18.14.38.24;	author skrll;	state Exp;
branches;
next	1.70.6.3;

1.70.6.3
date	2004.09.21.13.19.47;	author skrll;	state Exp;
branches;
next	1.70.6.4;

1.70.6.4
date	2005.11.10.13.58.09;	author skrll;	state Exp;
branches;
next	;

1.69.8.1
date	2002.07.16.13.02.15;	author gehenna;	state Exp;
branches;
next	;

1.66.2.1
date	2001.11.12.21.17.25;	author thorpej;	state Exp;
branches;
next	;

1.65.2.1
date	2002.01.10.19.47.19;	author thorpej;	state Exp;
branches;
next	1.65.2.2;

1.65.2.2
date	2002.09.06.08.38.40;	author jdolecek;	state Exp;
branches;
next	;

1.64.2.1
date	2001.06.21.19.31.12;	author nathanw;	state Exp;
branches;
next	;

1.56.2.1
date	2000.11.20.20.19.18;	author bouyer;	state Exp;
branches;
next	1.56.2.2;

1.56.2.2
date	2001.01.05.17.34.54;	author bouyer;	state Exp;
branches;
next	;

1.54.4.1
date	99.08.02.20.02.17;	author thorpej;	state Exp;
branches;
next	;

1.46.2.1
date	97.11.12.23.45.40;	author thorpej;	state Exp;
branches;
next	;

1.44.2.1
date	97.10.14.10.17.53;	author thorpej;	state Exp;
branches;
next	;

1.37.2.1
date	97.03.12.21.15.41;	author is;	state Exp;
branches;
next	;

1.1.1.1
date	93.09.09.23.53.45;	author phil;	state Exp;
branches;
next	;


desc
@@


1.78
log
@Remove support for NetBSD/pc532.
@
text
@#	$NetBSD: Makefile.pc532,v 1.77 2005/12/11 12:18:31 christos Exp $

# Makefile for NetBSD
#
# This makefile is constructed from a machine description:
#	config machineid
# Most changes should be made in the machine description
#	/sys/arch/pc532/conf/``machineid''
# after which you should do
#	config machineid
# Machine generic makefile changes should be made in
#	/sys/arch/pc532/conf/Makefile.pc532
# after which config should be rerun for all machines of that type.
#
# To specify debugging, add the config line: makeoptions DEBUG="-g"
# A better way is to specify -g only for a few files.
#
#	makeoptions DEBUGLIST="uvm* trap if_*"

MACHINE_ARCH=ns32k
USETOOLS?=	no
NEED_OWN_INSTALL_TARGET?=no
.include <bsd.own.mk>

##
## (1) port identification
##
PC532=		$S/arch/pc532
GENASSYM_CONF=	${PC532}/pc532/genassym.cf

##
## (2) compile settings
##
CWARNFLAGS+=	-Wno-format
CFLAGS+=	-msb
AFLAGS+=	-x assembler-with-cpp -traditional-cpp

##
## (3) libkern and compat
##
KERN_AS=	obj

##
## (4) local objects, compile rules, and dependencies
##
MD_OBJS=	locore.o
MD_CILES=
MD_SFILES=	${PC532}/pc532/locore.s

# egcs-1.1.2 bug fix; see doc/HACKS - egcs-pc532-ip6_mroute
CC_OPT1=	${NORMAL_C:C/-O[0-9]+/-O1/}

# gcc-3.3.2 bug fix; see doc/HACKS - gcc-pc532-duffs_device
CC_NOERROR=	${NORMAL_C:C/-Werror/-Wno-error/}

locore.o: ${PC532}/pc532/locore.s assym.h
	${NORMAL_S}

##
## (5) link settings
##
CHECK!= ${LD} --version 2>&1; :
.if ${CHECK:Minvalid} == ""
TEXTADDR?=      E0002020
.else
LINKFORMAT=     -z
TEXTADDR?=      E0002000
.endif

##
## (6) port specific target dependencies
##

##
## (7) misc settings
##

##
## (8) config(8) generated machinery
##
%INCLUDES

%OBJS

%CFILES

%SFILES

%LOAD

%RULES

##
## (9) port independent kernel machinery
##
.include "$S/conf/Makefile.kern.inc"

##
## (10) Appending make options.
##
%MAKEOPTIONSAPPEND
@


1.77
log
@merge ktrace-lwp.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.pc532,v 1.70.6.4 2005/11/10 13:58:09 skrll Exp $
@


1.77.50.1
log
@sync with HEAD
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.pc532,v 1.77 2005/12/11 12:18:31 christos Exp $
@


1.77.56.1
log
@Sync with HEAD.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.pc532,v 1.77 2005/12/11 12:18:31 christos Exp $
@


1.77.64.1
log
@Sync with HEAD
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.pc532,v 1.77 2005/12/11 12:18:31 christos Exp $
@


1.76
log
@s/GENASSYM/GENASSYM_CONF/ so we can use "GENASSYM" as the program name.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.pc532,v 1.75 2004/06/04 04:45:50 thorpej Exp $
@


1.76.2.1
log
@sync with head
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.pc532,v 1.76 2005/05/31 04:03:10 christos Exp $
@


1.75
log
@Add the %MAKEOPTIONSAPPEND token at the end of the file, after the
common Makefile.kern.inc has been included.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.pc532,v 1.74 2003/11/04 02:18:49 simonb Exp $
d29 1
a29 1
GENASSYM=	${PC532}/pc532/genassym.cf
@


1.74
log
@Fix tyop in previous - a "$" before a make variable works wonders.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.pc532,v 1.73 2003/10/27 09:27:25 simonb Exp $
d97 5
@


1.74.4.1
log
@Pull up patch (requested by martti in ticket #1086)
Move ipf to sys/dist/ipf and sync w. trunk
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.pc532,v 1.74 2003/11/04 02:18:49 simonb Exp $
a96 5

##
## (10) IPF source directory
##
CPPFLAGS+=	-I$S/dist/ipf
@


1.73
log
@Do previous differently - check which ld we're using and set the right
link flags.

Suggested by Simon Gerraty.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.pc532,v 1.72 2003/10/27 07:39:10 simonb Exp $
d62 1
a62 1
CHECK!= {LD} --version 2>&1; :
@


1.72
log
@If the make variable "USE_BINUTILS" is yet, use correct options to link
a kernel with recent(ish) binutils ld.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.pc532,v 1.71 2003/10/27 07:26:17 simonb Exp $
a21 1
USE_BINUTILS?=	no
d62 3
a64 2
.if ${USE_BINUTILS} == "yes"
TEXTADDR?=	E0002020
d66 2
a67 2
LINKFORMAT=	-z
TEXTADDR?=	E0002000
@


1.71
log
@Use -Wno-error to compile a file with Duff's device and document this as
a hack.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.pc532,v 1.70 2002/07/09 12:55:47 simonb Exp $
d22 1
d63 3
d68 1
@


1.70
log
@Work around an egcs internal compiler error when compiling ip6_mroute.c
with -O2 or greater.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.pc532,v 1.69 2001/12/09 05:00:49 atatat Exp $
d52 3
@


1.70.6.1
log
@Sync with HEAD
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.pc532,v 1.75 2004/06/04 04:45:50 thorpej Exp $
a52 3
# gcc-3.3.2 bug fix; see doc/HACKS - gcc-pc532-duffs_device
CC_NOERROR=	${NORMAL_C:C/-Werror/-Wno-error/}

d59 2
a60 7
CHECK!= ${LD} --version 2>&1; :
.if ${CHECK:Minvalid} == ""
TEXTADDR?=      E0002020
.else
LINKFORMAT=     -z
TEXTADDR?=      E0002000
.endif
a88 5

##
## (10) Appending make options.
##
%MAKEOPTIONSAPPEND
@


1.70.6.2
log
@Sync with HEAD.
@
text
@@


1.70.6.3
log
@Fix the sync with head I botched.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.pc532,v 1.70.6.1 2004/08/03 10:38:46 skrll Exp $
@


1.70.6.4
log
@Sync with HEAD. Here we go again...
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.pc532,v 1.70.6.3 2004/09/21 13:19:47 skrll Exp $
d29 1
a29 1
GENASSYM_CONF=	${PC532}/pc532/genassym.cf
@


1.69
log
@Roll the rest of the ports over to the new MI kernel build machinery.
Any problems reported by testers have been fixed, and massive
cross-compiling of kernels has shown that any problems that remain
with actually building kernels are not related to this.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.pc532,v 1.68 2001/11/20 12:56:36 lukem Exp $
d49 3
@


1.69.8.1
log
@catch up with -current.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.pc532,v 1.70 2002/07/09 12:55:47 simonb Exp $
a48 3

# egcs-1.1.2 bug fix; see doc/HACKS - egcs-pc532-ip6_mroute
CC_OPT1=	${NORMAL_C:C/-O[0-9]+/-O1/}
@


1.68
log
@cleanup:
	options SPACE TAB
	makeoptions TAB
	psuedo-device TAB
	remove trailing whitespace
	replace multiple spaces -> tabs
	options "FOO" -> options FOO
	options "FOO=bar" -> options FOO=bar
	options "FOO=\"bar\"" -> options FOO="\"bar\""
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.pc532,v 1.67 2001/10/26 06:45:38 jmc Exp $
d14 5
d22 1
a22 1

d25 17
a41 2
# DEBUG is set to -g if debugging.
# PROF is set to -pg if profiling.
d43 6
a48 36
AR?=	ar
AS?=	as
CC?=	cc
CPP?=	cpp
LD?=	ld
LORDER?=lorder
MKDEP?=	mkdep
NM?=	nm
RANLIB?=ranlib
SIZE?=	size
STRIP?=	strip
TSORT?=	tsort -q

COPTS?=	-O2 -msb

# source tree is located via $S relative to the compilation directory
.ifndef S
S!=	cd ../../../..; pwd
.endif
PC532=	$S/arch/pc532

HAVE_EGCS!=	${CC} --version | egrep "^(2\.[89]|egcs)" ; echo
INCLUDES=	-I. -I$S/arch -I$S -nostdinc
CPPFLAGS=	${INCLUDES} ${IDENT} ${PARAM} -D_KERNEL -D_KERNEL_OPT
CWARNFLAGS?=	-Werror -Wall -Wstrict-prototypes -Wmissing-prototypes \
		-Wpointer-arith -Wno-format
# XXX Delete -Wuninitialized for now, since the compiler doesn't
# XXX always get it right.  --thorpej
CWARNFLAGS+=	-Wno-uninitialized
.if (${HAVE_EGCS} != "")
CWARNFLAGS+=	-Wno-main
.endif
CFLAGS=		${DEBUG} ${COPTS} ${CWARNFLAGS}
AFLAGS=		-x assembler-with-cpp -traditional-cpp -D_LOCORE
LINKFLAGS=	-z -Ttext E0002000 -e start
STRIPFLAGS=	-g
d50 20
a71 30
HOSTED_CC=	${CC}
HOSTED_CPPFLAGS=${CPPFLAGS:S/^-nostdinc$//}
HOSTED_CFLAGS=	${CFLAGS}

### find out what to use for libkern
KERN_AS=	obj
.include "$S/lib/libkern/Makefile.inc"
.ifndef PROF
LIBKERN=	${KERNLIB}
.else
LIBKERN=	${KERNLIB_PROF}
.endif

### find out what to use for libcompat
.include "$S/compat/common/Makefile.inc"
.ifndef PROF
LIBCOMPAT=	${COMPATLIB}
.else
LIBCOMPAT=	${COMPATLIB_PROF}
.endif

# compile rules: rules are named ${TYPE}_${SUFFIX} where TYPE is NORMAL or
# HOSTED, and SUFFIX is the file suffix, capitalized (e.g. C for a .c file).

NORMAL_C=	${CC} ${CFLAGS} ${CPPFLAGS} ${PROF} -c $<
NOPROF_C=	${CC} ${CFLAGS} ${CPPFLAGS} -c $<
NORMAL_S=	${CC} ${AFLAGS} ${CPPFLAGS} -c $<

HOSTED_C=	${HOSTED_CC} ${HOSTED_CFLAGS} ${HOSTED_CPPFLAGS} -c $<

a77 24
# load lines for config "xxx" will be emitted as:
# xxx: ${SYSTEM_DEP} swapxxx.o
#	${SYSTEM_LD_HEAD}
#	${SYSTEM_LD} swapxxx.o
#	${SYSTEM_LD_TAIL}
SYSTEM_OBJ=	locore.o \
		param.o ioconf.o ${OBJS} ${LIBCOMPAT} ${LIBKERN}
SYSTEM_DEP=	Makefile ${SYSTEM_OBJ}
SYSTEM_LD_HEAD=	@@rm -f $@@
SYSTEM_LD=	@@echo ${LD} ${LINKFLAGS} -o $@@ '$${SYSTEM_OBJ}' vers.o; \
		${LD} ${LINKFLAGS} -o $@@ ${SYSTEM_OBJ} vers.o
SYSTEM_LD_TAIL=	@@${SIZE} $@@; chmod 755 $@@

DEBUG?=
.if ${DEBUG} == "-g"
LINKFLAGS+=	-X
SYSTEM_LD_TAIL+=; \
		echo mv -f $@@ $@@.gdb; mv -f $@@ $@@.gdb; \
		echo ${STRIP} ${STRIPFLAGS} -o $@@ $@@.gdb; \
		${STRIP} ${STRIPFLAGS} -o $@@ $@@.gdb
.else
LINKFLAGS+=	-S
.endif

d80 1
a80 77
assym.h: $S/kern/genassym.sh ${PC532}/pc532/genassym.cf
	sh $S/kern/genassym.sh ${CC} ${CFLAGS} ${CPPFLAGS} ${PROF} \
	    < ${PC532}/pc532/genassym.cf > assym.h.tmp && \
	mv -f assym.h.tmp assym.h

param.c: $S/conf/param.c
	rm -f param.c
	cp $S/conf/param.c .

param.o: param.c Makefile
	${NORMAL_C}

ioconf.o: ioconf.c
	${NORMAL_C}

newvers: ${SYSTEM_DEP} ${SYSTEM_SWAP_DEP}
	sh $S/conf/newvers.sh
	${CC} ${CFLAGS} ${CPPFLAGS} ${PROF} -c vers.c

__CLEANKERNEL: .USE
	@@echo "${.TARGET}ing the kernel objects"
	rm -f eddep *netbsd netbsd.gdb tags *.[io] [a-z]*.s \
	    [Ee]rrs linterrs makelinks assym.h.tmp assym.h

__CLEANDEPEND: .USE
	rm -f .depend

clean: __CLEANKERNEL

cleandir distclean: __CLEANKERNEL __CLEANDEPEND

lint:
	@@lint -hbxncez -Dvolatile= ${CPPFLAGS} -UKGDB \
	    ${PC532}/pc532/Locore.c ${CFILES} \
	    ioconf.c param.c | \
	    grep -v 'static function .* unused'

tags:
	@@echo "see $S/kern/Makefile for tags"

links:
	egrep '#if' ${CFILES} | sed -f $S/conf/defines | \
	  sed -e 's/:.*//' -e 's/\.c/.o/' | sort -u > dontlink
	echo ${CFILES} | tr -s ' ' '\12' | sed 's/\.c/.o/' | \
	  sort -u | comm -23 - dontlink | \
	  sed 's,../.*/\(.*.o\),rm -f \1; ln -s ../GENERIC/\1 \1,' > makelinks
	sh makelinks && rm -f dontlink

SRCS=	${PC532}/pc532/locore.s \
	param.c ioconf.c ${CFILES} ${SFILES}
depend: .depend
.depend: ${SRCS} assym.h param.c
	${MKDEP} ${AFLAGS} ${CPPFLAGS} ${PC532}/pc532/locore.s
	${MKDEP} -a ${CFLAGS} ${CPPFLAGS} param.c ioconf.c ${CFILES}
.if ${SFILES} != ""
	${MKDEP} -a ${AFLAGS} ${CPPFLAGS} ${SFILES}
.endif
	sh $S/kern/genassym.sh ${MKDEP} -f assym.dep ${CFLAGS} \
	  ${CPPFLAGS} < ${PC532}/pc532/genassym.cf
	@@sed -e 's/.*\.o:.*\.c/assym.h:/' < assym.dep >> .depend
	@@rm -f assym.dep

dependall: depend all


# depend on root or device configuration
autoconf.o conf.o: Makefile

# depend on network or filesystem configuration
uipc_proto.o vfs_conf.o: Makefile

# depend on maxusers
machdep.o: Makefile

# depend on CPU configuration
#: Makefile

d82 4
a85 16
locore.o: ${PC532}/pc532/locore.s assym.h
	${NORMAL_S}

# The install target can be redefined by putting a
# install-kernel-${MACHINE_NAME} target into /etc/mk.conf
MACHINE_NAME!=  uname -n
install: install-kernel-${MACHINE_NAME}
.if !target(install-kernel-${MACHINE_NAME}})
install-kernel-${MACHINE_NAME}:
	rm -f /onetbsd
	ln /netbsd /onetbsd
	cp netbsd /nnetbsd
	mv /nnetbsd /netbsd
.endif

%RULES
@


1.67
log
@Change defaults for kernel compiles. Default all to USETOOLS?=no and have
the etc Makefile override that by putting USETOOLS into $.MAKEOVERRIDES
This way the default for kernel compiles is still to use the installed
toolchain instead of depending on $TOOLDIR. $TOOLDIR can be used by
simply adding USETOOLS=yes to the command line as usual.

Adjust each ports template to set the default no setting and also pull in
bsd.own.mk if they weren't already to ensure they'll build correctly
with the new toolchain setup.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.pc532,v 1.66 2001/10/23 19:26:46 thorpej Exp $
d44 1
a44 1
HAVE_EGCS!=	${CC} --version | egrep "^(2\.[89]|egcs)" ; echo 
d50 1
a50 1
# XXX always get it right.  --thorpej 
d191 3
a193 3
 
# depend on network or filesystem configuration 
uipc_proto.o vfs_conf.o: Makefile 
d198 1
a198 1
# depend on CPU configuration 
@


1.66
log
@Set MACHINE_ARCH explicitly in Makefiles for which it is constant.
Also, since config(8) now explcitly sets MACHINE, there is no need
to do it here in the Makefile.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.pc532,v 1.65 2001/05/29 02:20:25 mrg Exp $
d16 3
@


1.66.2.1
log
@Sync the thorpej-mips-cache branch with -current.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.pc532,v 1.67 2001/10/26 06:45:38 jmc Exp $
a15 3
USETOOLS?=	no

.include <bsd.own.mk>
@


1.65
log
@define _KERNEL_OPT as well as _KERNEL. we will use this in the future to
get kernel "opt_foo.h" headers, rather than _KERNEL && !_LKM.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.pc532,v 1.64 2000/12/17 15:52:43 jdolecek Exp $
d14 2
@


1.65.2.1
log
@Sync kqueue branch with -current.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.pc532,v 1.69 2001/12/09 05:00:49 atatat Exp $
a13 5
#
# To specify debugging, add the config line: makeoptions DEBUG="-g"
# A better way is to specify -g only for a few files.
#
#	makeoptions DEBUGLIST="uvm* trap if_*"
d15 41
a55 22
MACHINE_ARCH=ns32k
USETOOLS?=	no
NEED_OWN_INSTALL_TARGET?=no
.include <bsd.own.mk>

##
## (1) port identification
##
PC532=		$S/arch/pc532
GENASSYM=	${PC532}/pc532/genassym.cf

##
## (2) compile settings
##
CWARNFLAGS+=	-Wno-format
CFLAGS+=	-msb
AFLAGS+=	-x assembler-with-cpp -traditional-cpp

##
## (3) libkern and compat
##
KERN_AS=	obj
d57 3
a59 6
##
## (4) local objects, compile rules, and dependencies
##
MD_OBJS=	locore.o
MD_CILES=
MD_SFILES=	${PC532}/pc532/locore.s
d61 23
a83 2
locore.o: ${PC532}/pc532/locore.s assym.h
	${NORMAL_S}
d85 1
a85 18
##
## (5) link settings
##
LINKFORMAT=	-z
TEXTADDR?=	E0002000

##
## (6) port specific target dependencies
##

##
## (7) misc settings
##

##
## (8) config(8) generated machinery
##
%INCLUDES
d93 24
d119 93
a212 5

##
## (9) port independent kernel machinery
##
.include "$S/conf/Makefile.kern.inc"
@


1.65.2.2
log
@sync kqueue branch with HEAD
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.pc532,v 1.65.2.1 2002/01/10 19:47:19 thorpej Exp $
a48 3

# egcs-1.1.2 bug fix; see doc/HACKS - egcs-pc532-ip6_mroute
CC_OPT1=	${NORMAL_C:C/-O[0-9]+/-O1/}
@


1.64
log
@delete obsolete comment
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.pc532,v 1.63 2000/07/18 12:45:49 matthias Exp $
d41 1
a41 1
CPPFLAGS=	${INCLUDES} ${IDENT} ${PARAM} -D_KERNEL
@


1.64.2.1
log
@Catch up to -current.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.pc532,v 1.64 2000/12/17 15:52:43 jdolecek Exp $
d41 1
a41 1
CPPFLAGS=	${INCLUDES} ${IDENT} ${PARAM} -D_KERNEL -D_KERNEL_OPT
@


1.63
log
@Change KERNBASE to 0xe0000000 to give more room for KVA. This is the maximum
amount of KVA that is supportable on the ns32532.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.pc532,v 1.62 2000/05/09 00:56:26 hubertf Exp $
a13 6
#
# N.B.: NO DEPENDENCIES ON FOLLOWING FLAGS ARE VISIBLE TO MAKEFILE
#	IF YOU CHANGE THE DEFINITION OF ANY OF THESE RECOMPILE EVERYTHING
#
# -DTRACE	compile in kernel tracing hooks
# -DQUOTA	compile in file system quotas
@


1.62
log
@Add "install" target, so "make install" after building the kernel
does something useful.  The target can be redefined by putting a
install-kernel-${MACHINE_NAME} target that fits your needs into
/etc/mk.conf.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.pc532,v 1.61 2000/05/09 00:32:25 thorpej Exp $
d58 1
a58 1
LINKFLAGS=	-z -Ttext F8002000 -e start
@


1.61
log
@HAVE_GCC28 -> HAVE_EGCS, and make it match gcc 2.9 as well.  Also,
make the use of -Wno-uninitialized explicit, don't rely on a compiler
hack to do it for us.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.pc532,v 1.60 2000/02/01 05:25:44 tsutsui Exp $
d205 12
@


1.60
log
@Revert STRIPPROG -> STRIP
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.pc532,v 1.59 2000/01/24 20:36:16 tron Exp $
d45 1
a45 1
HAVE_GCC28!=	${CC} --version | egrep "^(2\.8|egcs)" ; echo 
d48 6
a53 3
CWARNFLAGS?=	-Wall -Wstrict-prototypes -Wmissing-prototypes \
		-Wno-format -Werror -Wpointer-arith
.if (${HAVE_GCC28} != "")
@


1.59
log
@Add "dependall" target for comfort.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.pc532,v 1.58 2000/01/19 16:30:00 tsutsui Exp $
d34 1
a34 1
STRIPPROG?=strip
d114 2
a115 2
		echo ${STRIPPROG} ${STRIPFLAGS} -o $@@ $@@.gdb; \
		${STRIPPROG} ${STRIPFLAGS} -o $@@ $@@.gdb
@


1.58
log
@STRIP -> STRIPPROG
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.pc532,v 1.57 2000/01/19 14:45:07 tsutsui Exp $
d183 3
@


1.57
log
@Change STRIPFLAGS=-g for cross-toolchains.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.pc532,v 1.56 1999/07/26 05:20:47 cgd Exp $
d34 1
a34 1
STRIP?=	strip
d114 2
a115 2
		echo ${STRIP} ${STRIPFLAGS} -o $@@ $@@.gdb; \
		${STRIP} ${STRIPFLAGS} -o $@@ $@@.gdb
@


1.56
log
@be more efficient when doing the SYSTEM_LD_TAIL for -g kernels: don't
copy them just to strip them, use strip -o.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.pc532,v 1.55 1999/07/09 09:52:59 mrg Exp $
d56 1
a56 1
STRIPFLAGS=	-d
@


1.56.2.1
log
@Update thorpej_scsipi to -current as of a month ago
A i386 GENERIC kernel compiles without the siop, ahc and bha drivers
(will be updated later). i386 IDE/ATAPI and ncr work, as well as
sparc/esp_sbus. alpha should work as well (untested yet).
siop, ahc and bha will be updated once I've updated the branch to current
-current, as well as machine-dependant code.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.pc532,v 1.63 2000/07/18 12:45:49 matthias Exp $
d45 1
a45 1
HAVE_EGCS!=	${CC} --version | egrep "^(2\.[89]|egcs)" ; echo 
d48 3
a50 6
CWARNFLAGS?=	-Werror -Wall -Wstrict-prototypes -Wmissing-prototypes \
		-Wpointer-arith -Wno-format
# XXX Delete -Wuninitialized for now, since the compiler doesn't
# XXX always get it right.  --thorpej 
CWARNFLAGS+=	-Wno-uninitialized
.if (${HAVE_EGCS} != "")
d55 2
a56 2
LINKFLAGS=	-z -Ttext E0002000 -e start
STRIPFLAGS=	-g
a183 3
dependall: depend all


a198 12

# The install target can be redefined by putting a
# install-kernel-${MACHINE_NAME} target into /etc/mk.conf
MACHINE_NAME!=  uname -n
install: install-kernel-${MACHINE_NAME}
.if !target(install-kernel-${MACHINE_NAME}})
install-kernel-${MACHINE_NAME}:
	rm -f /onetbsd
	ln /netbsd /onetbsd
	cp netbsd /nnetbsd
	mv /nnetbsd /netbsd
.endif
@


1.56.2.2
log
@Sync with HEAD
@
text
@d1 1
a1 1
#	$NetBSD$
d14 6
@


1.55
log
@clean up a bit after jason :)

- fix emitrules() like emitfiles() to deal with the prefix (otherwise it
  would attempt to find the file in the normal base for the NORMAL_C rule).
- add emitincludes() which adds include directives for each prefix to the
  $INCLUDES variable in the makefile.
- add %INCLUDES to each Makefile.arch to deal with the above.

this makes "prefix" actually work in a usable manner, and now i can move
on to fixing compiler warnings (errors) in the ESP code. :)
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.pc532,v 1.54 1999/03/14 05:03:35 jonb Exp $
d113 3
a115 2
		echo cp $@@ $@@.gdb; rm -f $@@.gdb; cp $@@ $@@.gdb; \
		echo ${STRIP} ${STRIPFLAGS} $@@; ${STRIP} ${STRIPFLAGS} $@@
@


1.54
log
@Allow "make depend" to work again.  (It currently freaks out since the
SFILES variable is empty...)
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.pc532,v 1.53 1999/01/08 19:26:14 augustss Exp $
d57 2
@


1.54.4.1
log
@Update from trunk.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.pc532,v 1.56 1999/07/26 05:20:47 cgd Exp $
a57 2
%INCLUDES

d111 2
a112 3
		echo mv -f $@@ $@@.gdb; mv -f $@@ $@@.gdb; \
		echo ${STRIP} ${STRIPFLAGS} -o $@@ $@@.gdb; \
		${STRIP} ${STRIPFLAGS} -o $@@ $@@.gdb
@


1.53
log
@Add -Wpointer-arith warning since `void *' arithmetic is not ANSI C.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.pc532,v 1.52 1998/10/15 18:37:16 drochner Exp $
d173 1
d175 1
@


1.52
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
 (for now; should depend on actual "option LKM" or -better- functions
 included for LKM use should be pulled in by a stub)
-always link libcompat before libkern - libkern stuff can be referred to
 by libcompat, but not the other way
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.pc532,v 1.51 1998/09/05 15:15:17 lukem Exp $
d49 1
a49 1
		-Wno-format -Werror
@


1.51
log
@distclean is a synonym for cleandir
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.pc532,v 1.50 1998/05/31 23:25:43 thorpej Exp $
d63 1
d100 1
a100 1
		param.o ioconf.o ${OBJS} ${LIBKERN} ${LIBCOMPAT}
@


1.50
log
@Specify a non-profiling C rule.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.pc532,v 1.49 1998/04/12 23:47:44 tv Exp $
d147 1
a147 1
cleandir: __CLEANKERNEL __CLEANDEPEND
@


1.49
log
@Add -Wno-main conditional on compiler being gcc 2.8 or egcs.  (This adds
a HAVE_GCC28 check-variable that can now be used to add other gcc-2.8
flags in cases where they may be useful, or to remove gcc 2.7.2 "bug
workaround" flags.)
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.pc532,v 1.48 1997/11/12 23:12:18 thorpej Exp $
d82 1
@


1.48
log
@Make sure CPP, AR, AS, and RANLIB are defined.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.pc532,v 1.47 1997/11/12 22:26:16 thorpej Exp $
d45 1
d48 1
a48 1
CWARNFLAGS=	-Wall -Wstrict-prototypes -Wmissing-prototypes \
d50 3
@


1.47
log
@Define LORDER, NM, and TSORT here, like we do the rest of the tools.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.pc532,v 1.46 1997/10/03 07:17:42 lukem Exp $
d24 2
d27 1
d32 1
d36 1
@


1.46
log
@define SIZE?=size, and use ${SIZE} instead of size. makes cross
compilation easier
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.pc532,v 1.45 1997/09/30 22:53:31 christos Exp $
d26 1
d28 1
d31 1
@


1.46.2.1
log
@Pull up "make sure tools are defined" changes from trunk.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.pc532,v 1.48 1997/11/12 23:12:18 thorpej Exp $
a23 2
AR?=	ar
AS?=	as
a24 1
CPP?=	cpp
a25 1
LORDER?=lorder
a26 2
NM?=	nm
RANLIB?=ranlib
a28 2
TSORT?=	tsort -q

@


1.45
log
@PR/4162: Chris Jones: make cleandir does not work properly; it does not
remove the object files and the .depend file in the kernel build directory.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.pc532,v 1.44 1997/07/12 22:08:01 leo Exp $
d27 1
d29 1
a29 1
COPTS?=		-O2 -msb
d91 1
a91 1
SYSTEM_LD_TAIL=	@@size $@@; chmod 755 $@@
@


1.44
log
@Generate assym.h dependencies when making 'depend'.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.pc532,v 1.43 1997/04/01 16:30:48 matthias Exp $
d123 2
a124 3

clean: cleankernel
cleankernel:
d127 7
@


1.44.2.1
log
@Update marc-pcmcia branch from trunk.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.pc532,v 1.46 1997/10/03 07:17:42 lukem Exp $
a26 1
SIZE?=	size
d28 1
a28 1
COPTS?=	-O2 -msb
d90 1
a90 1
SYSTEM_LD_TAIL=	@@${SIZE} $@@; chmod 755 $@@
d123 3
a125 2
__CLEANKERNEL: .USE
	@@echo "${.TARGET}ing the kernel objects"
a127 7

__CLEANDEPEND: .USE
	rm -f .depend

clean: __CLEANKERNEL

cleandir: __CLEANKERNEL __CLEANDEPEND
@


1.43
log
@* Add -Werror again.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.pc532,v 1.42 1997/03/20 12:03:23 matthias Exp $
d153 4
@


1.42
log
@* Add "-Wall -Wstrict-prototypes -Wmissing-prototypes -Wno-format"
  to CWARNFLAGS.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.pc532,v 1.41 1997/03/14 23:27:31 mycroft Exp $
d39 1
a39 1
		-Wno-format # -Werror
@


1.41
log
@Define the `cleankernel' target consistently with other ports.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.pc532,v 1.40 1997/03/14 23:21:36 mycroft Exp $
d38 2
a39 1
CWARNFLAGS=	-Werror
@


1.40
log
@Put the genassym.sh output in a temp file, and mv -f it, in case
it fails spectacularly and doesn't clean up.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.pc532,v 1.39 1997/02/10 10:54:00 matthias Exp $
d123 2
a124 1
clean:
@


1.39
log
@add missing parentheses to assym.h rule.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.pc532,v 1.38 1997/02/08 09:33:27 matthias Exp $
d103 4
a106 3
assym.h: ${PC532}/pc532/genassym.cf $S/kern/genassym.sh
	sh $S/kern/genassym.sh ${CC} ${CFLAGS} ${CPPFLAGS} \
	<${PC532}/pc532/genassym.cf >assym.h || (rm assym.h && exit 1)
d125 1
a125 1
	    [Ee]rrs linterrs makelinks assym.h
@


1.38
log
@* Corrected rule for assym.h. In case genassym.sh fails assym.h
  has to be removed and a non-zero exit value has to be provided
  to make.
* Removed last references to genassym and genassym.o.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.pc532,v 1.37 1997/02/04 05:08:40 perry Exp $
d105 1
a105 1
	<${PC532}/pc532/genassym.cf >assym.h || rm assym.h && exit 1
@


1.37
log
@Nuke some options GENERIC residue.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.pc532,v 1.36 1997/02/04 04:32:11 perry Exp $
d105 1
a105 1
	<${PC532}/pc532/genassym.cf >assym.h || rm assym.h
d124 1
a124 1
	    [Ee]rrs linterrs makelinks genassym genassym.o assym.h
d158 1
a158 1
genassym.o machdep.o: Makefile
@


1.37.2.1
log
@Merge in changes from Trunk
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.pc532,v 1.39 1997/02/10 10:54:00 matthias Exp $
d105 1
a105 1
	<${PC532}/pc532/genassym.cf >assym.h || (rm assym.h && exit 1)
d124 1
a124 1
	    [Ee]rrs linterrs makelinks assym.h
d158 1
a158 1
machdep.o: Makefile
@


1.36
log
@Nuke some GENERIC residue.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.pc532,v 1.35 1997/02/01 09:23:02 matthias Exp $
d128 1
a128 1
	    ${PC532}/pc532/Locore.c ${CFILES} ${PC532}/pc532/swapgeneric.c \
@


1.35
log
@* clean, depend :: -> : change
* use genassym.sh to create assym.h
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.pc532,v 1.34 1996/12/22 19:14:14 veego Exp $
d127 1
a127 1
	@@lint -hbxncez -DGENERIC -Dvolatile= ${CPPFLAGS} -UKGDB \
@


1.34
log
@Fix a typo: s/COPT/COPTS/
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.pc532,v 1.33 1996/12/07 09:24:37 matthias Exp $
d65 1
a65 1
# HOSTED}, and SUFFIX is the file suffix, capitalized (e.g. C for a .c file).
d103 3
a105 8
assym.h: genassym
	./genassym >assym.h

genassym: genassym.o
	${CC} -o $@@ genassym.o

genassym.o: ${PC532}/pc532/genassym.c
	${HOSTED_C}
d122 1
a122 1
clean::
d145 1
a145 1
depend:: .depend
a149 3
	${MKDEP} -a ${HOSTED_CFLAGS} ${HOSTED_CPPFLAGS} \
	    ${PC532}/pc532/genassym.c

@


1.33
log
@* Enlarge kernel virtual memory space. The pc532 kernel now runs at
  0xf8000000. When the kernel was running at 0xfe000000, the INSTALL
  kernel would not run on a 32mb machine.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.pc532,v 1.32 1996/12/01 06:12:34 jonathan Exp $
d39 1
a39 1
CFLAGS=		${DEBUG} ${COPT} ${CWARNFLAGS}
@


1.32
log
@* Replace explicit -O2 in CFLAGS with  COPTS macro. Default COPTS?= -O2.
  Lets users over-ride with makeoptions COPTS="..." in kernel config files.

  Leave `mandatory' flags (like  -msoft-float which  on m68k enforces no
  FP in kernel) in CFLAGS.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.pc532,v 1.31 1996/09/09 21:07:04 mycroft Exp $
d41 1
a41 1
LINKFLAGS=	-z -Ttext FE002000 -e start
@


1.31
log
@Move strip(1) flags into a separate variable, so that $STRIP can
be passed to subordinate make(1)s.  Remove $TOUCH.  Add HOSTED_CC,
HOSTED_CPPFLAGS, and HOSTED_CFLAGS, and use them when depending genassym.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.pc532,v 1.30 1996/08/31 21:41:30 mycroft Exp $
d28 1
d39 1
a39 1
CFLAGS=		${DEBUG} ${CWARNFLAGS} -O2 -msb
@


1.30
log
@Wrap the default definition of `S' in `.ifndef'.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.pc532,v 1.29 1996/08/12 00:51:52 mycroft Exp $
d27 1
a27 2
STRIP?=	strip -d
TOUCH?=	touch -f -c
d41 5
d69 1
a69 1
HOSTED_C=	${NORMAL_C:S/^-pg$//:S/^-p$//:S/^-nostdinc$//}
d95 1
a95 1
		echo ${STRIP} $@@; ${STRIP} $@@
d154 2
a155 1
	${MKDEP} -a ${CFLAGS} ${CPPFLAGS} ${PC532}/pc532/genassym.c
@


1.29
log
@Put  into .  Remove hooks for `config-dependent' and
`device-driver' flags.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.pc532,v 1.28 1996/08/10 06:09:22 mycroft Exp $
d31 1
d33 1
@


1.28
log
@* Add a HOSTED_C_C variable, which strips `-p', `-pg', and
`-nostdinc', and use it when building genassym.
* Use `-nostdinc' just to be sure we're self-contained.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.pc532,v 1.27 1996/08/10 05:29:44 mycroft Exp $
d35 1
a35 1
CPPFLAGS=	${INCLUDES} ${IDENT} -D_KERNEL
d57 2
a58 4
# compile rules: rules are named ${TYPE}_${SUFFIX}${CONFIG_DEP}
# where TYPE is NORMAL, DRIVER, or PROFILE}; SUFFIX is the file suffix,
# capitalized (e.g. C for a .c file), and CONFIG_DEP is _C if the file
# is marked as config-dependent.
a60 5
NORMAL_C_C=	${CC} ${CFLAGS} ${CPPFLAGS} ${PROF} ${PARAM} -c $<

DRIVER_C=	${CC} ${CFLAGS} ${CPPFLAGS} ${PROF} -c $<
DRIVER_C_C=	${CC} ${CFLAGS} ${CPPFLAGS} ${PROF} ${PARAM} -c $<

a61 1
NORMAL_S_C=	${CC} ${AFLAGS} ${CPPFLAGS} ${PARAM} -c $<
d63 1
a63 1
HOSTED_C_C=	${NORMAL_C_C:S/^-pg$//:S/^-p$//:S/^-nostdinc$//}
d103 1
a103 1
	${HOSTED_C_C}
d110 1
a110 1
	${NORMAL_C_C}
d125 1
a125 1
	@@lint -hbxncez -DGENERIC -Dvolatile= ${CPPFLAGS} ${PARAM} -UKGDB \
d148 1
a148 1
	${MKDEP} -a ${CFLAGS} ${CPPFLAGS} ${PARAM} ${PC532}/pc532/genassym.c
@


1.27
log
@* Define CWARNFLAGS and MKDEP in some moderately consistent fashion.
* Make S expand to an absolute path at compile time.
* Use `-S' rather than `-x' to remove debugging symbols.
* Garbage collect unused variables.
* Reverse a handful of port-specific changes that do not correspond to
the common build model and are not needed.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.pc532,v 1.26 1996/05/11 16:12:34 mycroft Exp $
d34 1
a34 1
INCLUDES=	-I. -I$S/arch -I$S
d71 2
d111 1
a111 1
	${NORMAL_C_C}
@


1.26
log
@Make `make depend' work for libraries.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.pc532,v 1.25 1996/02/29 20:57:05 cgd Exp $
a23 1
AS?=	as
a24 1
CPP?=	cpp
d26 1
d31 2
a32 4
S=	$(.CURDIR)/../../../..
PC532=	$(.CURDIR)/../..
KERNREL=
COMPATREL=
d34 1
a34 1
INCLUDES=	-I$(.CURDIR) -I$S/arch -I$S
d36 2
a37 1
CFLAGS=		${DEBUG} -O2 -Werror -msb
d97 1
a97 1
LINKFLAGS+=	-x
d151 4
a154 4
	mkdep ${AFLAGS} ${CPPFLAGS} ${PC532}/pc532/locore.s
	mkdep -a ${CFLAGS} ${CPPFLAGS} param.c ioconf.c ${CFILES}
	mkdep -a ${AFLAGS} ${CPPFLAGS} ${SFILES}
	mkdep -a ${CFLAGS} ${CPPFLAGS} ${PARAM} ${PC532}/pc532/genassym.c
@


1.25
log
@Do not build vnode_if.[ch] for each kernel.  Build them once, like the
various syscall sources/headers, and just compile them.  From PR 2142, OK'd
by mycroft.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.pc532,v 1.24 1996/02/26 02:53:44 mycroft Exp $
d151 1
a151 1
depend: .depend
@


1.24
log
@Define build programs with `?=', so they can be overridden with `makeoptions'.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.pc532,v 1.22 1996/02/15 08:37:56 phil Exp $
a24 1
AWK?=	awk
d85 1
a85 1
		vnode_if.o param.o ioconf.o ${OBJS} ${LIBKERN} ${LIBCOMPAT}
a112 3
vnode_if.c vnode_if.h: $S/kern/vnode_if.sh $S/kern/vnode_if.src
	AWK="${AWK}" sh $S/kern/vnode_if.sh $S/kern/vnode_if.src

d129 1
a129 1
	rm -f eddep *netbsd netbsd.gdb tags vnode_if.[ch] *.[io] [a-z]*.s \
d150 1
a150 1
	vnode_if.c param.c ioconf.c ${CFILES} ${SFILES}
d152 1
a152 1
.depend: ${SRCS} assym.h vnode_if.h param.c
d154 1
a154 1
	mkdep -a ${CFLAGS} ${CPPFLAGS} vnode_if.c param.c ioconf.c ${CFILES}
@


1.23
log
@Another tweek to support libcompat.
@
text
@d24 7
a30 7
AS=	as
AWK=	awk
CC=	cc
CPP=	cpp
LD=	ld
STRIP=	strip -d
TOUCH=	touch -f -c
@


1.22
log
@Catch up with changes in the libkern and libcompat get $S ...
Comment out ns_cksum.c.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.pc532,v 1.21 1996/02/09 02:21:30 mycroft Exp $
d38 1
a38 1
INCLUDES=	-I. -I$S/arch -I$S
@


1.21
log
@Fix mkdep problems due to missing flags.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.pc532,v 1.20 1996/02/03 00:44:14 mycroft Exp $
d33 4
a36 2
S=	../../../..
PC532=	../..
@


1.20
log
@Use `-traditional-cpp' when building .s and .S files.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.pc532,v 1.19 1996/02/02 20:09:27 mycroft Exp $
d39 1
a39 1
AFLAGS=		-D_LOCORE
d69 2
a70 2
NORMAL_S=	${CC} -traditional-cpp -x assembler-with-cpp ${AFLAGS} ${CPPFLAGS} -c $<
NORMAL_S_C=	${CC} -traditional-cpp -x assembler-with-cpp ${AFLAGS} ${CPPFLAGS} ${PARAM} -c $<
d155 1
a155 1
	mkdep -x assembler-with-cpp ${AFLAGS} ${CPPFLAGS} ${PC532}/pc532/locore.s
d157 1
a157 1
	mkdep -a -x assembler-with-cpp ${AFLAGS} ${CPPFLAGS} ${SFILES}
@


1.19
log
@Clone these, and fix many bugs.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.pc532,v 1.18 1996/02/02 13:38:24 mycroft Exp $
d69 2
a70 2
NORMAL_S=	${CC} -x assembler-with-cpp ${AFLAGS} ${CPPFLAGS} -c $<
NORMAL_S_C=	${CC} -x assembler-with-cpp ${AFLAGS} ${CPPFLAGS} ${PARAM} -c $<
@


1.18
log
@Don't special-case conf.c.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.pc532,v 1.17 1996/02/02 02:37:10 mycroft Exp $
d3 1
a3 6
# Copyright 1990 W. Jolitz
# 	@@(#)Makefile.i386	7.1 5/10/91
#
# Makefile for NetBSD/532
#
#  Edited by Philip A. Nelson
d10 2
a11 2
#	 config machineid
# Generic makefile changes should be made in
d13 1
a13 1
# after which config should be rerun for all machines.
d15 1
a15 1
# N.B.: NO DEPENDENCIES ON FOLLOWING FLAGS ARE INVISIBLE TO MAKEFILE
a19 1
#
d21 3
a23 1
TOUCH=	touch -f -c
d25 3
d29 2
a30 3
CC=	cc 
CPP=	cpp
AWK=	awk
d32 1
d36 5
a40 6
.s.o:; (${CPP} ${COPTS} ${PC532}/pc532/$*.s | ${AS} ${ASFLAGS} -o $*.o)

INCLUDES= -I. -I$S -I$S/sys -I${PC532}
COPTS=	${INCLUDES} ${IDENT} -D_KERNEL
ASFLAGS=
CFLAGS=	-O -Werror -fno-builtin -msb ${COPTS}
d58 13
a70 11
NORMAL_S= (${CPP} ${COPTS} ${PROF} $< | ${AS} ${ASFLAGS} -o $*.o)
NORMAL_C= ${CC} -c ${CFLAGS} ${PROF} $<
NORMAL_C_C= ${CC} -c ${CFLAGS} ${PROF} ${PARAM} $<
DRIVER_C= ${CC} -c ${CFLAGS} ${PROF} $<
DRIVER_C_C= ${CC} -c ${CFLAGS} ${PROF} ${PARAM} $<
SYSTEM_OBJS=locore.o ${OBJS} param.o ioconf.o conf.o vnode_if.o ${LIBKERN} \
	${LIBCOMPAT}
SYSTEM_DEP=Makefile ${SYSTEM_OBJS}
SYSTEM_LD_HEAD= 	@@echo loading $@@; rm -f $@@
SYSTEM_LD= @@${LD} -z -T FE002000 -o $@@ -X vers.o ${SYSTEM_OBJS} 
SYSTEM_LD_TAIL= size $@@ ; nm -n $@@ > SYMMS ; chmod 755 $@@
d76 25
d103 5
a107 3
clean::
	rm -f eddep *netbsd tags *.o locore.i [a-uw-z]*.s \
		vnode_if.[ch] errs linterrs makelinks genassym
d109 2
a110 5
#lint: /tmp param.c
#	@@lint -hbxn -I. -DGENERIC -Dvolatile= ${COPTS} ${PARAM} \
#	  ${I386}/i386/Locore.c ${CFILES} ioconf.c param.c | \
#	    grep -v 'struct/union .* never defined' | \
#	    grep -v 'possible pointer alignment problem'
d112 2
a113 2
locore.o: assym.h ${PC532}/pc532/locore.s \
	${PC532}/pc532/bcopy.s 
d115 3
a117 2
# the following is necessary because autoconf.o depends on #if GENERIC
autoconf.o: Makefile
d119 2
a120 2
# depend on network configuration
af.o uipc_proto.o locore.o: Makefile
d122 2
a123 2
# depend on maxusers
assym.h machdep.o: Makefile 
d125 3
a127 2
# depends on KDB (cons.o also depends on GENERIC)
trap.o cons.o: Makefile
a128 3
assym.h: $S/sys/param.h machine/pte.h $S/sys/buf.h \
    $S/sys/vmmeter.h \
    $S/sys/proc.h $S/sys/msgbuf.h machine/vmparam.h
d130 3
a132 2
assym.h: genassym
	./genassym >assym.h
d134 8
a141 7
genassym: ${PC532}/pc532/genassym.c
	${CC} -static ${INCLUDES} -D_KERNEL ${IDENT} ${PARAM} \
		 ${PC532}/pc532/genassym.c -o genassym

depend: assym.h param.c vnode_if.h
	sh /usr/bin/mkdep ${COPTS} ${CFILES} ioconf.c
	sh /usr/bin/mkdep -a -p ${INCLUDES} ${IDENT} ${PARAM} ${PC532}/pc532/genassym.c
d148 1
a148 1
	  sed 's,../.*/\(.*.o\),rm -f \1;ln -s ../GENERIC/\1 \1,' > makelinks
d151 8
a158 2
tags:
	@@echo "see $S/kern/Makefile for tags"
a159 3
ioconf.o: ioconf.c $S/sys/param.h $S/sys/buf.h \
    ${PC532}/dev/device.h  machine/icu.h
	${CC} -c ${CFLAGS} ioconf.c
d161 5
a165 3
param.c: $S/conf/param.c
	-rm -f param.c
	cp $S/conf/param.c .
d167 2
a168 2
param.o: param.c Makefile
	${CC} -c ${CFLAGS} ${PARAM} param.c
d170 2
a171 3
vers.o: ${SYSTEM_DEP} ${SYSTEM_SWAP_DEP}
	sh $S/conf/newvers.sh
	${CC} ${CFLAGS} -c vers.c
a172 4
# for config.new
newvers:
	sh $S/conf/newvers.sh
	${CC} ${CFLAGS} -c vers.c
d174 2
a175 4
# This allows you to specify which "awk" you will run, i.e.:
#   make AWK=nawk ...
vnode_if.c vnode_if.h : $S/kern/vnode_if.sh $S/kern/vnode_if.src
	AWK=${AWK} sh $S/kern/vnode_if.sh $S/kern/vnode_if.src
a177 1

@


1.17
log
@assym.s -> assym.h
(Some ports did this already.)
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.pc532,v 1.16 1996/02/01 03:00:57 phil Exp $
a131 4

conf.o: $S/sys/param.h $S/sys/systm.h $S/sys/buf.h $S/sys/ioctl.h \
	$S/sys/tty.h $S/sys/conf.h ${PC532}/pc532/conf.c
	${CC} -traditional -c ${CFLAGS} ${PC532}/pc532/conf.c
@


1.16
log
@Update makefile to match recent pc532 MD changes, new config file.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.pc532,v 1.15 1996/01/14 21:06:52 thorpej Exp $
d98 1
a98 1
assym.s machdep.o: Makefile 
d103 1
a103 1
assym.s: $S/sys/param.h machine/pte.h $S/sys/buf.h \
@


1.15
log
@Remove vnode_if.[ch] during a "make clean", per PR#536 from
Dan Carosone <danielce@@ee.mu.oz.au>.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.pc532,v 1.14 1995/09/19 23:51:40 thorpej Exp $
d89 1
a89 1
	${PC532}/pc532/bcopy.s ${PC532}/pc532/bzero.s
@


1.14
log
@Compile the kernel with -Werror and -fno-builtin.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.pc532,v 1.13 1995/06/24 20:46:09 christos Exp $
d80 1
a80 1
		errs linterrs makelinks genassym
@


1.13
log
@Makefile.`arch`:	- Add -lcompat
			- Change clean: target to be a double dep one,
			  so libraries can use the clean target too
			- Add genassym to the clean targets
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.pc532,v 1.12 1995/05/16 22:25:02 jtc Exp $
d42 1
a42 1
CFLAGS=	-O -msb ${COPTS}
@


1.12
log
@Removing -DKERNEL, transition to _KERNEL has been completed
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.pc532,v 1.11 1995/03/23 19:47:13 jtc Exp $
d52 8
d65 2
a66 1
SYSTEM_OBJS=locore.o ${OBJS} param.o ioconf.o conf.o vnode_if.o ${LIBKERN}
d78 1
a78 1
clean:
d80 1
a80 1
		errs linterrs makelinks
@


1.11
log
@Added -D_KERNEL to CFLAGS alongside each -DKERNEL.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.pc532,v 1.10 1994/12/22 03:23:20 phil Exp $
d40 1
a40 1
COPTS=	${INCLUDES} ${IDENT} -DKERNEL -D_KERNEL
d102 1
a102 1
	${CC} -static ${INCLUDES} -DKERNEL -D_KERNEL ${IDENT} ${PARAM} \
@


1.10
log
@Move to config.new, genassym static
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.pc532,v 1.9 1994/10/26 08:24:00 cgd Exp $
d40 1
a40 1
COPTS=	${INCLUDES} ${IDENT} -DKERNEL
d102 1
a102 1
	${CC} -static ${INCLUDES} -DKERNEL ${IDENT} ${PARAM} \
@


1.9
log
@new RCS ID format.
@
text
@d1 1
a1 1
#	$NetBSD$
d102 1
a102 1
	${CC} ${INCLUDES} -DKERNEL ${IDENT} ${PARAM} \
@


1.8
log
@Checkpoint: closer to having config.new working with the pc532
@
text
@d1 2
d4 1
a4 2
# 	from: @@(#)Makefile.i386	7.1 5/10/91
#	Makefile.pc532,v 1.2 1993/09/23 18:25:14 phil Exp
@


1.7
log
@Makefile: fs changes
others: Start move to config.new
@
text
@d38 1
a38 1
INCLUDES= -I. -I${PC532} -I$S -I$S/sys 
d138 5
a146 1

@


1.6
log
@Removing minix hack.
@
text
@d31 1
d56 1
a56 1
SYSTEM_OBJS=locore.o ${OBJS} param.o ioconf.o conf.o ${LIBKERN}
d104 1
a104 1
depend: assym.h param.c
d137 6
@


1.5
log
@configuration name changes, cleanup on the Makefile
@
text
@d59 1
a59 1
SYSTEM_LD_TAIL= size $@@ ; nm $@@ | sort > SYMMS ; chmod 755 $@@
d119 1
a119 1
    ${PC532}/dev/device.h  ${PC532}/pc532/icu.h
@


1.4
log
@Makefile.pc532: removing work-arounds for minix
files.pc532: adding pc532/scsi to get temporary access to old scsi code
@
text
@a33 1
I=	../../../..
d37 1
a37 1
INCLUDES= -I. -I${PC532} -I$I -I$I/sys 
d40 1
a40 1
CFLAGS=	-O ${COPTS}
d55 5
a59 5
SYSTEM_OBJS=locore.o ${OBJS} param.o ioconf.o conf.o vers.o ${LIBKERN}
SYSTEM_DEP=Makefile symbols.sort ${SYSTEM_OBJS}
SYSTEM_LD_HEAD= 	@@echo loading $@@; rm -f $@@; newvers; ${CC} -c vers.c
SYSTEM_LD= @@${LD} -z -T FE002000 -o $@@ -X ${SYSTEM_OBJS} 
SYSTEM_LD_TAIL= size $@@; nm $@@ | sort > SYMMS #@@echo rearranging symbols; symorder symbols.sort $@@; size $@@; chmod 755 $@@
a70 4
newvers:
	cp $S/conf/newvers.sh newvers
	chmod +x newvers

a76 5
#symbols.sort: ${PC532}/pc532/symbols.raw
#	grep -v '^#' ${PC532}/pc532/symbols.raw \
#	    | sed 's/^	//' | sort -u > symbols.sort
symbols.sort:

d133 3
a135 1
vers.o: newvers
@


1.3
log
@Added support for making libkern.a.
@
text
@d36 1
a36 1
.s.o:; (${CPP} ${COPTS} ${PC532}/pc532/$*.s >f$$$$; ${AS} ${ASFLAGS} -o $*.o f$$$$; rm f$$$$)
d38 1
a38 1
INCLUDES= -I. -I$I/sys -I$I -I$I/../include -nostdinc
d51 1
a51 1
NORMAL_S= (${CPP} ${COPTS} ${PROF} $< > f$$$$; ${AS} ${ASFLAGS} -o $*.o f$$$$; rm -f f$$$$)
a145 2

# DO NOT DELETE THIS LINE -- make depend uses it
@


1.2
log
@Adding ../libkern.a to the link phase.
@
text
@d3 1
a3 1
#	$Id: Makefile.pc532,v 1.1.1.1 1993/09/09 23:53:45 phil Exp $
d43 8
d56 1
a56 1
SYSTEM_OBJS=locore.o ${OBJS} param.o ioconf.o conf.o vers.o
d59 1
a59 1
SYSTEM_LD= @@${LD} -z -T FE002000 -o $@@ -X ${SYSTEM_OBJS} ../libkern.a
@


1.1
log
@Initial revision
@
text
@d3 1
a3 1
#	$Id: $
d51 1
a51 1
SYSTEM_LD= @@${LD} -z -T FE002000 -o $@@ -X ${SYSTEM_OBJS}
@


1.1.1.1
log
@Adding the src/sys/arch/pc532 tree.
@
text
@@
