summaryrefslogtreecommitdiff
path: root/sbin/route/Makefile
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>1996-12-14 17:23:56 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>1996-12-14 17:23:56 +0000
commit69038f7be9da62f6e6edda214c0659bf64543b27 (patch)
tree0dacccaa4cfa5bc67b38b0c352f53462e99e6926 /sbin/route/Makefile
parent6e357f3781a3a8148a086de0369435a850c7f81b (diff)
merge netbsd changes for show command
yet more buf oflows (provided by netbsd!) an attempt at 64 bit cleanliness -Wall
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>