head	1.38;
access;
symbols
	RELENG_8_4:1.38.0.2
	RELENG_9_1_0_RELEASE:1.35.2.1.4.2
	RELENG_9_1:1.35.2.1.0.4
	RELENG_9_1_BP:1.35.2.1
	RELENG_8_3_0_RELEASE:1.32.2.2.2.1
	RELENG_8_3:1.32.2.2.0.2
	RELENG_8_3_BP:1.32.2.2
	RELENG_9_0_0_RELEASE:1.35.2.1.2.1
	RELENG_9_0:1.35.2.1.0.2
	RELENG_9_0_BP:1.35.2.1
	RELENG_9:1.35.0.2
	RELENG_9_BP:1.35
	RELENG_7_4_0_RELEASE:1.31.12.1
	RELENG_8_2_0_RELEASE:1.32.2.1.6.1
	RELENG_7_4:1.31.0.12
	RELENG_7_4_BP:1.31
	RELENG_8_2:1.32.2.1.0.6
	RELENG_8_2_BP:1.32.2.1
	RELENG_8_1_0_RELEASE:1.32.2.1.4.1
	RELENG_8_1:1.32.2.1.0.4
	RELENG_8_1_BP:1.32.2.1
	RELENG_7_3_0_RELEASE:1.31.10.1
	RELENG_7_3:1.31.0.10
	RELENG_7_3_BP:1.31
	RELENG_8_0_0_RELEASE:1.32.2.1.2.1
	RELENG_8_0:1.32.2.1.0.2
	RELENG_8_0_BP:1.32.2.1
	RELENG_8:1.32.0.2
	RELENG_8_BP:1.32
	RELENG_7_2_0_RELEASE:1.31.8.1
	RELENG_7_2:1.31.0.8
	RELENG_7_2_BP:1.31
	RELENG_7_1_0_RELEASE:1.31.6.1
	RELENG_6_4_0_RELEASE:1.28.10.2.10.1
	RELENG_7_1:1.31.0.6
	RELENG_7_1_BP:1.31
	RELENG_6_4:1.28.10.2.0.10
	RELENG_6_4_BP:1.28.10.2
	RELENG_7_0_0_RELEASE:1.31
	RELENG_6_3_0_RELEASE:1.28.10.2
	RELENG_7_0:1.31.0.4
	RELENG_7_0_BP:1.31
	RELENG_6_3:1.28.10.2.0.8
	RELENG_6_3_BP:1.28.10.2
	RELENG_7:1.31.0.2
	RELENG_7_BP:1.31
	RELENG_6_2_0_RELEASE:1.28.10.2
	RELENG_6_2:1.28.10.2.0.6
	RELENG_6_2_BP:1.28.10.2
	RELENG_5_5_0_RELEASE:1.28
	RELENG_5_5:1.28.0.12
	RELENG_5_5_BP:1.28
	RELENG_6_1_0_RELEASE:1.28.10.2
	RELENG_6_1:1.28.10.2.0.4
	RELENG_6_1_BP:1.28.10.2
	RELENG_6_0_0_RELEASE:1.28.10.2
	RELENG_6_0:1.28.10.2.0.2
	RELENG_6_0_BP:1.28.10.2
	RELENG_6:1.28.0.10
	RELENG_6_BP:1.28
	RELENG_5_4_0_RELEASE:1.28
	RELENG_5_4:1.28.0.8
	RELENG_5_4_BP:1.28
	RELENG_4_11_0_RELEASE:1.18.2.2
	RELENG_4_11:1.18.2.2.0.10
	RELENG_4_11_BP:1.18.2.2
	RELENG_5_3_0_RELEASE:1.28
	RELENG_5_3:1.28.0.6
	RELENG_5_3_BP:1.28
	RELENG_5:1.28.0.4
	RELENG_5_BP:1.28
	RELENG_4_10_0_RELEASE:1.18.2.2
	RELENG_4_10:1.18.2.2.0.8
	RELENG_4_10_BP:1.18.2.2
	RELENG_5_2_1_RELEASE:1.28
	RELENG_5_2_0_RELEASE:1.28
	RELENG_5_2:1.28.0.2
	RELENG_5_2_BP:1.28
	RELENG_4_9_0_RELEASE:1.18.2.2
	RELENG_4_9:1.18.2.2.0.6
	RELENG_4_9_BP:1.18.2.2
	RELENG_5_1_0_RELEASE:1.26
	RELENG_5_1:1.26.0.4
	RELENG_5_1_BP:1.26
	RELENG_4_8_0_RELEASE:1.18.2.2
	RELENG_4_8:1.18.2.2.0.4
	RELENG_4_8_BP:1.18.2.2
	RELENG_5_0_0_RELEASE:1.26
	RELENG_5_0:1.26.0.2
	RELENG_5_0_BP:1.26
	RELENG_4_7_0_RELEASE:1.18.2.2
	RELENG_4_7:1.18.2.2.0.2
	RELENG_4_7_BP:1.18.2.2
	RELENG_4_6_2_RELEASE:1.18.2.1
	RELENG_4_6_1_RELEASE:1.18.2.1
	RELENG_4_6_0_RELEASE:1.18.2.1
	RELENG_4_6:1.18.2.1.0.6
	RELENG_4_6_BP:1.18.2.1
	RELENG_4_5_0_RELEASE:1.18.2.1
	RELENG_4_5:1.18.2.1.0.4
	RELENG_4_5_BP:1.18.2.1
	RELENG_4_4_0_RELEASE:1.18.2.1
	RELENG_4_4:1.18.2.1.0.2
	RELENG_4_4_BP:1.18.2.1
	RELENG_4_3_0_RELEASE:1.18
	RELENG_4_3:1.18.0.4
	RELENG_4_3_BP:1.18
	RELENG_4_2_0_RELEASE:1.18
	RELENG_4_1_1_RELEASE:1.18
	PRE_SMPNG:1.18
	RELENG_4_1_0_RELEASE:1.18
	RELENG_3_5_0_RELEASE:1.14
	RELENG_4_0_0_RELEASE:1.18
	RELENG_4:1.18.0.2
	RELENG_4_BP:1.18
	RELENG_3_4_0_RELEASE:1.14
	RELENG_3_3_0_RELEASE:1.14
	RELENG_3_2_PAO:1.14.0.4
	RELENG_3_2_PAO_BP:1.14
	RELENG_3_2_0_RELEASE:1.14
	RELENG_3_1_0_RELEASE:1.14
	RELENG_3:1.14.0.2
	RELENG_3_BP:1.14
	RELENG_2_2_8_RELEASE:1.8.2.1
	RELENG_3_0_0_RELEASE:1.13
	RELENG_2_2_7_RELEASE:1.8.2.1
	RELENG_2_2_6_RELEASE:1.8.2.1
	RELENG_2_2_5_RELEASE:1.8
	bsd_44_lite_2:1.1.1.1
	RELENG_2_2_2_RELEASE:1.8
	RELENG_2_2_1_RELEASE:1.8
	RELENG_2_2_0_RELEASE:1.8
	RELENG_2_1_7_RELEASE:1.7
	RELENG_2_1_6_1_RELEASE:1.7
	RELENG_2_1_6_RELEASE:1.7
	RELENG_2_2:1.8.0.2
	RELENG_2_2_BP:1.8
	RELENG_2_1_5_RELEASE:1.7
	RELENG_2_1_0_RELEASE:1.7
	RELENG_2_1_0:1.7.0.4
	RELENG_2_1_0_BP:1.7
	RELENG_2_0_5_RELEASE:1.7
	RELENG_2_0_5:1.7.0.2
	RELENG_2_0_5_BP:1.7
	RELENG_2_0_5_ALPHA:1.6
	RELEASE_2_0:1.6
	BETA_2_0:1.6
	ALPHA_2_0:1.6.0.2
	bsd_44_lite:1.1.1.1
	CSRG:1.1.1;
locks; strict;
comment	@# @;


1.38
date	2013.03.04.00.30.15;	author svnexp;	state Exp;
branches
	1.38.2.1;
next	1.37;

1.37
date	2013.03.03.04.04.58;	author svnexp;	state Exp;
branches;
next	1.36;

1.36
date	2012.11.17.01.49.48;	author svnexp;	state Exp;
branches;
next	1.35;

1.35
date	2011.04.05.18.41.01;	author obrien;	state Exp;
branches
	1.35.2.1;
next	1.34;

1.34
date	2010.06.13.17.04.42;	author jilles;	state Exp;
branches;
next	1.33;

1.33
date	2010.01.02.09.58.07;	author ed;	state Exp;
branches;
next	1.32;

1.32
date	2009.07.19.17.25.24;	author kensmith;	state Exp;
branches
	1.32.2.1;
next	1.31;

1.31
date	2007.05.21.02.49.03;	author deischen;	state Exp;
branches
	1.31.2.1
	1.31.6.1
	1.31.8.1
	1.31.10.1
	1.31.12.1;
next	1.30;

1.30
date	2005.08.07.20.51.52;	author stefanf;	state Exp;
branches;
next	1.29;

1.29
date	2005.07.22.17.19.00;	author kensmith;	state Exp;
branches;
next	1.28;

1.28
date	2003.08.18.15.25.38;	author obrien;	state Exp;
branches
	1.28.10.1;
next	1.27;

1.27
date	2003.08.17.08.28.44;	author gordon;	state Exp;
branches;
next	1.26;

1.26
date	2002.09.28.00.25.29;	author peter;	state Exp;
branches;
next	1.25;

1.25
date	2002.04.09.13.04.31;	author ru;	state Exp;
branches;
next	1.24;

1.24
date	2001.10.01.23.10.48;	author obrien;	state Exp;
branches;
next	1.23;

1.23
date	2001.10.01.21.08.03;	author obrien;	state Exp;
branches;
next	1.22;

1.22
date	2001.10.01.08.41.25;	author obrien;	state Exp;
branches;
next	1.21;

1.21
date	2001.04.12.09.57.12;	author ache;	state Exp;
branches;
next	1.20;

1.20
date	2001.04.12.03.33.13;	author ache;	state Exp;
branches;
next	1.19;

1.19
date	2001.03.27.17.27.00;	author ru;	state Exp;
branches;
next	1.18;

1.18
date	99.10.03.10.41.40;	author marcel;	state Exp;
branches
	1.18.2.1;
next	1.17;

1.17
date	99.09.29.15.18.42;	author marcel;	state Exp;
branches;
next	1.16;

1.16
date	99.08.20.17.37.22;	author mdodd;	state Exp;
branches;
next	1.15;

1.15
date	99.08.20.01.17.11;	author mdodd;	state Exp;
branches;
next	1.14;

1.14
date	99.01.09.21.50.57;	author jdp;	state Exp;
branches;
next	1.13;

1.13
date	97.07.28.03.33.04;	author msmith;	state Exp;
branches;
next	1.12;

1.12
date	97.07.27.10.47.49;	author msmith;	state Exp;
branches;
next	1.11;

1.11
date	97.06.27.11.16.28;	author ache;	state Exp;
branches;
next	1.10;

1.10
date	97.06.25.09.49.06;	author msmith;	state Exp;
branches;
next	1.9;

1.9
date	97.06.25.08.13.51;	author msmith;	state Exp;
branches;
next	1.8;

1.8
date	96.08.30.01.50.07;	author peter;	state Exp;
branches
	1.8.2.1;
next	1.7;

1.7
date	95.05.30.05.42.53;	author rgrimes;	state Exp;
branches;
next	1.6;

1.6
date	94.10.12.02.06.02;	author ache;	state Exp;
branches;
next	1.5;

1.5
date	94.09.11.21.49.38;	author rgrimes;	state Exp;
branches;
next	1.4;

1.4
date	94.08.28.18.48.39;	author bde;	state Exp;
branches;
next	1.3;

1.3
date	94.08.08.18.54.08;	author jkh;	state Exp;
branches;
next	1.2;

1.2
date	94.08.04.20.47.46;	author wollman;	state Exp;
branches;
next	1.1;

1.1
date	94.05.27.04.58.40;	author rgrimes;	state Exp;
branches
	1.1.1.1;
next	;

1.38.2.1
date	2013.03.04.00.30.15;	author svnexp;	state dead;
branches;
next	1.38.2.2;

1.38.2.2
date	2013.03.28.13.03.14;	author svnexp;	state Exp;
branches;
next	;

1.35.2.1
date	2011.09.23.00.51.37;	author kensmith;	state Exp;
branches
	1.35.2.1.2.1
	1.35.2.1.4.1;
next	1.35.2.2;

1.35.2.2
date	2012.11.17.11.36.22;	author svnexp;	state Exp;
branches;
next	;

1.35.2.1.2.1
date	2011.11.11.04.20.22;	author kensmith;	state Exp;
branches;
next	1.35.2.1.2.2;

1.35.2.1.2.2
date	2012.11.17.08.36.23;	author svnexp;	state Exp;
branches;
next	;

1.35.2.1.4.1
date	2012.08.05.23.54.33;	author kensmith;	state Exp;
branches;
next	1.35.2.1.4.2;

1.35.2.1.4.2
date	2012.11.17.08.47.12;	author svnexp;	state Exp;
branches;
next	;

1.32.2.1
date	2009.08.03.08.13.06;	author kensmith;	state Exp;
branches
	1.32.2.1.2.1
	1.32.2.1.4.1
	1.32.2.1.6.1;
next	1.32.2.2;

1.32.2.2
date	2011.04.13.23.09.36;	author obrien;	state Exp;
branches
	1.32.2.2.2.1;
next	1.32.2.3;

1.32.2.3
date	2012.11.17.10.36.07;	author svnexp;	state Exp;
branches;
next	;

1.32.2.1.2.1
date	2009.10.25.01.10.29;	author kensmith;	state Exp;
branches;
next	;

1.32.2.1.4.1
date	2010.06.14.02.09.06;	author kensmith;	state Exp;
branches;
next	;

1.32.2.1.6.1
date	2010.12.21.17.09.25;	author kensmith;	state Exp;
branches;
next	;

1.32.2.2.2.1
date	2012.03.03.06.15.13;	author kensmith;	state Exp;
branches;
next	1.32.2.2.2.2;

1.32.2.2.2.2
date	2012.11.17.08.24.48;	author svnexp;	state Exp;
branches;
next	;

1.31.2.1
date	2012.11.17.08.02.41;	author svnexp;	state Exp;
branches;
next	;

1.31.6.1
date	2008.11.25.02.59.29;	author kensmith;	state Exp;
branches;
next	;

1.31.8.1
date	2009.04.15.03.14.26;	author kensmith;	state Exp;
branches;
next	;

1.31.10.1
date	2010.02.10.00.26.20;	author kensmith;	state Exp;
branches;
next	;

1.31.12.1
date	2010.12.21.17.10.29;	author kensmith;	state Exp;
branches;
next	1.31.12.2;

1.31.12.2
date	2012.11.17.08.16.47;	author svnexp;	state Exp;
branches;
next	;

1.28.10.1
date	2005.07.22.17.29.04;	author kensmith;	state Exp;
branches;
next	1.28.10.2;

1.28.10.2
date	2005.10.09.03.44.01;	author delphij;	state Exp;
branches
	1.28.10.2.10.1;
next	1.28.10.3;

1.28.10.3
date	2012.11.17.07.40.23;	author svnexp;	state Exp;
branches;
next	;

1.28.10.2.10.1
date	2008.10.02.02.57.24;	author kensmith;	state Exp;
branches;
next	;

1.18.2.1
date	2001.04.25.10.04.28;	author ru;	state Exp;
branches;
next	1.18.2.2;

1.18.2.2
date	2002.07.23.10.20.19;	author ru;	state Exp;
branches;
next	1.18.2.3;

1.18.2.3
date	2012.11.17.07.23.54;	author svnexp;	state Exp;
branches;
next	;

1.8.2.1
date	98.01.28.02.12.56;	author msmith;	state Exp;
branches;
next	;

1.1.1.1
date	94.05.27.04.58.41;	author rgrimes;	state Exp;
branches;
next	;


desc
@@


1.38
log
@## SVN ## Exported commit - http://svnweb.freebsd.org/changeset/base/247713
## SVN ## CVS IS DEPRECATED: http://wiki.freebsd.org/CvsIsDeprecated
@
text
@#	$NetBSD: Makefile,v 1.34 2005/05/28 12:02:53 lukem Exp $
#	@@(#)Makefile	8.1 (Berkeley) 6/4/93
# $FreeBSD: head/lib/libedit/Makefile 247713 2013-03-03 14:42:15Z jilles $

LIB=	edit
SHLIB_MAJOR=	7
SHLIBDIR?= /lib

OSRCS=	chared.c common.c el.c emacs.c fcns.c filecomplete.c help.c \
	hist.c key.c map.c \
	parse.c prompt.c read.c refresh.c search.c sig.c term.c tty.c vi.c

DPADD=	${LIBNCURSES}
LDADD=	-lncurses

MAN=	editline.3 editrc.5

MLINKS=	editline.3 el_deletestr.3 editline.3 el_end.3 editline.3 el_init.3 \
	editline.3 el_get.3 editline.3 el_getc.3 editline.3 el_gets.3 \
	editline.3 history.3 editline.3 history_end.3 \
	editline.3 history_init.3 editline.3 el_insertstr.3 \
	editline.3 el_line.3 editline.3 el_parse.3 editline.3 el_push.3 \
	editline.3 el_reset.3 editline.3 el_resize.3 editline.3 el_set.3 \
	editline.3 el_source.3 \
	editline.3 tok_init.3 editline.3 tok_end.3 editline.3 tok_reset.3 \
	editline.3 tok_line.3 editline.3 tok_str.3

# For speed and debugging
#SRCS=   ${OSRCS}
# For protection
SRCS=	editline.c
SRCS+=	tokenizer.c history.c readline.c
SRCS+=	common.h emacs.h fcns.h help.h vi.h
CLEANFILES+= common.h editline.c emacs.h fcns.c fcns.h help.c help.h vi.h

INCS=	histedit.h

CFLAGS+= -I. -I${.CURDIR} -I${.CURDIR}/edit
CFLAGS+= #-DDEBUG_TTY -DDEBUG_KEY -DDEBUG_READ -DDEBUG -DDEBUG_REFRESH
CFLAGS+= #-DDEBUG_PASTE -DDEBUG_EDIT

WARNS?=	1

SUBDIR= edit/readline

AHDR=	vi.h emacs.h common.h
ASRC=	${.CURDIR}/vi.c ${.CURDIR}/emacs.c ${.CURDIR}/common.c

.for hdr in vi emacs common
${hdr}.h: ${hdr}.c makelist
	sh ${.CURDIR}/makelist -h ${.CURDIR}/${hdr}.c > ${.TARGET}
.endfor

fcns.h: ${AHDR} makelist
	sh ${.CURDIR}/makelist -fh ${AHDR} > ${.TARGET}

fcns.c: ${AHDR} fcns.h makelist
	sh ${.CURDIR}/makelist -fc ${AHDR} > ${.TARGET}

help.c: ${ASRC} makelist
	sh ${.CURDIR}/makelist -bc ${ASRC} > ${.TARGET}

help.h: ${ASRC} makelist
	sh ${.CURDIR}/makelist -bh ${ASRC} > ${.TARGET}

editline.c: ${OSRCS}
	sh ${.CURDIR}/makelist -e ${.ALLSRC:T} > ${.TARGET}

# minimal dependency to make "make depend" optional
editline.o editline.po editline.So editline.ln:	\
	common.h emacs.h fcns.c fcns.h help.c help.h vi.h

test.o: ${.CURDIR}/TEST/test.c

test: test.o libedit.a ${DPADD} ${LIBTERMCAP}
	${CC} ${CFLAGS} ${.ALLSRC} -o ${.TARGET} libedit.a ${LDADD}

.include <bsd.lib.mk>
@


1.38.2.1
log
@file Makefile was added on branch RELENG_8_4 on 2013-03-28 13:03:14 +0000
@
text
@d1 78
@


1.38.2.2
log
@## SVN ## Exported commit - http://svnweb.freebsd.org/changeset/base/248810
## SVN ## CVS IS DEPRECATED: http://wiki.freebsd.org/CvsIsDeprecated
@
text
@a0 76
#	$NetBSD: Makefile,v 1.34 2005/05/28 12:02:53 lukem Exp $
#	@@(#)Makefile	8.1 (Berkeley) 6/4/93
# $FreeBSD: releng/8.4/lib/libedit/Makefile 220612 2011-04-13 23:09:36Z obrien $

LIB=	edit
SHLIB_MAJOR=	7
SHLIBDIR?= /lib

OSRCS=	chared.c common.c el.c emacs.c fcns.c filecomplete.c help.c \
	hist.c key.c map.c \
	parse.c prompt.c read.c refresh.c search.c sig.c term.c tty.c vi.c

DPADD=	${LIBNCURSES}
LDADD=	-lncurses

MAN=	editline.3 editrc.5

MLINKS=	editline.3 el_deletestr.3 editline.3 el_end.3 editline.3 el_init.3 \
	editline.3 el_get.3 editline.3 el_getc.3 editline.3 el_gets.3 \
	editline.3 history.3 editline.3 history_end.3 \
	editline.3 history_init.3 editline.3 el_insertstr.3 \
	editline.3 el_line.3 editline.3 el_parse.3 editline.3 el_push.3 \
	editline.3 el_reset.3 editline.3 el_resize.3 editline.3 el_set.3 \
	editline.3 el_source.3 \
	editline.3 tok_init.3 editline.3 tok_end.3 editline.3 tok_reset.3 \
	editline.3 tok_line.3 editline.3 tok_str.3

# For speed and debugging
#SRCS=   ${OSRCS}
# For protection
SRCS=	editline.c
SRCS+=	tokenizer.c history.c readline.c
SRCS+=	common.h emacs.h fcns.h help.h vi.h
CLEANFILES+= common.h editline.c emacs.h fcns.c fcns.h help.c help.h vi.h

INCS=	histedit.h

CFLAGS+= -I. -I${.CURDIR} -I${.CURDIR}/edit
CFLAGS+= #-DDEBUG_TTY -DDEBUG_KEY -DDEBUG_READ -DDEBUG -DDEBUG_REFRESH
CFLAGS+= #-DDEBUG_PASTE -DDEBUG_EDIT

SUBDIR= edit/readline

AHDR=	vi.h emacs.h common.h
ASRC=	${.CURDIR}/vi.c ${.CURDIR}/emacs.c ${.CURDIR}/common.c

.for hdr in vi emacs common
${hdr}.h: ${hdr}.c makelist
	sh ${.CURDIR}/makelist -h ${.CURDIR}/${hdr}.c > ${.TARGET}
.endfor

fcns.h: ${AHDR} makelist
	sh ${.CURDIR}/makelist -fh ${AHDR} > ${.TARGET}

fcns.c: ${AHDR} fcns.h makelist
	sh ${.CURDIR}/makelist -fc ${AHDR} > ${.TARGET}

help.c: ${ASRC} makelist
	sh ${.CURDIR}/makelist -bc ${ASRC} > ${.TARGET}

help.h: ${ASRC} makelist
	sh ${.CURDIR}/makelist -bh ${ASRC} > ${.TARGET}

editline.c: ${OSRCS}
	sh ${.CURDIR}/makelist -e ${.ALLSRC:T} > ${.TARGET}

# minimal dependency to make "make depend" optional
editline.o editline.po editline.So editline.ln:	\
	common.h emacs.h fcns.c fcns.h help.c help.h vi.h

test.o: ${.CURDIR}/TEST/test.c

test: test.o libedit.a ${DPADD} ${LIBTERMCAP}
	${CC} ${CFLAGS} ${.ALLSRC} -o ${.TARGET} libedit.a ${LDADD}

.include <bsd.lib.mk>
@


1.37
log
@## SVN ## Exported commit - http://svnweb.freebsd.org/changeset/base/247683
## SVN ## CVS IS DEPRECATED: http://wiki.freebsd.org/CvsIsDeprecated
@
text
@d3 1
a3 1
# $FreeBSD: head/lib/libedit/Makefile 247683 2013-03-03 02:11:03Z pfg $
d14 1
@


1.36
log
@Switching exporter and resync
@
text
@d3 1
a3 1
# $FreeBSD: head/lib/libedit/Makefile 220370 2011-04-05 18:41:01Z obrien $
a13 1
LDADD=	-lncurses
@


1.35
log
@SVN rev 220370 on 2011-04-05 18:41:01Z by obrien

* Add the readline(3) API to libedit.  The libedit versions of
  {readline,history}.h are in /usr/include/edit so as to not conflict with
  the GNU libreadline versions.  To use the libedit readline(3) one should
  add "-I/usr/include/edit" to their Makefile
  (spelled "-I${DESTDIR}/${INCLUDEDIR}/edit" within the FreeBSD source tree).

* Enable its use in the BSD licensed utilities that support readline(3).

* To make it easier to sync libedit development with NetBSD, histedit.h
  is moved into libedit's directory as history shows shown we keep merging
  it into that location.

Obtained from:	NetBSD
Sponsored by:	Juniper Networks
@
text
@d3 1
a3 1
# $FreeBSD$
@


1.35.2.1
log
@SVN rev 225736 on 2011-09-23 00:51:37Z by kensmith

Copy head to stable/9 as part of 9.0-RELEASE release cycle.

Approved by:	re (implicit)
@
text
@@


1.35.2.2
log
@## SVN ##
## SVN ## Exported commit - http://svnweb.freebsd.org/changeset/base/ 242902
## SVN ## CVS IS DEPRECATED: http://wiki.freebsd.org/CvsIsDeprecated
## SVN ##
## SVN ## ------------------------------------------------------------------------
## SVN ## r242902 | dteske | 2012-11-11 23:29:45 +0000 (Sun, 11 Nov 2012) | 10 lines
## SVN ##
## SVN ## Fix a regression introduced by SVN r211417 that saw the breakage of a feature
## SVN ## documented in usr.sbin/sysinstall/help/shortcuts.hlp (reproduced below):
## SVN ##
## SVN ## If /usr/sbin/sysinstall is linked to another filename, say
## SVN ## `/usr/local/bin/configPackages', then the basename will be used
## SVN ## as an implicit command name.
## SVN ##
## SVN ## Reviewed by:	adrian (co-mentor)
## SVN ## Approved by:	adrian (co-mentor)
## SVN ##
## SVN ## ------------------------------------------------------------------------
## SVN ##
@
text
@d3 1
a3 1
# $FreeBSD: stable/9/lib/libedit/Makefile 220370 2011-04-05 18:41:01Z obrien $
@


1.35.2.1.4.1
log
@SVN rev 239080 on 2012-08-05 23:54:33Z by kensmith

Copy stable/9 to releng/9.1 as part of the 9.1-RELEASE release process.

Approved by:	re (implicit)
@
text
@@


1.35.2.1.4.2
log
@Switch importer
@
text
@d3 1
a3 1
# $FreeBSD: releng/9.1/lib/libedit/Makefile 220370 2011-04-05 18:41:01Z obrien $
@


1.35.2.1.2.1
log
@SVN rev 227445 on 2011-11-11 04:20:22Z by kensmith

Copy stable/9 to releng/9.0 as part of the FreeBSD 9.0-RELEASE release
cycle.

Approved by:	re (implicit)
@
text
@@


1.35.2.1.2.2
log
@Switch importer
@
text
@d3 1
a3 1
# $FreeBSD: releng/9.0/lib/libedit/Makefile 220370 2011-04-05 18:41:01Z obrien $
@


1.34
log
@SVN rev 209136 on 2010-06-13 17:04:42Z by jilles

libedit: Add basic filename completion code from NetBSD.

This will be used to provide filename completion in sh(1).

Changes from the NetBSD code:
* wide character support disabled, as in the rest of libedit
* config.h and related portability stuff reduced/disabled, as in the rest
  of libedit

Submitted by:	Guy Yur
Obtained from:	NetBSD
@
text
@d29 1
a29 1
#SRCS=   ${OSRCS} tokenizer.c history.c
d31 2
a32 1
SRCS=	editline.c tokenizer.c history.c
d36 3
a38 1
CFLAGS+= -I. -I${.CURDIR}
d44 2
@


1.33
log
@SVN rev 201381 on 2010-01-02 09:58:07Z by ed

Build lib/ with WARNS=6 by default.

Similar to libexec/, do the same with lib/. Make WARNS=6 the norm and
lower it when needed.

I'm setting WARNS?=0 for secure/. It seems secure/ includes the
Makefile.inc provided by lib/. I'm not going to touch that directory.
Most of the code there is contributed anyway.
@
text
@d9 2
a10 1
OSRCS=	chared.c common.c el.c emacs.c fcns.c help.c hist.c key.c map.c \
@


1.32
log
@SVN rev 195767 on 2009-07-19 17:25:24Z by kensmith

Bump the version of all non-symbol-versioned shared libraries in
preparation for 8.0-RELEASE.  Add the previous version of those
libraries to ObsoleteFiles.inc and bump __FreeBSD_Version.

Reviewed by:    kib
Approved by:    re (rwatson)
@
text
@d38 2
@


1.32.2.1
log
@SVN rev 196045 on 2009-08-03 08:13:06Z by kensmith

Copy head to stable/8 as part of 8.0 Release cycle.

Approved by:	re (Implicit)
@
text
@@


1.32.2.2
log
@SVN rev 220612 on 2011-04-13 23:09:36Z by obrien

MFC: r220370, r209136, r209219

* Add the readline(3) API to libedit.  The libedit versions of
  {readline,history}.h are in /usr/include/edit so as to not conflict with
  the GNU libreadline versions.  To use the libedit readline(3) one should
  add "-I/usr/include/edit" to their Makefile
  (spelled "-I${DESTDIR}/${INCLUDEDIR}/edit" within the FreeBSD source tree).
* Enable its use in the BSD licensed utilities that support readline(3).
* histedit.h is moved into libedit's directory

* Add basic filename completion code.
* Allow simple quoting in filename completion.
@
text
@d9 1
a9 2
OSRCS=	chared.c common.c el.c emacs.c fcns.c filecomplete.c help.c \
	hist.c key.c map.c \
d28 1
a28 1
#SRCS=   ${OSRCS}
d30 1
a30 2
SRCS=	editline.c
SRCS+=	tokenizer.c history.c readline.c
d34 1
a34 3
INCS=	histedit.h

CFLAGS+= -I. -I${.CURDIR} -I${.CURDIR}/edit
a37 2
SUBDIR= edit/readline

@


1.32.2.3
log
@## SVN ##
## SVN ## Exported commit - http://svnweb.freebsd.org/changeset/base/ 242909
## SVN ## CVS IS DEPRECATED: http://wiki.freebsd.org/CvsIsDeprecated
## SVN ##
## SVN ## ------------------------------------------------------------------------
## SVN ## r242909 | dim | 2012-11-12 07:47:19 +0000 (Mon, 12 Nov 2012) | 20 lines
## SVN ##
## SVN ## MFC r242625:
## SVN ##
## SVN ## Remove duplicate const specifiers in many drivers (I hope I got all of
## SVN ## them, please let me know if not).  Most of these are of the form:
## SVN ##
## SVN ## static const struct bzzt_type {
## SVN ##       [...list of members...]
## SVN ## } const bzzt_devs[] = {
## SVN ##       [...list of initializers...]
## SVN ## };
## SVN ##
## SVN ## The second const is unnecessary, as arrays cannot be modified anyway,
## SVN ## and if the elements are const, the whole thing is const automatically
## SVN ## (e.g. it is placed in .rodata).
## SVN ##
## SVN ## I have verified this does not change the binary output of a full kernel
## SVN ## build (except for build timestamps embedded in the object files).
## SVN ##
## SVN ## Reviewed by:	yongari, marius
## SVN ##
## SVN ## ------------------------------------------------------------------------
## SVN ##
@
text
@d3 1
a3 1
# $FreeBSD: stable/8/lib/libedit/Makefile 220612 2011-04-13 23:09:36Z obrien $
@


1.32.2.2.2.1
log
@SVN rev 232438 on 2012-03-03 06:15:13Z by kensmith

Copy stable/8 to releng/8.3 as part of 8.3-RELEASE release cycle.

Approved by:	re (implicit)
@
text
@@


1.32.2.2.2.2
log
@Switch importer
@
text
@d3 1
a3 1
# $FreeBSD: releng/8.3/lib/libedit/Makefile 220612 2011-04-13 23:09:36Z obrien $
@


1.32.2.1.6.1
log
@SVN rev 216617 on 2010-12-21 17:09:25Z by kensmith

Copy stable/8 to releng/8.2 in preparation for FreeBSD-8.2 release.

Approved by:	re (implicit)
@
text
@@


1.32.2.1.4.1
log
@SVN rev 209145 on 2010-06-14 02:09:06Z by kensmith

Copy stable/8 to releng/8.1 in preparation for 8.1-RC1.

Approved by:	re (implicit)
@
text
@@


1.32.2.1.2.1
log
@SVN rev 198460 on 2009-10-25 01:10:29Z by kensmith

Copy stable/8 to releng/8.0 as part of 8.0-RELEASE release procedure.

Approved by:	re (implicit)
@
text
@@


1.31
log
@Bump library versions in preparation for 7.0.

Ok'd by:	kan
@
text
@d6 1
a6 1
SHLIB_MAJOR=	6
@


1.31.2.1
log
@Switch importer
@
text
@d3 1
a3 1
# $FreeBSD: stable/7/lib/libedit/Makefile 169807 2007-05-21 02:49:08Z deischen $
@


1.31.12.1
log
@SVN rev 216618 on 2010-12-21 17:10:29Z by kensmith

Copy stable/7 to releng/7.4 in preparation for FreeBSD-7.4 release.

Approved by:	re (implicit)
@
text
@@


1.31.12.2
log
@Switch importer
@
text
@d3 1
a3 1
# $FreeBSD: releng/7.4/lib/libedit/Makefile 169807 2007-05-21 02:49:08Z deischen $
@


1.31.10.1
log
@SVN rev 203736 on 2010-02-10 00:26:20Z by kensmith

Copy stable/7 to releng/7.3 as part of the 7.3-RELEASE process.

Approved by:	re (implicit)
@
text
@@


1.31.8.1
log
@SVN rev 191087 on 2009-04-15 03:14:26Z by kensmith

Create releng/7.2 from stable/7 in preparation for 7.2-RELEASE.

Approved by:	re (implicit)
@
text
@@


1.31.6.1
log
@SVN rev 185281 on 2008-11-25 02:59:29Z by kensmith

Create releng/7.1 in preparation for moving into RC phase of 7.1 release
cycle.

Approved by:	re (implicit)
@
text
@@


1.30
log
@Sync libedit with recent NetBSD developments.  Including improvements to the
vi-mode, removal of clause 3, cleanups and the export of the tokenization
functions.

Not included: config.h, filecomplete.{c,h}
@
text
@d6 1
a6 1
SHLIB_MAJOR=	5
@


1.29
log
@Bump the shared library version number of all libraries that have not
been bumped since RELENG_5.

Reviewed by:	ru
Approved by:	re (not needed for commit check but in principle...)
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.19 2000/08/15 12:01:40 mrg Exp $
d23 3
a25 1
	editline.3 el_source.3
d36 1
a36 1
CFLAGS+= #-DDEBUG_PASTE
@


1.28
log
@style.Makefile(5)
@
text
@d6 1
a6 1
SHLIB_MAJOR=	4
@


1.28.10.1
log
@Insta-MFC of the shared library version bump.  All shared libraries
whose version has not already been bumped since RELENG_5 are being
bumped.

Revisions of files being MFC-ed:

> Path						Revision
> src/gnu/lib/libdialog/Makefile		1.43
> src/gnu/lib/libg2c/Makefile			1.16
> src/gnu/lib/libobjc/Makefile			1.27
> src/gnu/lib/libreadline/Makefile.inc		1.12
> src/gnu/lib/libregex/Makefile			1.32
> src/gnu/lib/libstdc++/Makefile		1.56
> src/kerberos5/lib/Makefile.inc		1.7
> src/lib/Makefile.inc				1.3
> src/lib/libalias/Makefile			1.31
> src/lib/libarchive/Makefile			1.37
> src/lib/libbegemot/Makefile			1.3
> src/lib/libbluetooth/Makefile			1.2
> src/lib/libbsnmp/Makefile.inc			1.6
> src/lib/libbz2/Makefile			1.6
> src/lib/libc_r/Makefile			1.42
> src/lib/libcrypt/Makefile			1.36
> src/lib/libdevstat/Makefile			1.15
> src/lib/libdevstat/devstat.h			1.11
> src/lib/libedit/Makefile			1.29
> src/lib/libexpat/Makefile			1.5
> src/lib/libfetch/Makefile			1.45
> src/lib/libftpio/Makefile			1.14
> src/lib/libgpib/Makefile			1.2
> src/lib/libipsec/Makefile			1.17
> src/lib/libkiconv/Makefile			1.3
> src/lib/libmagic/Makefile			1.7
> src/lib/libmp/Makefile			1.10
> src/lib/libncp/Makefile			1.6
> src/lib/libncurses/Makefile			1.79
> src/lib/libnetgraph/Makefile			1.11
> src/lib/libngatm/Makefile			1.6
> src/lib/libopie/Makefile			1.21
> src/lib/libpam/Makefile.inc			1.17
> src/lib/libpthread/Makefile			1.54
> src/lib/libradius/Makefile			1.12
> src/lib/libsdp/Makefile			1.4
> src/lib/libsmb/Makefile			1.8
> src/lib/libtacplus/Makefile			1.7
> src/lib/libthr/Makefile			1.14
> src/lib/libthread_db/Makefile			1.6
> src/lib/libugidfw/Makefile			1.7
> src/lib/libusbhid/Makefile			1.10
> src/lib/libutil/Makefile			1.57
> src/lib/libvgl/Makefile			1.11
> src/lib/libwrap/Makefile			1.17
> src/lib/libypclnt/Makefile			1.13
> src/lib/msun/Makefile				1.72
> src/secure/lib/libcrypto/Makefile		1.74
> src/secure/lib/libssh/Makefile		1.35
> src/secure/lib/libssl/Makefile		1.22
> src/usr.sbin/bsnmpd/modules/Makefile.inc	1.10

Reviewed by:	ru
Approved by:	re (scottl)
@
text
@d6 1
a6 1
SHLIB_MAJOR=	5
@


1.28.10.2
log
@MFC stefanf's work on libedit.  This includes a sync with NetBSD/OpenBSD
and some bugfixes.

Approved by:	re (scottl)
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.34 2005/05/28 12:02:53 lukem Exp $
d23 1
a23 3
	editline.3 el_source.3 \
	editline.3 tok_init.3 editline.3 tok_end.3 editline.3 tok_reset.3 \
	editline.3 tok_line.3 editline.3 tok_str.3
d34 1
a34 1
CFLAGS+= #-DDEBUG_PASTE -DDEBUG_EDIT
@


1.28.10.3
log
@Switch importer
@
text
@d3 1
a3 1
# $FreeBSD: stable/6/lib/libedit/Makefile 151131 2005-10-09 03:44:01Z delphij $
@


1.28.10.2.10.1
log
@SVN rev 183531 on 2008-10-02 02:57:24Z by kensmith

Create releng/6.4 from stable/6 in preparation for 6.4-RC1.

Approved by:	re (implicit)
@
text
@@


1.27
log
@Stage 3 of dynamic root support. Make all the libraries needed to run
binaries in /bin and /sbin installed in /lib. Only the versioned files
reside in /lib, the .so symlink continues to live /usr/lib so the
toolchain doesn't need to be modified.
@
text
@d7 1
a7 1
SHLIBDIR?=	/lib
@


1.26
log
@Zap now-unused SHLIB_MINOR
@
text
@d7 1
@


1.25
log
@-ltermcap is spelled -lncurses nowadays.
@
text
@a6 1
SHLIB_MINOR=	0
@


1.24
log
@Clean this up after the NetBSD syncing.
@
text
@d3 1
a3 1
# $FreeBSD: src/lib/libedit/Makefile,v 1.23 2001/10/01 21:08:03 obrien Exp $
d12 2
a13 2
DPADD=	${LIBTERMCAP}
LDADD=	-ltermcap
@


1.23
log
@Our histedit.h lives in src/include.
@
text
@d3 1
a3 1
# $FreeBSD: src/lib/libedit/Makefile,v 1.22 2001/10/01 08:41:25 obrien Exp $
d17 7
a23 8
MLINKS=	editline.3 el_init.3 editline.3 el_end.3 editline.3 el_reset.3 \
	editline.3 el_get.3 \
	editline.3 el_gets.3 editline.3 el_getc.3 editline.3 el_push.3 \
	editline.3 el_parse.3 editline.3 el_set.3 editline.3 el_source.3 \
	editline.3 el_resize.3 editline.3 el_line.3 \
	editline.3 el_insertstr.3 editline.3 el_deletestr.3 \
	editline.3 history_init.3 editline.3 history_end.3 \
	editline.3 history.3
a28 1

d30 1
d32 11
a42 16
CLEANFILES+=common.h editline.c emacs.h fcns.c fcns.h help.c help.h vi.h 
CFLAGS+=-I. -I${.CURDIR}
CFLAGS+=#-DDEBUG_TTY -DDEBUG_KEY -DDEBUG_READ -DDEBUG -DDEBUG_REFRESH
CFLAGS+=#-DDEBUG_PASTE

AHDR=vi.h emacs.h common.h
ASRC=${.CURDIR}/vi.c ${.CURDIR}/emacs.c ${.CURDIR}/common.c

vi.h: vi.c makelist
	sh ${.CURDIR}/makelist -h ${.CURDIR}/vi.c > ${.TARGET}

emacs.h: emacs.c makelist
	sh ${.CURDIR}/makelist -h ${.CURDIR}/emacs.c > ${.TARGET}

common.h: common.c makelist
	sh ${.CURDIR}/makelist -h ${.CURDIR}/common.c > ${.TARGET}
d63 1
a63 1
test.o:	${.CURDIR}/TEST/test.c
d65 1
a65 1
test:	test.o libedit.a ${DPADD} ${LIBTERMCAP}
@


1.22
log
@+ Sync with NetBSD, bringing in feature enhancements.
+ Convert to ANSI-C function definitions
+ style(9)

Submitted by:	kris
@
text
@d3 1
a3 1
# $FreeBSD: src/lib/libedit/Makefile,v 1.21 2001/04/12 09:57:12 ache Exp $
a31 1
INCS=	histedit.h
@


1.21
log
@Back out history.3 link removing - conflict fixed in libreadline instead
@
text
@d1 1
d3 1
a3 1
# $FreeBSD$
d6 1
a6 1
SHLIB_MAJOR=	3
d18 1
d24 1
a24 1
	editline.3 history.3 editline.3 el_data_get.3 editline.3 el_data_set.3
d32 1
d63 2
a64 2
editline.c:
	sh ${.CURDIR}/makelist -e ${OSRCS} > ${.TARGET}
d66 5
a70 2
beforedepend editline.o editline.po editline.So: \
	vi.h emacs.h common.h fcns.h fcns.c help.h help.c
@


1.20
log
@Comment out one of many editline.3 MLINKS conflicting with libreadline
(history.3)
@
text
@d2 1
a2 1
# $FreeBSD: src/lib/libedit/Makefile,v 1.19 2001/03/27 17:27:00 ru Exp $
d22 1
a22 4
	editline.3 el_data_get.3 editline.3 el_data_set.3

# Conflict with libreadline
#MLINKS=        editline.3 history.3
@


1.19
log
@MAN[1-9] -> MAN.
@
text
@d2 1
a2 1
# $FreeBSD: src/lib/libedit/Makefile,v 1.18 1999/10/03 10:41:40 marcel Exp $
d22 4
a25 1
	editline.3 history.3 editline.3 el_data_get.3 editline.3 el_data_set.3
@


1.18
log
@Fix style bugs

Submitted by: bde
@
text
@d2 1
a2 1
# $FreeBSD: src/lib/libedit/Makefile,v 1.17 1999/09/29 15:18:42 marcel Exp $
d14 1
a14 2
MAN3=   editline.3
MAN5=   editrc.5
@


1.18.2.1
log
@MFC: MAN[1-9] -> MAN.
@
text
@d2 1
a2 1
# $FreeBSD: src/lib/libedit/Makefile,v 1.18 1999/10/03 10:41:40 marcel Exp $
d14 2
a15 1
MAN=	editline.3 editrc.5
@


1.18.2.2
log
@MFC: There is no actually the termcap library.
@
text
@d2 1
a2 1
# $FreeBSD$
d11 2
a12 2
DPADD=	${LIBNCURSES}
LDADD=	-lncurses
@


1.18.2.3
log
@Switch importer
@
text
@d2 1
a2 1
# $FreeBSD: stable/4/lib/libedit/Makefile 100563 2002-07-23 10:20:20Z ru $
@


1.17
log
@sigset_t change (part 5 of 5)
-----------------------------

Most of the userland changes are in libc. For both the alpha
and the i386 setjmp has been changed to accomodate for the
new sigset_t. Internally, libc is mostly rewritten to use the
new syscalls. The exception is in compat-43/sigcompat.c

The POSIX thread library has also been rewritten to use the
new sigset_t. Except, that it currently only handles NSIG
signals instead of the maximum _SIG_MAXSIG. This should not
be a problem because current applications don't use any
signals higher than NSIG.

There are version bumps for the following libraries:
  libdialog
  libreadline
  libc
  libc_r
  libedit
  libftpio
  libss

These libraries either a) have one of the modified structures
visible in the interface, or b) use sigset_t internally and
may cause breakage if new binaries are used against libraries
that don't have the sigset_t change. This not an immediate
issue, but will be as soon as applications start using the
new range to its fullest.

NOTE: libncurses already had an version bump and has not been
      given one now.

NOTE: doscmd is a real casualty and has been disconnected for
      the moment. Reconnection will eventually happen after
      doscmd has been fixed. I'm aware that being the last one
      to touch it, I'm automaticly promoted to being maintainer.
      According to good taste this means that I will receive a
      badge which either will be glued or mechanically stapled,
      drilled or otherwise violently forced onto me :-)

NOTE: pcvt/vttest cannot be compiled with -traditional. The
      change cause sys/types to be included along the way which
      contains the const and volatile modifiers. I don't consider
      this a solution, but more a workaround.
@
text
@d2 1
a2 3
#
# $FreeBSD$
#
d11 2
a12 2
LDADD+= -ltermcap
DPADD+= ${LIBTERMCAP}
@


1.16
log
@Fix MLINKS.

Noticed by: Norman C. Rice <nrice@@emu.sourcee.com>
@
text
@d2 3
d7 2
@


1.15
log
@Add 2 functions: el_data_set() and el_data_get() which do what you
would expect.  (Allow user data to be associated with an EditLine context).

As this changes no existing interfaces and doesn't alter any structs
visable to the user I've been told that its not necessary to bump
the version of the library.
@
text
@d19 2
a20 3
	editline.3 history_init.3 editline.3 history_end.3 editline.3 \
	history.3 el_data_get.3 el_data_set.3

@


1.14
log
@Switch to using ".So" as the extension for PIC object files rather
than ".so".  The old extension conflicted with well-established
naming conventions for dynamically loadable modules.

The "clean" targets continue to remove ".so" files too, to deal with
old systems.
@
text
@d19 2
a20 1
	editline.3 history_init.3 editline.3 history_end.3 editline.3 history.3
@


1.13
log
@Improve dependancy behaviour a little more.

This is still pretty disgusting.

Submitted by:	bde
@
text
@d61 1
a61 1
beforedepend editline.o editline.po editline.so: \
@


1.12
log
@List help.h a a dependancy for editline.c
Use 'beforedepend' instead of '.depend' to hang automatically-generated
headers off.

XXX the latter is bogus without a 'beforeall' target and explicit ordering
of dependancy generation for targets.
@
text
@d58 2
a59 2
editline.c: ${OSRCS} help.h
	sh ${.CURDIR}/makelist -e ${.ALLSRC:T} > ${.TARGET}
d61 2
a62 1
beforedepend: vi.h emacs.h common.h fcns.h help.h help.c
@


1.11
log
@Move editrc.5 from MAN3 to MAN5
@
text
@d58 1
a58 1
editline.c: ${OSRCS}
d61 1
a61 1
.depend: vi.h emacs.h common.h fcns.h help.h help.c
@


1.10
log
@Pull histedit.h out, it lives in /usr/src/include, not here.
@
text
@d11 2
a12 1
MAN3=	editline.3 editrc.5
@


1.9
log
@Update libedit with changes from NetBSD.  Includes history load/save,
some buffer overflow guards and some stylistic cleanups.
Also adds manpages.

Obtained from:	NetBSD
@
text
@a26 1
HEADERS=histedit.h
a63 4

beforeinstall:
	${INSTALL} -C -o ${BINOWN} -g ${BINGRP} -m 444 \
		${.CURDIR}/histedit.h ${DESTDIR}/usr/include
@


1.8
log
@Add missing DPADD, remove duplicate -ltermcap
@
text
@d5 2
a6 3
OSRCS=	chared.c common.c el.c emacs.c hist.c key.c map.c parse.c \
	prompt.c read.c refresh.c search.c sig.c term.c tty.c vi.c \
	help.c fcns.c help.h
d11 10
d26 4
a29 1
CLEANFILES+=common.h emacs.h fcns.h help.h vi.h help.c fcns.c editline.c
a62 1

d65 4
@


1.8.2.1
log
@MFC: Libedit updates from NetBSD, local fixes, etc.
Required by new ftp(1).
@
text
@d5 3
a7 2
OSRCS=	chared.c common.c el.c emacs.c fcns.c help.c hist.c key.c map.c \
	parse.c prompt.c read.c refresh.c search.c sig.c term.c tty.c vi.c
a11 11
MAN3=   editline.3
MAN5=   editrc.5

MLINKS=	editline.3 el_init.3 editline.3 el_end.3 editline.3 el_reset.3 \
	editline.3 el_gets.3 editline.3 el_getc.3 editline.3 el_push.3 \
	editline.3 el_parse.3 editline.3 el_set.3 editline.3 el_source.3 \
	editline.3 el_resize.3 editline.3 el_line.3 \
	editline.3 el_insertstr.3 editline.3 el_deletestr.3 \
	editline.3 history_init.3 editline.3 history_end.3 editline.3 history.3


d17 1
a17 3
SRCS+=	common.h emacs.h fcns.h help.h vi.h

CLEANFILES+=common.h editline.c emacs.h fcns.c fcns.h help.c help.h vi.h 
d46 4
a49 2
editline.c:
	sh ${.CURDIR}/makelist -e ${OSRCS} > ${.TARGET}
a50 2
beforedepend editline.o editline.po editline.so: \
	vi.h emacs.h common.h fcns.h fcns.c help.h help.c
@


1.7
log
@Remove trailing whitespace.
@
text
@d10 1
d53 1
a53 1
	${CC} ${CFLAGS} ${.ALLSRC} -o ${.TARGET} libedit.a ${LDADD} -ltermcap
@


1.6
log
@Add LDADD+= -ltermcap
@
text
@d17 1
a17 1
CFLAGS+=-I. -I${.CURDIR} 
d21 1
a21 1
AHDR=vi.h emacs.h common.h 
d39 1
a39 1
help.c: ${ASRC} makelist 
@


1.5
log
@Change all references to LIBTERM and -ltermlib to LIBTERMCAP and -ltermcap
@
text
@d9 2
@


1.4
log
@Add dependencies on libraries to DPADD.  Someday this should be done
automagically.  -lfoo has to be right to work, but ${LIBFO0} is too
easy to forget or misspell; nothing checks it and it should be
different for shared libraries.
@
text
@d49 1
a49 1
test:	test.o libedit.a ${DPADD} ${LIBTERM}
@


1.3
log
@Make this work even if make depend is not run.
Reviewed by:
Submitted by:	jkh
@
text
@d49 1
a49 1
test:	libedit.a test.o 
@


1.2
log
@histedit.h is now installed from include.
@
text
@d7 1
a7 1
	help.c fcns.c
@


1.1
log
@Initial revision
@
text
@a51 6
beforeinstall:
	-cd ${.CURDIR}; cmp -s histedit.h ${DESTDIR}/usr/include/histedit.h > \
	    /dev/null 2>&1 || \
	    install -c -o ${BINOWN} -g ${BINGRP} -m 444 histedit.h \
	    ${DESTDIR}/usr/include

@


1.1.1.1
log
@BSD 4.4 Lite Lib Sources
@
text
@@
