1# $OpenBSD: Makefile,v 1.4 2001/03/25 00:47:25 millert Exp $ 2 3LIB= readline 4SRCS= readline.c funmap.c keymaps.c vi_mode.c parens.c rltty.c complete.c \ 5 bind.c isearch.c display.c signals.c util.c kill.c undo.c macro.c \ 6 input.c callback.c terminal.c xmalloc.c history.c histsearch.c \ 7 histexpand.c histfile.c nls.c search.c shell.c savestring.c tilde.c 8HDRS= readline.h chardefs.h keymaps.h history.h tilde.h rlstdc.h rlconf.h 9SUBDIR= doc 10CPPFLAGS+=-DHAVE_CONFIG_H -I${.CURDIR} 11 12includes: 13 @cd ${.CURDIR}; for i in $(HDRS); do \ 14 j="cmp -s $$i ${DESTDIR}/usr/include/readline/$$i || \ 15 ${INSTALL} ${INSTALL_COPY} -o ${BINOWN} -g ${BINGRP} -m 444 $$i \ 16 ${DESTDIR}/usr/include/readline"; \ 17 echo $$j; \ 18 eval "$$j"; \ 19 done 20 21.include <bsd.lib.mk> 22.include <bsd.subdir.mk> 23