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