|
|
1.1 ! root 1: ############################################################################### ! 2: # Instructions to Make, for compilation of ISODE RONOT library ! 3: ############################################################################### ! 4: ! 5: ############################################################################### ! 6: # ! 7: # $Header: /f/osi/ronot/RCS/Makefile,v ! 8: # ! 9: # ! 10: # $Log: Makefile,v $ ! 11: # Revision 7.1 90/07/27 09:06:30 mrose ! 12: # update ! 13: # ! 14: # Revision 7.0 90/07/26 14:28:24 mrose ! 15: # *** empty log message *** ! 16: # ! 17: # Revision 7.1 90/03/06 13:56:28 mrose ! 18: # touch-up ! 19: # ! 20: # Revision 7.0 89/11/23 21:48:06 mrose ! 21: # Release 6.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: ! 37: PEPYPATH= -DPEPYPATH ! 38: ! 39: LIBES = libronot.a ! 40: LLIBS = $(TOPDIR)llib-lrosap $(TOPDIR)llib-lacsap ! 41: HFILES = $(HDIR)ronot.h $(HDIR)rosap.h $(HDIR)acsap.h \ ! 42: $(HDIR)psap2.h $(HDIR)psap.h $(HDIR)ssap.h $(HDIR)isoaddrs.h \ ! 43: $(HDIR)manifest.h $(HDIR)general.h $(HDIR)config.h ! 44: ! 45: ! 46: ############################################################# ! 47: # Here it is... ! 48: ############################################################# ! 49: ! 50: all: libronot ! 51: inst-all: # inst-libronot ! 52: install: inst-all clean ! 53: lint: l-libronot ! 54: ! 55: ! 56: ############################################################# ! 57: # libronot ! 58: ############################################################# ! 59: ! 60: PYFILES = ronot.py ! 61: ! 62: CFILES = ronotbind1.c ronotbind2.c ronotunbind1.c \ ! 63: ronotunbind2.c ronotabort.c ronotlose.c RONOT_tables.c ! 64: ! 65: OFILES = ronotbind1.o ronotbind2.o ronotunbind1.o \ ! 66: ronotunbind2.o ronotabort.o ronotlose.o RONOT_tables.o ! 67: ! 68: inst-libronot: $(LIBDIR)libronot.a $(LINTDIR)llib-lronot ! 69: ! 70: $(LIBDIR)libronot.a: libronot.a ! 71: -rm -f $@ ! 72: cp libronot.a $@ ! 73: @$(UTILDIR)make-lib.sh $(SYSTEM) $@ -ranlib ! 74: -@ls -gls $@ ! 75: -@echo "" ! 76: ! 77: $(LINTDIR)llib-lronot: llib-lronot ! 78: -cp $@ zllib-lronot ! 79: -rm -f $@ ! 80: sed -e 's%#include "\(.*\)"%#include "$(INCDIR)\1"%' \ ! 81: < llib-lronot | \ ! 82: sed -e 's%#include "/usr/include/\(.*\)"%#include <\1>%' > $@ ! 83: @$(UTILDIR)inst-lint.sh $(SYSTEM) $(OPTIONS) $@ ! 84: -@ls -gls $@ [email protected] ! 85: -@echo "" ! 86: ! 87: libronot: libronot.a ! 88: ! 89: libronot.a: ronotvrsn.o ! 90: -rm -f $@ ! 91: @$(UTILDIR)make-lib.sh $(SYSTEM) $(ARFLAGS) $@ $(OFILES) \ ! 92: ronotvrsn.o ! 93: -@rm -f $(TOPDIR)libronot.a $(TOPDIR)llib-lronot ! 94: -@$(LN) libronot.a $(TOPDIR)libronot.a ! 95: -@$(LN) llib-lronot $(TOPDIR)llib-lronot ! 96: -@ls -l $@ ! 97: -@echo "RO-notation library built normally" ! 98: ! 99: ronotvrsn.c: $(OFILES) ! 100: @$(UTILDIR)version.sh ronot > $@ ! 101: ! 102: l-libronot: true ! 103: $(LINT) $(LFLAGS) $(CFILES) ronotvrsn.c $(LLIBS) ! 104: ! 105: ! 106: RONOT_tables.o: RONOT_tables.c RONOT-types.h ! 107: ! 108: RONOT_tables.c RONOT-types.h: ronot.py $(TOPDIR)pepsy/xpepsy ! 109: $(TOPDIR)pepsy/xpepsy -A -f -h -m ronot.py ! 110: ! 111: ! 112: ############################################################# ! 113: # clean ! 114: ############################################################# ! 115: ! 116: clean:; rm -f *.o *.a *.ph RONOT* z* _* core ronotvrsn.c ! 117: ! 118: grind:; iprint Makefile ! 119: tgrind -lc $(CFILES) ronotvrsn.c llib-lronot ! 120: tgrind -lpepy -d $(TOPDIR)pepy/grindefs $(PYFILES) ! 121: @echo $(MANUALS) | \ ! 122: tr " " "\012" | \ ! 123: sed -e "s%.*%itroff -man &%" | \ ! 124: sh -ve ! 125: ! 126: true:; ! 127: ! 128: # DO NOT DELETE THIS LINE ! 129: # Dependencies follow ! 130: ronotabort.o: $(HDIR)tailor.h $(HDIR)logger.h $(HFILES) ! 131: ronotbind1.o: $(HDIR)tailor.h $(HDIR)logger.h RONOT-types.h $(HFILES) ! 132: ronotbind2.o: $(HDIR)tailor.h $(HDIR)logger.h RONOT-types.h $(HFILES) ! 133: ronotlose.o: $(HDIR)tailor.h $(HDIR)logger.h $(HFILES) ! 134: ronotunbind1.o: $(HDIR)tailor.h $(HDIR)logger.h RONOT-types.h $(HFILES) ! 135: ronotunbind2.o: $(HDIR)tailor.h $(HDIR)logger.h RONOT-types.h $(HFILES)
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.