Annotation of researchv10no/cmd/cfront/optcfront/makefile, revision 1.1.1.1

1.1       root        1: #ident "@(#)ctrans:src/makefile        1.4"
                      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 dcl.o dcl2.o dcl3.o dcl4.o del.o \
                     32:                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: dcl.o: dcl.c size.h
                     50:        $(CC) $(CCFLAGS) -c dcl.c 
                     51: 
                     52: dcl2.o:        dcl2.c size.h
                     53:        $(CC) $(CCFLAGS) -c dcl2.c 
                     54: 
                     55: dcl3.o:        dcl3.c size.h
                     56:        $(CC) $(CCFLAGS) -c dcl3.c 
                     57: 
                     58: dcl4.o:        dcl4.c size.h
                     59:        $(CC) $(CCFLAGS) -c dcl4.c 
                     60: 
                     61: del.o: del.c
                     62:        $(CC) $(CCFLAGS) -c del.c 
                     63: 
                     64: discrim.o:     discrim.c cfront.h
                     65:        $(CC) $(CCFLAGS) -c discrim.c
                     66: 
                     67: doprint.o:     doprint.c
                     68:        $(CC) $(CCFLAGS) -c doprint.c
                     69: 
                     70: error.o:       error.c size.h
                     71:        $(CC) $(CCFLAGS) -c error.c 
                     72: 
                     73: expand.o:      expand.c
                     74:        $(CC) $(CCFLAGS) -c expand.c 
                     75: 
                     76: expr.o:        expr.c size.h
                     77:        $(CC) $(CCFLAGS) -c expr.c 
                     78: 
                     79: expr2.o:       expr2.c size.h
                     80:        $(CC) $(CCFLAGS) -c expr2.c 
                     81: 
                     82: expr3.o:       expr3.c size.h
                     83:        $(CC) $(CCFLAGS) -c expr3.c 
                     84: 
                     85: find.o:        find.c 
                     86:        $(CC) $(CCFLAGS) -c find.c 
                     87: 
                     88: hash.o: hash.c hash.h
                     89:        $(CC) $(CCFLAGS) -c hash.c 
                     90: 
                     91: lalex.o:lalex.c yystype.h tqueue.h 
                     92:        $(CC) $(CCFLAGS) -c lalex.c
                     93: 
                     94: lex.o: lex.c size.h tqueue.h yystype.h
                     95:        $(CC) $(CCFLAGS) -c lex.c 
                     96: 
                     97: # main depends on this makefile to force recompilation
                     98: # when going from patch to munch
                     99: main.o:        main.c makefile
                    100:        $(CC) -D$(MPMACRO) $(DENSE) $(CCFLAGS) -c main.c 
                    101: 
                    102: norm.o:        norm.c size.h
                    103:        $(CC) $(CCFLAGS) -c norm.c 
                    104: 
                    105: norm2.o:       norm2.c size.h
                    106:        $(CC) $(CCFLAGS) -c norm2.c 
                    107: 
                    108: print.o:       print.c
                    109:        $(CC) $(CCFLAGS) -c print.c 
                    110: 
                    111: print2.o:      print2.c
                    112:        $(CC) $(DENSE) $(CCFLAGS) -c print2.c 
                    113: 
                    114: print_self.o:   print_self.c
                    115:        $(CC) $(CCFLAGS) -c print_self.c 
                    116: 
                    117: repr.o:        repr.c
                    118:        $(CC) $(CCFLAGS) -c repr.c 
                    119: 
                    120: simpl.o:       simpl.c size.h
                    121:        $(CC) $(CCFLAGS) -c simpl.c 
                    122: 
                    123: simpl2.o:      simpl2.c size.h
                    124:        $(CC) $(CCFLAGS) -c simpl2.c 
                    125: 
                    126: size.o:        size.c size.h
                    127:        $(CC) $(CCFLAGS) -c size.c 
                    128: 
                    129: table.o:       table.c
                    130:        $(CC) $(CCFLAGS) -c table.c 
                    131: 
                    132: template.o: template.c
                    133:        $(CC) $(CCFLAGS) -c template.c 
                    134: 
                    135: tree_copy.o: tree_copy.c
                    136:        $(CC) $(CCFLAGS) -c tree_copy.c 
                    137: 
                    138: tree_dump.o:    tree_dump.c cfront.h
                    139:        $(CC) $(CCFLAGS) -c tree_dump.c
                    140: 
                    141: tree_walk.o: tree_walk.c
                    142:        $(CC) $(CCFLAGS) -c tree_walk.c 
                    143: 
                    144: typ.o: typ.c size.h
                    145:        $(CC) $(CCFLAGS) -c typ.c 
                    146: 
                    147: typ2.o:        typ2.c size.h
                    148:        $(CC) $(CCFLAGS) -c typ2.c 
                    149: 
                    150: y.tab.o:       y.tab.c size.h 
                    151:        $(CC) -DGRAM $(CCFLAGS) -c y.tab.c 
                    152: 
                    153: cpio:  
                    154:        ls alloc.c dcl.c dcl2.c dcl3.c dcl4.c del.c discrim.c doprint.c \
                    155:                error.c expand.c expr.c expr2.c expr3.c find.c hash.c \
                    156:                lalex.c lex.c main.c norm.c norm2.c print.c print2.c \
                    157:                print_self.c repr.c simpl.c simpl2.c size.c table.c \
                    158:                template.c tree_copy.c tree_dump.c tree_walk.c typ.c typ2.c \
                    159:                gram.y \
                    160:                cfront.h token.h size.h tqueue.h typedef.h yystype.h \
                    161:                hash.h ios_printf.h node_classes.h print_self.h \
                    162:                template.h token_names.h tree_copy.h tree_dump.h tree_walk.h \
                    163:                makefile | cpio -oc > cfront.cpio
                    164: 

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.