freebsd-dev/gnu/lib/libreadline/Makefile
Paul Richards 8e2c96f286 Put back -I${.CURDIR}/readline in Makefile.
The sources are just broken and given that an extra -I flag is going
to be needed it may as well be as above to guarantee that the library
will build.
1994-06-11 15:18:01 +00:00

26 lines
832 B
Makefile

# $Id: Makefile,v 1.11 1994/06/10 07:35:49 ache Exp $
CFLAGS+= -I${.CURDIR} -I${.CURDIR}/readline -DVOID_SIGHANDLER \
-DHAVE_UNISTD_H -DHAVE_STRING_H -DHAVE_STDLIB_H -DHAVE_VARARGS_H \
-DFreeBSD
LIB= readline
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
HEADERS= history.h readline.h keymaps.h chardefs.h tilde.h
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 \
${HEADERS} ${DESTDIR}/usr/include/readline
.include <bsd.lib.mk>