1994-05-09 20:36:08 +00:00
|
|
|
# $Id: Makefile,v 1.1 1993/12/28 07:54:51 ache Exp $
|
1994-05-09 15:59:10 +00:00
|
|
|
|
|
|
|
SHLIB_MAJOR=1
|
|
|
|
SHLIB_MINOR=0
|
|
|
|
|
1994-05-09 20:36:08 +00:00
|
|
|
CFLAGS+= -I${.CURDIR} -I${.CURDIR}/readline -DVOID_SIGHANDLER \
|
|
|
|
-DHAVE_UNISTD_H -DSTATIC_MALLOC \
|
|
|
|
-Dstricmp=strcasecmp -Dstrnicmp=strncasecmp
|
1994-05-09 15:59:10 +00:00
|
|
|
|
|
|
|
LIB= readline
|
|
|
|
SRCS+= readline.c history.c funmap.c keymaps.c
|
|
|
|
NOMAN= noman
|
|
|
|
|
|
|
|
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-09 18:43:40 +00:00
|
|
|
history.h readline.h keymaps.h chardefs.h ${DESTDIR}/usr/include/readline
|
1994-05-09 15:59:10 +00:00
|
|
|
|
|
|
|
.include <bsd.lib.mk>
|