Makefile revision 1.5
11.1Scgd# @(#)Makefile 8.1 (Berkeley) 6/4/93 21.1Scgd 31.1ScgdLIB= edit 41.1Scgd 51.1ScgdOSRCS= chared.c common.c el.c emacs.c hist.c key.c map.c parse.c \ 61.1Scgd prompt.c read.c refresh.c search.c sig.c term.c tty.c vi.c \ 71.1Scgd help.c fcns.c 81.1Scgd 91.5SlukemMAN= editline.3 editrc.5 101.5Slukem 111.5SlukemMLINKS= editline.3 el_init.3 editline.3 el_end.3 editline.3 el_reset.3 \ 121.5Slukem editline.3 el_gets.3 editline.3 el_getc.3 editline.3 el_push.3 \ 131.5Slukem editline.3 el_parse.3 editline.3 el_set.3 editline.3 el_source.3 \ 141.5Slukem editline.3 el_resize.3 editline.3 el_line.3 \ 151.5Slukem editline.3 el_insertstr.3 editline.3 el_deletestr.3 \ 161.5Slukem editline.3 history_init.3 editline.3 history_end.3 editline.3 history.3 171.5Slukem 181.1Scgd# For speed and debugging 191.1Scgd#SRCS= ${OSRCS} tokenizer.c history.c 201.1Scgd# For protection 211.1ScgdSRCS= editline.c tokenizer.c history.c 221.1Scgd 231.1ScgdCLEANFILES+=common.h emacs.h fcns.h help.h vi.h help.c fcns.c editline.c 241.1ScgdCFLAGS+=-I. -I${.CURDIR} 251.1ScgdCFLAGS+=#-DDEBUG_TTY -DDEBUG_KEY -DDEBUG_READ -DDEBUG -DDEBUG_REFRESH 261.1ScgdCFLAGS+=#-DDEBUG_PASTE 271.1Scgd 281.1ScgdAHDR=vi.h emacs.h common.h 291.1ScgdASRC=${.CURDIR}/vi.c ${.CURDIR}/emacs.c ${.CURDIR}/common.c 301.1Scgd 311.1Scgdvi.h: vi.c makelist 321.1Scgd sh ${.CURDIR}/makelist -h ${.CURDIR}/vi.c > ${.TARGET} 331.1Scgd 341.1Scgdemacs.h: emacs.c makelist 351.1Scgd sh ${.CURDIR}/makelist -h ${.CURDIR}/emacs.c > ${.TARGET} 361.1Scgd 371.1Scgdcommon.h: common.c makelist 381.1Scgd sh ${.CURDIR}/makelist -h ${.CURDIR}/common.c > ${.TARGET} 391.1Scgd 401.1Scgdfcns.h: ${AHDR} makelist 411.1Scgd sh ${.CURDIR}/makelist -fh ${AHDR} > ${.TARGET} 421.1Scgd 431.1Scgdfcns.c: ${AHDR} fcns.h makelist 441.1Scgd sh ${.CURDIR}/makelist -fc ${AHDR} > ${.TARGET} 451.1Scgd 461.1Scgdhelp.c: ${ASRC} makelist 471.1Scgd sh ${.CURDIR}/makelist -bc ${ASRC} > ${.TARGET} 481.1Scgd 491.1Scgdhelp.h: ${ASRC} makelist 501.1Scgd sh ${.CURDIR}/makelist -bh ${ASRC} > ${.TARGET} 511.1Scgd 521.1Scgdeditline.c: ${OSRCS} 531.1Scgd sh ${.CURDIR}/makelist -e ${.ALLSRC:T} > ${.TARGET} 541.1Scgd 551.1Scgd.depend: vi.h emacs.h common.h fcns.h help.h help.c 561.2Scgdall: vi.h emacs.h common.h fcns.h help.h help.c 571.1Scgd 581.1Scgd 591.1Scgdtest: libedit.a test.o 601.1Scgd ${CC} ${CFLAGS} ${.ALLSRC} -o ${.TARGET} libedit.a ${LDADD} -ltermcap 611.1Scgd 621.3Sjtkincludes: 631.1Scgd -cd ${.CURDIR}; cmp -s histedit.h ${DESTDIR}/usr/include/histedit.h > \ 641.1Scgd /dev/null 2>&1 || \ 651.4Sthorpej ${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 444 histedit.h \ 661.1Scgd ${DESTDIR}/usr/include 671.1Scgd 681.1Scgd.include <bsd.lib.mk> 69