Deleted Added
sdiff udiff text old ( 17929 ) new ( 26926 )
full compact
1# @(#)Makefile 8.1 (Berkeley) 6/4/93
2
3LIB= edit
4
5OSRCS= chared.c common.c el.c emacs.c hist.c key.c map.c parse.c \
6 prompt.c read.c refresh.c search.c sig.c term.c tty.c vi.c \
7 help.c fcns.c help.h
8
9LDADD+= -ltermcap
10DPADD+= ${LIBTERMCAP}
11
12# For speed and debugging
13#SRCS= ${OSRCS} tokenizer.c history.c
14# For protection
15SRCS= editline.c tokenizer.c history.c
16
17CLEANFILES+=common.h emacs.h fcns.h help.h vi.h help.c fcns.c editline.c
18CFLAGS+=-I. -I${.CURDIR}
19CFLAGS+=#-DDEBUG_TTY -DDEBUG_KEY -DDEBUG_READ -DDEBUG -DDEBUG_REFRESH
20CFLAGS+=#-DDEBUG_PASTE
21
22AHDR=vi.h emacs.h common.h
23ASRC=${.CURDIR}/vi.c ${.CURDIR}/emacs.c ${.CURDIR}/common.c
24
25vi.h: vi.c makelist

--- 17 unchanged lines hidden (view full) ---

43help.h: ${ASRC} makelist
44 sh ${.CURDIR}/makelist -bh ${ASRC} > ${.TARGET}
45
46editline.c: ${OSRCS}
47 sh ${.CURDIR}/makelist -e ${.ALLSRC:T} > ${.TARGET}
48
49.depend: vi.h emacs.h common.h fcns.h help.h help.c
50
51
52test: test.o libedit.a ${DPADD} ${LIBTERMCAP}
53 ${CC} ${CFLAGS} ${.ALLSRC} -o ${.TARGET} libedit.a ${LDADD}
54
55.include <bsd.lib.mk>