|
|
1.1 ! root 1: ############################################################################### ! 2: # Instructions to Make, for compilation of ISODE idist utility ! 3: ############################################################################### ! 4: ! 5: ############################################################################### ! 6: # ! 7: # $Header: /f/osi/others/idist/RCS/Makefile,v 7.2 90/07/01 21:04:15 mrose Exp $ ! 8: # ! 9: # ! 10: # $Log: Makefile,v $ ! 11: # Revision 7.2 90/07/01 21:04:15 mrose ! 12: # pepsy ! 13: # ! 14: # Revision 7.1 89/12/01 10:44:28 mrose ! 15: # touch-up ! 16: # ! 17: # Revision 7.0 89/11/23 21:58:21 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: ############################################################################### ! 35: # Generation Rules for program modules ! 36: ############################################################################### ! 37: ! 38: PEPYPATH= -DPEPYPATH ! 39: ! 40: .c.o:; $(CC) $(CFLAGS) -c $*.c ! 41: ! 42: ! 43: ############################################################################### ! 44: # Programs and Libraries ! 45: ############################################################################### ! 46: ! 47: LIBES = $(TOPDIR)libisode.a ! 48: LLIBS = $(TOPDIR)llib-lisode ! 49: ! 50: ! 51: ############################################################################### ! 52: # Files ! 53: ############################################################################### ! 54: ! 55: HFILES = ryresponder.h defs.h ! 56: CFILES = docmd.c expand.c idistd.c idistd2.c install.c lookup.c \ ! 57: main.c ops.c ryinitiator.c ryresponder.c support.c ! 58: RYFILES = idist.ry ! 59: ! 60: ! 61: ################################################################## ! 62: # Here it is... ! 63: ################################################################## ! 64: ! 65: all: idistd idist ! 66: inst-all: inst-idistd inst-idist manuals ! 67: install: inst-all clean ! 68: lint: l-idistd l-idist ! 69: ! 70: ! 71: ################################################################## ! 72: # idistd ! 73: ################################################################## ! 74: ! 75: inst-idistd: $(SBINDIR)ros.idist ! 76: ! 77: $(SBINDIR)ros.idist: idistd ! 78: -cp $@ zros.idist ! 79: -rm -f $@ ! 80: cp idistd $@ ! 81: -@ls -gls $@ ! 82: -@echo "" ! 83: ! 84: IDISTDO= idistd.o idistd2.o support.o Idist-Rops.o ryresponder.o ! 85: IDISTDC= idistd.c idistd2.c support.c Idist-ops.c ryresponder.c ! 86: ! 87: idistd: $(IDISTDO) Idist_tables.o ! 88: $(CC) $(LDFLAGS) -o $@ $(IDISTDO) Idist_tables.o \ ! 89: $(LIBES) $(LSOCKET) ! 90: ! 91: idistd.o: ryresponder.h Idist-ops.h Idist-types.h defs.h ! 92: ! 93: Idist-Rops.o: Idist-ops.c Idist-ops.h ! 94: $(CC) $(CFLAGS) -DPERFORMER -c Idist-ops.c ! 95: mv Idist-ops.o $@ ! 96: ! 97: ryresponder.o: ryresponder.h ryresponder.c Idist-ops.h ! 98: $(CC) $(CFLAGS) -c ryresponder.c ! 99: ! 100: idistd2.o: Idist-types.h defs.h idistd2.c ! 101: ! 102: l-idistd: $(IDISTDC) Idist_tables.c true ! 103: $(LINT) $(LFLAGS) -DPERFORMER $(IDISTDC) \ ! 104: Idist_tables.c $(LLIBS) ! 105: ! 106: ! 107: ################################################################## ! 108: # idist ! 109: ################################################################## ! 110: ! 111: inst-idist: $(BINDIR)idist ! 112: ! 113: $(BINDIR)idist: idist ! 114: -cp $@ zidist ! 115: -rm -f $@ ! 116: cp idist $@ ! 117: -@ls -gls $@ ! 118: -@echo "" ! 119: ! 120: IDISTO= main.o docmd.o expand.o gram.o install.o lookup.o support.o \ ! 121: ops.o Idist-Iops.o ryinitiator.o ! 122: IDISTC= main.c docmd.c expand.c gram.c install.c lookup.c support.c \ ! 123: ops.c ryinitiator.c ! 124: ! 125: idist: $(IDISTO) Idist_tables.o ! 126: $(CC) $(LDFLAGS) -o $@ $(IDISTO) Idist_tables.o $(LIBES) $(LSOCKET) ! 127: ! 128: ops.o: Idist-ops.h Idist-types.h defs.h ! 129: ! 130: Idist-Iops.o: Idist-ops.c Idist-ops.h ! 131: $(CC) $(CFLAGS) -DINVOKER -c Idist-ops.c ! 132: mv Idist-ops.o $@ ! 133: ! 134: main.o: defs.h ! 135: ! 136: support.o: defs.h Idist-ops.h Idist-types.h ! 137: ! 138: docmd.o: defs.h ! 139: ! 140: expand.o: defs.h ! 141: ! 142: gram.o: defs.h ! 143: ! 144: lookup.o: defs.h ! 145: ! 146: install.o: defs.h ! 147: ! 148: l-idist: $(IDISTC) Idist-ops.c Idist_tables.c true ! 149: $(LINT) $(LFLAGS) -DINVOKER $(IDISTC) \ ! 150: Idist_tables.c Idist-stubs.c \ ! 151: $(LLIBS) ! 152: ! 153: ! 154: ################################################################ ! 155: # libidist ! 156: ################################################################ ! 157: ! 158: Idist_tables.o: Idist_tables.c Idist-types.h ! 159: ! 160: Idist_tables.c Idist-types.h: Idist-asn.py $(TOPDIR)pepsy/xpepsy ! 161: $(TOPDIR)pepsy/xpepsy -A -f -h -m Idist-asn.py ! 162: ! 163: Idist-asn.py: idist.ry $(TOPDIR)rosy/xrosy ! 164: $(TOPDIR)rosy/xrosy -m -pepsy -defs -o $@ idist.ry ! 165: Idist-ops.c: idist.ry ! 166: Idist-ops.h: idist.ry ! 167: Idist-stubs.c: idist.ry ! 168: ! 169: ! 170: ################################################################ ! 171: # manual pages ! 172: ################################################################ ! 173: ! 174: MANUALS = idistd.8c idist.1c ! 175: ! 176: manuals:; @$(UTILDIR)inst-man.sh $(MANOPTS) $(MANUALS) ! 177: -@echo "" ! 178: ! 179: ! 180: ################################################################ ! 181: # clean ! 182: ################################################################ ! 183: ! 184: clean:; rm -f *.o *.a Idist* IDIST* gram.c idistd idist z* _* core ! 185: ! 186: grind:; iprint READ-ME Makefile ! 187: tgrind -lc $(HFILES) $(CFILES) ! 188: tgrind -lpepy -d $(TOPDIR)pepy/grindefs $(RYFILES) ! 189: @echo $(MANUALS) | \ ! 190: tr " " "\012" | \ ! 191: sed -e "s%.*%itroff -man &%" | \ ! 192: sh -ve ! 193: ! 194: true:;
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.