1 # @(#)Makefile 8.1 (Berkeley) 6/5/93
9 SRCS= route.c keywords.h
11 CLEANFILES+=keywords.h
14 .if ${MK_INET_SUPPORT} != "no"
17 .if ${MK_INET6_SUPPORT} != "no"
22 .if ${MK_NETLINK_SUPPORT} != "no"
23 SRCS+= route_netlink.c
25 CFLAGS+=-DWITHOUT_NETLINK
29 SUBDIR.${MK_TESTS}+= tests
32 LC_ALL=C awk '!/^#|^$$/ { \
33 printf "#define\tK_%s\t%d\n\t{\"%s\", K_%s},\n", \
34 toupper($$1), ++L, $$1, toupper($$1); \
35 }' < ${.CURDIR}/keywords > ${.TARGET} || (rm -f ${.TARGET}; false)
37 .include <bsd.prog.mk>