|
|
1.1 ! root 1: # ! 2: # @(#)Makefile 1.1 86/02/03 SMI ! 3: # ! 4: ! 5: CSRC = main.c alloc.c branch.c error.c hardexp.c inst.c instruction.c \ ! 6: label.c livereg.c pseudoop.c register.c regmask.c scan.c sym.c \ ! 7: util.c operand.c quicken.c stackops.c coalesce.c ! 8: HSRC = as.h c2.h cctypes.h inst.h Instructions oper.h ! 9: HLIST = as.h c2.h inst.h oper.h ! 10: OBJ = error.o inst.o instruction.o label.o main.o scan.o sym.o util.o \ ! 11: branch.o hardexp.o livereg.o regmask.o register.o pseudoop.o \ ! 12: alloc.o operand.o quicken.o stackops.o coalesce.o ! 13: CC=newcc ! 14: COPT=-O ! 15: DEFS= -DC2 ! 16: POPT= -P1 -p ! 17: LDFLAGS= ! 18: CFLAGS = $(DEFS) $(COPT) ! 19: DESTDIR= ! 20: c2: $(OBJ) ! 21: $(CC) $(LDFLAGS) $(OBJ) -o c2 ! 22: inst.o: characteristics inst.c as.h c2.h inst.h ! 23: $(CC) $(CFLAGS) -c inst.c ! 24: characteristics: Instructions awkprog ! 25: (echo FLAVOR C2; cat Instructions) | awk -f awkprog > characteristics ! 26: clean: ! 27: rm -rf $(OBJ) core errs c2 lintout characteristics ! 28: install: c2 ! 29: install -s c2 $(DESTDIR)/lib/c2 ! 30: print: $(CSRC) ! 31: lpr $(POPT) Makefile $(HSRC) ! 32: lpr $(POPT) $(CSRC) ! 33: howbig: $(CSRC) $(HSRC) ! 34: @wc $(CSRC) $(HSRC) ! 35: lint: ! 36: lint $(DEFS) $(CSRC) > lintout ! 37: main.o: main.c $(HLIST) cctypes.h ! 38: alloc.o: alloc.c $(HLIST) ! 39: branch.o: branch.c $(HLIST) ! 40: error.o: error.c $(HLIST) ! 41: hardexp.o:as.h $(HLIST) ! 42: instruction.o: instruction.c $(HLIST) ! 43: label.o: label.c $(HLIST) ! 44: livereg.o: livereg.c $(HLIST) ! 45: pseudoop.o: pseudoop.c $(HLIST) ! 46: quicken.o: quicken.c $(HLIST) ! 47: register.o: register.c $(HLIST) ! 48: regmask.o: regmask.c $(HLIST) ! 49: scan.o: scan.c $(HLIST) ! 50: sym.o: sym.c $(HLIST) ! 51: util.o: util.c $(HLIST) ! 52: stackops.o: stackops.c $(HLIST) ! 53: coalesce.o: coalesce.c $(HLIST)
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.