Makefile revision 1.3
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.1Scgd# For speed and debugging 101.1Scgd#SRCS= ${OSRCS} tokenizer.c history.c 111.1Scgd# For protection 121.1ScgdSRCS= editline.c tokenizer.c history.c 131.1Scgd 141.1ScgdCLEANFILES+=common.h emacs.h fcns.h help.h vi.h help.c fcns.c editline.c 151.1ScgdCFLAGS+=-I. -I${.CURDIR} 161.1ScgdCFLAGS+=#-DDEBUG_TTY -DDEBUG_KEY -DDEBUG_READ -DDEBUG -DDEBUG_REFRESH 171.1ScgdCFLAGS+=#-DDEBUG_PASTE 181.1Scgd 191.1ScgdAHDR=vi.h emacs.h common.h 201.1ScgdASRC=${.CURDIR}/vi.c ${.CURDIR}/emacs.c ${.CURDIR}/common.c 211.1Scgd 221.1Scgdvi.h: vi.c makelist 231.1Scgd sh ${.CURDIR}/makelist -h ${.CURDIR}/vi.c > ${.TARGET} 241.1Scgd 251.1Scgdemacs.h: emacs.c makelist 261.1Scgd sh ${.CURDIR}/makelist -h ${.CURDIR}/emacs.c > ${.TARGET} 271.1Scgd 281.1Scgdcommon.h: common.c makelist 291.1Scgd sh ${.CURDIR}/makelist -h ${.CURDIR}/common.c > ${.TARGET} 301.1Scgd 311.1Scgdfcns.h: ${AHDR} makelist 321.1Scgd sh ${.CURDIR}/makelist -fh ${AHDR} > ${.TARGET} 331.1Scgd 341.1Scgdfcns.c: ${AHDR} fcns.h makelist 351.1Scgd sh ${.CURDIR}/makelist -fc ${AHDR} > ${.TARGET} 361.1Scgd 371.1Scgdhelp.c: ${ASRC} makelist 381.1Scgd sh ${.CURDIR}/makelist -bc ${ASRC} > ${.TARGET} 391.1Scgd 401.1Scgdhelp.h: ${ASRC} makelist 411.1Scgd sh ${.CURDIR}/makelist -bh ${ASRC} > ${.TARGET} 421.1Scgd 431.1Scgdeditline.c: ${OSRCS} 441.1Scgd sh ${.CURDIR}/makelist -e ${.ALLSRC:T} > ${.TARGET} 451.1Scgd 461.1Scgd.depend: vi.h emacs.h common.h fcns.h help.h help.c 471.2Scgdall: vi.h emacs.h common.h fcns.h help.h help.c 481.1Scgd 491.1Scgd 501.1Scgdtest: libedit.a test.o 511.1Scgd ${CC} ${CFLAGS} ${.ALLSRC} -o ${.TARGET} libedit.a ${LDADD} -ltermcap 521.1Scgd 531.3Sjtkincludes: 541.1Scgd -cd ${.CURDIR}; cmp -s histedit.h ${DESTDIR}/usr/include/histedit.h > \ 551.1Scgd /dev/null 2>&1 || \ 561.1Scgd install -c -o ${BINOWN} -g ${BINGRP} -m 444 histedit.h \ 571.1Scgd ${DESTDIR}/usr/include 581.1Scgd 591.1Scgd.include <bsd.lib.mk> 60