|
|
1.1 ! root 1: ############################################################################### ! 2: # Instructions to Make, for compilation of the ISODE RT-file transfer utility ! 3: ############################################################################### ! 4: ! 5: ############################################################################### ! 6: # ! 7: # $Header: /f/osi/others/rtf/RCS/Makefile,v 7.1 90/07/01 21:04:43 mrose Exp $ ! 8: # ! 9: # ! 10: # $Log: Makefile,v $ ! 11: # Revision 7.1 90/07/01 21:04:43 mrose ! 12: # pepsy ! 13: # ! 14: # Revision 7.0 89/11/23 22:10:43 mrose ! 15: # Release 6.0 ! 16: # ! 17: ############################################################################### ! 18: ! 19: ############################################################################### ! 20: # ! 21: # NOTICE ! 22: # ! 23: # Acquisition, use, and distribution of this module and related ! 24: # materials are subject to the restrictions of a license agreement. ! 25: # Consult the Preface in the User's Manual for the full terms of ! 26: # this agreement. ! 27: # ! 28: ############################################################################### ! 29: ! 30: ! 31: ############################################################################### ! 32: # Generation Rules for program modules ! 33: ############################################################################### ! 34: ! 35: PEPYPATH= -DPEPYPATH ! 36: ! 37: .c.o:; $(CC) $(CFLAGS) -c $*.c ! 38: ! 39: ! 40: ############################################################################### ! 41: # Programs and Libraries ! 42: ############################################################################### ! 43: ! 44: LIBES = $(TOPDIR)libisode.a ! 45: LLIBS = $(TOPDIR)llib-lisode ! 46: ! 47: ! 48: ############################################################################### ! 49: # Files ! 50: ############################################################################### ! 51: ! 52: HFILES = rtf.h ! 53: CFILES = rtf.c rtfd.c rtfsbr.c ! 54: PYFILES = rtf.py ! 55: ! 56: ! 57: ################################################################## ! 58: # Here it is... ! 59: ################################################################## ! 60: ! 61: all: rtfd rtf ! 62: inst-all: inst-rtfd inst-rtf manuals ! 63: install: inst-all clean ! 64: lint: l-rtfd l-rtf ! 65: ! 66: ! 67: ################################################################## ! 68: # rtfd ! 69: ################################################################## ! 70: ! 71: inst-rtfd: $(SBINDIR)iso.rtf ! 72: ! 73: $(SBINDIR)iso.rtf: xrtfd ! 74: -cp $@ ziso.rtf ! 75: -rm -f $@ ! 76: cp xrtfd $@ ! 77: -@ls -gls $@ ! 78: -@echo "" ! 79: ! 80: rtfd: xrtfd ! 81: ! 82: xrtfd: rtfd.o rtfsbr.o RTF_tables.o ! 83: $(LDCC) $(LDFLAGS) -o $@ rtfd.o rtfsbr.o RTF_tables.o \ ! 84: $(LIBES) $(LSOCKET) ! 85: ! 86: l-rtfd: RTF_tables.c true ! 87: $(LINT) $(LFLAGS) rtfd.c rtfsbr.c RTF_tables.c $(LLIBS) ! 88: ! 89: rtfd.o: $(HFILES) RTF-types.h ! 90: ! 91: ! 92: ################################################################## ! 93: # rtf ! 94: ################################################################## ! 95: ! 96: inst-rtf: $(BINDIR)rtf ! 97: ! 98: $(BINDIR)rtf: xrtf ! 99: -cp $@ zrtf ! 100: -rm -f $@ ! 101: cp xrtf $@ ! 102: -@ls -gls $@ ! 103: -@echo "" ! 104: ! 105: rtf: xrtf ! 106: ! 107: xrtf: rtf.o rtfsbr.o RTF_tables.o ! 108: $(LDCC) $(LDFLAGS) -o $@ rtf.o rtfsbr.o RTF_tables.o \ ! 109: $(LIBES) $(LSOCKET) ! 110: ! 111: l-rtf: RTF_tables.c true ! 112: $(LINT) $(LFLAGS) rtf.c rtfsbr.c RTF_tables.c $(LLIBS) ! 113: ! 114: rtf.o: $(HFILES) RTF-types.h ! 115: ! 116: ! 117: ################################################################ ! 118: # librtf ! 119: ################################################################ ! 120: ! 121: RTF_tables.o: RTF_tables.c RTF-types.h ! 122: ! 123: RTF_tables.c RTF-types.h: rtf.py $(TOPDIR)pepsy/xpepsy ! 124: $(TOPDIR)pepsy/xpepsy -A -f -h -m rtf.py ! 125: ! 126: rtfsbr.o: $(HFILES) ! 127: ! 128: ! 129: ################################################################ ! 130: # manual pages ! 131: ################################################################ ! 132: ! 133: MANUALS = rtfd.8c rtf.1c ! 134: ! 135: manuals:; @$(UTILDIR)inst-man.sh $(MANOPTS) $(MANUALS) ! 136: -@echo "" ! 137: ! 138: ! 139: ################################################################## ! 140: # clean ! 141: ################################################################## ! 142: ! 143: clean:; rm -f *.o *.a RTF* x* z* _* core ! 144: ! 145: grind:; iprint Makefile ! 146: tgrind -lc $(HFILES) $(CFILES) ! 147: tgrind -lpepy -d $(TOPDIR)pepy/grindefs $(PYFILES) ! 148: @echo $(MANUALS) | \ ! 149: tr " " "\012" | \ ! 150: sed -e "s%.*%itroff -man &%" | \ ! 151: sh -ve ! 152: ! 153: true:;
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.