mirror of
https://github.com/opnsense/src.git
synced 2026-02-14 16:23:25 -05:00
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
29 lines
741 B
Makefile
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>
|