|
|
1.1 ! root 1: CC=cc ! 2: CFLAGS= ! 3: HOST=. ! 4: INCLUDES=-I. -I.. -I../../c ! 5: LDFLAGS=-s ! 6: SHELL=/bin/sh ! 7: OBJS=dag.o decl.o enode.o error.o expr.o init.o input.o lex.o main.o \ ! 8: output.o profio.o simp.o stmt.o string.o sym.o tree.o types.o \ ! 9: gen.o decode.o pseudos.o stab.o sel.o ! 10: ! 11: rcc: $(OBJS) ! 12: $(CC) $(LDFLAGS) -o rcc $(OBJS) ! 13: ! 14: $(OBJS): ../../c/c.h ../../c/token.h ../../c/ops.h config.h ../gen.h ! 15: lex.o: ../../c/keywords.h ! 16: ! 17: gen.o: ../gen.c; $(CC) -c $(CFLAGS) $(INCLUDES) ../gen.c ! 18: dag.o: ../../c/dag.c; $(CC) -c $(CFLAGS) $(INCLUDES) ../../c/dag.c ! 19: decl.o: ../../c/decl.c; $(CC) -c $(CFLAGS) $(INCLUDES) ../../c/decl.c ! 20: enode.o: ../../c/enode.c; $(CC) -c $(CFLAGS) $(INCLUDES) ../../c/enode.c ! 21: error.o: ../../c/error.c; $(CC) -c $(CFLAGS) $(INCLUDES) ../../c/error.c ! 22: expr.o: ../../c/expr.c; $(CC) -c $(CFLAGS) $(INCLUDES) ../../c/expr.c ! 23: init.o: ../../c/init.c; $(CC) -c $(CFLAGS) $(INCLUDES) ../../c/init.c ! 24: input.o: ../../c/input.c; $(CC) -c $(CFLAGS) $(INCLUDES) ../../c/input.c ! 25: lex.o: ../../c/lex.c; $(CC) -c $(CFLAGS) $(INCLUDES) ../../c/lex.c ! 26: main.o: ../../c/main.c; $(CC) -c $(CFLAGS) $(INCLUDES) ../../c/main.c ! 27: output.o: ../../c/output.c; $(CC) -c $(CFLAGS) $(INCLUDES) ../../c/output.c ! 28: profio.o: ../../c/profio.c; $(CC) -c $(CFLAGS) $(INCLUDES) ../../c/profio.c ! 29: simp.o: ../../c/simp.c; $(CC) -c $(CFLAGS) $(INCLUDES) ../../c/simp.c ! 30: stmt.o: ../../c/stmt.c; $(CC) -c $(CFLAGS) $(INCLUDES) ../../c/stmt.c ! 31: string.o: ../../c/string.c; $(CC) -c $(CFLAGS) $(INCLUDES) ../../c/string.c ! 32: sym.o: ../../c/sym.c; $(CC) -c $(CFLAGS) $(INCLUDES) ../../c/sym.c ! 33: tree.o: ../../c/tree.c; $(CC) -c $(CFLAGS) $(INCLUDES) ../../c/tree.c ! 34: types.o: ../../c/types.c; $(CC) -c $(CFLAGS) $(INCLUDES) ../../c/types.c ! 35: decode.o: $(HOST)/decode.c; $(CC) -c $(CFLAGS) $(INCLUDES) $(HOST)/decode.c ! 36: pseudos.o: pseudos.c; $(CC) -c $(CFLAGS) $(INCLUDES) pseudos.c ! 37: stab.o: stab.c ../stabstub.c ../stabbsd.c; $(CC) -c $(CFLAGS) $(INCLUDES) stab.c ! 38: sel.o: sel.c; $(CC) -c $(CFLAGS) $(INCLUDES) sel.c ! 39: ! 40: clean: ! 41: rm -f *.o tst/od[23] tst/*.[12so] ! 42: -cd tst; rm -f 8q array cf cq cvt fields front incr init \ ! 43: limits paranoia sort spill stdarg struct switch wf1 yacc ! 44: ! 45: test: tst/8q.s tst/array.s tst/cf.s tst/cq.s tst/cvt.s tst/fields.s tst/front.s \ ! 46: tst/incr.s tst/init.s tst/limits.s tst/paranoia.s tst/sort.s tst/spill.s \ ! 47: tst/stdarg.s tst/struct.s tst/switch.s tst/wf1.s tst/yacc.s ! 48: ! 49: tst/8q.s: ../run rcc ../../tst/8q.c ../../tst/8q.0; @../run 8q $(OS) ! 50: tst/array.s: ../run rcc ../../tst/array.c ../../tst/array.0; @../run array $(OS) ! 51: tst/cf.s: ../run rcc ../../tst/cf.c ../../tst/cf.0; @../run cf $(OS) ! 52: tst/cq.s: ../run rcc ../../tst/cq.c ../../tst/cq.0; @../run cq $(OS) ! 53: tst/cvt.s: ../run rcc ../../tst/cvt.c ../../tst/cvt.0; @../run cvt $(OS) ! 54: tst/fields.s: ../run rcc ../../tst/fields.c ../../tst/fields.0; @../run fields $(OS) ! 55: tst/front.s: ../run rcc ../../tst/front.c ../../tst/front.0; @../run front $(OS) ! 56: tst/incr.s: ../run rcc ../../tst/incr.c ../../tst/incr.0; @../run incr $(OS) ! 57: tst/init.s: ../run rcc ../../tst/init.c ../../tst/init.0; @../run init $(OS) ! 58: tst/limits.s: ../run rcc ../../tst/limits.c ../../tst/limits.0; @../run limits $(OS) ! 59: tst/paranoia.s: ../run rcc ../../tst/paranoia.c ../../tst/paranoia.0; @../run paranoia $(OS) ! 60: tst/sort.s: ../run rcc ../../tst/sort.c ../../tst/sort.0; @../run sort $(OS) ! 61: tst/spill.s: ../run rcc ../../tst/spill.c ../../tst/spill.0; @../run spill $(OS) ! 62: tst/stdarg.s: ../run rcc ../../tst/stdarg.c ../../tst/stdarg.0; @../run stdarg $(OS) ! 63: tst/struct.s: ../run rcc ../../tst/struct.c ../../tst/struct.0; @../run struct $(OS) ! 64: tst/switch.s: ../run rcc ../../tst/switch.c ../../tst/switch.0; @../run switch $(OS) ! 65: tst/wf1.s: ../run rcc ../../tst/wf1.c ../../tst/wf1.0; @../run wf1 $(OS) ! 66: tst/yacc.s: ../run rcc ../../tst/yacc.c ../../tst/yacc.0; @../run yacc $(OS) ! 67: ! 68: triple: rcc ! 69: rm -f *.o ! 70: make CC='lcc -B./ -d0.1 -A' CFLAGS='$(CFLAGS)' LDFLAGS='$(LDFLAGS)' rcc ! 71: -od +8 <rcc >tst/od2 ! 72: rm -f *.o ! 73: make CC='lcc -B./ -d0.1 -A' CFLAGS='$(CFLAGS)' LDFLAGS='$(LDFLAGS)' rcc ! 74: -od +8 <rcc >tst/od3 ! 75: cmp tst/od[23] && rm tst/od[23]
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.