head	1.18;
access;
symbols
	netbsd-11-0-RC4:1.18
	netbsd-11-0-RC3:1.18
	netbsd-11-0-RC2:1.18
	netbsd-11-0-RC1:1.18
	perseant-exfatfs-base-20250801:1.18
	netbsd-11:1.18.0.30
	netbsd-11-base:1.18
	netbsd-10-1-RELEASE:1.18
	perseant-exfatfs-base-20240630:1.18
	perseant-exfatfs:1.18.0.28
	perseant-exfatfs-base:1.18
	netbsd-8-3-RELEASE:1.18
	netbsd-9-4-RELEASE:1.18
	netbsd-10-0-RELEASE:1.18
	netbsd-10-0-RC6:1.18
	netbsd-10-0-RC5:1.18
	netbsd-10-0-RC4:1.18
	netbsd-10-0-RC3:1.18
	netbsd-10-0-RC2:1.18
	netbsd-10-0-RC1:1.18
	netbsd-10:1.18.0.26
	netbsd-10-base:1.18
	netbsd-9-3-RELEASE:1.18
	cjep_sun2x-base1:1.18
	cjep_sun2x:1.18.0.24
	cjep_sun2x-base:1.18
	cjep_staticlib_x-base1:1.18
	netbsd-9-2-RELEASE:1.18
	cjep_staticlib_x:1.18.0.22
	cjep_staticlib_x-base:1.18
	netbsd-9-1-RELEASE:1.18
	phil-wifi-20200421:1.18
	phil-wifi-20200411:1.18
	is-mlppp:1.18.0.20
	is-mlppp-base:1.18
	phil-wifi-20200406:1.18
	netbsd-8-2-RELEASE:1.18
	netbsd-9-0-RELEASE:1.18
	netbsd-9-0-RC2:1.18
	netbsd-9-0-RC1:1.18
	phil-wifi-20191119:1.18
	netbsd-9:1.18.0.18
	netbsd-9-base:1.18
	phil-wifi-20190609:1.18
	netbsd-8-1-RELEASE:1.18
	netbsd-8-1-RC1:1.18
	pgoyette-compat-merge-20190127:1.18
	pgoyette-compat-20190127:1.18
	pgoyette-compat-20190118:1.18
	pgoyette-compat-1226:1.18
	pgoyette-compat-1126:1.18
	pgoyette-compat-1020:1.18
	pgoyette-compat-0930:1.18
	pgoyette-compat-0906:1.18
	netbsd-7-2-RELEASE:1.17.26.1
	pgoyette-compat-0728:1.18
	netbsd-8-0-RELEASE:1.18
	phil-wifi:1.18.0.16
	phil-wifi-base:1.18
	pgoyette-compat-0625:1.18
	netbsd-8-0-RC2:1.18
	pgoyette-compat-0521:1.18
	pgoyette-compat-0502:1.18
	pgoyette-compat-0422:1.18
	netbsd-8-0-RC1:1.18
	pgoyette-compat-0415:1.18
	pgoyette-compat-0407:1.18
	pgoyette-compat-0330:1.18
	pgoyette-compat-0322:1.18
	pgoyette-compat-0315:1.18
	netbsd-7-1-2-RELEASE:1.17.26.1
	pgoyette-compat:1.18.0.14
	pgoyette-compat-base:1.18
	netbsd-7-1-1-RELEASE:1.17.26.1
	matt-nb8-mediatek:1.18.0.12
	matt-nb8-mediatek-base:1.18
	perseant-stdc-iso10646:1.18.0.10
	perseant-stdc-iso10646-base:1.18
	netbsd-8:1.18.0.8
	netbsd-8-base:1.18
	prg-localcount2-base3:1.18
	prg-localcount2-base2:1.18
	prg-localcount2-base1:1.18
	prg-localcount2:1.18.0.6
	prg-localcount2-base:1.18
	pgoyette-localcount-20170426:1.18
	bouyer-socketcan-base1:1.18
	pgoyette-localcount-20170320:1.18
	netbsd-7-1:1.17.26.1.0.6
	netbsd-7-1-RELEASE:1.17.26.1
	netbsd-7-1-RC2:1.17.26.1
	netbsd-7-nhusb-base-20170116:1.17.26.1
	bouyer-socketcan:1.18.0.4
	bouyer-socketcan-base:1.18
	pgoyette-localcount-20170107:1.18
	netbsd-7-1-RC1:1.17.26.1
	pgoyette-localcount-20161104:1.18
	netbsd-7-0-2-RELEASE:1.17.26.1
	localcount-20160914:1.18
	netbsd-7-nhusb:1.17.26.1.0.4
	netbsd-7-nhusb-base:1.17.26.1
	pgoyette-localcount-20160806:1.18
	pgoyette-localcount-20160726:1.18
	pgoyette-localcount:1.18.0.2
	pgoyette-localcount-base:1.18
	netbsd-7-0-1-RELEASE:1.17.26.1
	netbsd-7-0:1.17.26.1.0.2
	netbsd-7-0-RELEASE:1.17.26.1
	netbsd-7-0-RC3:1.17.26.1
	netbsd-7-0-RC2:1.17.26.1
	netbsd-7-0-RC1:1.17.26.1
	netbsd-5-2-3-RELEASE:1.16
	netbsd-5-1-5-RELEASE:1.16
	netbsd-6-0-6-RELEASE:1.17
	netbsd-6-1-5-RELEASE:1.17
	netbsd-7:1.17.0.26
	netbsd-7-base:1.17
	yamt-pagecache-base9:1.17
	yamt-pagecache-tag8:1.17
	netbsd-6-1-4-RELEASE:1.17
	netbsd-6-0-5-RELEASE:1.17
	tls-earlyentropy:1.17.0.24
	tls-earlyentropy-base:1.17
	riastradh-xf86-video-intel-2-7-1-pre-2-21-15:1.17
	riastradh-drm2-base3:1.17
	netbsd-6-1-3-RELEASE:1.17
	netbsd-6-0-4-RELEASE:1.17
	netbsd-5-2-2-RELEASE:1.16
	netbsd-5-1-4-RELEASE:1.16
	netbsd-6-1-2-RELEASE:1.17
	netbsd-6-0-3-RELEASE:1.17
	netbsd-5-2-1-RELEASE:1.16
	netbsd-5-1-3-RELEASE:1.16
	netbsd-6-1-1-RELEASE:1.17
	riastradh-drm2-base2:1.17
	riastradh-drm2-base1:1.17
	riastradh-drm2:1.17.0.16
	riastradh-drm2-base:1.17
	netbsd-6-1:1.17.0.22
	netbsd-6-0-2-RELEASE:1.17
	netbsd-6-1-RELEASE:1.17
	khorben-n900:1.17.0.20
	netbsd-6-1-RC4:1.17
	netbsd-6-1-RC3:1.17
	agc-symver:1.17.0.18
	agc-symver-base:1.17
	netbsd-6-1-RC2:1.17
	netbsd-6-1-RC1:1.17
	yamt-pagecache-base8:1.17
	netbsd-5-2:1.16.0.46
	netbsd-6-0-1-RELEASE:1.17
	yamt-pagecache-base7:1.17
	netbsd-5-2-RELEASE:1.16
	netbsd-5-2-RC1:1.16
	matt-nb6-plus-nbase:1.17
	yamt-pagecache-base6:1.17
	netbsd-6-0:1.17.0.14
	netbsd-6-0-RELEASE:1.17
	netbsd-6-0-RC2:1.17
	tls-maxphys:1.17.0.12
	tls-maxphys-base:1.17
	matt-nb6-plus:1.17.0.10
	matt-nb6-plus-base:1.17
	netbsd-6-0-RC1:1.17
	yamt-pagecache-base5:1.17
	yamt-pagecache-base4:1.17
	netbsd-6:1.17.0.8
	netbsd-6-base:1.17
	netbsd-5-1-2-RELEASE:1.16
	netbsd-5-1-1-RELEASE:1.16
	yamt-pagecache-base3:1.17
	yamt-pagecache-base2:1.17
	yamt-pagecache:1.17.0.6
	yamt-pagecache-base:1.17
	cherry-xenmp:1.17.0.4
	cherry-xenmp-base:1.17
	bouyer-quota2-nbase:1.17
	bouyer-quota2:1.17.0.2
	bouyer-quota2-base:1.17
	matt-mips64-premerge-20101231:1.17
	matt-nb5-mips64-premerge-20101231:1.16
	matt-nb5-pq3:1.16.0.44
	matt-nb5-pq3-base:1.16
	netbsd-5-1:1.16.0.42
	netbsd-5-1-RELEASE:1.16
	netbsd-5-1-RC4:1.16
	matt-nb5-mips64-k15:1.16
	netbsd-5-1-RC3:1.16
	netbsd-5-1-RC2:1.16
	netbsd-5-1-RC1:1.16
	netbsd-5-0-2-RELEASE:1.16
	matt-nb5-mips64-premerge-20091211:1.16
	matt-premerge-20091211:1.16
	matt-nb5-mips64-u2-k2-k4-k7-k8-k9:1.16
	matt-nb4-mips64-k7-u2a-k9b:1.16
	matt-nb5-mips64-u1-k1-k5:1.16
	matt-nb5-mips64:1.16.0.40
	netbsd-5-0-1-RELEASE:1.16
	jym-xensuspend-nbase:1.16
	netbsd-5-0:1.16.0.38
	netbsd-5-0-RELEASE:1.16
	netbsd-5-0-RC4:1.16
	netbsd-5-0-RC3:1.16
	netbsd-5-0-RC2:1.16
	jym-xensuspend:1.16.0.36
	jym-xensuspend-base:1.16
	netbsd-5-0-RC1:1.16
	netbsd-5:1.16.0.34
	netbsd-5-base:1.16
	matt-mips64-base2:1.16
	matt-mips64:1.16.0.32
	netbsd-4-0-1-RELEASE:1.16
	wrstuden-revivesa-base-3:1.16
	wrstuden-revivesa-base-2:1.16
	wrstuden-fixsa-newbase:1.16
	wrstuden-revivesa-base-1:1.16
	yamt-pf42-base4:1.16
	yamt-pf42-base3:1.16
	hpcarm-cleanup-nbase:1.16
	yamt-pf42-baseX:1.16
	yamt-pf42-base2:1.16
	wrstuden-revivesa:1.16.0.30
	wrstuden-revivesa-base:1.16
	yamt-pf42:1.16.0.28
	yamt-pf42-base:1.16
	mjf-devfs2:1.16.0.26
	mjf-devfs2-base:1.16
	keiichi-mipv6:1.16.0.24
	keiichi-mipv6-base:1.16
	mjf-devfs:1.16.0.22
	mjf-devfs-base:1.16
	matt-armv6-nbase:1.16
	matt-armv6-prevmlocking:1.16
	wrstuden-fixsa-base-1:1.16
	netbsd-4-0:1.16.0.20
	netbsd-4-0-RELEASE:1.16
	cube-autoconf:1.16.0.18
	cube-autoconf-base:1.16
	netbsd-4-0-RC5:1.16
	netbsd-4-0-RC4:1.16
	netbsd-4-0-RC3:1.16
	netbsd-4-0-RC2:1.16
	netbsd-4-0-RC1:1.16
	matt-armv6:1.16.0.16
	matt-armv6-base:1.16
	matt-mips64-base:1.16
	hpcarm-cleanup:1.16.0.14
	hpcarm-cleanup-base:1.16
	netbsd-3-1-1-RELEASE:1.16
	netbsd-3-0-3-RELEASE:1.16
	wrstuden-fixsa:1.16.0.12
	wrstuden-fixsa-base:1.16
	abandoned-netbsd-4-base:1.16
	abandoned-netbsd-4:1.16.0.6
	netbsd-3-1:1.16.0.8
	netbsd-3-1-RELEASE:1.16
	netbsd-3-0-2-RELEASE:1.16
	netbsd-3-1-RC4:1.16
	netbsd-3-1-RC3:1.16
	netbsd-3-1-RC2:1.16
	netbsd-3-1-RC1:1.16
	netbsd-4:1.16.0.10
	netbsd-4-base:1.16
	netbsd-3-0-1-RELEASE:1.16
	netbsd-3-0:1.16.0.4
	netbsd-3-0-RELEASE:1.16
	netbsd-3-0-RC6:1.16
	netbsd-3-0-RC5:1.16
	netbsd-3-0-RC4:1.16
	netbsd-3-0-RC3:1.16
	netbsd-3-0-RC2:1.16
	netbsd-3-0-RC1:1.16
	netbsd-2-0-3-RELEASE:1.15
	netbsd-2-1:1.15.0.6
	netbsd-2-1-RELEASE:1.15
	netbsd-2-1-RC6:1.15
	netbsd-2-1-RC5:1.15
	netbsd-2-1-RC4:1.15
	netbsd-2-1-RC3:1.15
	netbsd-2-1-RC2:1.15
	netbsd-2-1-RC1:1.15
	netbsd-2-0-2-RELEASE:1.15
	netbsd-3:1.16.0.2
	netbsd-3-base:1.16
	netbsd-2-0-1-RELEASE:1.15
	netbsd-2:1.15.0.4
	netbsd-2-base:1.15
	netbsd-2-0-RELEASE:1.15
	netbsd-2-0-RC5:1.15
	netbsd-2-0-RC4:1.15
	netbsd-2-0-RC3:1.15
	netbsd-2-0-RC2:1.15
	netbsd-2-0-RC1:1.15
	netbsd-2-0:1.15.0.2
	netbsd-2-0-base:1.15
	netbsd-1-6-PATCH002-RELEASE:1.13.2.1
	netbsd-1-6-PATCH002:1.13.2.1
	netbsd-1-6-PATCH002-RC4:1.13.2.1
	netbsd-1-6-PATCH002-RC3:1.13.2.1
	netbsd-1-6-PATCH002-RC2:1.13.2.1
	netbsd-1-6-PATCH002-RC1:1.13.2.1
	netbsd-1-6-PATCH001:1.13.2.1
	netbsd-1-6-PATCH001-RELEASE:1.13.2.1
	netbsd-1-6-PATCH001-RC3:1.13.2.1
	netbsd-1-6-PATCH001-RC2:1.13.2.1
	netbsd-1-6-PATCH001-RC1:1.13.2.1
	fvdl_fs64_base:1.15
	netbsd-1-6-RELEASE:1.13
	netbsd-1-6-RC3:1.13
	netbsd-1-6-RC2:1.13
	netbsd-1-6-RC1:1.13
	netbsd-1-6:1.13.0.2
	netbsd-1-6-base:1.13
	netbsd-1-5-PATCH003:1.9.4.2
	netbsd-1-5-PATCH002:1.9.4.2
	netbsd-1-5-PATCH001:1.9.4.1
	netbsd-1-5-RELEASE:1.9.4.1
	netbsd-1-5-BETA2:1.9.4.1
	netbsd-1-5-BETA:1.9.4.1
	netbsd-1-4-PATCH003:1.4
	netbsd-1-5-ALPHA2:1.9
	netbsd-1-5:1.9.0.4
	netbsd-1-5-base:1.9
	minoura-xpg4dl:1.9.0.2
	minoura-xpg4dl-base:1.9
	netbsd-1-4-PATCH002:1.4
	wrstuden-devbsize-19991221:1.6
	wrstuden-devbsize:1.6.0.4
	wrstuden-devbsize-base:1.6
	comdex-fall-1999:1.6.0.2
	comdex-fall-1999-base:1.6
	netbsd-1-4-PATCH001:1.4
	netbsd-1-4-RELEASE:1.4
	netbsd-1-4:1.4.0.2
	netbsd-1-4-base:1.4
	netbsd-1-3-PATCH003:1.2.2.1
	netbsd-1-3-PATCH003-CANDIDATE2:1.2.2.1
	netbsd-1-3-PATCH003-CANDIDATE1:1.2.2.1
	netbsd-1-3-PATCH003-CANDIDATE0:1.2.2.1
	netbsd-1-3-PATCH002:1.2.2.1
	netbsd-1-3-PATCH001:1.2.2.1
	netbsd-1-3-RELEASE:1.2.2.1
	netbsd-1-3-BETA:1.2.2.1
	netbsd-1-3:1.2.0.2
	netbsd-1-3-base:1.2
	netbsd-1-2-PATCH001:1.1.1.1
	netbsd-1-2:1.1.1.1.0.2
	netbsd-1-2-base:1.1.1.1
	GWR1:1.1.1.1
	GWR:1.1.1;
locks; strict;
comment	@# @;


1.18
date	2014.11.07.02.57.19;	author uebayasi;	state Exp;
branches;
next	1.17;
commitid	87ieVTMx9by8rcXx;

1.17
date	2010.12.13.19.19.10;	author pooka;	state Exp;
branches
	1.17.26.1;
next	1.16;

1.16
date	2005.01.18.12.30.21;	author lukem;	state Exp;
branches
	1.16.26.1;
next	1.15;

1.15
date	2002.10.17.02.05.40;	author lukem;	state Exp;
branches;
next	1.14;

1.14
date	2002.06.18.02.02.22;	author itojun;	state Exp;
branches;
next	1.13;

1.13
date	2001.12.12.00.05.14;	author tv;	state Exp;
branches
	1.13.2.1;
next	1.12;

1.12
date	2001.10.05.01.17.32;	author jmc;	state Exp;
branches;
next	1.11;

1.11
date	2001.08.20.12.19.46;	author martin;	state Exp;
branches;
next	1.10;

1.10
date	2000.09.05.16.06.50;	author minoura;	state Exp;
branches;
next	1.9;

1.9
date	2000.05.18.01.10.30;	author matt;	state Exp;
branches
	1.9.4.1;
next	1.8;

1.8
date	2000.05.18.00.43.08;	author matt;	state Exp;
branches;
next	1.7;

1.7
date	2000.05.04.03.30.57;	author itojun;	state Exp;
branches;
next	1.6;

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

1.5
date	99.05.19.04.17.50;	author gwr;	state Exp;
branches;
next	1.4;

1.4
date	99.02.13.02.54.19;	author lukem;	state Exp;
branches;
next	1.3;

1.3
date	97.10.22.02.20.09;	author lukem;	state Exp;
branches;
next	1.2;

1.2
date	96.11.15.19.18.39;	author gwr;	state Exp;
branches
	1.2.2.1;
next	1.1;

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

1.17.26.1
date	2015.01.08.11.01.01;	author martin;	state Exp;
branches;
next	;
commitid	NHLR9hd8LFfv7d5y;

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

1.13.2.1
date	2002.11.03.13.19.41;	author he;	state Exp;
branches;
next	;

1.9.4.1
date	2000.09.07.01.36.58;	author minoura;	state Exp;
branches;
next	1.9.4.2;

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

1.2.2.1
date	97.11.08.05.17.53;	author lukem;	state Exp;
branches;
next	;

1.1.1.1
date	96.09.13.18.21.25;	author gwr;	state Exp;
branches
	1.1.1.1.2.1;
next	;

1.1.1.1.2.1
date	96.09.13.18.21.25;	author gwr;	state dead;
branches;
next	1.1.1.1.2.2;

1.1.1.1.2.2
date	96.09.13.18.21.26;	author gwr;	state Exp;
branches;
next	;


desc
@@


1.18
log
@Fix build of crunched "route".
@
text
@#	$NetBSD$
#	@@(#)Makefile	8.1 (Berkeley) 6/5/93

SRCDIR=		${.CURDIR}/../../../sbin/route

PROG=		route
NOMAN=		# defined

.include <bsd.own.mk>

SRCS=		keywords.c route.c rtutil.c show.c

CPPFLAGS+=	-DSMALL -I${SRCDIR} -DCRUNCHOPS
.if defined(SMALLPROG_INET6) && (${USE_INET6} != "no")
CPPFLAGS+=	-DINET6
.endif

.include <bsd.prog.mk>

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


1.17
log
@be a happy crunch build
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.16 2005/01/18 12:30:21 lukem Exp $
d11 1
a11 1
SRCS=		route.c show.c keywords.c
@


1.17.26.1
log
@Pull up following revision(s) (requested by prlw1 in ticket #390):
	usr.bin/netstat/mroute.c: revision 1.25
	usr.bin/netstat/Makefile: revision 1.40
	sbin/route/prog_ops.h: revision 1.3
	sbin/route/rtutil.c: revision 1.1
	sbin/route/rtutil.h: revision 1.1
	usr.bin/netstat/mroute6.c: revision 1.15
	sbin/route/extern.h: revision 1.15
	usr.bin/netstat/show.c: file removal
	usr.bin/netstat/main.c: revision 1.93
	usr.bin/netstat/route.c: revision 1.83
	usr.bin/netstat/netstat.h: revision 1.51
	distrib/utils/x_route/Makefile: revision 1.18
	sbin/route/show.c: revision 1.46
	usr.bin/netstat/if.c: revision 1.80
	sbin/route/route.c: revision 1.145
	sbin/route/Makefile: revision 1.26
Factor out the netstat route printing code and use it here. There is no
point in having 2 different copies; fixes PR/49371
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.17 2010/12/13 19:19:10 pooka Exp $
d11 1
a11 1
SRCS=		keywords.c route.c rtutil.c show.c
@


1.16
log
@Only support SMALLPROG_INET6 if ${USE_INET6} != "no".
Part of PR 28994.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.15 2002/10/17 02:05:40 lukem Exp $
d13 1
a13 1
CPPFLAGS+=	-DSMALL -I${SRCDIR}
@


1.16.26.1
log
@Sync with HEAD.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.16 2005/01/18 12:30:21 lukem Exp $
@


1.15
log
@Rework how SMALLPROG was being used and how INET6 support was enabled.
There's two variables added to Makefile.crunch:

    SMALLPROG		If 1, add SMALLPROG=1 to CRUNCHENV.  [default: 1]
			This can be used by various Makefiles to
			determine if a `small' version of the program
			is required.

    SMALLPROG_INET6	If 1 and SMALLPROG == 1, add SMALLPROG_INET6=1
			to CRUNCHENV.  [default: 0]
			This can be used by various Makefiles to
			determine if the `small' version has INET6
			support enabled.

Only enable SMALLPROG_INET6 for programs on the ramdisks that have INET6 in
the appropriate kernel, and cleanup INET6 setting.
(Note: this means that sysinst won't get INET6 support if the kernel
it's running on doesn't have it).

This change saves a fair bit of space on various install images
(including i386 ramdisk-{ps2,small,tiny}) that didn't have INET6 in
the kernel but were unconditionally getting INET6 support in their tools.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.14 2002/06/18 02:02:22 itojun Exp $
d9 2
d14 1
a14 1
.if defined(SMALLPROG_INET6)
@


1.14
log
@make macppc install floppy IPv6 ready
(we have two floppies anyways, and there's plenty of space in 2nd floppy)
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.13 2001/12/12 00:05:14 tv Exp $
d12 1
a12 1
.if (${MACHINE} == "i386" || ${MACHINE} == "hpcmips" || ${MACHINE} == "x68k" || ${MACHINE} == "macppc")
@


1.13
log
@Major readability cleanup; nuke redundancies; MKfoo=no -> NOfoo=.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.12 2001/10/05 01:17:32 jmc Exp $
d12 1
a12 1
.if (${MACHINE} == "i386") || (${MACHINE} == "hpcmips") || (${MACHINE} == "x68k")
@


1.13.2.1
log
@Pull up revision 1.14 (requested by itojun in ticket #347):
  Make macppc install floppy IPv6-ready.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.13 2001/12/12 00:05:14 tv Exp $
d12 1
a12 1
.if (${MACHINE} == "i386" || ${MACHINE} == "hpcmips" || ${MACHINE} == "x68k" || ${MACHINE} == "macppc")
@


1.12
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.11 2001/08/20 12:19:46 martin Exp $
d4 1
a4 3
PROG=	route
MKMAN=	no
SRCS=	route.c show.c keywords.c
d6 6
a11 2
SRCDIR= ${.CURDIR}/../../../sbin/route
CPPFLAGS+= -DSMALL -I${SRCDIR}
d13 1
a13 4
CPPFLAGS+= -DINET6
.endif
.if ${MACHINE_ARCH} != "sparc64"
DBG= -Os
a14 6
LDSTATIC?=-static

BINOWN=	root
BINMODE=4555

all: ${PROG}
d18 3
a20 1
.PATH:  ${SRCDIR}
@


1.11
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.10 2000/09/05 16:06:50 minoura Exp $
d14 1
a14 1
COPTS+= -Os
@


1.10
log
@Enable INET6 on x68k.
Use ${MACHINE} instead of ${MACHINE_ARCH}, since the installer is
built per-${MACHINE} based.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.9 2000/05/18 01:10:30 matt Exp $
d13 1
d15 1
@


1.9
log
@Part II.  Link everything -static since that's what want for crunchgen
later on.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.8 2000/05/18 00:43:08 matt Exp $
d10 1
a10 1
.if (${MACHINE_ARCH} == "i386") || (${MACHINE_ARCH} == "hpcmips")
@


1.9.4.1
log
@Pullup rev.1.10; reviewed by shin, approved by thorpej.
Enable INET6 on x68k.
Use ${MACHINE} instead of ${MACHINE_ARCH}, since the installer is
built per-${MACHINE} based.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.9 2000/05/18 01:10:30 matt Exp $
d10 1
a10 1
.if (${MACHINE} == "i386") || (${MACHINE} == "hpcmips") || (${MACHINE} == "x68k")
@


1.9.4.2
log
@Apply patch (requested by martin):
  Drop ``-Os'' on sparc64 due to toolchain issues.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.9.4.1 2000/09/07 01:36:58 minoura Exp $
a12 1
.if ${MACHINE_ARCH} != "sparc64"
a13 1
.endif
@


1.8
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.7 2000/05/04 03:30:57 itojun Exp $
d14 1
@


1.7
log
@supply IPv6-ready route(8) for i386 and hpcmips
(those who has IPv6-ready sysinst already)
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.6 1999/06/21 01:19:37 cgd Exp $
d13 1
@


1.6
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.5 1999/05/19 04:17:50 gwr Exp $
d10 3
@


1.5
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.4 1999/02/13 02:54:19 lukem Exp $
d8 1
a8 1
SRCDIR= ${BSDSRCDIR}/sbin/route
@


1.4
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.3 1997/10/22 02:20:09 lukem Exp $
d8 1
a8 1
SRCDIR= ${.CURDIR}/../../../sbin/route
@


1.3
log
@use CPPFLAGS instead of CFLAGS
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.2 1996/11/15 19:18:39 gwr Exp $
d5 1
a5 1
NOMAN=
@


1.2
log
@The sources over in ../../../sbin/route/ now do what this wants,
so use those instead of the versions that were copied here.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.1.1.1 1996/09/13 18:21:25 gwr Exp $
d9 1
a9 1
CFLAGS+= -DSMALL -I${SRCDIR}
@


1.2.2.1
log
@pull up rev 1.3 (approved by thorpej)
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.3 1997/10/22 02:20:09 lukem Exp $
d9 1
a9 1
CPPFLAGS+= -DSMALL -I${SRCDIR}
@


1.1
log
@Initial revision
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.12 1995/04/19 09:08:28 cgd Exp $
d6 1
a6 1
SRCS=	route.c show.c
d8 2
a9 3
# Uncomment one of these:
# SRCS+= ccitt_addr.c
CFLAGS+=-DSMALL
d14 2
d17 2
@


1.1.1.1
log
@These files should be merged into src/sbin/route after the 1.2 release.
For now they can live here, so the sun3 ramdisk can use them.
@
text
@@


1.1.1.1.2.1
log
@file Makefile was added on branch netbsd-1-2 on 1996-09-13 18:21:26 +0000
@
text
@d1 15
@


1.1.1.1.2.2
log
@These files should be merged into src/sbin/route after the 1.2 release.
For now they can live here, so the sun3 ramdisk can use them.
@
text
@a0 15
#	$NetBSD: Makefile,v 1.1.1.1 1996/09/13 18:21:25 gwr Exp $
#	@@(#)Makefile	8.1 (Berkeley) 6/5/93

PROG=	route
NOMAN=
SRCS=	route.c show.c

# Uncomment one of these:
# SRCS+= ccitt_addr.c
CFLAGS+=-DSMALL

BINOWN=	root
BINMODE=4555

.include <bsd.prog.mk>
@
