blob: 6ebea3a981a7800ad25536995689ee74a001ff46 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
# $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= ${LIBTERMCAP}
LDADD= -ltermcap
.include <bsd.lib.mk>
|