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

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

unix.superglobalmegacorp.com

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