Annotation of 3BSD/cmd/f77/Makefile, revision 1.1

1.1     ! root        1: #      Makefile for a Fortran 77 compiler
        !             2: #      running on the VAX, generating code for the VAX,
        !             3: #      using the second pass of the Portable C compiler as code generator.
        !             4: 
        !             5: CFL = -DHERE=VAX -DTARGET=VAX -DFAMILY=PCC -DUCBVAXASM
        !             6: 
        !             7: CFLAGS = -O $(CFL)
        !             8: LDFLAGS = -i
        !             9: 
        !            10: OBJECTS = main.o init.o gram.o lex.o proc.o equiv.o data.o \
        !            11:          expr.o exec.o intr.o io.o misc.o error.o put.o \
        !            12:          putpcc.o vax.o vaxx.o
        !            13: 
        !            14: compiler : f77 f77pass1
        !            15:        touch compiler
        !            16: 
        !            17: f77 : driver.o vaxx.o
        !            18:        cc -n driver.o vaxx.o -o f77
        !            19:        @size f77
        !            20: 
        !            21: f77pass1 : $(OBJECTS)
        !            22:        @echo LOAD
        !            23:        @$(CC) $(LDFLAGS) $(OBJECTS) -o f77pass1
        !            24:        @size f77pass1
        !            25: 
        !            26: gram.c:        gram.head gram.dcl gram.expr gram.exec gram.io tokdefs
        !            27:        ( sed <tokdefs "s/#define/%token/" ;\
        !            28:                cat gram.head gram.dcl gram.expr gram.exec gram.io ) >gram.in
        !            29:        $(YACC) $(YFLAGS) gram.in
        !            30:        @echo "(expect 4 shift/reduce)"
        !            31:        mv y.tab.c gram.c
        !            32:        rm gram.in
        !            33: 
        !            34: tokdefs: tokens
        !            35:        grep -n . <tokens | sed "s/\([^:]*\):\(.*\)/#define \2 \1/" >tokdefs
        !            36: lex.o : tokdefs
        !            37: driver.o $(OBJECTS)  : defs defines machdefs ftypes
        !            38: driver.o : drivedefs
        !            39: io.o : fio.h
        !            40: 
        !            41: machdefs : vaxdefs
        !            42:        cp vaxdefs machdefs
        !            43: 
        !            44: put.o putpcc.o vax.o : pccdefs
        !            45: 
        !            46: install : /usr/bin/f77 /usr/lib/f77pass1
        !            47: 
        !            48: /usr/bin/f77 : f77
        !            49:        strip f77
        !            50:        @size f77 /usr/bin/f77
        !            51:        cp f77 /usr/bin/f77
        !            52: 
        !            53: /usr/lib/f77pass1 : f77pass1
        !            54:        strip f77pass1
        !            55:        @size f77pass1 /usr/lib/f77pass1
        !            56:        cp f77pass1 /usr/lib/f77pass1
        !            57: 
        !            58: cleanup:
        !            59:        -rm gram.c *.o f77 f77pass1 tokdefs compiler
        !            60:        du

unix.superglobalmegacorp.com

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