HardenedBSD/gnu/lib/libreadline/Makefile

37 lines
971 B
Makefile
Raw Normal View History

1998-04-28 09:16:24 +02:00
# $Id: Makefile,v 1.29 1997/06/07 13:18:30 ache Exp $
1997-01-05 17:19:58 +01:00
SRCDIR= ${.CURDIR}/../../../contrib/libreadline
.PATH: ${SRCDIR}
SUBDIR= doc
LIB= readline
1995-05-08 10:43:06 +02:00
SHLIB_MAJOR= 3
1998-04-28 09:16:24 +02:00
SHLIB_MINOR= 1
1994-12-06 04:16:45 +01:00
MAN3= readline.3
1997-01-05 17:19:58 +01:00
1998-04-28 09:16:24 +02:00
RL_LIBRARY_VERSION = 2.2
1997-06-07 15:18:30 +02:00
LOCAL_CFLAGS= -DRL_LIBRARY_VERSION='"$(RL_LIBRARY_VERSION)"'
CFLAGS+= -I${.CURDIR} -I${SRCDIR} -DHAVE_CONFIG_H ${LOCAL_CFLAGS}
1997-01-05 17:19:58 +01:00
1997-06-07 15:18:30 +02:00
HISTSRC= history.c histexpand.c histfile.c histsearch.c shell.c
1997-01-05 17:19:58 +01: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 04:16:45 +01:00
DPADD+= $(LIBTERMCAP)
1994-10-12 03:06:02 +01:00
LDADD+= -ltermcap
beforeinstall:
1997-01-05 17:19:58 +01: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>