1 # @(#)Makefile 5.6 (Berkeley) 6/27/91 2 # 3 # $Header: /tank/opengrok/rsync2/NetBSD/src/sbin/route/Makefile,v 1.4 1993/04/25 07:26:58 mycroft Exp $ 4 5 PROG= route 6 MAN8= route.0 7 SRCS= route.c 8 SRCS= route.c ccitt_addr.c 9 CFLAGS+=-I. 10 #CLEANFILES+=keywords.h 11 BINOWN= root 12 BINMODE=4555 13 14 all route depend lint tags: keywords.h 15 16 # keywords.h: keywords 17 # sed -e '/^#/d' -e '/^$$/d' ${.CURDIR}/keywords > _keywords.tmp 18 # tr a-z A-Z < _keywords.tmp | paste _keywords.tmp - | \ 19 # awk '{ \ 20 # if (NF > 1) \ 21 # printf "#define\tK_%s\t%d\n\t{\"%s\", K_%s},\n", \ 22 # $$2, NR, $$1, $$2 }' \ 23 # > ${.TARGET} 24 # rm -f _keywords.tmp 25 26 .include <bsd.prog.mk> 27