1# 2# Build hostap/wpa_supplicant and supporting utilities. 3# 4# $FreeBSD$ 5# 6.include <src.opts.mk> 7CRUNCH_PROGS_usr.sbin+= hostapd hostapd_cli 8CRUNCH_SRCDIR_hostapd= $(.CURDIR)/../../usr.sbin/wpa/hostapd 9CRUNCH_SRCDIR_hostapd_cli= $(.CURDIR)/../../usr.sbin/wpa/hostapd_cli 10 11#CRUNCH_PROGS_usr.sbin+= wpa_supplicant wpa_cli 12#CRUNCH_SRCDIR_wpa_supplicant= $(.CURDIR)/../../usr.sbin/wpa/wpa_supplicant 13#CRUNCH_SRCDIR_wpa_cli= $(.CURDIR)/../../usr.sbin/wpa/wpa_cli 14 15.if ${MK_OFED} != "no" 16# libpcap dependencies if OFED is enabled 17CRUNCH_LIBS+= -lmlx5 -libverbs 18.endif 19CRUNCH_LIBS+= -lpcap 20 21