|
|
1.1 ! root 1: #ident "@(#)ctrans:src/makefile 1.3.7.20" ! 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: ! 14: #The ANSI_OUT option has been replaced by the +a1 and +a0 compilation options ! 15: ! 16: #for systems which only recognize identifiers of up to 31 characters ! 17: #setting DENSE to -DDENSE causes cfront to generate internal names ! 18: #of 31 characters or less ! 19: DENSE= ! 20: ! 21: # The use of RETBUG is nolonger needed with version 2.0 and has been removed. ! 22: # RETBUG was used in 1.* Translator versions to circumvent a C compiler bug. ! 23: ! 24: CCFLAGS=-O ! 25: ! 26: # top level makefile modifies the following ! 27: MPMACRO = PATCH ! 28: MPFILE = patch ! 29: ! 30: OFILES = alloc.o dcl.o dcl2.o dcl3.o dcl4.o del.o error.o expand.o \ ! 31: expr.o expr2.o expr3.o find.o lalex.o lex.o main.o \ ! 32: norm.o norm2.o print.o print2.o repr.o simpl.o simpl2.o \ ! 33: size.o table.o typ.o typ2.o y.tab.o ! 34: ! 35: cfront: $(OFILES) ! 36: $(CC) -o cfront $(CCFLAGS) $(OFILES) ! 37: ! 38: cfront.h: token.h typedef.h ! 39: ! 40: y.tab.c: gram.y ! 41: yacc gram.y ! 42: ! 43: alloc.o: alloc.c cfront.h ! 44: $(CC) $(CCFLAGS) -c alloc.c ! 45: ! 46: dcl.o: dcl.c cfront.h size.h ! 47: $(CC) $(CCFLAGS) -c dcl.c ! 48: ! 49: dcl2.o: dcl2.c cfront.h size.h ! 50: $(CC) $(CCFLAGS) -c dcl2.c ! 51: ! 52: dcl3.o: dcl3.c cfront.h size.h ! 53: $(CC) $(CCFLAGS) -c dcl3.c ! 54: ! 55: dcl4.o: dcl4.c cfront.h size.h ! 56: $(CC) $(CCFLAGS) -c dcl4.c ! 57: ! 58: del.o: del.c cfront.h ! 59: $(CC) $(CCFLAGS) -c del.c ! 60: ! 61: error.o: error.c cfront.h size.h ! 62: $(CC) $(CCFLAGS) -c error.c ! 63: ! 64: expand.o: expand.c cfront.h ! 65: $(CC) $(CCFLAGS) -c expand.c ! 66: ! 67: expr.o: expr.c cfront.h size.h ! 68: $(CC) $(CCFLAGS) -c expr.c ! 69: ! 70: expr2.o: expr2.c cfront.h size.h ! 71: $(CC) $(CCFLAGS) -c expr2.c ! 72: ! 73: expr3.o: expr3.c cfront.h size.h ! 74: $(CC) $(CCFLAGS) -c expr3.c ! 75: ! 76: find.o: find.c cfront.h ! 77: $(CC) $(CCFLAGS) -c find.c ! 78: ! 79: lalex.o:lalex.c cfront.h yystype.h tqueue.h ! 80: $(CC) $(CCFLAGS) -c lalex.c ! 81: ! 82: lex.o: lex.c cfront.h size.h tqueue.h yystype.h ! 83: $(CC) $(CCFLAGS) -c lex.c ! 84: ! 85: # main depends on this makefile to force recompilation ! 86: # when going from patch to munch ! 87: main.o: main.c cfront.h makefile ! 88: $(CC) -D$(MPMACRO) $(DENSE) $(CCFLAGS) -c main.c ! 89: ! 90: norm.o: norm.c cfront.h size.h ! 91: $(CC) $(CCFLAGS) -c norm.c ! 92: ! 93: norm2.o: norm2.c cfront.h size.h ! 94: $(CC) $(CCFLAGS) -c norm2.c ! 95: ! 96: print.o: print.c cfront.h ! 97: $(CC) $(CCFLAGS) -c print.c ! 98: ! 99: print2.o: print2.c cfront.h ! 100: $(CC) $(DENSE) $(CCFLAGS) -c print2.c ! 101: ! 102: repr.o: repr.c cfront.h ! 103: $(CC) $(CCFLAGS) -c repr.c ! 104: ! 105: simpl.o: simpl.c cfront.h size.h ! 106: $(CC) $(CCFLAGS) -c simpl.c ! 107: ! 108: simpl2.o: simpl2.c cfront.h size.h ! 109: $(CC) $(CCFLAGS) -c simpl2.c ! 110: ! 111: size.o: size.c cfront.h size.h ! 112: $(CC) $(CCFLAGS) -c size.c ! 113: ! 114: table.o: table.c cfront.h ! 115: $(CC) $(CCFLAGS) -c table.c ! 116: ! 117: typ.o: typ.c cfront.h size.h ! 118: $(CC) $(CCFLAGS) -c typ.c ! 119: ! 120: typ2.o: typ2.c cfront.h size.h ! 121: $(CC) $(CCFLAGS) -c typ2.c ! 122: ! 123: y.tab.o: y.tab.c cfront.h size.h ! 124: $(CC) -DGRAM $(CCFLAGS) -c y.tab.c ! 125: ! 126: cpio: ! 127: ls alloc.c dcl.c dcl2.c dcl3.c dcl4.c del.c error.c expand.c \ ! 128: expr.c expr2.c expr3.c find.c lalex.c lex.c main.c \ ! 129: norm.c norm2.c print.c print2.c repr.c simpl.c simpl2.c \ ! 130: size.c table.c typ.c typ2.c \ ! 131: gram.y \ ! 132: token.h cfront.h size.h tqueue.h typedef.h yystype.h \ ! 133: makefile | cpio -oc > cfront.cpio
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.