1# $FreeBSD$ 2 3.include "${.CURDIR}/../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_READLINE -I${DESTDIR}/${INCLUDEDIR}/edit 18LDADD+= -ledit -ltermcap 19DPADD+= ${LIBEDIT} ${LIBTERMCAP} 20 21.include <bsd.prog.mk> 22