Annotation of cci/usr/src/usr.bin/sf77/Makefile, revision 1.1

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

unix.superglobalmegacorp.com

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