Makefile revision 1480
1# $Id: Makefile,v 1.4 1994/05/09 23:23:40 ache Exp $ 2 3SHLIB_MAJOR=1 4SHLIB_MINOR=0 5 6CFLAGS+= -I${.CURDIR} -I${.CURDIR}/readline -DVOID_SIGHANDLER \ 7 -DHAVE_UNISTD_H -DHAVE_STRING_H -DHAVE_STDLIB_H \ 8 -DVI_MODE -Dstricmp=strcasecmp -Dstrnicmp=strncasecmp 9 10LIB= readline 11SRCS+= readline.c funmap.c keymaps.c vi_mode.c parens.c \ 12 rltty.c complete.c bind.c isearch.c display.c signals.c \ 13 history.c search.c tilde.c xmalloc.c 14NOMAN= noman 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 history.h readline.h keymaps.h chardefs.h ${DESTDIR}/usr/include/readline 25 26.include <bsd.lib.mk> 27