{readline,history}.h are in /usr/include/edit so as to not conflict with the GNU libreadline versions. To use the libedit readline(3) one should add "-I/usr/include/edit" to their Makefile (spelled "-I${DESTDIR}/${INCLUDEDIR}/edit" within the FreeBSD source tree). * Enable its use in the BSD licensed utilities that support readline(3). * To make it easier to sync libedit development with NetBSD, histedit.h is moved into libedit's directory as history shows shown we keep merging it into that location. Obtained from: NetBSD Sponsored by: Juniper Networks
22 lines
446 B
Makefile
22 lines
446 B
Makefile
# $FreeBSD$
|
|
|
|
.include "${.CURDIR}/../Makefile.inc"
|
|
|
|
.PATH.c:${WPA_SUPPLICANT_DISTDIR}
|
|
|
|
PROG= wpa_cli
|
|
SRCS= wpa_cli.c wpa_ctrl.c os_unix.c
|
|
|
|
MAN= wpa_cli.8
|
|
|
|
CFLAGS+= -DCONFIG_CTRL_IFACE
|
|
CFLAGS+= -DCONFIG_CTRL_IFACE_UNIX
|
|
# enable use of d_type to identify unix domain sockets
|
|
CFLAGS+= -D_DIRENT_HAVE_D_TYPE
|
|
|
|
CFLAGS+= -DCONFIG_READLINE -I${DESTDIR}/${INCLUDEDIR}/edit
|
|
LDADD+= -ledit -ltermcap
|
|
DPADD+= ${LIBEDIT} ${LIBTERMCAP}
|
|
|
|
.include <bsd.prog.mk>
|