Deleted Added
sdiff udiff text old ( 22996 ) new ( 26501 )
full compact
1# $Id$
2
3SRCDIR= ${.CURDIR}/../../../contrib/libreadline
4.PATH: ${SRCDIR}
5
6SUBDIR= doc
7
8LIB= readline
9SHLIB_MAJOR= 3
10SHLIB_MINOR= 0
11MAN3= readline.3
12
13CFLAGS+= -I${.CURDIR} -I${SRCDIR} -DHAVE_CONFIG_H
14
15HISTSRC= history.c histexpand.c histfile.c histsearch.c
16TILDESRC= tilde.c
17SRCS= readline.c vi_mode.c funmap.c keymaps.c parens.c search.c \
18 rltty.c complete.c bind.c isearch.c display.c signals.c \
19 util.c kill.c undo.c macro.c input.c callback.c terminal.c \
20 nls.c xmalloc.c \
21 $(HISTSRC) $(TILDESRC)
22
23INSTALLED_HEADERS= readline.h chardefs.h keymaps.h history.h tilde.h
24
25DPADD+= $(LIBTERMCAP)
26LDADD+= -ltermcap
27
28beforeinstall:
29.for i in ${INSTALLED_HEADERS}
30 ${INSTALL} -C -o ${BINOWN} -g ${BINGRP} -m 444 ${SRCDIR}/$i \
31 ${DESTDIR}/usr/include/readline
32.endfor
33
34.include <bsd.lib.mk>