Skip to content

Commit

Permalink
FreeBSD 4.0-RELEASE
Browse files Browse the repository at this point in the history
  • Loading branch information
itojun committed May 8, 2000
1 parent a5b12d5 commit 016f70f
Show file tree
Hide file tree
Showing 21 changed files with 9,588 additions and 0 deletions.
26 changes: 26 additions & 0 deletions freebsd4/sbin/route/Makefile
@@ -0,0 +1,26 @@
# @(#)Makefile 8.1 (Berkeley) 6/5/93
# $FreeBSD: src/sbin/route/Makefile,v 1.11 1999/12/15 05:13:21 shin Exp $

PROG= route
MAN8= route.8
SRCS= route.c keywords.h
CFLAGS+=-I. -Wall -DNS
CFLAGS+=-DINET6
CLEANFILES+=keywords.h
BINMODE=4555

keywords.h: keywords
sed -e '/^#/d' -e '/^$$/d' ${.CURDIR}/keywords > _keywords.tmp
tr a-z A-Z < _keywords.tmp | paste _keywords.tmp - | \
awk '{ \
if (NF > 1) \
printf "#define\tK_%s\t%d\n\t{\"%s\", K_%s},\n", \
$$2, NR, $$1, $$2 }' \
> ${.TARGET}
rm -f _keywords.tmp

./keywords.h: keywords.h

.include <bsd.prog.mk>

route .depend lint tags: keywords.h
49 changes: 49 additions & 0 deletions freebsd4/sbin/route/keywords
@@ -0,0 +1,49 @@
# @(#)keywords 8.2 (Berkeley) 3/19/94
# $FreeBSD: src/sbin/route/keywords,v 1.4 1999/12/07 17:38:53 shin Exp $

add
atalk
blackhole
change
cloning
delete
dst
expire
flush
gateway
genmask
get
host
hopcount
iface
interface
ifa
ifp
inet
inet6
iso
link
llinfo
lock
lockrest
mask
monitor
mtu
net
netmask
nostatic
osi
prefixlen
proto1
proto2
recvpipe
reject
rtt
rttvar
sa
sendpipe
ssthresh
static
x25
xns
xresolve

0 comments on commit 016f70f

Please sign in to comment.