The change is intended to be fully transparent to the users. Similarly to route(8) and netstat(8), arp can be build without netlink by defining WITHOUT_NETLINK in make.conf. Differential Revision: https://reviews.freebsd.org/D39720
23 lines
258 B
Makefile
23 lines
258 B
Makefile
# @(#)Makefile 8.2 (Berkeley) 4/18/94
|
|
# $FreeBSD$
|
|
|
|
.include <src.opts.mk>
|
|
|
|
PROG= arp
|
|
MAN= arp.4 arp.8
|
|
|
|
|
|
SRCS= arp.c
|
|
|
|
.if ${MK_NETLINK_SUPPORT} != "no"
|
|
SRCS+= arp_netlink.c
|
|
.else
|
|
CFLAGS+=-DWITHOUT_NETLINK
|
|
.endif
|
|
|
|
LIBADD= xo
|
|
|
|
WARNS?= 3
|
|
|
|
.include <bsd.prog.mk>
|