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