1# $FreeBSD$ 2 3.include "../Makefile.inc" 4 5.PATH.c:${WPA_SUPPLICANT_DISTDIR} 6 7PROG= wpa_cli 8SRCS= cli.c common.c edit.c eloop.c os_unix.c wpa_cli.c \ 9 wpa_ctrl.c wpa_debug.c 10 11MAN= wpa_cli.8 12 13CFLAGS+= -DCONFIG_CTRL_IFACE 14CFLAGS+= -DCONFIG_CTRL_IFACE_UNIX 15# enable use of d_type to identify unix domain sockets 16CFLAGS+= -D_DIRENT_HAVE_D_TYPE 17 18CFLAGS+= -DCONFIG_WPA_CLI_EDIT=y 19LIBADD+= util 20 21.include <bsd.prog.mk> 22