1995-02-15 20:59:13 +00:00
|
|
|
# $Id: Makefile,v 1.18 1995/01/16 17:56:20 ache Exp $
|
1994-05-09 15:59:10 +00:00
|
|
|
|
|
|
|
|
1994-12-06 03:16:45 +00:00
|
|
|
CFLAGS+= -I${.CURDIR} -DVOID_SIGHANDLER -DHAVE_CONFIG_H
|
1994-05-09 15:59:10 +00:00
|
|
|
|
|
|
|
LIB= readline
|
1994-05-09 23:24:44 +00:00
|
|
|
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
|
1994-05-13 15:48:04 +00:00
|
|
|
HEADERS= history.h readline.h keymaps.h chardefs.h tilde.h
|
1994-12-06 03:16:45 +00:00
|
|
|
MAN3= readline.3
|
|
|
|
DPADD+= $(LIBTERMCAP)
|
1994-10-12 02:06:02 +00:00
|
|
|
LDADD+= -ltermcap
|
1994-05-09 15:59:10 +00:00
|
|
|
|
1995-01-16 17:56:20 +00:00
|
|
|
SUBDIR+= doc
|
|
|
|
|
1994-05-09 15:59:10 +00:00
|
|
|
beforeinstall:
|
1994-12-06 03:16:45 +00:00
|
|
|
cd ${.CURDIR}; \
|
1994-11-01 09:13:02 +00:00
|
|
|
for m in ${HEADERS} ; do \
|
1995-02-15 20:59:13 +00:00
|
|
|
cmp -s $$m ${DESTDIR}/usr/include/readline/$$m || \
|
1994-11-01 09:13:02 +00:00
|
|
|
install -c -o ${BINOWN} -g ${BINGRP} -m 444 \
|
1994-11-01 17:32:46 +00:00
|
|
|
$$m ${DESTDIR}/usr/include/readline ; \
|
1994-11-01 09:13:02 +00:00
|
|
|
done
|
1994-05-09 15:59:10 +00:00
|
|
|
|
|
|
|
.include <bsd.lib.mk>
|