1# $FreeBSD: src/usr.sbin/wpa/wpa_cli/Makefile,v 1.3 2007/07/11 16:04:07 sam Exp $ 2 3.include "${.CURDIR}/../Makefile.inc" 4 5.PATH.c: ${.CURDIR}/.. \ 6 ${WPA_DISTDIR}/wpa_supplicant 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 14CFLAGS+= -DCONFIG_READLINE 15 16LDADD+= -lprivate_edit -lprivate_ncurses 17DPADD+= ${LIBEDIT} ${LIBNCURSES} 18LDFLAGS+= ${PRIVATELIB_LDFLAGS} 19 20.include <bsd.prog.mk> 21