summaryrefslogtreecommitdiff
path: root/sbin/route/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'sbin/route/Makefile')
-rw-r--r--sbin/route/Makefile16
1 files changed, 2 insertions, 14 deletions
diff --git a/sbin/route/Makefile b/sbin/route/Makefile
index 52850f568b4..c36b4154276 100644
--- a/sbin/route/Makefile
+++ b/sbin/route/Makefile
@@ -1,24 +1,12 @@
-# $OpenBSD: Makefile,v 1.2 1996/06/23 14:32:20 deraadt Exp $
+# $OpenBSD: Makefile,v 1.3 1996/12/14 17:23:51 deraadt Exp $
# $NetBSD: Makefile,v 1.12 1995/04/19 09:08:28 cgd Exp $
PROG= route
MAN= route.8
-SRCS= route.c ccitt_addr.c
-CFLAGS+=-I.
-CLEANFILES+=keywords.h
+SRCS= route.c show.c keywords.c ccitt_addr.c
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>