]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - sbin/route/Makefile
Update Subversion to 1.14.0 LTS. See contrib/subversion/CHANGES for a
[FreeBSD/FreeBSD.git] / sbin / route / Makefile
1 #       @(#)Makefile    8.1 (Berkeley) 6/5/93
2 # $FreeBSD$
3
4 .include <src.opts.mk>
5
6 PACKAGE=runtime
7 PROG=   route
8 MAN=    route.8
9 SRCS=   route.c keywords.h
10 WARNS?= 3
11 CLEANFILES+=keywords.h
12
13 CFLAGS+= -DNS
14 .if ${MK_INET_SUPPORT} != "no"
15 CFLAGS+= -DINET
16 .endif
17 .if ${MK_INET6_SUPPORT} != "no"
18 CFLAGS+= -DINET6
19 .endif
20 CFLAGS+= -I.
21
22 keywords.h: keywords
23         LC_ALL=C awk '!/^#|^$$/ { \
24                 printf "#define\tK_%s\t%d\n\t{\"%s\", K_%s},\n", \
25                     toupper($$1), ++L, $$1, toupper($$1); \
26         }' < ${.CURDIR}/keywords > ${.TARGET} || (rm -f ${.TARGET}; false)
27
28 .include <bsd.prog.mk>