|
|
1.1 ! root 1: # @(#)Makefile 5.4 (Berkeley) 6/7/90 ! 2: ! 3: PROG= route ! 4: MAN8= route.0 ! 5: CFLAGS+=-I. ! 6: CLEANFILES+=keywords.h ! 7: ! 8: all route depend lint tags: keywords.h ! 9: ! 10: keywords.h: keywords ! 11: sed -e '/^#/d' -e '/^$$/d' ${.CURDIR}/keywords > _keywords.tmp ! 12: tr a-z A-Z < _keywords.tmp | paste _keywords.tmp - | \ ! 13: awk '{ \ ! 14: if (NF > 1) \ ! 15: printf "#define\tK_%s\t%d\n\t{\"%s\", K_%s},\n", \ ! 16: $$2, NR, $$1, $$2 }' \ ! 17: > ${.TARGET} ! 18: rm -f _keywords.tmp ! 19: ! 20: .include <bsd.prog.mk>
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.