|
|
1.1 ! root 1: ############################################################################### ! 2: # Instructions to Make, for compilation of ISODE FTAM2 processes ! 3: ############################################################################### ! 4: ! 5: ############################################################################### ! 6: # ! 7: # $Header: /f/osi/ftam2/RCS/Makefile,v 7.3 90/07/27 08:44:39 mrose Exp $ ! 8: # ! 9: # ! 10: # $Log: Makefile,v $ ! 11: # Revision 7.3 90/07/27 08:44:39 mrose ! 12: # update ! 13: # ! 14: # Revision 7.2 90/07/01 21:03:05 mrose ! 15: # pepsy ! 16: # ! 17: # Revision 7.1 90/03/06 13:56:34 mrose ! 18: # touch-up ! 19: # ! 20: # Revision 7.0 89/11/23 21:54:13 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: .SUFFIXES: .py .c .o ! 40: ! 41: .c.o:; $(CC) $(CFLAGS) -c $*.c ! 42: ! 43: ! 44: LIBD = $(TOPDIR)libftam.a $(TOPDIR)libisode.a ! 45: LIBES = $(TOPDIR)libftam.a $(LIBISODE) ! 46: LLIBS = $(TOPDIR)llib-lftam $(TOPDIR)llib-lisode ! 47: CFILES = ftamd.c ftamsystem.c ftamd-manage.c ftamd-select.c \ ! 48: ftamd-trans.c \ ! 49: ftam.c ftamuser.c ftam-assoc.c ftam-dir.c ftam-get.c \ ! 50: ftam-glob.c ftam-ls.c ftam-mgmt.c ftam-put.c \ ! 51: ftamsbr.c ! 52: PYFILES = docs.py ! 53: HFILES = $(HDIR)ftam.h \ ! 54: $(HDIR)acsap.h $(HDIR)psap2.h $(HDIR)psap.h $(HDIR)ssap.h \ ! 55: $(HDIR)isoaddrs.h \ ! 56: $(HDIR)manifest.h $(HDIR)general.h $(HDIR)config.h ! 57: ! 58: ! 59: ################################################################## ! 60: # Here it is... ! 61: ################################################################## ! 62: ! 63: all: ftamd ftam ! 64: inst-all: inst-ftamd inst-ftam manuals ! 65: install: inst-all clean ! 66: lint: l-ftamd l-ftam ! 67: ! 68: ! 69: ################################################################## ! 70: # ftamd ! 71: ################################################################## ! 72: ! 73: inst-ftamd: $(ETCDIR)iso.ftam ! 74: ! 75: $(ETCDIR)iso.ftam: xftamd ! 76: -cp $@ ziso.ftam ! 77: -rm -f $@ ! 78: cp xftamd $@ ! 79: -@ls -gls $@ ! 80: -@echo "" ! 81: ! 82: ftamd: xftamd ! 83: ! 84: xftamd: ftamd.o ftamsystem.o ftamd-manage.o ftamd-select.o \ ! 85: ftamd-trans.o ftamsbr.o DOCS_tables.o $(LIBD) ! 86: $(LDCC) -o $@ ftamd.o ftamsystem.o ftamd-manage.o \ ! 87: ftamd-select.o ftamd-trans.o ftamsbr.o DOCS_tables.o \ ! 88: $(LIBES) $(LSOCKET) ! 89: ! 90: l-ftamd: DOCS_tables.c true ! 91: $(LINT) $(LFLAGS) ftamd.c ftamsystem.c ftamd-manage.c \ ! 92: ftamd-select.c ftamd-trans.c ftamsbr.c DOCS_tables.c \ ! 93: $(LLIBS) ! 94: ! 95: ftamd.o: ftamsystem.h ftamsbr.h DOCS-types.h $(HFILES) ! 96: ftamsystem.o: ftamsystem.h ftamsbr.h DOCS-types.h $(HFILES) $(HDIR)logger.h ! 97: ftamd-manage.o: ftamsystem.h ftamsbr.h DOCS-types.h $(HFILES) ! 98: ftamd-select.o: ftamsystem.h ftamsbr.h DOCS-types.h $(HFILES) ! 99: ftamd-trans.o: ftamsystem.h ftamsbr.h DOCS-types.h $(HFILES) \ ! 100: $(HDIR)usr.dirent.h $(HDIR)sys.dirent.h ! 101: ! 102: ! 103: ################################################################## ! 104: # ftam ! 105: ################################################################## ! 106: ! 107: inst-ftam: $(BINDIR)ftam ! 108: ! 109: $(BINDIR)ftam: xftam ! 110: -cp $@ zxftam ! 111: -rm -f $@ ! 112: cp xftam $@ ! 113: -@ls -gls $@ ! 114: -@echo "" ! 115: ! 116: ftam: xftam ! 117: ! 118: xftam: ftam.o ftamuser.o ftam-assoc.o ftam-dir.o ftam-get.o \ ! 119: ftam-glob.o ftam-ls.o ftam-mgmt.o ftam-put.o \ ! 120: ftamsbr.o DOCS_tables.o $(LIBD) ! 121: $(LDCC) -o $@ ftam.o ftamuser.o ftam-assoc.o \ ! 122: ftam-dir.o ftam-get.o ftam-glob.o ftam-ls.o \ ! 123: ftam-mgmt.o ftam-put.o ftamsbr.o DOCS_tables.o \ ! 124: $(LIBES) $(LSOCKET) ! 125: ! 126: l-ftam: DOCS_tables.c true ! 127: $(LINT) $(LFLAGS) ftam.c ftamuser.c ftam-assoc.c ftam-dir.c \ ! 128: ftam-get.c ftam-glob.c ftam-ls.c ftam-mgmt.c \ ! 129: ftam-put.c ftamsbr.c DOCS_tables.c $(LLIBS) ! 130: ! 131: ftam.o: ftamuser.h ftamsbr.h DOCS-types.h $(HFILES) $(HDIR)tailor.h \ ! 132: $(HDIR)logger.h ! 133: ftamuser.o: ftamuser.h ftamsbr.h DOCS-types.h $(HFILES) $(HDIR)tailor.h \ ! 134: $(HDIR)logger.h ! 135: ftam-assoc.o: ftamuser.h ftamsbr.h DOCS-types.h $(HFILES) ! 136: ftam-dir.o: ftamuser.h ftamsbr.h DOCS-types.h $(HFILES) ! 137: ftam-get.o: ftamuser.h ftamsbr.h DOCS-types.h $(HFILES) ! 138: ftam-glob.o: ftamuser.h ftamsbr.h DOCS-types.h $(HFILES) \ ! 139: $(HDIR)usr.dirent.h $(HDIR)sys.dirent.h ! 140: ftam-ls.o: ftamuser.h ftamsbr.h DOCS-types.h $(HFILES) ! 141: ftam-mgmt.o: ftamuser.h ftamsbr.h DOCS-types.h $(HFILES) ! 142: ftam-put.o: ftamuser.h ftamsbr.h DOCS-types.h $(HFILES) ! 143: ! 144: ! 145: ################################################################## ! 146: # ftamsbr/DOCS ! 147: ################################################################## ! 148: ! 149: ftamsbr.o: ftamsbr.h DOCS-types.h $(HFILES) ! 150: ! 151: DOCS_tables.o: DOCS_tables.c DOCS-types.h ! 152: ! 153: DOCS_tables.c DOCS-types.h: docs.py $(TOPDIR)pepsy/xpepsy ! 154: $(TOPDIR)pepsy/xpepsy -A -f -h -m docs.py ! 155: ! 156: ! 157: ################################################################## ! 158: # manual pages ! 159: ################################################################## ! 160: ! 161: MANUALS = ftamd.8c ftam.1c ftamusers.5 ! 162: ! 163: manuals:; @$(UTILDIR)inst-man.sh $(MANOPTS) $(MANUALS) ! 164: -@echo "" ! 165: ! 166: ! 167: ################################################################## ! 168: # clean ! 169: ################################################################## ! 170: ! 171: clean:; rm -f *.ph *.o DOCS* x* z* _* core ! 172: ! 173: grind:; iprint Makefile ! 174: tgrind -lc ftamsystem.h ftamuser.h ftamsbr.h $(CFILES) ! 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.