16b1dcfcdSAdrian Chadd#
26b1dcfcdSAdrian Chadd# Build hostap/wpa_supplicant and supporting utilities.
36b1dcfcdSAdrian Chadd#
46b1dcfcdSAdrian Chadd#
5*fd239e7fSKyle Evans.include <src.opts.mk>
66b1dcfcdSAdrian ChaddCRUNCH_PROGS_usr.sbin+=	hostapd hostapd_cli
76b1dcfcdSAdrian ChaddCRUNCH_SRCDIR_hostapd=	$(.CURDIR)/../../usr.sbin/wpa/hostapd
86b1dcfcdSAdrian ChaddCRUNCH_SRCDIR_hostapd_cli=	$(.CURDIR)/../../usr.sbin/wpa/hostapd_cli
96b1dcfcdSAdrian Chadd
100f55c465SAdrian Chadd#CRUNCH_PROGS_usr.sbin+=	wpa_supplicant wpa_cli
110f55c465SAdrian Chadd#CRUNCH_SRCDIR_wpa_supplicant=	$(.CURDIR)/../../usr.sbin/wpa/wpa_supplicant
120f55c465SAdrian Chadd#CRUNCH_SRCDIR_wpa_cli=	$(.CURDIR)/../../usr.sbin/wpa/wpa_cli
136b1dcfcdSAdrian Chadd
14*fd239e7fSKyle Evans.if ${MK_OFED} != "no"
15*fd239e7fSKyle Evans# libpcap dependencies if OFED is enabled
16*fd239e7fSKyle EvansCRUNCH_LIBS+=	-lmlx5 -libverbs
17*fd239e7fSKyle Evans.endif
186b1dcfcdSAdrian ChaddCRUNCH_LIBS+=	-lpcap
196b1dcfcdSAdrian Chadd
20