blob: 9bee5126e0ba55d04385fd06ed1be1d4b154f8e4 (
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
30
31
32
33
34
35
36
|
# $Id: Makefile,v 1.29 1997/06/07 13:18:30 ache Exp $
SRCDIR= ${.CURDIR}/../../../contrib/libreadline
.PATH: ${SRCDIR}
SUBDIR= doc
LIB= readline
SHLIB_MAJOR= 3
SHLIB_MINOR= 1
MAN3= readline.3
RL_LIBRARY_VERSION = 2.2
LOCAL_CFLAGS= -DRL_LIBRARY_VERSION='"$(RL_LIBRARY_VERSION)"'
CFLAGS+= -I${.CURDIR} -I${SRCDIR} -DHAVE_CONFIG_H ${LOCAL_CFLAGS}
HISTSRC= history.c histexpand.c histfile.c histsearch.c shell.c
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 \
nls.c xmalloc.c \
$(HISTSRC) $(TILDESRC)
INSTALLED_HEADERS= readline.h chardefs.h keymaps.h history.h tilde.h
DPADD+= $(LIBTERMCAP)
LDADD+= -ltermcap
beforeinstall:
.for i in ${INSTALLED_HEADERS}
${INSTALL} -C -o ${BINOWN} -g ${BINGRP} -m 444 ${SRCDIR}/$i \
${DESTDIR}/usr/include/readline
.endfor
.include <bsd.lib.mk>
|