freebsd-dev/usr.sbin/arp/Makefile
Alexander V. Chernikov 6ad73dbf65 arp: convert arp(8) to netlink.
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
2023-04-25 11:26:22 +00:00

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>