summaryrefslogtreecommitdiffstats
path: root/gnu/lib/libreadline/Makefile
blob: de4e97614c63fec8c8cbc747ed8d3ed2f15d7165 (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
#       $Id: Makefile,v 1.22 1996/08/30 02:13:06 peter Exp $


CFLAGS+= -I${.CURDIR} -DVOID_SIGHANDLER -DHAVE_CONFIG_H \
	-DHAVE_STDLIB_H=1 -DHAVE_UNISTD_H=1 -DHAVE_STRING_H=1

LIB=    readline
SHLIB_MAJOR= 3
SHLIB_MINOR= 0
SRCS+=  readline.c funmap.c keymaps.c vi_mode.c parens.c \
	   rltty.c complete.c bind.c isearch.c display.c signals.c \
	   history.c search.c tilde.c xmalloc.c
HEADERS= history.h readline.h keymaps.h chardefs.h tilde.h
MAN3=   readline.3
DPADD+= $(LIBTERMCAP)
LDADD+= -ltermcap

SUBDIR+= doc

beforeinstall:
.for i in ${HEADERS}
	${INSTALL} -C -o ${BINOWN} -g ${BINGRP} -m 444 ${.CURDIR}/$i \
		${DESTDIR}/usr/include/readline
.endfor

.include <bsd.lib.mk>
OpenPOWER on IntegriCloud