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