150472Speter# $FreeBSD: releng/11.0/gnu/lib/libreadline/readline/Makefile 294608 2016-01-22 21:33:27Z emaste $ 247569Sache 347569SacheLIB= readline 4268461SbaptINTERNALLIB= yes 5294608SemasteMAN= 647569Sache 747569SacheTILDESRC= tilde.c 847569SacheSRCS= readline.c vi_mode.c funmap.c keymaps.c parens.c search.c \ 947569Sache rltty.c complete.c bind.c isearch.c display.c signals.c \ 1047569Sache util.c kill.c undo.c macro.c input.c callback.c terminal.c \ 11119616Sache text.c nls.c misc.c compat.c xmalloc.c $(HISTSRC) $(TILDESRC) 1247569Sache 1356804SobrienINSTALLED_HEADERS= readline.h chardefs.h keymaps.h history.h tilde.h \ 1475410Sache rlstdc.h rlconf.h rltypedefs.h 1556804Sobrien 16268461SbaptCFLAGS+= -I${.OBJDIR}/.. 17268461SbaptSRCDIR= ${.CURDIR}/../../../../contrib/libreadline 18268461Sbapt 19284289SsjgCLEANFILES+= ${INSTALLED_HEADERS} 20291330SbdrewerySRCS+= ${INSTALLED_HEADERS} 21284289Ssjg 22268461Sbapt.for _h in ${INSTALLED_HEADERS} 23291320Sbdrewery${_h}: ${SRCDIR}/${_h} .NOMETA 24284289Ssjg ln -sf ${.ALLSRC} ${.TARGET} 25268461Sbapt.endfor 26268461Sbapt 27275077SbaptLIBADD= ncursesw 2847569Sache 2947569Sache.include <bsd.lib.mk> 30