|
|
BSD 4.3reno
# @(#)Makefile 5.4 (Berkeley) 6/7/90
PROG= route
MAN8= route.0
CFLAGS+=-I.
CLEANFILES+=keywords.h
all route depend lint tags: keywords.h
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
.include <bsd.prog.mk>
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.