Makefile revision 1.1
11.1Scgd# @(#)Makefile 5.24 (Berkeley) 7/1/91 21.1Scgd# 31.1Scgd# C Shell with process control; VM/UNIX VAX Makefile 41.1Scgd# Bill Joy UC Berkeley; Jim Kulp IIASA, Austria 51.1Scgd# 61.1Scgd# To profile, put -DPROF in DEFS and -pg in CFLAGS, and recompile. 71.1Scgd 81.1ScgdPROG= csh 91.1ScgdCFLAGS+=-fcombine-regs -fstrength-reduce -DFILEC -DNLS -DSHORT_STRINGS -I. 101.1ScgdSRCS= alloc.c char.c const.c csh.c dir.c dol.c err.c exec.c exp.c file.c \ 111.1Scgd func.c glob.c hist.c init.c lex.c misc.c parse.c print.c printf.c \ 121.1Scgd proc.c sem.c set.c str.c time.c 131.1Scgd 141.1ScgdMAN1= csh.0 151.1ScgdMLINKS= csh.1 limit.1 csh.1 alias.1 csh.1 bg.1 csh.1 dirs.1 csh.1 fg.1 \ 161.1Scgd csh.1 foreach.1 csh.1 history.1 csh.1 jobs.1 csh.1 popd.1 \ 171.1Scgd csh.1 pushd.1 csh.1 rehash.1 csh.1 repeat.1 csh.1 suspend.1 \ 181.1Scgd csh.1 stop.1 csh.1 source.1 191.1ScgdCLEANFILES+=err.h const.h 201.1Scgd 211.1Scgdconst.h: err.h 221.1Scgd 231.1Scgderr.h: err.c 241.1Scgd @rm -f $@ 251.1Scgd @echo '/* Do not edit this file, make creates it. */' > $@ 261.1Scgd @echo '#ifndef _h_sh_err' >> $@ 271.1Scgd @echo '#define _h_sh_err' >> $@ 281.1Scgd egrep 'ERR_' ${.CURDIR}/$*.c | egrep '^#define' >> $@ 291.1Scgd @echo '#endif /* _h_sh_err */' >> $@ 301.1Scgd 311.1Scgdconst.h: const.c 321.1Scgd @rm -f $@ 331.1Scgd @echo '/* Do not edit this file, make creates it. */' > $@ 341.1Scgd ${CC} -E ${CFLAGS} ${.CURDIR}/$*.c | egrep 'Char STR' | \ 351.1Scgd sed -e 's/Char \([a-zA-Z0-9_]*\)\(.*\)/extern Char \1[];/' | \ 361.1Scgd sort >> $@ 371.1Scgd 381.1Scgd.depend alloc.o: const.h err.h 391.1Scgd 401.1Scgd.include <bsd.prog.mk> 41