xref: /freebsd/usr.sbin/wpa/wpa_cli/Makefile (revision e9ac41698b2f322d55ccf9da50a3596edb2c1800)
1.include <src.opts.mk>
2
3.include "../Makefile.inc"
4
5.include "../Makefile.crypto"
6
7.PATH.c:${WPA_SUPPLICANT_DISTDIR}
8
9PACKAGE=	wpa
10PROG=	wpa_cli
11SRCS=	wpa_cli.c
12
13MAN=	wpa_cli.8
14
15CFLAGS+= -DCONFIG_TLS=openssl
16# enable use of d_type to identify unix domain sockets
17CFLAGS+= -D_DIRENT_HAVE_D_TYPE
18
19CFLAGS+= -DCONFIG_WPA_CLI_EDIT=y
20LIBADD+=wpacommon \
21	wpaeap_peer \
22	wpaeap_server \
23	wpaeapol_auth \
24	wpaeapol_supp \
25	wpaeap_common \
26	wpal2_packet \
27	wparadius \
28	wparsn_supp \
29	wpatls \
30	wpacrypto \
31	wpautils
32LIBADD+=	pcap util
33
34.include <bsd.prog.mk>
35