|
|
1.1 ! root 1: #ident "@(#)ctrans:src/makefile 1.8" ! 2: ############################################################################### ! 3: # Copyright (c) 1984 AT&T ! 4: # All Rights Reserved ! 5: # ! 6: # THIS IS UNPUBLISHED PROPRIETARY SOURCE CODE OF AT&T ! 7: # ! 8: # The copyright notice above does not evidence any ! 9: # actual or intended publication of such source code. ! 10: # ! 11: ############################################################################### ! 12: CC = nCC ! 13: YACC = yacc ! 14: ! 15: #The ANSI_OUT option has been replaced by the +a1 and +a0 compilation options ! 16: ! 17: #for systems which only recognize identifiers of up to 31 characters ! 18: #setting DENSE to -DDENSE causes cfront to generate internal names ! 19: #of 31 characters or less ! 20: DENSE= ! 21: ! 22: # The use of RETBUG is nolonger needed with version 2.0 and has been removed. ! 23: # RETBUG was used in 1.* Translator versions to circumvent a C compiler bug. ! 24: ! 25: CCFLAGS=-O -I. -DFDOTRIGHT ! 26: ! 27: # top level makefile modifies the following ! 28: MPMACRO = PATCH ! 29: MPFILE = patch ! 30: ! 31: OFILES = alloc.o Bits.o block.o dcl.o dcl2.o dcl3.o dcl4.o \ ! 32: del.o discrim.o doprint.o error.o expand.o \ ! 33: expr.o expr2.o expr3.o find.o hash.o lalex.o lex.o main.o \ ! 34: norm.o norm2.o print.o print2.o print_self.o repr.o simpl.o \ ! 35: simpl2.o size.o table.o template.o tree_copy.o tree_dump.o \ ! 36: tree_walk.o typ.o typ2.o y.tab.o ! 37: ! 38: cfront: $(OFILES) ! 39: $(CC) -o cfront $(CCFLAGS) $(OFILES) ! 40: ! 41: $(OFILES): cfront.h token.h typedef.h ! 42: ! 43: y.tab.c: gram.y ! 44: $(YACC) gram.y ! 45: ! 46: alloc.o: alloc.c ! 47: $(CC) $(CCFLAGS) -c alloc.c ! 48: ! 49: Bits.o: Bits.c Bits.h ! 50: $(CC) $(CCFLAGS) -c Bits.c ! 51: ! 52: block.o: block.c Block.h ! 53: $(CC) $(CCFLAGS) -c block.c ! 54: ! 55: dcl.o: dcl.c size.h ! 56: $(CC) $(CCFLAGS) -c dcl.c ! 57: ! 58: dcl2.o: dcl2.c size.h ! 59: $(CC) $(CCFLAGS) -c dcl2.c ! 60: ! 61: dcl3.o: dcl3.c size.h ! 62: $(CC) $(CCFLAGS) -c dcl3.c ! 63: ! 64: dcl4.o: dcl4.c size.h ! 65: $(CC) $(CCFLAGS) -c dcl4.c ! 66: ! 67: del.o: del.c ! 68: $(CC) $(CCFLAGS) -c del.c ! 69: ! 70: discrim.o: discrim.c cfront.h ! 71: $(CC) $(CCFLAGS) -c discrim.c ! 72: ! 73: doprint.o: doprint.c ! 74: $(CC) $(CCFLAGS) -c doprint.c ! 75: ! 76: error.o: error.c size.h ! 77: $(CC) $(CCFLAGS) -c error.c ! 78: ! 79: expand.o: expand.c ! 80: $(CC) $(CCFLAGS) -c expand.c ! 81: ! 82: expr.o: expr.c size.h ! 83: $(CC) $(CCFLAGS) -c expr.c ! 84: ! 85: expr2.o: expr2.c size.h ! 86: $(CC) $(CCFLAGS) -c expr2.c ! 87: ! 88: expr3.o: expr3.c size.h ! 89: $(CC) $(CCFLAGS) -c expr3.c ! 90: ! 91: find.o: find.c ! 92: $(CC) $(CCFLAGS) -c find.c ! 93: ! 94: hash.o: hash.c hash.h ! 95: $(CC) $(CCFLAGS) -c hash.c ! 96: ! 97: lalex.o:lalex.c yystype.h tqueue.h ! 98: $(CC) $(CCFLAGS) -c lalex.c ! 99: ! 100: lex.o: lex.c size.h tqueue.h yystype.h ! 101: $(CC) $(CCFLAGS) -c lex.c ! 102: ! 103: # main depends on this makefile to force recompilation ! 104: # when going from patch to munch ! 105: main.o: main.c makefile ! 106: $(CC) -D$(MPMACRO) $(DENSE) $(CCFLAGS) -c main.c ! 107: ! 108: norm.o: norm.c size.h ! 109: $(CC) $(CCFLAGS) -c norm.c ! 110: ! 111: norm2.o: norm2.c size.h ! 112: $(CC) $(CCFLAGS) -c norm2.c ! 113: ! 114: print.o: print.c ! 115: $(CC) $(CCFLAGS) -c print.c ! 116: ! 117: print2.o: print2.c ! 118: $(CC) $(DENSE) $(CCFLAGS) -c print2.c ! 119: ! 120: print_self.o: print_self.c ! 121: $(CC) $(CCFLAGS) -c print_self.c ! 122: ! 123: repr.o: repr.c ! 124: $(CC) $(CCFLAGS) -c repr.c ! 125: ! 126: simpl.o: simpl.c size.h ! 127: $(CC) $(CCFLAGS) -c simpl.c ! 128: ! 129: simpl2.o: simpl2.c size.h ! 130: $(CC) $(CCFLAGS) -c simpl2.c ! 131: ! 132: size.o: size.c size.h ! 133: $(CC) $(CCFLAGS) -c size.c ! 134: ! 135: table.o: table.c ! 136: $(CC) $(CCFLAGS) -c table.c ! 137: ! 138: template.o: template.c ! 139: $(CC) $(CCFLAGS) -c template.c ! 140: ! 141: tree_copy.o: tree_copy.c ! 142: $(CC) $(CCFLAGS) -c tree_copy.c ! 143: ! 144: tree_dump.o: tree_dump.c cfront.h ! 145: $(CC) $(CCFLAGS) -c tree_dump.c ! 146: ! 147: tree_walk.o: tree_walk.c ! 148: $(CC) $(CCFLAGS) -c tree_walk.c ! 149: ! 150: typ.o: typ.c size.h ! 151: $(CC) $(CCFLAGS) -c typ.c ! 152: ! 153: typ2.o: typ2.c size.h ! 154: $(CC) $(CCFLAGS) -c typ2.c ! 155: ! 156: y.tab.o: y.tab.c size.h ! 157: $(CC) -DGRAM $(CCFLAGS) -c y.tab.c ! 158: ! 159: clean: ! 160: rm -f *.o y.tab.c ! 161: ! 162: clobber: clean ! 163: rm -f cfront ! 164: ! 165: cpio: ! 166: ls alloc.c Bits.c block.c dcl.c dcl2.c dcl3.c dcl4.c del.c discrim.c doprint.c \ ! 167: error.c expand.c expr.c expr2.c expr3.c find.c hash.c \ ! 168: lalex.c lex.c main.c norm.c norm2.c print.c print2.c \ ! 169: print_self.c repr.c simpl.c simpl2.c size.c table.c \ ! 170: template.c tree_copy.c tree_dump.c tree_walk.c typ.c typ2.c \ ! 171: gram.y \ ! 172: Bits.h Block.h \ ! 173: cfront.h token.h size.h tqueue.h typedef.h yystype.h \ ! 174: hash.h ios_printf.h node_classes.h print_self.h \ ! 175: template.h token_names.h tree_copy.h tree_dump.h tree_walk.h \ ! 176: makefile | cpio -oc > cfront.cpio ! 177:
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.