|
|
1.1 ! root 1: head 1.1; ! 2: access ; ! 3: symbols ; ! 4: locks ; strict; ! 5: comment @# @; ! 6: ! 7: ! 8: 1.1 ! 9: date 86.06.25.12.51.33; author jqj; state Exp; ! 10: branches ; ! 11: next ; ! 12: ! 13: ! 14: desc ! 15: @@ ! 16: ! 17: ! 18: ! 19: 1.1 ! 20: log ! 21: @Initial revision ! 22: @ ! 23: text ! 24: @# makefile for "except" - C exception handling ! 25: # ! 26: # Jeffrey Mogul Stanford 4 March 1983 ! 27: # ! 28: # ! 29: CFLAGS = -O ! 30: DESTDIR = /usr/local/lib ! 31: INCLUDEDIR = /usr/include ! 32: ! 33: all: libexcept.a libexcept_p.a ! 34: ! 35: install: install.lib install.man ! 36: ! 37: install.man: ! 38: rm -f /us/man/man3/except.3 ! 39: cp except.3 /usr/man/man3 ! 40: ! 41: except.o except_p.o: except.c except.h ! 42: ${CC} $(CFLAGS) -c -p except.c ! 43: mv except.o except_p.o ! 44: ${CC} $(CFLAGS) -c except.c ! 45: ! 46: libexcept.a: except.o ! 47: ar cr libexcept.a except.o ! 48: ranlib libexcept.a ! 49: ! 50: libexcept_p.a: except_p.o ! 51: ar cr libexcept_p.a except_p.o ! 52: ranlib libexcept_p.a ! 53: ! 54: install.lib: libexcept.a libexcept_p.a ! 55: rm -f $(DESTDIR)/libexcept.a $(DESTDIR)/libexcept_p.a \ ! 56: $(INCLUDEDIR)/except.h ! 57: install libexcept.a $(DESTDIR) ! 58: ranlib $(DESTDIR)/libexcept.a ! 59: install libexcept_p.a $(DESTDIR) ! 60: ranlib $(DESTDIR)/libexcept_p.a ! 61: cp except.h $(INCLUDEDIR) ! 62: ! 63: clean: ! 64: rm -f *.BAK *.CKP *.o *.a *.tar core a.out test ! 65: ! 66: distrib: clean ! 67: tar cf except.tar `ls|grep -v tar` ! 68: ! 69: test: test.o libexcept.a ! 70: ${CC} -o test test.o libexcept.a ! 71: ! 72: test.o: test.c except.h ! 73: ${CC} -c test.c -I. ! 74: @
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.