|
|
1.1 ! root 1: # @(#)Makefile 5.1 (Berkeley) 5/3/91 ! 2: ! 3: PROG= route ! 4: SRCS= route.c ! 5: CFLAGS+=-DLETS_GET_SMALL -I. ! 6: NOMAN= noman ! 7: LDFLAGS=-N ! 8: CLEANFILES+=keywords.h ! 9: BINOWN= root ! 10: BINMODE=4555 ! 11: .PATH: ${.CURDIR}/../../../../sbin/route ! 12: ! 13: all route depend lint tags: keywords.h ! 14: ! 15: keywords.h: keywords ! 16: sed -e '/^#/d' -e '/^$$/d' \ ! 17: ${.CURDIR}/../../../../sbin/route/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>
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.