1994-10-12 02:06:02 +00:00
|
|
|
# $Id: Makefile,v 1.13 1994/06/12 08:50:39 ache Exp $
|
1994-05-09 15:59:10 +00:00
|
|
|
|
|
|
|
|
1994-06-12 08:51:09 +00:00
|
|
|
CFLAGS+= -I${.CURDIR} -DVOID_SIGHANDLER \
|
1994-05-11 15:49:43 +00:00
|
|
|
-DHAVE_UNISTD_H -DHAVE_STRING_H -DHAVE_STDLIB_H -DHAVE_VARARGS_H \
|
1994-05-14 01:18:07 +00:00
|
|
|
-DFreeBSD
|
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-05-09 15:59:10 +00:00
|
|
|
NOMAN= noman
|
1994-10-12 02:06:02 +00:00
|
|
|
LDADD+= -ltermcap
|
1994-05-09 15:59:10 +00:00
|
|
|
|
|
|
|
beforeinstall:
|
|
|
|
@-if [ ! -d ${DESTDIR}/usr/include/readline ]; then \
|
|
|
|
mkdir ${DESTDIR}/usr/include/readline; \
|
|
|
|
chown ${BINOWN}.${BINGRP} ${DESTDIR}/usr/include/readline; \
|
|
|
|
chmod 755 ${DESTDIR}/usr/include/readline; \
|
|
|
|
fi
|
|
|
|
cd ${.CURDIR}/readline; \
|
|
|
|
install -c -o ${BINOWN} -g ${BINGRP} -m 444 \
|
1994-05-13 15:48:04 +00:00
|
|
|
${HEADERS} ${DESTDIR}/usr/include/readline
|
1994-05-09 15:59:10 +00:00
|
|
|
|
|
|
|
.include <bsd.lib.mk>
|