1# $FreeBSD$ 2 3.include <src.opts.mk> 4 5.include "../Makefile.inc" 6 7.PATH.c:${WPA_SUPPLICANT_DISTDIR} \ 8 ${WPA_DISTDIR}/wpa_supplicant \ 9 ${WPA_DISTDIR}/src/eap_peer \ 10 ${WPA_DISTDIR}/src/drivers 11 12PROG= wpa_cli 13SRCS= base64.c bitfield.c blacklist.c bss.c cli.c common.c config.c \ 14 config_file.c \ 15 ctrl_iface.c ctrl_iface_common.c ctrl_iface_unix.c \ 16 drivers.c driver_common.c \ 17 eap_register.c \ 18 edit.c eloop.c events.c hw_features_common.c \ 19 ieee802_11_common.c l2_packet_freebsd.c notify.c \ 20 op_classes.c \ 21 os_unix.c rrm.c scan.c wmm_ac.c \ 22 wpa.c wpa_cli.c \ 23 wpa_ctrl.c wpa_common.c \ 24 wpa_debug.c wpa_ie.c wpa_supplicant.c wpabuf.c wpas_glue.c 25 26MAN= wpa_cli.8 27 28CFLAGS+= -DCONFIG_CTRL_IFACE 29CFLAGS+= -DCONFIG_CTRL_IFACE_UNIX 30CFLAGS+= -DCONFIG_TLS=openssl 31# enable use of d_type to identify unix domain sockets 32CFLAGS+= -D_DIRENT_HAVE_D_TYPE 33 34CFLAGS+= -DCONFIG_WPA_CLI_EDIT=y 35LIBADD+= pcap util 36 37TLS_FUNCS=y 38 39.include "../Makefile.crypto" 40 41.include <bsd.prog.mk> 42