2012-01-06 00:56:31 +00:00
|
|
|
#
|
|
|
|
# Build hostap/wpa_supplicant and supporting utilities.
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
2018-08-27 19:34:50 +00:00
|
|
|
.include <src.opts.mk>
|
2012-01-06 00:56:31 +00:00
|
|
|
CRUNCH_PROGS_usr.sbin+= hostapd hostapd_cli
|
|
|
|
CRUNCH_SRCDIR_hostapd= $(.CURDIR)/../../usr.sbin/wpa/hostapd
|
|
|
|
CRUNCH_SRCDIR_hostapd_cli= $(.CURDIR)/../../usr.sbin/wpa/hostapd_cli
|
|
|
|
|
2012-08-29 22:53:54 +00:00
|
|
|
#CRUNCH_PROGS_usr.sbin+= wpa_supplicant wpa_cli
|
|
|
|
#CRUNCH_SRCDIR_wpa_supplicant= $(.CURDIR)/../../usr.sbin/wpa/wpa_supplicant
|
|
|
|
#CRUNCH_SRCDIR_wpa_cli= $(.CURDIR)/../../usr.sbin/wpa/wpa_cli
|
2012-01-06 00:56:31 +00:00
|
|
|
|
2018-08-27 19:34:50 +00:00
|
|
|
.if ${MK_OFED} != "no"
|
|
|
|
# libpcap dependencies if OFED is enabled
|
|
|
|
CRUNCH_LIBS+= -lmlx5 -libverbs
|
|
|
|
.endif
|
2012-01-06 00:56:31 +00:00
|
|
|
CRUNCH_LIBS+= -lpcap
|
|
|
|
|