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