1# $Id: Makefile,v 1.13 1994/06/12 08:50:39 ache Exp $ |
2 3 4CFLAGS+= -I${.CURDIR} -DVOID_SIGHANDLER \ 5 -DHAVE_UNISTD_H -DHAVE_STRING_H -DHAVE_STDLIB_H -DHAVE_VARARGS_H \ 6 -DFreeBSD 7 8LIB= readline 9SRCS+= readline.c funmap.c keymaps.c vi_mode.c parens.c \ 10 rltty.c complete.c bind.c isearch.c display.c signals.c \ 11 history.c search.c tilde.c xmalloc.c 12HEADERS= history.h readline.h keymaps.h chardefs.h tilde.h 13NOMAN= noman |
14LDADD+= -ltermcap |
15 16beforeinstall: 17 @-if [ ! -d ${DESTDIR}/usr/include/readline ]; then \ 18 mkdir ${DESTDIR}/usr/include/readline; \ 19 chown ${BINOWN}.${BINGRP} ${DESTDIR}/usr/include/readline; \ 20 chmod 755 ${DESTDIR}/usr/include/readline; \ 21 fi 22 cd ${.CURDIR}/readline; \ 23 install -c -o ${BINOWN} -g ${BINGRP} -m 444 \ 24 ${HEADERS} ${DESTDIR}/usr/include/readline 25 26.include <bsd.lib.mk> |