1 # $FreeBSD: src/usr.sbin/wpa/wpa_cli/Makefile,v 1.3 2007/07/11 16:04:07 sam Exp $
3 .
include "${.CURDIR}/../Makefile.inc"
5 .PATH.c
: ${.CURDIR
}/.. \
6 ${WPA_DISTDIR}/wpa_supplicant
8 SRCS
= common.c edit.c eloop.c os_unix.c wpa_cli.c wpa_ctrl.c wpa_debug.c
12 CFLAGS
+= -DCONFIG_CTRL_IFACE
13 CFLAGS
+= -DCONFIG_CTRL_IFACE_UNIX
14 CFLAGS
+= -DCONFIG_READLINE
16 LDADD
+= -lprivate_edit
-lprivate_ncurses
17 DPADD
+= ${LIBEDIT} ${LIBNCURSES}
18 LDFLAGS
+= -rpath
/lib
/priv
-L
${_SHLIBDIRPREFIX}/usr
/lib
/priv
20 .
include <bsd.prog.mk
>