Annotation of 3BSD/new/libI77uc/Makefile, revision 1.1

1.1     ! root        1: # Makefile for the f77 I/O library
        !             2: # Originally written by P. Weinberger, Bell Labs, Murray Hill, N.J.
        !             3: # Modified by D. Wasley, Univ of California, Berkeley, Calif.
        !             4: 
        !             5: CFLAGS = -O
        !             6: 
        !             7: SOURCES = backspace.c close.c dballoc.c dfe.c due.c endfile.c err.c fmt.c \
        !             8:        fmtlib.c iio.c inquire.c lwrite.c lread.c dolio.c open.c \
        !             9:        rdfmt.c rewind.c sfe.c sue.c douio.c util.c wrtfmt.c \
        !            10:        dofio.c fiodefs.h fio.h fmt.h lio.h
        !            11: 
        !            12: OBJECTS = dfe.o due.o iio.o sue.o sfe.o lread.o lwrite.o \
        !            13:        dofio.o douio.o dolio.o \
        !            14:        rdfmt.o wrtfmt.o fmt.o fmtlib.o \
        !            15:        backspace.o rewind.o open.o close.o endfile.o inquire.o \
        !            16:        dballoc.o err.o util.o
        !            17: 
        !            18: lib:   $(OBJECTS)
        !            19:        @echo Loading
        !            20:        @rm -f libI77.a
        !            21:        @ar rc libI77.a $(OBJECTS)
        !            22:        @chmod 664 libI77.a
        !            23:        @echo "Done"
        !            24: 
        !            25: install:
        !            26:        @mv /usr/lib/libI77.a /usr/lib/libI77.a.old
        !            27:        cp libI77.a /usr/lib/libI77.a
        !            28:        @echo "Done"
        !            29: 
        !            30: backspace.o:   fio.h backspace.c
        !            31: dfe.o:         fio.h dfe.c
        !            32: due.o:         fio.h due.c
        !            33: iio.o:         fio.h lio.h iio.c
        !            34: inquire.o:     fio.h inquire.c
        !            35: rewind.o:      fio.h rewind.c
        !            36: rdfmt.o:       fio.h fmt.h rdfmt.c
        !            37: sue.o:         fio.h sue.c
        !            38: douio.o:       fio.h douio.c
        !            39: sfe.o:         fio.h sfe.c
        !            40: fmt.o:         fio.h fmt.h fmt.c
        !            41: dofio.o:       fio.h fmt.h dofio.c
        !            42: lwrite.o:      fio.h lio.h lwrite.c
        !            43: lread.o:       fio.h lio.h lread.c
        !            44: dolio.o:       fio.h lio.h dolio.c
        !            45: open.o:                fio.h open.c
        !            46: close.o:       fio.h close.c
        !            47: util.o:                fio.h util.c
        !            48: endfile.o:     fio.h endfile.c
        !            49: wrtfmt.o:      fio.h fmt.h wrtfmt.c
        !            50: err.o:         fiodefs.h err.c
        !            51: fmtlib.o:      fio.h fmtlib.c
        !            52: dballoc.o:     dballoc.c
        !            53: fio.h:         fiodefs.h
        !            54: 
        !            55: # compile, then strip unnecessary symbols
        !            56: .c.o:
        !            57:        cc $(CFLAGS) -c $*.c
        !            58:        -ld -r -x $*.o
        !            59:        mv a.out $*.o
        !            60: 
        !            61: clean:
        !            62:        rm -f *.o libI77.a
        !            63: 
        !            64: index: $(SOURCES)
        !            65:        @mkindx "f77 libI77.a Source Listing " Makefile $(SOURCES)
        !            66: 
        !            67: print: index
        !            68:        @pr index Makefile `ls $(SOURCES)` | lpr
        !            69: 
        !            70: writeup:       writeup.tx
        !            71:        @-rm writeup
        !            72:        @nroff -ms writeup.tx > writeup
        !            73: 
        !            74: tape:  
        !            75:        @tar cf /dev/rmt4 \
        !            76:        Makefile READ_ME NEWS writeup.tx writeup $(SOURCES) io.c
        !            77: 
        !            78: order:
        !            79:        @rm -f order
        !            80:        @lorder $(OBJECTS) | tsort >order
        !            81: 

unix.superglobalmegacorp.com

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