Makefile revision 1492
1# $Id: Makefile,v 1.7 1994/05/11 16:30:27 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 -DHAVE_VARARGS_H \ 8 -DFreeBSD \ 9 -Dstricmp=strcasecmp -Dstrnicmp=strncasecmp 10 11LIB= readline 12SRCS+= readline.c funmap.c keymaps.c vi_mode.c parens.c \ 13 rltty.c complete.c bind.c isearch.c display.c signals.c \ 14 history.c search.c tilde.c xmalloc.c 15HEADERS= history.h readline.h keymaps.h chardefs.h tilde.h 16NOMAN= noman 17 18beforeinstall: 19 @-if [ ! -d ${DESTDIR}/usr/include/readline ]; then \ 20 mkdir ${DESTDIR}/usr/include/readline; \ 21 chown ${BINOWN}.${BINGRP} ${DESTDIR}/usr/include/readline; \ 22 chmod 755 ${DESTDIR}/usr/include/readline; \ 23 fi 24 cd ${.CURDIR}/readline; \ 25 install -c -o ${BINOWN} -g ${BINGRP} -m 444 \ 26 ${HEADERS} ${DESTDIR}/usr/include/readline 27 28.include <bsd.lib.mk> 29