head	1.39;
access;
symbols
	perseant-exfatfs-base-20250801:1.39
	perseant-exfatfs-base-20240630:1.39
	perseant-exfatfs:1.39.0.128
	perseant-exfatfs-base:1.39
	bouyer-sunxi-drm:1.39.0.126
	bouyer-sunxi-drm-base:1.39
	cjep_sun2x:1.39.0.124
	cjep_sun2x-base:1.39
	cjep_staticlib_x-base1:1.39
	cjep_staticlib_x:1.39.0.122
	cjep_staticlib_x-base:1.39
	thorpej-futex-base:1.39
	bouyer-xenpvh-base2:1.39
	phil-wifi-20200421:1.39
	bouyer-xenpvh-base1:1.39
	phil-wifi-20200411:1.39
	bouyer-xenpvh:1.39.0.120
	bouyer-xenpvh-base:1.39
	phil-wifi-20200406:1.39
	ad-namecache-base3:1.39
	ad-namecache-base2:1.39
	ad-namecache-base1:1.39
	ad-namecache:1.39.0.118
	ad-namecache-base:1.39
	isaki-audio2:1.39.0.116
	isaki-audio2-base:1.39
	pgoyette-compat-merge-20190127:1.39
	pgoyette-compat-20190127:1.39
	pgoyette-compat-20190118:1.39
	pgoyette-compat-1226:1.39
	pgoyette-compat-1126:1.39
	pgoyette-compat-1020:1.39
	pgoyette-compat-0930:1.39
	pgoyette-compat-0906:1.39
	pgoyette-compat-0728:1.39
	pgoyette-compat-0625:1.39
	pgoyette-compat-0521:1.39
	pgoyette-compat-0502:1.39
	pgoyette-compat-0422:1.39
	pgoyette-compat-0415:1.39
	pgoyette-compat-0407:1.39
	pgoyette-compat-0330:1.39
	pgoyette-compat-0322:1.39
	pgoyette-compat-0315:1.39
	pgoyette-compat:1.39.0.114
	pgoyette-compat-base:1.39
	perseant-stdc-iso10646:1.39.0.112
	perseant-stdc-iso10646-base:1.39
	prg-localcount2-base3:1.39
	prg-localcount2-base2:1.39
	prg-localcount2-base1:1.39
	prg-localcount2:1.39.0.110
	prg-localcount2-base:1.39
	pgoyette-localcount-20170426:1.39
	bouyer-socketcan-base1:1.39
	pgoyette-localcount-20170320:1.39
	bouyer-socketcan:1.39.0.108
	bouyer-socketcan-base:1.39
	pgoyette-localcount-20170107:1.39
	pgoyette-localcount-20161104:1.39
	localcount-20160914:1.39
	pgoyette-localcount-20160806:1.39
	pgoyette-localcount-20160726:1.39
	pgoyette-localcount:1.39.0.106
	pgoyette-localcount-base:1.39
	netbsd-5-2-3-RELEASE:1.39
	netbsd-5-1-5-RELEASE:1.39
	yamt-pagecache-base9:1.39
	yamt-pagecache-tag8:1.39
	tls-earlyentropy:1.39.0.104
	tls-earlyentropy-base:1.39
	riastradh-xf86-video-intel-2-7-1-pre-2-21-15:1.39
	riastradh-drm2-base3:1.39
	netbsd-5-2-2-RELEASE:1.39
	netbsd-5-1-4-RELEASE:1.39
	netbsd-5-2-1-RELEASE:1.39
	netbsd-5-1-3-RELEASE:1.39
	rmind-smpnet-nbase:1.39
	rmind-smpnet:1.39.0.100
	rmind-smpnet-base:1.39
	agc-symver:1.39.0.102
	agc-symver-base:1.39
	tls-maxphys-base:1.39
	yamt-pagecache-base8:1.39
	netbsd-5-2:1.39.0.98
	yamt-pagecache-base7:1.39
	netbsd-5-2-RELEASE:1.39
	netbsd-5-2-RC1:1.39
	yamt-pagecache-base6:1.39
	yamt-pagecache-base5:1.39
	yamt-pagecache-base4:1.39
	netbsd-5-1-2-RELEASE:1.39
	netbsd-5-1-1-RELEASE:1.39
	jmcneill-usbmp:1.39.0.96
	jmcneill-usbmp-base:1.39
	jmcneill-audiomp3:1.39.0.94
	jmcneill-audiomp3-base:1.39
	yamt-pagecache-base3:1.39
	yamt-pagecache-base2:1.39
	yamt-pagecache:1.39.0.92
	yamt-pagecache-base:1.39
	rmind-uvmplock-nbase:1.39
	bouyer-quota2-nbase:1.39
	bouyer-quota2:1.39.0.90
	bouyer-quota2-base:1.39
	jruoho-x86intr:1.39.0.88
	jruoho-x86intr-base:1.39
	matt-nb5-pq3:1.39.0.86
	matt-nb5-pq3-base:1.39
	netbsd-5-1:1.39.0.84
	GWR:1.1.1
	netbsd-5-1-RELEASE:1.39
	yamt-nfs-mp-base11:1.39
	netbsd-5-1-RC4:1.39
	uebayasi-xip-base2:1.39
	yamt-nfs-mp-base10:1.39
	netbsd-5-1-RC3:1.39
	netbsd-5-1-RC2:1.39
	netbsd-5-1-RC1:1.39
	rmind-uvmplock:1.39.0.82
	rmind-uvmplock-base:1.39
	yamt-nfs-mp-base9:1.39
	uebayasi-xip:1.39.0.80
	uebayasi-xip-base:1.39
	netbsd-5-0-2-RELEASE:1.39
	yamt-nfs-mp-base8:1.39
	yamt-nfs-mp-base7:1.39
	netbsd-5-0-1-RELEASE:1.39
	jymxensuspend-base:1.39
	yamt-nfs-mp-base6:1.39
	yamt-nfs-mp-base5:1.39
	yamt-nfs-mp-base4:1.39
	jym-xensuspend-nbase:1.39
	yamt-nfs-mp-base3:1.39
	netbsd-5-0:1.39.0.78
	netbsd-5-0-RELEASE:1.39
	netbsd-5-0-RC4:1.39
	netbsd-5-0-RC3:1.39
	netbsd-5-0-RC2:1.39
	jym-xensuspend:1.39.0.76
	jym-xensuspend-base:1.39
	netbsd-5-0-RC1:1.39
	haad-dm-base2:1.39
	haad-nbase2:1.39
	ad-audiomp2:1.39.0.74
	ad-audiomp2-base:1.39
	netbsd-5:1.39.0.72
	netbsd-5-base:1.39
	haad-dm-base1:1.39
	haad-dm:1.39.0.70
	haad-dm-base:1.39
	simonb-wapbl-nbase:1.39
	yamt-pf42-base4:1.39
	simonb-wapbl:1.39.0.68
	simonb-wapbl-base:1.39
	yamt-pf42-base3:1.39
	hpcarm-cleanup-nbase:1.39
	yamt-pf42-base2:1.39
	yamt-nfs-mp-base2:1.39
	yamt-nfs-mp:1.39.0.66
	yamt-nfs-mp-base:1.39
	yamt-pf42:1.39.0.64
	yamt-pf42-base:1.39
	ad-socklock-base1:1.39
	yamt-lazymbuf-base15:1.39
	yamt-lazymbuf-base14:1.39
	keiichi-mipv6-nbase:1.39
	mjf-devfs2:1.39.0.62
	mjf-devfs2-base:1.39
	keiichi-mipv6:1.39.0.60
	keiichi-mipv6-base:1.39
	bouyer-xeni386-merge1:1.39
	vmlocking2-base3:1.39
	bouyer-xeni386-nbase:1.39
	yamt-kmem-base3:1.39
	cube-autoconf:1.39.0.58
	cube-autoconf-base:1.39
	yamt-kmem-base2:1.39
	bouyer-xeni386:1.39.0.56
	bouyer-xeni386-base:1.39
	yamt-kmem:1.39.0.54
	yamt-kmem-base:1.39
	vmlocking2-base2:1.39
	reinoud-bufcleanup-nbase:1.39
	vmlocking2:1.39.0.52
	vmlocking2-base1:1.39
	jmcneill-base:1.39
	mjf-devfs:1.39.0.50
	mjf-devfs-base:1.39
	bouyer-xenamd64-base2:1.39
	vmlocking-nbase:1.39
	yamt-x86pmap-base4:1.39
	bouyer-xenamd64:1.39.0.48
	bouyer-xenamd64-base:1.39
	yamt-x86pmap-base3:1.39
	yamt-x86pmap-base2:1.39
	yamt-x86pmap:1.39.0.46
	yamt-x86pmap-base:1.39
	jmcneill-pm:1.39.0.44
	jmcneill-pm-base:1.39
	hpcarm-cleanup:1.39.0.42
	hpcarm-cleanup-base:1.39
	mjf-ufs-trans-base:1.39
	yamt-idlelwp-base8:1.39
	ppcoea-renovation:1.39.0.40
	ppcoea-renovation-base:1.39
	reinoud-bufcleanup-base:1.39
	vmlocking:1.39.0.38
	vmlocking-base:1.39
	ad-audiomp:1.39.0.36
	ad-audiomp-base:1.39
	yamt-idlelwp:1.39.0.34
	post-newlock2-merge:1.39
	newlock2-nbase:1.39
	yamt-splraiseipl-base5:1.39
	yamt-splraiseipl-base4:1.39
	yamt-splraiseipl-base3:1.39
	yamt-splraiseipl-base2:1.39
	yamt-splraiseipl:1.39.0.32
	yamt-splraiseipl-base:1.39
	newlock2:1.39.0.30
	newlock2-base:1.39
	yamt-pdpolicy-base8:1.39
	yamt-pdpolicy-base7:1.39
	yamt-pdpolicy-base6:1.39
	gdamore-uart:1.39.0.28
	gdamore-uart-base:1.39
	simonb-timcounters-final:1.39
	yamt-pdpolicy-base5:1.39
	elad-kernelauth-nbase:1.39
	yamt-pdpolicy-base4:1.39
	yamt-pdpolicy-base3:1.39
	yamt-pdpolicy-base2:1.39
	yamt-pdpolicy:1.39.0.26
	yamt-pdpolicy-base:1.39
	yamt-uio_vmspace-base5:1.39
	simonb-timecounters:1.39.0.24
	simonb-timecounters-base:1.39
	rpaulo-netinet-merge-pcb:1.39.0.22
	rpaulo-netinet-merge-pcb-base:1.39
	yamt-uio_vmspace:1.39.0.20
	yamt-readahead-base3:1.39
	yamt-readahead-base2:1.39
	yamt-readahead:1.39.0.18
	yamt-readahead-base:1.39
	yamt-vop-base3:1.39
	yamt-vop-base2:1.39
	thorpej-vnode-attr:1.39.0.16
	thorpej-vnode-attr-base:1.39
	yamt-vop:1.39.0.14
	yamt-vop-base:1.39
	yamt-lazymbuf:1.39.0.12
	yamt-km-base4:1.39
	yamt-km-base3:1.39
	yamt-km-base2:1.39
	yamt-km:1.39.0.10
	yamt-km-base:1.39
	kent-audio2:1.39.0.8
	kent-audio2-base:1.39
	netbsd-1-6-PATCH002-RELEASE:1.38.4.1
	netbsd-1-6-PATCH002:1.38.4.1
	netbsd-1-6-PATCH002-RC4:1.38.4.1
	netbsd-1-6-PATCH002-RC3:1.38.4.1
	netbsd-1-6-PATCH002-RC2:1.38.4.1
	netbsd-1-6-PATCH002-RC1:1.38.4.1
	ktrace-lwp:1.39.0.6
	ktrace-lwp-base:1.39
	netbsd-1-6-PATCH001:1.38.4.1
	netbsd-1-6-PATCH001-RELEASE:1.38.4.1
	netbsd-1-6-PATCH001-RC3:1.38.4.1
	netbsd-1-6-PATCH001-RC2:1.38.4.1
	netbsd-1-6-PATCH001-RC1:1.38.4.1
	nathanw_sa_end:1.34.2.3
	nathanw_sa_before_merge:1.39
	gmcgarry_ctxsw:1.39.0.4
	gmcgarry_ctxsw_base:1.39
	gmcgarry_ucred:1.39.0.2
	gmcgarry_ucred_base:1.39
	nathanw_sa_base:1.39
	netbsd-1-6-RELEASE:1.38.4.1
	netbsd-1-6-RC3:1.38.4.1
	netbsd-1-6-RC2:1.38.4.1
	netbsd-1-6-RC1:1.38.4.1
	netbsd-1-6:1.38.0.4
	netbsd-1-6-base:1.38
	gehenna-devsw:1.38.0.2
	gehenna-devsw-base:1.39
	netbsd-1-5-PATCH003:1.23.4.1
	eeh-devprop:1.36.0.6
	eeh-devprop-base:1.36
	newlock:1.36.0.4
	newlock-base:1.36
	ifpoll-base:1.36
	nathanw_sa:1.34.0.2
	thorpej-mips-cache:1.33.0.2
	thorpej-mips-cache-base:1.34
	thorpej-devvp-base3:1.33
	thorpej-devvp-base2:1.30
	post-chs-ubcperf:1.30
	pre-chs-ubcperf:1.30
	thorpej-devvp:1.30.0.2
	thorpej-devvp-base:1.30
	netbsd-1-5-PATCH002:1.23
	kqueue:1.29.0.2
	kqueue-base:1.36
	netbsd-1-5-PATCH001:1.23
	thorpej_scsipi_beforemerge:1.29
	thorpej_scsipi_nbase:1.29
	netbsd-1-5-RELEASE:1.23
	netbsd-1-5-BETA2:1.23
	netbsd-1-5-BETA:1.23
	netbsd-1-4-PATCH003:1.21
	netbsd-1-5-ALPHA2:1.23
	netbsd-1-5:1.23.0.4
	netbsd-1-5-base:1.23
	minoura-xpg4dl-base:1.23
	minoura-xpg4dl:1.23.0.2
	netbsd-1-4-PATCH002:1.21
	chs-ubc2-newbase:1.23
	wrstuden-devbsize-19991221:1.22
	wrstuden-devbsize:1.21.0.14
	wrstuden-devbsize-base:1.22
	kame_141_19991130:1.21
	comdex-fall-1999:1.21.0.12
	comdex-fall-1999-base:1.21
	fvdl-softdep:1.21.0.10
	fvdl-softdep-base:1.21
	thorpej_scsipi:1.21.0.8
	thorpej_scsipi_base:1.29
	netbsd-1-4-PATCH001:1.21
	kame_14_19990705:1.21
	kame_14_19990628:1.21
	kame:1.21.0.6
	chs-ubc2:1.21.0.4
	chs-ubc2-base:1.21
	netbsd-1-4-RELEASE:1.21
	netbsd-1-4:1.21.0.2
	netbsd-1-4-base:1.21
	netbsd-1-3-PATCH003:1.16
	netbsd-1-3-PATCH003-CANDIDATE2:1.16
	kenh-if-detach:1.19.0.6
	kenh-if-detach-base:1.19
	netbsd-1-3-PATCH003-CANDIDATE1:1.16
	netbsd-1-3-PATCH003-CANDIDATE0:1.16
	chs-ubc:1.19.0.4
	chs-ubc-base:1.19
	eeh-paddr_t:1.19.0.2
	eeh-paddr_t-base:1.19
	netbsd-1-3-PATCH002:1.16
	netbsd-1-3-PATCH001:1.16
	gwr-3x3:1.16.0.4
	gwr-3x3-base:1.16
	netbsd-1-3-RELEASE:1.16
	netbsd-1-3-BETA:1.16
	netbsd-1-3:1.16.0.2
	netbsd-1-3-base:1.16
	thorpej-signal:1.15.0.2
	thorpej-signal-base:1.15
	marc-pcmcia:1.14.0.4
	marc-pcmcia-bp:1.14
	marc-pcmcia-base:1.15
	bouyer-scsipi:1.14.0.2
	cjs-build-against-obj-dir:1.13.0.2
	is-newarp-before-merge:1.11
	is-newarp:1.11.0.4
	is-newarp-base:1.11
	netbsd-1-2-PATCH001:1.9.4.1
	mrg-vm-swap:1.11.0.2
	thorpej-setroot:1.10.0.2
	netbsd-1-2-RELEASE:1.9.4.1
	netbsd-1-2-BETA:1.9
	netbsd-1-2:1.9.0.4
	netbsd-1-2-base:1.9
	netbsd-1-1-PATCH001:1.8.2.1
	netbsd-1-1-RELEASE:1.8.2.1
	netbsd-1-1:1.8.0.2
	netbsd-1-1-base:1.8
	foo:1.1.1.2
	rtag:1.1.1.1
	vtag:1.1.1;
locks; strict;
comment	@# @;


1.39
date	2002.05.28.21.06.12;	author nathanw;	state dead;
branches;
next	1.38;

1.38
date	2002.05.05.20.38.48;	author jdolecek;	state Exp;
branches
	1.38.2.1
	1.38.4.1;
next	1.37;

1.37
date	2002.04.18.15.39.02;	author bouyer;	state Exp;
branches;
next	1.36;

1.36
date	2001.12.12.01.49.53;	author tv;	state Exp;
branches;
next	1.35;

1.35
date	2001.11.14.23.01.15;	author tv;	state Exp;
branches;
next	1.34;

1.34
date	2001.10.31.01.51.46;	author thorpej;	state Exp;
branches
	1.34.2.1;
next	1.33;

1.33
date	2001.10.07.05.00.28;	author tsutsui;	state Exp;
branches
	1.33.2.1;
next	1.32;

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

1.31
date	2001.10.02.06.30.04;	author chs;	state Exp;
branches;
next	1.30;

1.30
date	2001.07.30.00.10.20;	author chs;	state Exp;
branches
	1.30.2.1;
next	1.29;

1.29
date	2001.03.21.13.43.59;	author tsutsui;	state Exp;
branches
	1.29.2.1;
next	1.28;

1.28
date	2001.03.21.11.02.24;	author tsutsui;	state Exp;
branches;
next	1.27;

1.27
date	2001.02.26.01.42.51;	author chs;	state Exp;
branches
	1.27.2.1;
next	1.26;

1.26
date	2001.02.22.07.11.10;	author chs;	state Exp;
branches;
next	1.25;

1.25
date	2001.02.04.08.59.57;	author jmc;	state Exp;
branches;
next	1.24;

1.24
date	2000.07.16.21.56.13;	author jdolecek;	state Exp;
branches;
next	1.23;

1.23
date	2000.01.23.17.04.12;	author mycroft;	state Exp;
branches
	1.23.4.1;
next	1.22;

1.22
date	99.12.17.07.28.01;	author jeremy;	state Exp;
branches;
next	1.21;

1.21
date	99.03.04.08.19.38;	author gwr;	state Exp;
branches
	1.21.8.1
	1.21.14.1;
next	1.20;

1.20
date	99.02.13.02.54.49;	author lukem;	state Exp;
branches;
next	1.19;

1.19
date	98.07.02.21.36.00;	author gwr;	state Exp;
branches;
next	1.18;

1.18
date	98.02.19.02.17.07;	author cgd;	state Exp;
branches;
next	1.17;

1.17
date	98.02.05.04.57.04;	author gwr;	state Exp;
branches;
next	1.16;

1.16
date	97.10.17.04.26.10;	author gwr;	state Exp;
branches
	1.16.4.1;
next	1.15;

1.15
date	97.09.05.04.31.53;	author gwr;	state Exp;
branches;
next	1.14;

1.14
date	97.05.31.21.22.07;	author cjs;	state Exp;
branches
	1.14.4.1;
next	1.13;

1.13
date	97.05.30.13.43.32;	author cjs;	state Exp;
branches;
next	1.12;

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

1.11
date	97.02.05.17.32.28;	author gwr;	state Exp;
branches;
next	1.10;

1.10
date	96.06.26.19.32.32;	author jtc;	state Exp;
branches;
next	1.9;

1.9
date	95.11.17.23.23.52;	author gwr;	state Exp;
branches
	1.9.4.1;
next	1.8;

1.8
date	95.09.23.03.42.34;	author gwr;	state Exp;
branches
	1.8.2.1;
next	1.7;

1.7
date	95.08.08.21.02.28;	author gwr;	state Exp;
branches;
next	1.6;

1.6
date	95.06.27.15.57.13;	author gwr;	state Exp;
branches;
next	1.5;

1.5
date	95.06.16.07.23.02;	author jtc;	state Exp;
branches;
next	1.4;

1.4
date	95.06.09.22.20.17;	author gwr;	state Exp;
branches;
next	1.3;

1.3
date	95.06.01.21.03.19;	author gwr;	state Exp;
branches;
next	1.2;

1.2
date	95.02.24.05.07.01;	author gwr;	state Exp;
branches;
next	1.1;

1.1
date	95.02.14.22.56.36;	author gwr;	state Exp;
branches
	1.1.1.1;
next	;

1.38.2.1
date	2002.05.30.15.36.06;	author gehenna;	state dead;
branches;
next	;

1.38.4.1
date	2002.05.28.23.08.08;	author tv;	state dead;
branches;
next	;

1.34.2.1
date	2001.10.31.01.51.46;	author nathanw;	state dead;
branches;
next	1.34.2.2;

1.34.2.2
date	2002.01.08.00.28.20;	author nathanw;	state Exp;
branches;
next	1.34.2.3;

1.34.2.3
date	2002.06.20.03.41.48;	author nathanw;	state dead;
branches;
next	;

1.33.2.1
date	2001.11.12.21.17.37;	author thorpej;	state Exp;
branches;
next	;

1.30.2.1
date	2001.10.11.00.01.58;	author fvdl;	state Exp;
branches;
next	;

1.29.2.1
date	2001.08.03.04.12.33;	author lukem;	state Exp;
branches;
next	1.29.2.2;

1.29.2.2
date	2002.01.10.19.49.49;	author thorpej;	state Exp;
branches;
next	1.29.2.3;

1.29.2.3
date	2002.06.23.17.42.40;	author jdolecek;	state dead;
branches;
next	;

1.27.2.1
date	2001.04.09.01.55.10;	author nathanw;	state Exp;
branches;
next	;

1.23.4.1
date	2002.02.09.21.18.52;	author he;	state Exp;
branches;
next	;

1.21.8.1
date	2000.11.20.20.27.56;	author bouyer;	state Exp;
branches;
next	1.21.8.2;

1.21.8.2
date	2001.02.11.19.12.46;	author bouyer;	state Exp;
branches;
next	1.21.8.3;

1.21.8.3
date	2001.03.12.13.29.37;	author bouyer;	state Exp;
branches;
next	1.21.8.4;

1.21.8.4
date	2001.03.27.15.31.38;	author bouyer;	state Exp;
branches;
next	;

1.21.14.1
date	99.12.27.18.34.05;	author wrstuden;	state Exp;
branches;
next	;

1.16.4.1
date	98.01.27.02.35.30;	author gwr;	state Exp;
branches;
next	;

1.14.4.1
date	97.09.06.18.44.21;	author thorpej;	state Exp;
branches;
next	;

1.9.4.1
date	96.06.26.20.16.58;	author jtc;	state Exp;
branches;
next	;

1.8.2.1
date	95.11.18.06.47.43;	author gwr;	state Exp;
branches;
next	;

1.1.1.1
date	95.02.14.22.56.37;	author gwr;	state Exp;
branches;
next	1.1.1.2;

1.1.1.2
date	95.06.01.20.37.54;	author gwr;	state Exp;
branches;
next	;


desc
@@


1.39
log
@Remove in favor of sun68k/stand.
@
text
@#	$NetBSD: Makefile,v 1.38 2002/05/05 20:38:48 jdolecek Exp $

LIB=sa

# 
# We're not actually building a profiled version,
# but this way the separate object files get built
#

POBJS=SRT0.o SRT1.o

NOLINT=# defined
NOPIC=# defined
NOPROFILE=# defined

# Logically src/sys
S=${.CURDIR}/../../../..
DIR_SA=${S}/lib/libsa
DIR_KERN=${S}/lib/libkern

.PATH:  ${DIR_SA} ${DIR_KERN}

# DEBUG= -DDEBUG -DNETIF_DEBUG -DNFS_DEBUG -DRPC_DEBUG \
#  -DNET_DEBUG -DRARP_DEBUG -DETHER_DEBUG -DDEBUG_PROM

DEFS= -Dsun3 -D_STANDALONE
INCL= -I. -I${.CURDIR} -I${S}/lib/libsa -I${S}
CFLAGS= -Os -msoft-float -fno-defer-pop
CPPFLAGS= ${DEFS} ${DEBUG} ${INCL}
CLEANFILES= SRT0.o SRT1.o vers.c

SRC_net= net.c ether.c arp.c in_cksum.c rarp.c

SRC_sa = alloc.c bcmp.c bcopy.c bzero.c close.c files.c getfile.c loadfile.c \
	loadfile_aout.c loadfile_elf32.c lseek.c memcmp.c memcpy.c \
	memset.c open.c printf.c read.c sprintf.c strerror.c subr_prf.c \
	twiddle.c

SRC_kern= ashldi3.c ashrdi3.c inet_addr.c intoa.c strcmp.c strlen.c strncmp.c

SRC_here= clock.c dev_disk.c devopen.c \
	 gets.c idprom.c netif_sun.c panic.c \
	 promboot.c promcons.c promdev.c \
	 sun3.c sun3x.c vers.c xxboot.c

SRCS= ${SRC_net} ${SRC_sa} ${SRC_kern} ${SRC_here}

.PATH: ${S}/arch/sun3/sun3
SRCS+= ctrlsp.S

# only needed during build
libinstall::

.include <bsd.own.mk>
.undef DESTDIR
.include <bsd.lib.mk>

# Nuke these...
LOBJS=
POBJS=
SOBJS=

# Customized rules...

vers.c: ${.CURDIR}/version
	sh ${S}/conf/newvers_stand.sh -MD ${.CURDIR}/version "sun3"
@


1.38
log
@Get ctrlsp.S via .PATH directive, rather than adding full path
to SRCS. This should fix build problem with ro source tree.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.37 2002/04/18 15:39:02 bouyer Exp $
@


1.38.2.1
log
@Catch up with -current.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.38 2002/05/05 20:38:48 jdolecek Exp $
@


1.38.4.1
log
@Pull up file removal (requested by nathanw in ticket #51):
Remove in favor of sun68k/stand.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.38 2002/05/05 20:38:48 jdolecek Exp $
@


1.37
log
@Add libsa's files.c to list of sources, so that files[] exists.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.36 2001/12/12 01:49:53 tv Exp $
d47 3
a49 1
SRCS+= ${S}/arch/sun3/sun3/ctrlsp.S
@


1.36
log
@MKfoo=no -> NOfoo
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.35 2001/11/14 23:01:15 tv Exp $
d34 1
a34 1
SRC_sa = alloc.c bcmp.c bcopy.c bzero.c close.c getfile.c loadfile.c \
@


1.35
log
@Work around <bsd.lib.mk> used for kernel libs in other places.  Clean up
include paths.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.34 2001/10/31 01:51:46 thorpej Exp $
d12 3
a14 3
MKLINT=no
MKPIC=no
MKPROFILE=no
@


1.34
log
@Build the loadfile() a.out, ECOFF, and ELF back-ends as separate
objects.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.33 2001/10/07 05:00:28 tsutsui Exp $
d52 2
@


1.34.2.1
log
@file Makefile was added on branch nathanw_sa on 2002-01-08 00:28:20 +0000
@
text
@d1 62
@


1.34.2.2
log
@Catch up to -current.
@
text
@a0 64
#	$NetBSD: Makefile,v 1.34.2.1 2002/01/08 00:28:20 nathanw Exp $

LIB=sa

# 
# We're not actually building a profiled version,
# but this way the separate object files get built
#

POBJS=SRT0.o SRT1.o

NOLINT=# defined
NOPIC=# defined
NOPROFILE=# defined

# Logically src/sys
S=${.CURDIR}/../../../..
DIR_SA=${S}/lib/libsa
DIR_KERN=${S}/lib/libkern

.PATH:  ${DIR_SA} ${DIR_KERN}

# DEBUG= -DDEBUG -DNETIF_DEBUG -DNFS_DEBUG -DRPC_DEBUG \
#  -DNET_DEBUG -DRARP_DEBUG -DETHER_DEBUG -DDEBUG_PROM

DEFS= -Dsun3 -D_STANDALONE
INCL= -I. -I${.CURDIR} -I${S}/lib/libsa -I${S}
CFLAGS= -Os -msoft-float -fno-defer-pop
CPPFLAGS= ${DEFS} ${DEBUG} ${INCL}
CLEANFILES= SRT0.o SRT1.o vers.c

SRC_net= net.c ether.c arp.c in_cksum.c rarp.c

SRC_sa = alloc.c bcmp.c bcopy.c bzero.c close.c getfile.c loadfile.c \
	loadfile_aout.c loadfile_elf32.c lseek.c memcmp.c memcpy.c \
	memset.c open.c printf.c read.c sprintf.c strerror.c subr_prf.c \
	twiddle.c

SRC_kern= ashldi3.c ashrdi3.c inet_addr.c intoa.c strcmp.c strlen.c strncmp.c

SRC_here= clock.c dev_disk.c devopen.c \
	 gets.c idprom.c netif_sun.c panic.c \
	 promboot.c promcons.c promdev.c \
	 sun3.c sun3x.c vers.c xxboot.c

SRCS= ${SRC_net} ${SRC_sa} ${SRC_kern} ${SRC_here}
SRCS+= ${S}/arch/sun3/sun3/ctrlsp.S

# only needed during build
libinstall::

.include <bsd.own.mk>
.undef DESTDIR
.include <bsd.lib.mk>

# Nuke these...
LOBJS=
POBJS=
SOBJS=

# Customized rules...

vers.c: ${.CURDIR}/version
	sh ${S}/conf/newvers_stand.sh -MD ${.CURDIR}/version "sun3"
@


1.34.2.3
log
@Catch up to -current.
@
text
@d1 64
@


1.33
log
@Move some sources from SRC_kern to SRC_sa.
They are in both libsa and libkern, but .PATH searches libsa first.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.32 2001/10/07 04:50:40 tsutsui Exp $
d35 3
a37 2
	lseek.c memcmp.c memcpy.c memset.c open.c printf.c read.c \
	sprintf.c strerror.c subr_prf.c twiddle.c
@


1.33.2.1
log
@Sync the thorpej-mips-cache branch with -current.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.34 2001/10/31 01:51:46 thorpej Exp $
d35 2
a36 3
	loadfile_aout.c loadfile_elf32.c lseek.c memcmp.c memcpy.c \
	memset.c open.c printf.c read.c sprintf.c strerror.c subr_prf.c \
	twiddle.c
@


1.32
log
@Build sa programs with -Os.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.31 2001/10/02 06:30:04 chs Exp $
d34 3
a36 2
SRC_sa = alloc.c bcopy.c close.c getfile.c loadfile.c lseek.c memcpy.c open.c \
	 printf.c read.c sprintf.c strerror.c subr_prf.c twiddle.c
d38 1
a38 2
SRC_kern= ashldi3.c ashrdi3.c bcmp.c bzero.c inet_addr.c intoa.c \
	memcmp.c memset.c strcmp.c strlen.c strncmp.c
@


1.31
log
@add ashldi3.c, needed by ufs.c due to added cast in lblktosize().
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.30 2001/07/30 00:10:20 chs Exp $
d23 1
a23 1
# DBG= -DDEBUG -DNETIF_DEBUG -DNFS_DEBUG -DRPC_DEBUG \
d28 2
a29 2
CFLAGS= -O2 -msoft-float -fno-defer-pop
CPPFLAGS= ${DEFS} ${DBG} ${INCL}
@


1.30
log
@adjust the hack to build the SRT*.o files.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.29 2001/03/21 13:43:59 tsutsui Exp $
d37 1
a37 1
SRC_kern= ashrdi3.c bcmp.c bzero.c inet_addr.c intoa.c \
@


1.30.2.1
log
@Catch up with -current. Fix some bogons in the sparc64 kbd/ms
attach code. cd18xx conversion provided by mrg.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.30 2001/07/30 00:10:20 chs Exp $
d23 1
a23 1
# DEBUG= -DDEBUG -DNETIF_DEBUG -DNFS_DEBUG -DRPC_DEBUG \
d28 2
a29 2
CFLAGS= -Os -msoft-float -fno-defer-pop
CPPFLAGS= ${DEFS} ${DEBUG} ${INCL}
d34 2
a35 3
SRC_sa = alloc.c bcmp.c bcopy.c bzero.c close.c getfile.c loadfile.c \
	lseek.c memcmp.c memcpy.c memset.c open.c printf.c read.c \
	sprintf.c strerror.c subr_prf.c twiddle.c
d37 2
a38 1
SRC_kern= ashldi3.c ashrdi3.c inet_addr.c intoa.c strcmp.c strlen.c strncmp.c
@


1.29
log
@Move rules to create m68k and machine symlinks to common Makefile.inc.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.28 2001/03/21 11:02:24 tsutsui Exp $
d6 2
a7 2
# We're not actually building a lint version, but this way the separate object
# files get built
d10 1
a10 1
LOBJS=SRT0.o SRT1.o
@


1.29.2.1
log
@update to -current
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.30 2001/07/30 00:10:20 chs Exp $
d6 2
a7 2
# We're not actually building a profiled version,
# but this way the separate object files get built
d10 1
a10 1
POBJS=SRT0.o SRT1.o
@


1.29.2.2
log
@Sync kqueue branch with -current.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.29.2.1 2001/08/03 04:12:33 lukem Exp $
d12 3
a14 3
NOLINT=# defined
NOPIC=# defined
NOPROFILE=# defined
d23 1
a23 1
# DEBUG= -DDEBUG -DNETIF_DEBUG -DNFS_DEBUG -DRPC_DEBUG \
d28 2
a29 2
CFLAGS= -Os -msoft-float -fno-defer-pop
CPPFLAGS= ${DEFS} ${DEBUG} ${INCL}
d34 2
a35 4
SRC_sa = alloc.c bcmp.c bcopy.c bzero.c close.c getfile.c loadfile.c \
	loadfile_aout.c loadfile_elf32.c lseek.c memcmp.c memcpy.c \
	memset.c open.c printf.c read.c sprintf.c strerror.c subr_prf.c \
	twiddle.c
d37 2
a38 1
SRC_kern= ashldi3.c ashrdi3.c inet_addr.c intoa.c strcmp.c strlen.c strncmp.c
a50 2
.include <bsd.own.mk>
.undef DESTDIR
@


1.29.2.3
log
@catch up with -current on kqueue branch
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.29.2.2 2002/01/10 19:49:49 thorpej Exp $
@


1.28
log
@Remove "NOxxx= yes" lines since "MKxxx= no" is enough.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.27 2001/02/26 01:42:51 chs Exp $
d18 2
a19 2
DIR_SA=$S/lib/libsa
DIR_KERN=$S/lib/libkern
d30 1
a30 1
CLEANFILES= SRT0.o SRT1.o machine m68k vers.c
a58 2

${OBJS} SRT0.o SRT1.o : machine m68k
@


1.27
log
@add vers.c to CLEANFILES.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.26 2001/02/22 07:11:10 chs Exp $
a14 3
NOPROFILE=
NOPIC=
NOLINT=
@


1.27.2.1
log
@Catch up with -current.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.29 2001/03/21 13:43:59 tsutsui Exp $
d15 3
d21 2
a22 2
DIR_SA=${S}/lib/libsa
DIR_KERN=${S}/lib/libkern
d33 1
a33 1
CLEANFILES= SRT0.o SRT1.o vers.c
d62 2
@


1.26
log
@switch sun3 to ELF.  highlight include:
add "%" prefix to register names in assembly code.
change assembly functions to return values in %a0 instead of %d0.
C symbols no longer prepend an underscore, adjust assembly code for this.
32-bit values are now 32-bit aligned instead of 16-bit aligned,
adjust structure packing and padding to override this where necessary.
make EXEC_ELF std, make EXEC_AOUT and COMPAT_AOUT_M68K optional.
use the MI loadfile() instead of several home-grown versions.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.25 2001/02/04 08:59:57 jmc Exp $
d33 1
a33 1
CLEANFILES= SRT0.o SRT1.o machine m68k
@


1.25
log
@Make targets proper so this builds both as a make with no args, make all
or make dependall (without the latter snapshot builds break).

Also, change the build layout for the 2 standalone objs.

XXX - Add them to LOBJS. (We're not building lint libraries, but having them
in LOBJS and MKLINT=no results in objects building anyways. This needs to be
cleaner but nothing in the standard mk files jumps out as "other object files")
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.24 2000/07/16 21:56:13 jdolecek Exp $
d37 1
a37 1
SRC_sa = alloc.c bcopy.c close.c getfile.c memcpy.c open.c \
d41 1
a41 1
	strcmp.c strlen.c strncmp.c
d43 1
a43 1
SRC_here= clock.c dev_disk.c devopen.c exec_sun.c \
@


1.24
log
@convert to use version template and newvers_stand.sh script for generating
	bootblock revision strings, use bootbock_name[] (i.e. "NetBSD/sun3")
	in initial bootblock messages instead of just "NetBSD"

while here, do sligh Makefile cleanup to share more code between them and also
	to make buildable on NetBSD 1.4.1 (my test compile system)
get rid of the XX define hack for netboot & ufsboot, build xxboot.c as
	part of libsa - previos main() was renamed to xxboot_main(), main()
	is now in respective conf.c files and calls xxboot_main() with
	appropriate name of boot block type

XXX I had no chance to actually test the resulting bootblocks, but the
changes were fairly streightforward and should no influence functionality of
boot code
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.23 2000/01/23 17:04:12 mycroft Exp $
d5 7
a49 2

all: SRT0.o SRT1.o
@


1.23
log
@Clean up the machine symlink stuff ever so slightly.  Needs to be
standardized between files.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.22 1999/12/17 07:28:01 jeremy Exp $
d8 3
d39 1
a39 1
	 sun3.c sun3x.c version.c
d42 1
a42 1
OBJS= ctrlsp.o
d44 1
a44 1
realall: libsa.a SRT0.o SRT1.o
d60 2
a61 15
machine :
	-rm -f $@@
	ln -s ${S}/arch/sun3/include $@@

m68k :
	-rm -f $@@
	ln -s ${S}/arch/m68k/include $@@

ctrlsp.o : ${S}/arch/sun3/sun3/ctrlsp.S
	${COMPILE.S} ${.IMPSRC}

# This is for programs using ../Makefile.inc
echo_objdir:
	@@echo ${.OBJDIR}

@


1.23.4.1
log
@Pull up revision 1.31 (via patch, requested by he):
  Add ashldi3.c, needed by ufs.c after fs.h update.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.23 2000/01/23 17:04:12 mycroft Exp $
d30 1
a30 1
SRC_kern= ashldi3.c ashrdi3.c bcmp.c bzero.c inet_addr.c intoa.c \
@


1.22
log
@Added inet_addr.c to the list of required modules from the kernel stand
library.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.21 1999/03/04 08:19:38 gwr Exp $
d41 1
a41 1
all: libsa.a SRT0.o SRT1.o
@


1.21
log
@Add idprom.c and libsa files that are now separate
(sprintf.c subr_prf.c ...)
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.20 1999/02/13 02:54:49 lukem Exp $
d30 2
a31 1
SRC_kern= ashrdi3.c bcmp.c bzero.c strcmp.c strlen.c strncmp.c
@


1.21.8.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,v 1.24 2000/07/16 21:56:13 jdolecek Exp $
a7 3
NOPROFILE=
NOPIC=
NOLINT=
d30 1
a30 2
SRC_kern= ashrdi3.c bcmp.c bzero.c inet_addr.c intoa.c \
	strcmp.c strlen.c strncmp.c
d35 1
a35 1
	 sun3.c sun3x.c vers.c xxboot.c
d38 1
a38 1
SRCS+= ${S}/arch/sun3/sun3/ctrlsp.S
d40 1
a40 1
all: SRT0.o SRT1.o
d56 15
a70 2
vers.c: ${.CURDIR}/version
	sh ${S}/conf/newvers_stand.sh -MD ${.CURDIR}/version "sun3"
@


1.21.8.2
log
@Sync with HEAD.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.21.8.1 2000/11/20 20:27:56 bouyer Exp $
a4 7
# 
# We're not actually building a lint version, but this way the separate object
# files get built
#

LOBJS=SRT0.o SRT1.o

d43 2
@


1.21.8.3
log
@Sync with HEAD.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.21.8.2 2001/02/11 19:12:46 bouyer Exp $
d33 1
a33 1
CLEANFILES= SRT0.o SRT1.o machine m68k vers.c
d37 1
a37 1
SRC_sa = alloc.c bcopy.c close.c getfile.c loadfile.c lseek.c memcpy.c open.c \
d41 1
a41 1
	memcmp.c memset.c strcmp.c strlen.c strncmp.c
d43 1
a43 1
SRC_here= clock.c dev_disk.c devopen.c \
@


1.21.8.4
log
@Sync with HEAD.
@
text
@d1 1
a1 1
#	$NetBSD$
d15 3
d21 2
a22 2
DIR_SA=${S}/lib/libsa
DIR_KERN=${S}/lib/libkern
d33 1
a33 1
CLEANFILES= SRT0.o SRT1.o vers.c
d62 2
@


1.21.14.1
log
@Pull up to last week's -current.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.22 1999/12/17 07:28:01 jeremy Exp $
d30 1
a30 2
SRC_kern= ashrdi3.c bcmp.c bzero.c inet_addr.c intoa.c \
	strcmp.c strlen.c strncmp.c
@


1.20
log
@convert from NOxxx= to MKxxx=no.
include <bsd.own.mk> if testing a MKxxx variable.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.19 1998/07/02 21:36:00 gwr Exp $
d28 1
a28 1
	 printf.c read.c strerror.c
d33 1
a33 1
	 gets.c netif_sun.c panic.c \
@


1.19
log
@Add strncmp.c
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.18 1998/02/19 02:17:07 cgd Exp $
d5 3
a7 3
NOLINT=		nolint (XXX should be linted)
NOPIC=
NOPROFILE=
@


1.18
log
@Make sure the reason that NOLINT is set is documented.  Additionally
in places where it should be set (or has to be set right now), do so.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.17 1998/02/05 04:57:04 gwr Exp $
d30 1
a30 1
SRC_kern= ashrdi3.c bcmp.c bzero.c strcmp.c strlen.c
@


1.17
log
@Merge arch/sun3x into arch/sun3
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.16.4.1 1998/01/27 02:35:30 gwr Exp $
d5 1
a5 1
NOLINT=
@


1.16
log
@Add idprom.c
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.15 1997/09/05 04:31:53 gwr Exp $
d18 1
d32 4
a35 3
SRC_here= clock.c dev_disk.c devopen.c dvma.c exec_sun.c \
	 gets.c idprom.c netif_sun.c panic.c \
	 promboot.c promcons.c promdev.c
d38 1
a38 1
OBJS= control.o ctrlsp.o
a62 3

control.o : ${S}/arch/sun3/sun3/control.c
	${COMPILE.c} ${.IMPSRC}
@


1.16.4.1
log
@Misc. changes to support common boot programs on Sun3 and Sun3X.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.16 1997/10/17 04:26:10 gwr Exp $
a17 1

d31 3
a33 4
SRC_here= clock.c dev_disk.c devopen.c exec_sun.c \
	 gets.c netif_sun.c panic.c \
	 promboot.c promcons.c promdev.c \
	 sun3.c sun3x.c version.c
d36 1
a36 1
OBJS= ctrlsp.o
d61 3
@


1.15
log
@Make stand/Makefile.inc work with obj directories. (Fixes PR 4014)
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.14 1997/05/31 21:22:07 cjs Exp $
d31 2
a32 2
SRC_here= clock.c dev_disk.c devopen.c dvma.c \
	 exec_sun.c gets.c netif_sun.c panic.c \
@


1.14
log
@Back out BUILDDIR and NOINSTALL changes.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.12 1997/05/07 16:20:43 mycroft Exp $
d5 3
a7 2
NOPIC=nopic
NOPROFILE=noprofile
d14 11
a24 2
SRC_net= nfs.c rpc.c net.c ether.c arp.c in_cksum.c \
	 bootparam.c rarp.c
d27 1
a27 1
	 printf.c read.c strerror.c ufs.c 
a30 2
SRC_sun3= control.c ctrlsp.S

d35 14
a48 1
SRCS= ${SRC_net} ${SRC_sa} ${SRC_kern} ${SRC_sun3} ${SRC_here}
d50 1
a50 1
CLEANFILES+=	SRT0.o SRT1.o
d52 5
a56 2
# DBG= -DDEBUG -DNETIF_DEBUG -DNFS_DEBUG -DRPC_DEBUG \
# 	-DNET_DEBUG -DRARP_DEBUG -DETHER_DEBUG
d58 3
a60 4
DEFS= -Dsun3 -DSTANDALONE -DCOMPAT_UFS
INCL= -I${.CURDIR} -I${S}/lib/libsa -I${S}
COPTS= -msoft-float
CFLAGS= -O ${COPTS} ${DEFS} ${DBG} ${INCL}
d62 2
a63 1
.PATH:  ${DIR_SA} ${DIR_KERN} ${.CURDIR}/../../sun3
d65 2
a66 1
all: libsa.a SRT0.o SRT1.o
d68 3
a70 2
# only needed during build
libinstall::
a71 1
.include <bsd.lib.mk>
@


1.14.4.1
log
@Update marc-pcmcia branch from trunk.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.15 1997/09/05 04:31:53 gwr Exp $
d5 2
a6 3
NOLINT=
NOPIC=
NOPROFILE=
d13 2
a14 11
.PATH:  ${DIR_SA} ${DIR_KERN}

# DBG= -DDEBUG -DNETIF_DEBUG -DNFS_DEBUG -DRPC_DEBUG \
#  -DNET_DEBUG -DRARP_DEBUG -DETHER_DEBUG -DDEBUG_PROM
DEFS= -Dsun3 -D_STANDALONE
INCL= -I. -I${.CURDIR} -I${S}/lib/libsa -I${S}
CFLAGS= -O2 -msoft-float -fno-defer-pop
CPPFLAGS= ${DEFS} ${DBG} ${INCL}
CLEANFILES= SRT0.o SRT1.o machine m68k

SRC_net= net.c ether.c arp.c in_cksum.c rarp.c
d17 1
a17 1
	 printf.c read.c strerror.c
d21 2
d27 13
a39 2
SRCS= ${SRC_net} ${SRC_sa} ${SRC_kern} ${SRC_here}
OBJS= control.o ctrlsp.o
a46 28

# Nuke these...
LOBJS=
POBJS=
SOBJS=

# Customized rules...

${OBJS} SRT0.o SRT1.o : machine m68k

machine :
	-rm -f $@@
	ln -s ${S}/arch/sun3/include $@@

m68k :
	-rm -f $@@
	ln -s ${S}/arch/m68k/include $@@

control.o : ${S}/arch/sun3/sun3/control.c
	${COMPILE.c} ${.IMPSRC}

ctrlsp.o : ${S}/arch/sun3/sun3/ctrlsp.S
	${COMPILE.S} ${.IMPSRC}

# This is for programs using ../Makefile.inc
echo_objdir:
	@@echo ${.OBJDIR}

@


1.13
log
@Remove empty libinstall target and add NOINSTALL=1.
@
text
@a7 3
# this library is used only for the build
NOINSTALL=1

d42 3
@


1.12
log
@Use libinstall::, not install:, to prevent instaling LIB.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.11 1997/02/05 17:32:28 gwr Exp $
d8 3
a44 3

# only needed during build
libinstall::
@


1.11
log
@Add -Dsun3
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.10 1996/06/26 19:32:32 jtc Exp $
d43 2
a44 1
install:
@


1.10
log
@Add memcpy.c to SRC_sa
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.9 1995/11/17 23:23:52 gwr Exp $
d34 1
a34 1
DEFS= -DSTANDALONE -DCOMPAT_UFS
@


1.9
log
@just cleanup
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.8 1995/09/23 03:42:34 gwr Exp $
d16 1
a16 1
SRC_sa = alloc.c bcopy.c close.c getfile.c open.c \
@


1.9.4.1
log
@Pull up from vers 1.10 by request from me :-)
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.10 1996/06/26 19:32:32 jtc Exp $
d16 1
a16 1
SRC_sa = alloc.c bcopy.c close.c getfile.c memcpy.c open.c \
@


1.8
log
@Cleanup, and catch up with libsa changes.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.7 1995/08/08 21:02:28 gwr Exp $
d29 2
d34 1
a34 1
DEFS= -DCOMPAT_UFS
@


1.8.2.1
log
@Sync with HEAD (cleanup)
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.9 1995/11/17 23:23:52 gwr Exp $
a28 2
CLEANFILES+=	SRT0.o SRT1.o

d32 1
a32 1
DEFS= -DSTANDALONE -DCOMPAT_UFS
@


1.7
log
@Make it work with obj dirs.  (from Jason Thorpe)
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.6 1995/06/27 15:57:13 gwr Exp $
d34 1
a34 1
COPTS= -msoft-float -fno-defer-pop -fno-omit-frame-pointer
@


1.6
log
@Get things from libsa now.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.5 1995/06/16 07:23:02 jtc Exp $
d33 1
a33 1
INCL= -I. -I${S}/lib/libsa -I${S}
d37 1
a37 1
.PATH:  ${DIR_SA} ${DIR_KERN} ../../sun3
@


1.5
log
@Use ${.CURDIR} in S macro definition so makefile works with obj directories.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.4 1995/06/09 22:20:17 gwr Exp $
d13 3
d27 1
a27 1
SRCS= ${SRC_sa} ${SRC_kern} ${SRC_sun3} ${SRC_here}
d32 2
a33 5
# XXX - Temporary include hack...
SRC_net= ../libnet

DEFS= -DCOMPAT_UFS -DSUN_BOOTPARAMS
INCL= -I. -I${SRC_net} -I${S}/lib/libsa -I${S}
@


1.4
log
@Add install target, etc.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.3 1995/06/01 21:03:19 gwr Exp $
d9 1
a9 1
S=../../../..
@


1.3
log
@clean up import conflicts
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.2 1995/02/24 05:07:01 gwr Exp $
d13 1
a13 1
SRC_salib= alloc.c bcopy.c close.c getfile.c \
d21 1
a21 1
	 exec_sun.c gets.c open.c panic.c \
d24 1
a24 1
SRCS= ${SRC_salib} ${SRC_kern} ${SRC_sun3} ${SRC_here}
d29 3
d33 1
a33 1
INCL= -I. -I${S}/lib/libsa -I${S}
d40 2
@


1.2
log
@Use twiddle() in libsa (mycroft's changes)
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.1.1.1 1995/02/14 22:56:37 gwr Exp $
a4 4
SRCS=	 alloc.c ashrdi3.c bcopy.c bzero.c gets.c open.c \
	 panic.c printf.c promcons.c promdev.c read.c \
	 strcmp.c strerror.c strlen.c strlen.c ufs.c 

d10 15
d26 2
a27 2
SRC_SA=$S/lib/libsa
SRC_KERN=$S/lib/libkern
d29 1
a29 1
DEFS= -DCOMPAT_UFS
d31 2
a32 1
CFLAGS= -O -msoft-float ${DEFS} ${INCL}
d34 1
a34 1
.PATH:  ${SRC_SA} ${SRC_KERN}
@


1.1
log
@Initial revision
@
text
@d1 1
a1 1
#	$NetBSD$
d5 3
a7 4
SRCS=	alloc.c ashrdi3.c bcopy.c bzero.c gets.c \
	open.c panic.c printf.c promcons.c promdev.c \
	read.c strcmp.c strerror.c strlen.c strlen.c \
	twiddle.c ufs.c 
@


1.1.1.1
log
@compiles, but...
@
text
@@


1.1.1.2
log
@Booting from ufs works now.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.2 1995/02/24 05:07:01 gwr Exp $
d5 5
a14 15
DIR_SA=$S/lib/libsa
DIR_KERN=$S/lib/libkern

SRC_salib= alloc.c bcopy.c close.c getfile.c \
	 printf.c read.c strerror.c ufs.c 

SRC_kern= ashrdi3.c bcmp.c bzero.c strcmp.c strlen.c

SRC_sun3= control.c ctrlsp.S

SRC_here= clock.c dev_disk.c devopen.c dvma.c \
	 exec_sun.c gets.c open.c panic.c \
	 promboot.c promcons.c promdev.c

SRCS= ${SRC_salib} ${SRC_kern} ${SRC_sun3} ${SRC_here}
d16 2
a17 2
# DBG= -DDEBUG -DNETIF_DEBUG -DNFS_DEBUG -DRPC_DEBUG \
# 	-DNET_DEBUG -DRARP_DEBUG -DETHER_DEBUG
d19 1
a19 1
DEFS= -DCOMPAT_UFS -DSUN_BOOTPARAMS
d21 1
a21 2
COPTS= -msoft-float -fno-defer-pop -fno-omit-frame-pointer
CFLAGS= -O ${COPTS} ${DEFS} ${DBG} ${INCL}
d23 1
a23 1
.PATH:  ${DIR_SA} ${DIR_KERN} ../../sun3
@
