1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-25 11:37:56 +00:00
freebsd/sbin/route/Makefile
Garrett Wollman 0761cb293e Remove support for OSI networking in user-land (#ifdef OSI aor CCITT)
in preparation for its removal from the kernel source tree.  NB: because
a function was deleted, libc is now at version 3.0 (was 2.2 previously).
1996-02-06 20:36:15 +00:00

26 lines
547 B
Makefile

# @(#)Makefile 8.1 (Berkeley) 6/5/93
PROG= route
MAN8= route.8
SRCS= route.c keywords.h # ccitt_addr.h
CFLAGS+=-I.
CLEANFILES+=keywords.h
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
./keywords.h: keywords.h
.include <bsd.prog.mk>
route .depend lint tags: keywords.h