head	1.11;
access;
symbols
	netbsd-11-0-RC4:1.11
	netbsd-11-0-RC3:1.11
	netbsd-11-0-RC2:1.11
	netbsd-11-0-RC1:1.11
	perseant-exfatfs-base-20250801:1.11
	netbsd-11:1.11.0.62
	netbsd-11-base:1.11
	netbsd-10-1-RELEASE:1.11
	perseant-exfatfs-base-20240630:1.11
	perseant-exfatfs:1.11.0.60
	perseant-exfatfs-base:1.11
	netbsd-8-3-RELEASE:1.11
	netbsd-9-4-RELEASE:1.11
	netbsd-10-0-RELEASE:1.11
	netbsd-10-0-RC6:1.11
	netbsd-10-0-RC5:1.11
	netbsd-10-0-RC4:1.11
	netbsd-10-0-RC3:1.11
	netbsd-10-0-RC2:1.11
	netbsd-10-0-RC1:1.11
	netbsd-10:1.11.0.58
	netbsd-10-base:1.11
	netbsd-9-3-RELEASE:1.11
	cjep_sun2x-base1:1.11
	cjep_sun2x:1.11.0.56
	cjep_sun2x-base:1.11
	cjep_staticlib_x-base1:1.11
	netbsd-9-2-RELEASE:1.11
	cjep_staticlib_x:1.11.0.54
	cjep_staticlib_x-base:1.11
	netbsd-9-1-RELEASE:1.11
	phil-wifi-20200421:1.11
	phil-wifi-20200411:1.11
	is-mlppp:1.11.0.52
	is-mlppp-base:1.11
	phil-wifi-20200406:1.11
	netbsd-8-2-RELEASE:1.11
	netbsd-9-0-RELEASE:1.11
	netbsd-9-0-RC2:1.11
	netbsd-9-0-RC1:1.11
	phil-wifi-20191119:1.11
	netbsd-9:1.11.0.50
	netbsd-9-base:1.11
	phil-wifi-20190609:1.11
	netbsd-8-1-RELEASE:1.11
	netbsd-8-1-RC1:1.11
	pgoyette-compat-merge-20190127:1.11
	pgoyette-compat-20190127:1.11
	pgoyette-compat-20190118:1.11
	pgoyette-compat-1226:1.11
	pgoyette-compat-1126:1.11
	pgoyette-compat-1020:1.11
	pgoyette-compat-0930:1.11
	pgoyette-compat-0906:1.11
	netbsd-7-2-RELEASE:1.11
	pgoyette-compat-0728:1.11
	netbsd-8-0-RELEASE:1.11
	phil-wifi:1.11.0.48
	phil-wifi-base:1.11
	pgoyette-compat-0625:1.11
	netbsd-8-0-RC2:1.11
	pgoyette-compat-0521:1.11
	pgoyette-compat-0502:1.11
	pgoyette-compat-0422:1.11
	netbsd-8-0-RC1:1.11
	pgoyette-compat-0415:1.11
	pgoyette-compat-0407:1.11
	pgoyette-compat-0330:1.11
	pgoyette-compat-0322:1.11
	pgoyette-compat-0315:1.11
	netbsd-7-1-2-RELEASE:1.11
	pgoyette-compat:1.11.0.46
	pgoyette-compat-base:1.11
	netbsd-7-1-1-RELEASE:1.11
	matt-nb8-mediatek:1.11.0.44
	matt-nb8-mediatek-base:1.11
	perseant-stdc-iso10646:1.11.0.42
	perseant-stdc-iso10646-base:1.11
	netbsd-8:1.11.0.40
	netbsd-8-base:1.11
	prg-localcount2-base3:1.11
	prg-localcount2-base2:1.11
	prg-localcount2-base1:1.11
	prg-localcount2:1.11.0.38
	prg-localcount2-base:1.11
	pgoyette-localcount-20170426:1.11
	bouyer-socketcan-base1:1.11
	pgoyette-localcount-20170320:1.11
	netbsd-7-1:1.11.0.36
	netbsd-7-1-RELEASE:1.11
	netbsd-7-1-RC2:1.11
	netbsd-7-nhusb-base-20170116:1.11
	bouyer-socketcan:1.11.0.34
	bouyer-socketcan-base:1.11
	pgoyette-localcount-20170107:1.11
	netbsd-7-1-RC1:1.11
	pgoyette-localcount-20161104:1.11
	netbsd-7-0-2-RELEASE:1.11
	localcount-20160914:1.11
	netbsd-7-nhusb:1.11.0.32
	netbsd-7-nhusb-base:1.11
	pgoyette-localcount-20160806:1.11
	pgoyette-localcount-20160726:1.11
	pgoyette-localcount:1.11.0.30
	pgoyette-localcount-base:1.11
	netbsd-7-0-1-RELEASE:1.11
	netbsd-7-0:1.11.0.28
	netbsd-7-0-RELEASE:1.11
	netbsd-7-0-RC3:1.11
	netbsd-7-0-RC2:1.11
	netbsd-7-0-RC1:1.11
	netbsd-5-2-3-RELEASE:1.10
	netbsd-5-1-5-RELEASE:1.10
	netbsd-6-0-6-RELEASE:1.11
	netbsd-6-1-5-RELEASE:1.11
	netbsd-7:1.11.0.26
	netbsd-7-base:1.11
	yamt-pagecache-base9:1.11
	yamt-pagecache-tag8:1.11
	netbsd-6-1-4-RELEASE:1.11
	netbsd-6-0-5-RELEASE:1.11
	tls-earlyentropy:1.11.0.24
	tls-earlyentropy-base:1.11
	riastradh-xf86-video-intel-2-7-1-pre-2-21-15:1.11
	riastradh-drm2-base3:1.11
	netbsd-6-1-3-RELEASE:1.11
	netbsd-6-0-4-RELEASE:1.11
	netbsd-5-2-2-RELEASE:1.10
	netbsd-5-1-4-RELEASE:1.10
	netbsd-6-1-2-RELEASE:1.11
	netbsd-6-0-3-RELEASE:1.11
	netbsd-5-2-1-RELEASE:1.10
	netbsd-5-1-3-RELEASE:1.10
	netbsd-6-1-1-RELEASE:1.11
	riastradh-drm2-base2:1.11
	riastradh-drm2-base1:1.11
	riastradh-drm2:1.11.0.16
	riastradh-drm2-base:1.11
	netbsd-6-1:1.11.0.22
	netbsd-6-0-2-RELEASE:1.11
	netbsd-6-1-RELEASE:1.11
	khorben-n900:1.11.0.20
	netbsd-6-1-RC4:1.11
	netbsd-6-1-RC3:1.11
	agc-symver:1.11.0.18
	agc-symver-base:1.11
	netbsd-6-1-RC2:1.11
	netbsd-6-1-RC1:1.11
	yamt-pagecache-base8:1.11
	netbsd-5-2:1.10.0.54
	netbsd-6-0-1-RELEASE:1.11
	yamt-pagecache-base7:1.11
	netbsd-5-2-RELEASE:1.10
	netbsd-5-2-RC1:1.10
	matt-nb6-plus-nbase:1.11
	yamt-pagecache-base6:1.11
	netbsd-6-0:1.11.0.14
	netbsd-6-0-RELEASE:1.11
	netbsd-6-0-RC2:1.11
	tls-maxphys:1.11.0.12
	tls-maxphys-base:1.11
	matt-nb6-plus:1.11.0.10
	matt-nb6-plus-base:1.11
	netbsd-6-0-RC1:1.11
	yamt-pagecache-base5:1.11
	yamt-pagecache-base4:1.11
	netbsd-6:1.11.0.8
	netbsd-6-base:1.11
	netbsd-5-1-2-RELEASE:1.10
	netbsd-5-1-1-RELEASE:1.10
	yamt-pagecache-base3:1.11
	yamt-pagecache-base2:1.11
	yamt-pagecache:1.11.0.6
	yamt-pagecache-base:1.11
	cherry-xenmp:1.11.0.4
	cherry-xenmp-base:1.11
	bouyer-quota2-nbase:1.11
	bouyer-quota2:1.11.0.2
	bouyer-quota2-base:1.11
	matt-mips64-premerge-20101231:1.11
	matt-nb5-mips64-premerge-20101231:1.10
	matt-nb5-pq3:1.10.0.52
	matt-nb5-pq3-base:1.10
	netbsd-5-1:1.10.0.50
	netbsd-5-1-RELEASE:1.10
	netbsd-5-1-RC4:1.10
	matt-nb5-mips64-k15:1.10
	netbsd-5-1-RC3:1.10
	netbsd-5-1-RC2:1.10
	netbsd-5-1-RC1:1.10
	netbsd-5-0-2-RELEASE:1.10
	matt-nb5-mips64-premerge-20091211:1.10
	matt-premerge-20091211:1.10
	matt-nb5-mips64-u2-k2-k4-k7-k8-k9:1.10
	matt-nb4-mips64-k7-u2a-k9b:1.10
	matt-nb5-mips64-u1-k1-k5:1.10
	matt-nb5-mips64:1.10.0.48
	netbsd-5-0-1-RELEASE:1.10
	jym-xensuspend-nbase:1.10
	netbsd-5-0:1.10.0.46
	netbsd-5-0-RELEASE:1.10
	netbsd-5-0-RC4:1.10
	netbsd-5-0-RC3:1.10
	netbsd-5-0-RC2:1.10
	jym-xensuspend:1.10.0.44
	jym-xensuspend-base:1.10
	netbsd-5-0-RC1:1.10
	netbsd-5:1.10.0.42
	netbsd-5-base:1.10
	matt-mips64-base2:1.10
	matt-mips64:1.10.0.40
	netbsd-4-0-1-RELEASE:1.10
	wrstuden-revivesa-base-3:1.10
	wrstuden-revivesa-base-2:1.10
	wrstuden-fixsa-newbase:1.10
	wrstuden-revivesa-base-1:1.10
	yamt-pf42-base4:1.10
	yamt-pf42-base3:1.10
	hpcarm-cleanup-nbase:1.10
	yamt-pf42-baseX:1.10
	yamt-pf42-base2:1.10
	wrstuden-revivesa:1.10.0.38
	wrstuden-revivesa-base:1.10
	yamt-pf42:1.10.0.36
	yamt-pf42-base:1.10
	mjf-devfs2:1.10.0.34
	mjf-devfs2-base:1.10
	keiichi-mipv6:1.10.0.32
	keiichi-mipv6-base:1.10
	mjf-devfs:1.10.0.30
	mjf-devfs-base:1.10
	matt-armv6-nbase:1.10
	matt-armv6-prevmlocking:1.10
	wrstuden-fixsa-base-1:1.10
	netbsd-4-0:1.10.0.28
	netbsd-4-0-RELEASE:1.10
	cube-autoconf:1.10.0.26
	cube-autoconf-base:1.10
	netbsd-4-0-RC5:1.10
	netbsd-4-0-RC4:1.10
	netbsd-4-0-RC3:1.10
	netbsd-4-0-RC2:1.10
	netbsd-4-0-RC1:1.10
	matt-armv6:1.10.0.24
	matt-armv6-base:1.10
	matt-mips64-base:1.10
	hpcarm-cleanup:1.10.0.22
	hpcarm-cleanup-base:1.10
	netbsd-3-1-1-RELEASE:1.10
	netbsd-3-0-3-RELEASE:1.10
	wrstuden-fixsa:1.10.0.20
	wrstuden-fixsa-base:1.10
	abandoned-netbsd-4-base:1.10
	abandoned-netbsd-4:1.10.0.14
	netbsd-3-1:1.10.0.16
	netbsd-3-1-RELEASE:1.10
	netbsd-3-0-2-RELEASE:1.10
	netbsd-3-1-RC4:1.10
	netbsd-3-1-RC3:1.10
	netbsd-3-1-RC2:1.10
	netbsd-3-1-RC1:1.10
	netbsd-4:1.10.0.18
	netbsd-4-base:1.10
	netbsd-3-0-1-RELEASE:1.10
	netbsd-3-0:1.10.0.12
	netbsd-3-0-RELEASE:1.10
	netbsd-3-0-RC6:1.10
	netbsd-3-0-RC5:1.10
	netbsd-3-0-RC4:1.10
	netbsd-3-0-RC3:1.10
	netbsd-3-0-RC2:1.10
	netbsd-3-0-RC1:1.10
	netbsd-2-0-3-RELEASE:1.10
	netbsd-2-1:1.10.0.10
	netbsd-2-1-RELEASE:1.10
	netbsd-2-1-RC6:1.10
	netbsd-2-1-RC5:1.10
	netbsd-2-1-RC4:1.10
	netbsd-2-1-RC3:1.10
	netbsd-2-1-RC2:1.10
	netbsd-2-1-RC1:1.10
	netbsd-2-0-2-RELEASE:1.10
	netbsd-3:1.10.0.8
	netbsd-3-base:1.10
	netbsd-2-0-1-RELEASE:1.10
	netbsd-2:1.10.0.6
	netbsd-2-base:1.10
	netbsd-2-0-RELEASE:1.10
	netbsd-2-0-RC5:1.10
	netbsd-2-0-RC4:1.10
	netbsd-2-0-RC3:1.10
	netbsd-2-0-RC2:1.10
	netbsd-2-0-RC1:1.10
	netbsd-2-0:1.10.0.4
	netbsd-2-0-base:1.10
	netbsd-1-6-PATCH002-RELEASE:1.10
	netbsd-1-6-PATCH002:1.10
	netbsd-1-6-PATCH002-RC4:1.10
	netbsd-1-6-PATCH002-RC3:1.10
	netbsd-1-6-PATCH002-RC2:1.10
	netbsd-1-6-PATCH002-RC1:1.10
	netbsd-1-6-PATCH001:1.10
	netbsd-1-6-PATCH001-RELEASE:1.10
	netbsd-1-6-PATCH001-RC3:1.10
	netbsd-1-6-PATCH001-RC2:1.10
	netbsd-1-6-PATCH001-RC1:1.10
	fvdl_fs64_base:1.10
	netbsd-1-6-RELEASE:1.10
	netbsd-1-6-RC3:1.10
	netbsd-1-6-RC2:1.10
	netbsd-1-6-RC1:1.10
	netbsd-1-6:1.10.0.2
	netbsd-1-6-base:1.10
	netbsd-1-5-PATCH003:1.7.4.1
	netbsd-1-5-PATCH002:1.7.4.1
	netbsd-1-5-PATCH001:1.7
	netbsd-1-5-RELEASE:1.7
	netbsd-1-5-BETA2:1.7
	netbsd-1-5-BETA:1.7
	netbsd-1-4-PATCH003:1.2
	netbsd-1-5-ALPHA2:1.7
	netbsd-1-5:1.7.0.4
	netbsd-1-5-base:1.7
	minoura-xpg4dl:1.7.0.2
	minoura-xpg4dl-base:1.7
	netbsd-1-4-PATCH002:1.2
	wrstuden-devbsize-19991221:1.5
	wrstuden-devbsize:1.5.0.4
	wrstuden-devbsize-base:1.5
	comdex-fall-1999:1.5.0.2
	comdex-fall-1999-base:1.5
	netbsd-1-4-PATCH001:1.2
	netbsd-1-4-RELEASE:1.2
	netbsd-1-4:1.2.0.2
	netbsd-1-4-base:1.2
	netbsd-1-3:1.1.0.2;
locks; strict;
comment	@# @;


1.11
date	2010.12.15.11.22.42;	author pooka;	state Exp;
branches;
next	1.10;

1.10
date	2001.12.12.00.05.13;	author tv;	state Exp;
branches
	1.10.34.1;
next	1.9;

1.9
date	2001.10.05.01.17.31;	author jmc;	state Exp;
branches;
next	1.8;

1.8
date	2001.08.20.12.19.45;	author martin;	state Exp;
branches;
next	1.7;

1.7
date	2000.05.18.01.10.28;	author matt;	state Exp;
branches
	1.7.4.1;
next	1.6;

1.6
date	2000.05.18.00.43.07;	author matt;	state Exp;
branches;
next	1.5;

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

1.4
date	99.05.23.10.25.43;	author veego;	state Exp;
branches;
next	1.3;

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

1.2
date	99.02.13.02.54.19;	author lukem;	state Exp;
branches;
next	1.1;

1.1
date	99.01.10.13.50.35;	author mrg;	state Exp;
branches
	1.1.2.1;
next	;

1.10.34.1
date	2008.10.05.20.11.16;	author mjf;	state dead;
branches;
next	;

1.7.4.1
date	2001.07.29.20.32.32;	author he;	state Exp;
branches;
next	;

1.1.2.1
date	99.01.10.13.50.35;	author cgd;	state dead;
branches;
next	1.1.2.2;

1.1.2.2
date	99.01.19.07.34.50;	author cgd;	state Exp;
branches;
next	;


desc
@@


1.11
log
@Deal with crunch the standard way.
@
text
@#	$NetBSD: Makefile,v 1.10 2001/12/12 00:05:13 tv Exp $

SRCDIR=		${.CURDIR}/../../../usr.bin/netstat

PROG=		netstat
NOMAN=		# defined

SRCS=		if.c inet.c main.c mbuf.c route.c

CPPFLAGS+=	-DSMALL -I${SRCDIR} -DCRUNCHOPS
DPADD=		${LIBKVM}
LDADD=		-lkvm

.include <bsd.prog.mk>

BINOWN=		root
BINMODE=	4555
.PATH:		${SRCDIR}
@


1.10
log
@Major readability cleanup; nuke redundancies; MKfoo=no -> NOfoo=.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.9 2001/10/05 01:17:31 jmc Exp $
d10 1
a10 1
CPPFLAGS+=	-DSMALL -I${SRCDIR}
@


1.10.34.1
log
@Sync with HEAD.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.10 2001/12/12 00:05:13 tv Exp $
@


1.9
log
@Change all COPTS+=-Os to DBG=-Os as that var actually controls the optimization
levels
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.8 2001/08/20 12:19:45 martin Exp $
d3 1
a3 2
PROG=	netstat
SRCS=	if.c inet.c main.c mbuf.c route.c
d5 2
a6 11
SRCDIR= ${.CURDIR}/../../../usr.bin/netstat
CPPFLAGS+= -DSMALL -I${SRCDIR}
.if ${MACHINE_ARCH} != "sparc64"
DBG= -Os
.endif
LDADD=	-lkvm
LDSTATIC?=-static
DPADD=	${LIBKVM}
MKMAN=	no
BINOWN=	root
BINMODE=4555
d8 5
a12 1
all: ${PROG}
d16 3
a18 1
.PATH:  ${SRCDIR}
@


1.8
log
@Drop ``-Os'' on sparc64 due to toolchain issues.

The same change has already been applied on the 1.5 branch. The problems
(i.e. ifconfig not showing IP addresses) have been verified to still exist
with the new toolchain.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.7 2000/05/18 01:10:28 matt Exp $
d9 1
a9 1
COPTS+= -Os
@


1.7
log
@Part II.  Link everything -static since that's what want for crunchgen
later on.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.6 2000/05/18 00:43:07 matt Exp $
d8 1
d10 1
@


1.7.4.1
log
@Apply patch (requested by martin):
  Drop ``-Os'' on sparc64 due to toolchain issues.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.7 2000/05/18 01:10:28 matt Exp $
a7 1
.if ${MACHINE_ARCH} != "sparc64"
a8 1
.endif
@


1.6
log
@Compile things with -Os.  I wonder if compiling -Mno-pic for mips and vax
would shrink them even more?
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.5 1999/06/21 01:19:37 cgd Exp $
d10 1
@


1.5
log
@dependencies on BSDSRCDIR should be _removed_, not introduced.  Use
paths relative to ${.CURDIR} instead.  Using BSDSRCDIR here means that
it's impossible to compile these programs out of the source tree they're
a part of, unless that sort tree happens to be the one at BSDSRCDIR.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.4 1999/05/23 10:25:43 veego Exp $
d8 1
@


1.4
log
@Fxi the last commit:
move the include of bsd.prog.mk in front of the .PATH.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.3 1999/05/19 04:17:50 gwr Exp $
d6 1
a6 1
SRCDIR= ${BSDSRCDIR}/usr.bin/netstat
@


1.3
log
@Things in distrib/utils need to know BSDSRCDIR anway,
so we might as well use it.  Lots simpler.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.2 1999/02/13 02:54:19 lukem Exp $
d16 2
a18 2

.include <bsd.prog.mk>
@


1.2
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.1 1999/01/10 13:50:35 mrg Exp $
d6 1
a6 1
SRCDIR= ${.CURDIR}/../../../usr.bin/netstat
@


1.1
log
@add a -DSMALL netstat.  saves ~30k of text/data for me, on the sparc.
@
text
@d1 1
a1 1
#	$NetBSD$
d10 1
a10 1
NOMAN=
@


1.1.2.1
log
@file Makefile was added on branch netbsd-1-3 on 1999-01-19 07:34:50 +0000
@
text
@d1 18
@


1.1.2.2
log
@pull up rev 1.1 from trunk (new file).  (mrg)
@
text
@a0 18
#	$NetBSD: Makefile,v 1.1.2.1 1999/01/19 07:34:50 cgd Exp $

PROG=	netstat
SRCS=	if.c inet.c main.c mbuf.c route.c

SRCDIR= ${.CURDIR}/../../../usr.bin/netstat
CPPFLAGS+= -DSMALL -I${SRCDIR}
LDADD=	-lkvm
DPADD=	${LIBKVM}
NOMAN=
BINOWN=	root
BINMODE=4555

all: ${PROG}

.PATH:  ${SRCDIR}

.include <bsd.prog.mk>
@
