diff options
Diffstat (limited to 'sbin/route/Makefile')
| -rw-r--r-- | sbin/route/Makefile | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/sbin/route/Makefile b/sbin/route/Makefile index e65030f805bb..aec222310d46 100644 --- a/sbin/route/Makefile +++ b/sbin/route/Makefile @@ -19,6 +19,12 @@ CFLAGS+= -DINET6 .endif CFLAGS+= -I. +.if ${MK_NETLINK_SUPPORT} != "no" +SRCS+= route_netlink.c +.else +CFLAGS+=-DWITHOUT_NETLINK +.endif + HAS_TESTS= SUBDIR.${MK_TESTS}+= tests |
