Makefile revision 1.7
11.7Schristos# $NetBSD: Makefile,v 1.7 1997/03/24 22:11:53 christos Exp $ 21.1Scgd# @(#)Makefile 8.1 (Berkeley) 6/4/93 31.1Scgd 41.1ScgdLIB= edit 51.1Scgd 61.1ScgdOSRCS= chared.c common.c el.c emacs.c hist.c key.c map.c parse.c \ 71.1Scgd prompt.c read.c refresh.c search.c sig.c term.c tty.c vi.c \ 81.1Scgd help.c fcns.c 91.1Scgd 101.5SlukemMAN= editline.3 editrc.5 111.5Slukem 121.5SlukemMLINKS= editline.3 el_init.3 editline.3 el_end.3 editline.3 el_reset.3 \ 131.5Slukem editline.3 el_gets.3 editline.3 el_getc.3 editline.3 el_push.3 \ 141.5Slukem editline.3 el_parse.3 editline.3 el_set.3 editline.3 el_source.3 \ 151.5Slukem editline.3 el_resize.3 editline.3 el_line.3 \ 161.5Slukem editline.3 el_insertstr.3 editline.3 el_deletestr.3 \ 171.5Slukem editline.3 history_init.3 editline.3 history_end.3 editline.3 history.3 181.5Slukem 191.1Scgd# For speed and debugging 201.1Scgd#SRCS= ${OSRCS} tokenizer.c history.c 211.1Scgd# For protection 221.1ScgdSRCS= editline.c tokenizer.c history.c 231.1Scgd 241.7SchristosINCS= histedit.h 251.7SchristosINCSDIR=/usr/include 261.7Schristos 271.1ScgdCLEANFILES+=common.h emacs.h fcns.h help.h vi.h help.c fcns.c editline.c 281.1ScgdCFLAGS+=-I. -I${.CURDIR} 291.1ScgdCFLAGS+=#-DDEBUG_TTY -DDEBUG_KEY -DDEBUG_READ -DDEBUG -DDEBUG_REFRESH 301.1ScgdCFLAGS+=#-DDEBUG_PASTE 311.1Scgd 321.1ScgdAHDR=vi.h emacs.h common.h 331.1ScgdASRC=${.CURDIR}/vi.c ${.CURDIR}/emacs.c ${.CURDIR}/common.c 341.1Scgd 351.1Scgdvi.h: vi.c makelist 361.1Scgd sh ${.CURDIR}/makelist -h ${.CURDIR}/vi.c > ${.TARGET} 371.1Scgd 381.1Scgdemacs.h: emacs.c makelist 391.1Scgd sh ${.CURDIR}/makelist -h ${.CURDIR}/emacs.c > ${.TARGET} 401.1Scgd 411.1Scgdcommon.h: common.c makelist 421.1Scgd sh ${.CURDIR}/makelist -h ${.CURDIR}/common.c > ${.TARGET} 431.1Scgd 441.1Scgdfcns.h: ${AHDR} makelist 451.1Scgd sh ${.CURDIR}/makelist -fh ${AHDR} > ${.TARGET} 461.1Scgd 471.1Scgdfcns.c: ${AHDR} fcns.h makelist 481.1Scgd sh ${.CURDIR}/makelist -fc ${AHDR} > ${.TARGET} 491.1Scgd 501.1Scgdhelp.c: ${ASRC} makelist 511.1Scgd sh ${.CURDIR}/makelist -bc ${ASRC} > ${.TARGET} 521.1Scgd 531.1Scgdhelp.h: ${ASRC} makelist 541.1Scgd sh ${.CURDIR}/makelist -bh ${ASRC} > ${.TARGET} 551.1Scgd 561.1Scgdeditline.c: ${OSRCS} 571.1Scgd sh ${.CURDIR}/makelist -e ${.ALLSRC:T} > ${.TARGET} 581.1Scgd 591.1Scgd.depend: vi.h emacs.h common.h fcns.h help.h help.c 601.2Scgdall: vi.h emacs.h common.h fcns.h help.h help.c 611.1Scgd 621.1Scgd 631.1Scgdtest: libedit.a test.o 641.1Scgd ${CC} ${CFLAGS} ${.ALLSRC} -o ${.TARGET} libedit.a ${LDADD} -ltermcap 651.1Scgd 661.1Scgd.include <bsd.lib.mk> 67