Annotation of researchv10dc/cmd/cfront/c.makefile, revision 1.1
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=
! 25:
! 26: # top level makefile modifies the following
! 27: MPMACRO = MUNCH
! 28: MPFILE = munch
! 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 malloc.o
! 34:
! 35: cfront: $(OFILES)
! 36: $(CC) -o cfront $(CCFLAGS) $(OFILES)
! 37:
! 38: $(OFILES): cfront.h token.h typedef.h
! 39:
! 40: y.tab.c: gram.y
! 41: yacc gram.y
! 42:
! 43: alloc.o: alloc.c
! 44: $(CC) $(CCFLAGS) -c alloc.c
! 45:
! 46: dcl.o: dcl.c size.h
! 47: $(CC) $(CCFLAGS) -c dcl.c
! 48:
! 49: dcl2.o: dcl2.c size.h
! 50: $(CC) $(CCFLAGS) -c dcl2.c
! 51:
! 52: dcl3.o: dcl3.c size.h
! 53: $(CC) $(CCFLAGS) -c dcl3.c
! 54:
! 55: dcl4.o: dcl4.c size.h
! 56: $(CC) $(CCFLAGS) -c dcl4.c
! 57:
! 58: del.o: del.c
! 59: $(CC) $(CCFLAGS) -c del.c
! 60:
! 61: error.o: error.c size.h
! 62: $(CC) $(CCFLAGS) -c error.c
! 63:
! 64: expand.o: expand.c
! 65: $(CC) $(CCFLAGS) -c expand.c
! 66:
! 67: expr.o: expr.c size.h
! 68: $(CC) $(CCFLAGS) -c expr.c
! 69:
! 70: expr2.o: expr2.c size.h
! 71: $(CC) $(CCFLAGS) -c expr2.c
! 72:
! 73: expr3.o: expr3.c size.h
! 74: $(CC) $(CCFLAGS) -c expr3.c
! 75:
! 76: find.o: find.c
! 77: $(CC) $(CCFLAGS) -c find.c
! 78:
! 79: lalex.o:lalex.c yystype.h tqueue.h
! 80: $(CC) $(CCFLAGS) -c lalex.c
! 81:
! 82: lex.o: lex.c 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 makefile
! 88: $(CC) -D$(MPMACRO) $(DENSE) $(CCFLAGS) -c main.c
! 89:
! 90: norm.o: norm.c size.h
! 91: $(CC) $(CCFLAGS) -c norm.c
! 92:
! 93: norm2.o: norm2.c size.h
! 94: $(CC) $(CCFLAGS) -c norm2.c
! 95:
! 96: print.o: print.c
! 97: $(CC) $(CCFLAGS) -c print.c
! 98:
! 99: print2.o: print2.c
! 100: $(CC) $(DENSE) $(CCFLAGS) -c print2.c
! 101:
! 102: repr.o: repr.c
! 103: $(CC) $(CCFLAGS) -c repr.c
! 104:
! 105: simpl.o: simpl.c size.h
! 106: $(CC) $(CCFLAGS) -c simpl.c
! 107:
! 108: simpl2.o: simpl2.c size.h
! 109: $(CC) $(CCFLAGS) -c simpl2.c
! 110:
! 111: size.o: size.c size.h
! 112: $(CC) $(CCFLAGS) -c size.c
! 113:
! 114: table.o: table.c
! 115: $(CC) $(CCFLAGS) -c table.c
! 116:
! 117: typ.o: typ.c size.h
! 118: $(CC) $(CCFLAGS) -c typ.c
! 119:
! 120: typ2.o: typ2.c size.h
! 121: $(CC) $(CCFLAGS) -c typ2.c
! 122:
! 123: y.tab.o: y.tab.c size.h
! 124: $(CC) -DGRAM $(CCFLAGS) -c y.tab.c
! 125:
! 126:
! 127: malloc.o: malloc.c
! 128: cc $(CCFLAGS) -c malloc.c
! 129:
! 130: cpio:
! 131: ls alloc.c dcl.c dcl2.c dcl3.c dcl4.c del.c error.c expand.c \
! 132: expr.c expr2.c expr3.c find.c lalex.c lex.c main.c \
! 133: norm.c norm2.c print.c print2.c repr.c simpl.c simpl2.c \
! 134: size.c table.c typ.c typ2.c \
! 135: gram.y \
! 136: cfront.h token.h size.h tqueue.h typedef.h yystype.h \
! 137: makefile | cpio -oc > cfront.cpio
! 138:
unix.superglobalmegacorp.com