Makefile revision 1.6
11.6Smycroft# from: @(#)Makefile 8.1 (Berkeley) 5/31/93 21.5Smycroft# $Id: Makefile,v 1.6 1994/09/21 00:10:23 mycroft Exp $ 31.6Smycroft# 41.1Scgd# C Shell with process control; VM/UNIX VAX Makefile 51.1Scgd# Bill Joy UC Berkeley; Jim Kulp IIASA, Austria 61.1Scgd# 71.1Scgd# To profile, put -DPROF in DEFS and -pg in CFLAGS, and recompile. 81.1Scgd 91.1ScgdPROG= csh 101.6SmycroftDFLAGS=-DBUILTIN -DFILEC -DNLS -DSHORT_STRINGS 111.6Smycroft#CFLAGS+=-g 121.6Smycroft#CFLAGS+=-Wall -ansi -pedantic 131.6SmycroftCFLAGS+=-I${.CURDIR} -I. ${DFLAGS} 141.1ScgdSRCS= alloc.c char.c const.c csh.c dir.c dol.c err.c exec.c exp.c file.c \ 151.6Smycroft func.c glob.c hist.c init.c lex.c misc.c parse.c printf.c proc.c \ 161.6Smycroft sem.c set.c str.c time.c 171.6Smycroft#.PATH: ${.CURDIR}/../../usr.bin/printf 181.1Scgd 191.1ScgdMAN1= csh.0 201.1ScgdMLINKS= csh.1 limit.1 csh.1 alias.1 csh.1 bg.1 csh.1 dirs.1 csh.1 fg.1 \ 211.1Scgd csh.1 foreach.1 csh.1 history.1 csh.1 jobs.1 csh.1 popd.1 \ 221.1Scgd csh.1 pushd.1 csh.1 rehash.1 csh.1 repeat.1 csh.1 suspend.1 \ 231.1Scgd csh.1 stop.1 csh.1 source.1 241.1ScgdCLEANFILES+=err.h const.h 251.1Scgd 261.1Scgdconst.h: err.h 271.1Scgd 281.1Scgderr.h: err.c 291.1Scgd @rm -f $@ 301.1Scgd @echo '/* Do not edit this file, make creates it. */' > $@ 311.1Scgd @echo '#ifndef _h_sh_err' >> $@ 321.1Scgd @echo '#define _h_sh_err' >> $@ 331.1Scgd egrep 'ERR_' ${.CURDIR}/$*.c | egrep '^#define' >> $@ 341.1Scgd @echo '#endif /* _h_sh_err */' >> $@ 351.1Scgd 361.1Scgdconst.h: const.c 371.1Scgd @rm -f $@ 381.1Scgd @echo '/* Do not edit this file, make creates it. */' > $@ 391.1Scgd ${CC} -E ${CFLAGS} ${.CURDIR}/$*.c | egrep 'Char STR' | \ 401.1Scgd sed -e 's/Char \([a-zA-Z0-9_]*\)\(.*\)/extern Char \1[];/' | \ 411.1Scgd sort >> $@ 421.1Scgd 431.6Smycroft.depend alloc.o: const.h err.h 441.1Scgd 451.1Scgd.include <bsd.prog.mk> 46