summaryrefslogtreecommitdiffstats
path: root/usr.sbin/wpa/wpa_cli/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'usr.sbin/wpa/wpa_cli/Makefile')
-rw-r--r--usr.sbin/wpa/wpa_cli/Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/usr.sbin/wpa/wpa_cli/Makefile b/usr.sbin/wpa/wpa_cli/Makefile
index 91b9511..af0d14c 100644
--- a/usr.sbin/wpa/wpa_cli/Makefile
+++ b/usr.sbin/wpa/wpa_cli/Makefile
@@ -4,8 +4,11 @@ WPA_SUPPLICANT_DISTDIR?= ${.CURDIR}/../../../contrib/wpa_supplicant
.PATH: ${WPA_SUPPLICANT_DISTDIR}
PROG= wpa_cli
-SRCS= wpa_cli.c wpa_ctrl.c
+SRCS= wpa_cli.c wpa_ctrl.c os_unix.c
MAN= wpa_cli.8
+CFLAGS+= -DCONFIG_CTRL_IFACE
+CFLAGS+= -DCONFIG_CTRL_IFACE_UNIX
+
.include <bsd.prog.mk>
OpenPOWER on IntegriCloud