|
|
1.1 ! root 1: ############################################################################### ! 2: # Instructions to Make, for compilation of ISODE RtSAP processes ! 3: ############################################################################### ! 4: ! 5: ############################################################################### ! 6: # ! 7: # $Header: /f/osi/rtsap/RCS/Makefile,v 7.2 90/07/09 14:48:12 mrose Exp $ ! 8: # ! 9: # ! 10: # $Log: Makefile,v $ ! 11: # Revision 7.2 90/07/09 14:48:12 mrose ! 12: # sync ! 13: # ! 14: # Revision 7.1 90/07/01 21:06:44 mrose ! 15: # pepsy ! 16: # ! 17: # Revision 6.1 89/07/22 16:05:55 mrose ! 18: # bsd44 ! 19: # ! 20: # Revision 6.0 89/03/18 23:43:01 mrose ! 21: # Release 5.0 ! 22: # ! 23: ############################################################################### ! 24: ! 25: ############################################################################### ! 26: # ! 27: # NOTICE ! 28: # ! 29: # Acquisition, use, and distribution of this module and related ! 30: # materials are subject to the restrictions of a license agreement. ! 31: # Consult the Preface in the User's Manual for the full terms of ! 32: # this agreement. ! 33: # ! 34: ############################################################################### ! 35: ! 36: PEPYPATH= -DPEPYPATH ! 37: ! 38: .SUFFIXES: .py .c .o ! 39: ! 40: ! 41: LIBES = librtsap.a ! 42: LLIBS = $(TOPDIR)llib-lacsap $(TOPDIR)llib-lpsap2 $(TOPDIR)llib-lpsap \ ! 43: $(TOPDIR)llib-lssap $(TOPDIR)llib-lcompat ! 44: HFILES = $(HDIR)rtsap.h $(HDIR)acsap.h $(HDIR)psap2.h $(HDIR)psap.h \ ! 45: $(HDIR)ssap.h $(HDIR)isoaddrs.h \ ! 46: $(HDIR)manifest.h $(HDIR)general.h $(HDIR)config.h ! 47: ! 48: ################################################################## ! 49: # Here it is... ! 50: ################################################################## ! 51: ! 52: all: librtsap ! 53: inst-all: # inst-librtsap manuals ! 54: install: inst-all clean ! 55: lint: l-librtsap ! 56: ! 57: ! 58: ################################################################ ! 59: # librtsap ! 60: ################################################################ ! 61: ! 62: CFILES = rtsaperror.c \ ! 63: rtsappturn.c rtsapgturn.c rtsaptrans.c rtsapwait.c \ ! 64: rtsapasync.c rtsapselect.c rtsaplose.c \ ! 65: rtsapdtrans.c rtsaputrans.c \ ! 66: rt2psrespond.c rt2psinitiat.c rt2psabort.c rt2psreleas1.c \ ! 67: rt2psreleas2.c rt2ps.c \ ! 68: rt2ssexec.c rt2ssrespond.c rt2ssinitiat.c rt2ssreleas1.c \ ! 69: rt2ssreleas2.c rt2ss.c ! 70: PYFILES = rts.py ! 71: OFILES = rtsaperror.o \ ! 72: rtsappturn.o rtsapgturn.o rtsaptrans.o rtsapwait.o \ ! 73: rtsapasync.o rtsapselect.o rtsaplose.o \ ! 74: rtsapdtrans.o rtsaputrans.o \ ! 75: rt2psrespond.o rt2psinitiat.o rt2psabort.o rt2psreleas1.o \ ! 76: rt2psreleas2.o rt2ps.o \ ! 77: rt2ssexec.o rt2ssrespond.o rt2ssinitiat.o rt2ssreleas1.o \ ! 78: rt2ssreleas2.o rt2ss.o \ ! 79: $(OSTRINGS) ! 80: ! 81: inst-librtsap: $(LIBDIR)librtsap.a $(LINTDIR)llib-lrtsap ! 82: ! 83: $(LIBDIR)librtsap.a: librtsap.a ! 84: -rm -f $@ ! 85: cp librtsap.a $@ ! 86: @$(UTILDIR)make-lib.sh $(SYSTEM) $@ -ranlib ! 87: -@ls -gls $@ ! 88: -@echo "" ! 89: ! 90: $(LINTDIR)llib-lrtsap: llib-lrtsap ! 91: -cp $@ zllib-lrtsap ! 92: -rm -f $@ ! 93: sed -e 's%#include "\(.*\)"%#include "$(INCDIR)\1"%' \ ! 94: < llib-lrtsap | \ ! 95: sed -e 's%#include "/usr/include/\(.*\)"%#include <\1>%' > $@ ! 96: @$(UTILDIR)inst-lint.sh $(SYSTEM) $(OPTIONS) $@ ! 97: -@ls -gls $@ [email protected] ! 98: -@echo "" ! 99: ! 100: librtsap: librtsap.a ! 101: ! 102: librtsap.a: rtsapvrsn.o ! 103: -rm -f $@ ! 104: @$(UTILDIR)make-lib.sh $(SYSTEM) $(ARFLAGS) $@ $(OFILES) \ ! 105: RTS_tables.o rtsapvrsn.o ! 106: -@rm -f $(TOPDIR)librtsap.a $(TOPDIR)llib-lrtsap ! 107: -@$(LN) librtsap.a $(TOPDIR)librtsap.a ! 108: -@$(LN) llib-lrtsap $(TOPDIR)llib-lrtsap ! 109: -@ls -l $@ ! 110: -@echo "RtSAP library built normally" ! 111: ! 112: RTS_tables.o: RTS_tables.c RTS-types.h ! 113: ! 114: RTS_tables.c RTS-types.h: rts.py $(TOPDIR)pepsy/xpepsy ! 115: $(TOPDIR)pepsy/xpepsy -A -f -h -m rts.py ! 116: ! 117: ! 118: rtsapvrsn.c: $(OFILES) RTS_tables.o ! 119: @$(UTILDIR)version.sh rtsap > $@ ! 120: ! 121: l-librtsap: RTS_tables.c true ! 122: $(LINT) $(LFLAGS) $(CFILES) RTS_tables.c rtsapvrsn.c $(LLIBS) ! 123: ! 124: rtsaperror.o: $(HFILES) ! 125: rtsappturn.o: $(HDIR)rtpkt.h $(HDIR)acpkt.h $(HFILES) ! 126: rtsapgturn.o: $(HDIR)rtpkt.h $(HDIR)acpkt.h $(HFILES) ! 127: rtsaptrans.o: $(HDIR)rtpkt.h $(HDIR)acpkt.h $(HFILES) ! 128: rtsapwait.o: $(HDIR)rtpkt.h $(HDIR)acpkt.h $(HFILES) ! 129: rtsapasync.o: $(HDIR)rtpkt.h $(HDIR)acpkt.h $(HFILES) ! 130: rtsapselect.o: $(HDIR)rtpkt.h $(HDIR)acpkt.h $(HFILES) ! 131: rtsaplose.o: $(HDIR)rtpkt.h $(HDIR)acpkt.h $(HFILES) $(HDIR)tailor.h \ ! 132: $(HDIR)logger.h ! 133: rtsapdtrans.o: $(HDIR)rtpkt.h $(HDIR)acpkt.h $(HFILES) ! 134: rtsaputrans.o: $(HDIR)rtpkt.h $(HDIR)acpkt.h $(HFILES) ! 135: rt2psrespond.o: $(HDIR)rtpkt.h $(HDIR)acpkt.h $(HFILES) $(HDIR)tailor.h \ ! 136: $(HDIR)logger.h RTS-types.h ! 137: rt2psinitiat.o: $(HDIR)rtpkt.h $(HDIR)acpkt.h $(HFILES) $(HDIR)tailor.h \ ! 138: $(HDIR)logger.h RTS-types.h ! 139: rt2psabort.o: $(HDIR)rtpkt.h $(HDIR)acpkt.h $(HFILES) $(HDIR)tailor.h \ ! 140: $(HDIR)logger.h ! 141: rt2psreleas1.o: $(HDIR)rtpkt.h $(HDIR)acpkt.h $(HFILES) ! 142: rt2psreleas2.o: $(HDIR)rtpkt.h $(HDIR)acpkt.h $(HFILES) ! 143: rt2ps.o: $(HDIR)rtpkt.h $(HDIR)acpkt.h $(HFILES) $(HDIR)tailor.h \ ! 144: $(HDIR)logger.h RTS-types.h ! 145: rt2ssexec.o: $(HDIR)rtpkt.h $(HDIR)acpkt.h $(HFILES) $(HDIR)isoservent.h \ ! 146: $(HDIR)tailor.h $(HDIR)logger.h RTS-types.h ! 147: rt2ssrespond.o: $(HDIR)rtpkt.h $(HDIR)acpkt.h $(HFILES) $(HDIR)tailor.h \ ! 148: $(HDIR)logger.h RTS-types.h ! 149: rt2ssinitiat.o: $(HDIR)rtpkt.h $(HDIR)acpkt.h $(HFILES) $(HDIR)isoservent.h \ ! 150: $(HDIR)tailor.h $(HDIR)logger.h RTS-types.h ! 151: rt2ssreleas1.o: $(HDIR)rtpkt.h $(HDIR)acpkt.h $(HFILES) ! 152: rt2ssreleas2.o: $(HDIR)rtpkt.h $(HDIR)acpkt.h $(HFILES) ! 153: rt2ss.o: $(HDIR)rtpkt.h $(HDIR)acpkt.h $(HFILES) $(HDIR)tailor.h \ ! 154: $(HDIR)logger.h RTS-types.h ! 155: ! 156: ! 157: ################################################################ ! 158: # manual pages ! 159: ################################################################ ! 160: ! 161: MANUALS = librtsap.3n ! 162: ! 163: manuals:; @$(UTILDIR)inst-man.sh $(MANOPTS) $(MANUALS) ! 164: -@echo "" ! 165: ! 166: ! 167: ################################################################ ! 168: # clean ! 169: ################################################################ ! 170: ! 171: clean:; rm -f *.o *.a *.ph RTS* rts.c vrts.c z* _* core rtsapvrsn.c ! 172: ! 173: grind:; iprint Makefile ! 174: tgrind -lc $(CFILES) rtsapvrsn.c llib-lrtsap ! 175: tgrind -lpepy -d $(TOPDIR)pepy/grindefs $(PYFILES) ! 176: @echo $(MANUALS) | \ ! 177: tr " " "\012" | \ ! 178: sed -e "s%.*%itroff -man &%" | \ ! 179: sh -ve ! 180: ! 181: true:;
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.