freebsd-dev/gnu/lib/libreadline/Makefile

37 lines
971 B
Makefile
Raw Normal View History

1998-04-28 07:16:24 +00:00
# $Id: Makefile,v 1.29 1997/06/07 13:18:30 ache Exp $
1997-01-05 16:19:58 +00:00
SRCDIR= ${.CURDIR}/../../../contrib/libreadline
.PATH: ${SRCDIR}
SUBDIR= doc
LIB= readline
1995-05-08 08:43:06 +00:00
SHLIB_MAJOR= 3
1998-04-28 07:16:24 +00:00
SHLIB_MINOR= 1
1994-12-06 03:16:45 +00:00
MAN3= readline.3
1997-01-05 16:19:58 +00:00
1998-04-28 07:16:24 +00:00
RL_LIBRARY_VERSION = 2.2
1997-06-07 13:18:30 +00:00
LOCAL_CFLAGS= -DRL_LIBRARY_VERSION='"$(RL_LIBRARY_VERSION)"'
CFLAGS+= -I${.CURDIR} -I${SRCDIR} -DHAVE_CONFIG_H ${LOCAL_CFLAGS}
1997-01-05 16:19:58 +00:00
1997-06-07 13:18:30 +00:00
HISTSRC= history.c histexpand.c histfile.c histsearch.c shell.c
1997-01-05 16:19:58 +00:00
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
1994-12-06 03:16:45 +00:00
DPADD+= $(LIBTERMCAP)
1994-10-12 02:06:02 +00:00
LDADD+= -ltermcap
beforeinstall:
1997-01-05 16:19:58 +00:00
.for i in ${INSTALLED_HEADERS}
${INSTALL} -C -o ${BINOWN} -g ${BINGRP} -m 444 ${SRCDIR}/$i \
${DESTDIR}/usr/include/readline
.endfor
.include <bsd.lib.mk>