|
|
1.1 ! root 1: ############################################################################### ! 2: # Instructions to Make, for compilation of ISODE header files ! 3: ############################################################################### ! 4: ! 5: ############################################################################### ! 6: # ! 7: # $Header: /f/osi/h/RCS/Makefile,v 7.2 90/07/01 21:03:45 mrose Exp $ ! 8: # ! 9: # ! 10: # $Log: Makefile,v $ ! 11: # Revision 7.2 90/07/01 21:03:45 mrose ! 12: # pepsy ! 13: # ! 14: # Revision 7.1 89/12/19 16:18:00 mrose ! 15: # dgram ! 16: # ! 17: # Revision 7.0 89/11/23 21:55:36 mrose ! 18: # Release 6.0 ! 19: # ! 20: ############################################################################### ! 21: ! 22: ############################################################################### ! 23: # ! 24: # NOTICE ! 25: # ! 26: # Acquisition, use, and distribution of this module and related ! 27: # materials are subject to the restrictions of a license agreement. ! 28: # Consult the Preface in the User's Manual for the full terms of ! 29: # this agreement. ! 30: # ! 31: ############################################################################### ! 32: ! 33: ! 34: DIRS = quipu ! 35: ! 36: HEADERS = config.h \ ! 37: sys.dirent.h usr.dirent.h \ ! 38: general.h manifest.h isoaddrs.h \ ! 39: internet.h x25.h tp4.h dgram.h \ ! 40: cmd_srch.h isoservent.h logger.h tailor.h \ ! 41: mpkt.h \ ! 42: tpkt.h tsap.h \ ! 43: spkt.h ssap.h \ ! 44: pepsy.h \ ! 45: ppkt.h psap2.h psap.h \ ! 46: acpkt.h acsap.h \ ! 47: rtpkt.h rtsap.h \ ! 48: ropkt.h rosap.h \ ! 49: ronot.h \ ! 50: rosy.h ! 51: ! 52: FHEADERS= fpkt.h ftam.h ! 53: ! 54: ! 55: ################################################################## ! 56: # Here it is... ! 57: ################################################################## ! 58: ! 59: all:; ! 60: ! 61: inst-all:; -mkdir $(INCDIRM) ! 62: @for h in $(HEADERS); do $(MAKE) TARGET=$$h inst-target; done ! 63: ! 64: inst-ftam:; @for h in $(FHEADERS); do $(MAKE) TARGET=$$h inst-target; done ! 65: ! 66: inst-target: $(INCDIR)$(TARGET) ! 67: ! 68: $(INCDIR)$(TARGET): $(TARGET) ! 69: -cp $@ z$(TARGET) ! 70: sed -e 's%#include "\([^/]*\)"%#include "$(INCDIR)\1"%' \ ! 71: < $(TARGET) | \ ! 72: sed -e 's%#include "/usr/include/\(.*\)"%#include <\1>%' > $@ ! 73: -@ls -gls $@ ! 74: -@echo "" ! 75: ! 76: install: inst-all clean ! 77: ! 78: lint:; ! 79: ! 80: clean:; rm -f z* _* ! 81: @for i in $(DIRS); \ ! 82: do (echo "cd $$i; $(MAKE) clean"; \ ! 83: cd $$i; $(MAKE) clean); \ ! 84: done ! 85: ! 86: grind:; tgrind -lc $(HEADERS) ! 87: @for i in $(DIRS); \ ! 88: do (echo "cd $$i; $(MAKE) grind"; \ ! 89: cd $$i; $(MAKE) grind); \ ! 90: done
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.