Cy Schubert 8c6732ac77 usr.sbin/wpa: complete the revert of wpa import
This completes the revert of b51f459a2098622c31ed54f5c1bf0e03efce403b.
2021-04-17 10:48:35 -07:00

43 lines
983 B
Makefile

# $FreeBSD$
.include <src.opts.mk>
.include "../Makefile.inc"
.PATH.c:${WPA_SUPPLICANT_DISTDIR} \
${WPA_DISTDIR}/wpa_supplicant \
${WPA_DISTDIR}/src/eap_peer \
${WPA_DISTDIR}/src/drivers
PACKAGE= wpa
PROG= wpa_cli
SRCS= base64.c bitfield.c blacklist.c bss.c cli.c common.c config.c \
config_file.c \
ctrl_iface.c ctrl_iface_common.c ctrl_iface_unix.c \
drivers.c driver_common.c \
eap_register.c \
edit.c eloop.c events.c hw_features_common.c \
ieee802_11_common.c l2_packet_freebsd.c notify.c \
op_classes.c \
os_unix.c rrm.c scan.c wmm_ac.c \
wpa.c wpa_cli.c \
wpa_ctrl.c wpa_common.c \
wpa_debug.c wpa_ie.c wpa_supplicant.c wpabuf.c wpas_glue.c
MAN= wpa_cli.8
CFLAGS+= -DCONFIG_CTRL_IFACE
CFLAGS+= -DCONFIG_CTRL_IFACE_UNIX
CFLAGS+= -DCONFIG_TLS=openssl
# enable use of d_type to identify unix domain sockets
CFLAGS+= -D_DIRENT_HAVE_D_TYPE
CFLAGS+= -DCONFIG_WPA_CLI_EDIT=y
LIBADD+= pcap util
TLS_FUNCS=y
.include "../Makefile.crypto"
.include <bsd.prog.mk>