Annotation of cci/usr/src/usr.lib/libsI77uc/Makefile, revision 1.1.1.1

1.1       root        1: # Makefile for the f77 I/O library
                      2: #      @(#)Makefile    1.7     2/27/81
                      3: # Originally written by P. Weinberger, Bell Labs, Murray Hill, N.J.
                      4: # Modified by D. Wasley, Univ of California, Berkeley, Calif.
                      5: 
                      6: # for 11's
                      7: #LIBDIR = /usr/ucb/lib
                      8: 
                      9: # for Vax
                     10: LIBDIR = $(DESTDIR)/usr/lib
                     11: 
                     12: LIB = libI77uc.a
                     13: LIB66 = libI66.a
                     14: CFLAGS = -O
                     15: TAPE = /dev/rnmt0.16
                     16: 
                     17: SOURCES = backspace.c close.c dballoc.c dfe.c due.c endfile.c err.c fmt.c \
                     18:        fmtlib.c iio.c inquire.c lwrite.c lread.c dolio.c open.c \
                     19:        rdfmt.c rewind.c sfe.c sue.c douio.c util.c wrtfmt.c \
                     20:        dofio.c f_errlist.c f_errno.h fiodefs.h fio.h format.h lio.h \
                     21:        yes_66.c no_66.c
                     22: 
                     23: OBJECTS = dfe.o due.o iio.o sue.o sfe.o lread.o lwrite.o \
                     24:        dofio.o douio.o dolio.o \
                     25:        rdfmt.o wrtfmt.o fmt.o fmtlib.o \
                     26:        backspace.o rewind.o open.o close.o endfile.o inquire.o \
                     27:        dballoc.o err.o util.o f_errlist.o
                     28: 
                     29: all:   $(LIB) $(LIB66)
                     30: $(LIB):        $(OBJECTS) Version no_66.o
                     31:        @echo Loading
                     32:        @rm -f $(LIB)
                     33:        @ar rc $(LIB) $(OBJECTS) Version no_66.o
                     34:        @chmod 664 $(LIB)
                     35:        @echo "" > /dev/tty
                     36: 
                     37: $(LIB66): $(OBJECTS) yes_66.o
                     38:        @rm -f $(LIB66)
                     39:        @mv yes_66.o $(LIB66)
                     40: 
                     41: install:
                     42:        cp $(LIB) $(LIBDIR)/$(LIB)
                     43:        cp $(LIB66) $(LIBDIR)/$(LIB66)
                     44:        ranlib $(LIBDIR)/$(LIB)
                     45: 
                     46: backspace.o:   fio.h backspace.c
                     47: dfe.o:         fio.h dfe.c
                     48: due.o:         fio.h due.c
                     49: iio.o:         fio.h lio.h iio.c
                     50: inquire.o:     fio.h inquire.c
                     51: rewind.o:      fio.h rewind.c
                     52: rdfmt.o:       fio.h format.h rdfmt.c
                     53: sue.o:         fio.h sue.c
                     54: douio.o:       fio.h douio.c
                     55: sfe.o:         fio.h sfe.c
                     56: fmt.o:         fio.h format.h fmt.c
                     57: dofio.o:       fio.h format.h dofio.c
                     58: lwrite.o:      fio.h lio.h lwrite.c
                     59: lread.o:       fio.h lio.h lread.c
                     60: dolio.o:       fio.h lio.h dolio.c
                     61: open.o:                fio.h open.c
                     62: close.o:       fio.h close.c
                     63: util.o:                fio.h util.c
                     64: endfile.o:     fio.h endfile.c
                     65: wrtfmt.o:      fio.h format.h wrtfmt.c
                     66: err.o:         fiodefs.h err.c
                     67: fmtlib.o:      fio.h fmtlib.c
                     68: dballoc.o:     dballoc.c
                     69: fio.h:         fiodefs.h
                     70: #fiodefs.h:    f_errno.h
                     71: 
                     72: # compile, then strip unnecessary symbols
                     73: .c.o:
                     74:        cc $(CFLAGS) -c $*.c
                     75:        -ld -r -x $*.o
                     76:        mv a.out $*.o
                     77: 
                     78: f_errlist.o:   f_errlist.c
                     79:        cc $(CFLAGS) -c f_errlist.c
                     80: 
                     81: Version:       $(SOURCES) mkvers
                     82:        @rm -f Version.c
                     83:        mkvers $(LIB) $(SOURCES) > Version.c
                     84:        cc -c Version.c
                     85:        mv Version.o Version
                     86: 
                     87: mkvers:        mkvers.c
                     88:        @cc mkvers.c -o mkvers
                     89: 
                     90: clean:
                     91:        rm -f *.o $(LIB) tags mkvers Version
                     92: 
                     93: index: $(SOURCES) mkindx
                     94:        @mkindx "f77 libI77.a Source Listing " Makefile $(SOURCES)
                     95: 
                     96: print: index
                     97:        @pr index Makefile `ls $(SOURCES)` | lpr
                     98: 
                     99: mkindx:        mkindx.c
                    100:        @cc mkindx.c -o mkindx
                    101: 
                    102: writeup:       writeup.tx
                    103:        @-rm writeup
                    104:        @nroff -ms writeup.tx > writeup
                    105: 
                    106: wup:   writeup.tx
                    107:        @nroff -ms writeup.tx | ul | more
                    108: 
                    109: tape:  
                    110:        @tar cbf 20 $(TAPE) mkvers.c mkindx.c \
                    111:        Makefile READ_ME NEWS writeup.tx writeup $(SOURCES)
                    112: 
                    113: order:
                    114:        @rm -f order
                    115:        @lorder $(OBJECTS) | tsort >order
                    116: 
                    117: tags:  $(SOURCES)
                    118:        @ctags $(SOURCES)
                    119: 

unix.superglobalmegacorp.com

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