|
|
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: DESTDIR = ! 6: ! 7: CFLAGS = -O ! 8: ! 9: SOURCES = backspace.c close.c dballoc.c dfe.c due.c endfile.c err.c fmt.c \ ! 10: fmtlib.c iio.c inquire.c lwrite.c lread.c dolio.c open.c \ ! 11: rdfmt.c rewind.c sfe.c sue.c douio.c util.c wrtfmt.c \ ! 12: dofio.c fiodefs.h fio.h fmt.h lio.h ! 13: ! 14: OBJECTS = dfe.o due.o iio.o sue.o sfe.o lread.o lwrite.o \ ! 15: dofio.o douio.o dolio.o \ ! 16: rdfmt.o wrtfmt.o fmt.o fmtlib.o \ ! 17: backspace.o rewind.o open.o close.o endfile.o inquire.o \ ! 18: dballoc.o err.o util.o ! 19: ! 20: libI77.a: $(OBJECTS) ! 21: @echo Loading ! 22: @rm -f libI77.a ! 23: @ar rc libI77.a $(OBJECTS) ! 24: @chmod 664 libI77.a ! 25: @echo "Done" ! 26: ! 27: install: ! 28: install -c libI77.a $(DESTDIR)/usr/lib/libI77uc.a ! 29: ranlib $(DESTDIR)/usr/lib/libI77uc.a ! 30: ! 31: backspace.o: fio.h backspace.c ! 32: dfe.o: fio.h dfe.c ! 33: due.o: fio.h due.c ! 34: iio.o: fio.h lio.h iio.c ! 35: inquire.o: fio.h inquire.c ! 36: rewind.o: fio.h rewind.c ! 37: rdfmt.o: fio.h fmt.h rdfmt.c ! 38: sue.o: fio.h sue.c ! 39: douio.o: fio.h douio.c ! 40: sfe.o: fio.h sfe.c ! 41: fmt.o: fio.h fmt.h fmt.c ! 42: dofio.o: fio.h fmt.h dofio.c ! 43: lwrite.o: fio.h lio.h lwrite.c ! 44: lread.o: fio.h lio.h lread.c ! 45: dolio.o: fio.h lio.h dolio.c ! 46: open.o: fio.h open.c ! 47: close.o: fio.h close.c ! 48: util.o: fio.h util.c ! 49: endfile.o: fio.h endfile.c ! 50: wrtfmt.o: fio.h fmt.h wrtfmt.c ! 51: err.o: fiodefs.h err.c ! 52: fmtlib.o: fio.h fmtlib.c ! 53: dballoc.o: dballoc.c ! 54: fio.h: fiodefs.h ! 55: ! 56: # compile, then strip unnecessary symbols ! 57: .c.o: ! 58: cc $(CFLAGS) -c $*.c ! 59: -ld -r -x $*.o ! 60: mv a.out $*.o ! 61: ! 62: clean: ! 63: rm -f *.o libI77.a tags ! 64: ! 65: index: $(SOURCES) ! 66: @mkindx "f77 libI77.a Source Listing " Makefile $(SOURCES) ! 67: ! 68: print: index ! 69: @pr index Makefile `ls $(SOURCES)` | lpr ! 70: ! 71: writeup: writeup.tx ! 72: @-rm writeup ! 73: @nroff -ms writeup.tx > writeup ! 74: ! 75: wup: ! 76: @nroff -ms writeup.tx | more ! 77: ! 78: tape: ! 79: @tar cf /dev/rmt4 \ ! 80: Makefile READ_ME NEWS writeup.tx writeup $(SOURCES) io.c ! 81: ! 82: order: ! 83: @rm -f order ! 84: @lorder $(OBJECTS) | tsort >order ! 85: ! 86: tags: $(SOURCES) ! 87: @ctags $(SOURCES) ! 88:
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.