opnsense-src/gnu/lib/libreadline/readline/Makefile
Brooks Davis 80189b3b09 Replace all uses of libncurses and libtermcap with their wide character
variants.  This allows usable file system images (i.e. those with both a
shell and an editor) to be created with only one copy of the curses library.

Exp-run:	antoine
PR:		189842
Discussed with:	bapt
Sponsored by:	DARPA, AFRL
2014-07-17 18:24:34 +00:00

29 lines
741 B
Makefile

# $FreeBSD$
LIB= readline
INTERNALLIB= yes
NO_MAN= yes
TILDESRC= tilde.c
SRCS= readline.c vi_mode.c funmap.c keymaps.c parens.c search.c \
rltty.c complete.c bind.c isearch.c display.c signals.c \
util.c kill.c undo.c macro.c input.c callback.c terminal.c \
text.c nls.c misc.c compat.c xmalloc.c $(HISTSRC) $(TILDESRC)
INSTALLED_HEADERS= readline.h chardefs.h keymaps.h history.h tilde.h \
rlstdc.h rlconf.h rltypedefs.h
CFLAGS+= -I${.OBJDIR}/..
SRCDIR= ${.CURDIR}/../../../../contrib/libreadline
.for _h in ${INSTALLED_HEADERS}
CLEANFILES+= ${_h}
DPSRCS+= ${.OBJDIR}/${_h}
${.OBJDIR}/${_h}: ${SRCDIR}/${_h}
${INSTALL} ${.ALLSRC} ${.TARGET}
.endfor
DPADD= ${LIBTERMCAPW}
LDADD= -ltermcapw
.include <bsd.lib.mk>