1# $FreeBSD: head/gnu/lib/libreadline/readline/Makefile 75808 2001-04-21 22:05:33Z ache $
2
3SUBDIR= doc
4
5LIB= readline
6MAN= doc/readline.3
7
8TILDESRC= tilde.c
9SRCS= readline.c vi_mode.c funmap.c keymaps.c parens.c search.c \
10 rltty.c complete.c bind.c isearch.c display.c signals.c \
11 util.c kill.c undo.c macro.c input.c callback.c terminal.c \
12 nls.c compat.c xmalloc.c $(HISTSRC) $(TILDESRC)
13
14INSTALLED_HEADERS= readline.h chardefs.h keymaps.h history.h tilde.h \
15 rlstdc.h rlconf.h rltypedefs.h
16
17DPADD+= $(LIBTERMCAP)
18LDADD+= -ltermcap
19
20INCDIR= /usr/include/readline
21
22.for hdr in ${INSTALLED_HEADERS}
23INCS+= ${SRCDIR}/${hdr}
24.endfor
25
26.include <bsd.lib.mk>
2
3SUBDIR= doc
4
5LIB= readline
6MAN= doc/readline.3
7
8TILDESRC= tilde.c
9SRCS= readline.c vi_mode.c funmap.c keymaps.c parens.c search.c \
10 rltty.c complete.c bind.c isearch.c display.c signals.c \
11 util.c kill.c undo.c macro.c input.c callback.c terminal.c \
12 nls.c compat.c xmalloc.c $(HISTSRC) $(TILDESRC)
13
14INSTALLED_HEADERS= readline.h chardefs.h keymaps.h history.h tilde.h \
15 rlstdc.h rlconf.h rltypedefs.h
16
17DPADD+= $(LIBTERMCAP)
18LDADD+= -ltermcap
19
20INCDIR= /usr/include/readline
21
22.for hdr in ${INSTALLED_HEADERS}
23INCS+= ${SRCDIR}/${hdr}
24.endfor
25
26.include <bsd.lib.mk>