summaryrefslogtreecommitdiff
path: root/sbin/route/Makefile
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>1995-10-18 08:53:40 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>1995-10-18 08:53:40 +0000
commitd6583bb2a13f329cf0332ef2570eb8bb8fc0e39c (patch)
treeece253b876159b39c620e62b6c9b1174642e070e /sbin/route/Makefile
initial import of NetBSD tree
Diffstat (limited to 'sbin/route/Makefile')
-rw-r--r--sbin/route/Makefile24
1 files changed, 24 insertions, 0 deletions
diff --git a/sbin/route/Makefile b/sbin/route/Makefile
new file mode 100644
index 00000000000..5bfe2722154
--- /dev/null
+++ b/sbin/route/Makefile
@@ -0,0 +1,24 @@
+# $NetBSD: Makefile,v 1.12 1995/04/19 09:08:28 cgd Exp $
+# @(#)Makefile 8.1 (Berkeley) 6/5/93
+
+PROG= route
+MAN= route.8
+SRCS= route.c ccitt_addr.c
+CFLAGS+=-I.
+CLEANFILES+=keywords.h
+BINOWN= root
+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
+
+route.o .depend lint tags: keywords.h
+
+.include <bsd.prog.mk>