|
|
1.1 ! root 1: # @(#)Makefile 5.16 (Berkeley) 5/11/90 ! 2: # ! 3: # C Shell with process control; VM/UNIX VAX Makefile ! 4: # Bill Joy UC Berkeley; Jim Kulp IIASA, Austria ! 5: # ! 6: # To profile, put -DPROF in DEFS and -pg in CFLAGS, and recompile. ! 7: ! 8: PROG= csh ! 9: SHAREDSTRINGS=1 ! 10: CFLAGS+=-DTELL -DVFORK -DFILEC ! 11: SRCS= alloc.c doprnt.c sh.c sh.char.c sh.dir.c sh.dol.c sh.err.c \ ! 12: sh.exec.c sh.exp.c sh.file.c sh.func.c sh.glob.c sh.hist.c \ ! 13: sh.init.c sh.lex.c sh.misc.c sh.parse.c sh.print.c sh.proc.c \ ! 14: sh.sem.c sh.set.c sh.time.c ! 15: MAN1= csh.0 ! 16: MLINKS= csh.1 limits.1 csh.1 alias.1 csh.1 bg.1 csh.1 dirs.1 csh.1 fg.1 \ ! 17: csh.1 foreach.1 csh.1 history.1 csh.1 jobs.1 csh.1 popd.1 \ ! 18: csh.1 pushd.1 csh.1 rehash.1 csh.1 repeat.1 csh.1 suspend.1 \ ! 19: csh.1 stop.1 csh.1 source.1 ! 20: ! 21: .include <bsd.prog.mk> ! 22: ! 23: csh: strings.o ! 24: OBJS+= strings.o ! 25: ! 26: # strings.o, sh.init.o, and sh.char.o are specially processed to be shared ! 27: strings.o: ${OBJS:Nstrings.o} ! 28: xstr ! 29: ${CC} ${.INCLUDES} ${CFLAGS} -c -R xs.c -o ${.TARGET} ! 30: @rm -f xs.c ! 31: ! 32: sh.char.o sh.init.o: ! 33: ${CC} -E ${.INCLUDES} ${CFLAGS} ${.IMPSRC} | xstr -c - ! 34: @${CC} ${.INCLUDES} ${CFLAGS} -c -R x.c -o ${.TARGET} ! 35: @rm -f x.c
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.