|
|
1.1 ! root 1: ############################################################################### ! 2: # Instructions to Make, for compilation of ROS-based miscellaneous services ! 3: ############################################################################### ! 4: ! 5: ############################################################################### ! 6: # ! 7: # $Header: /f/osi/imisc/RCS/Makefile,v 7.3 90/07/09 14:38:43 mrose Exp $ ! 8: # ! 9: # ! 10: # $Log: Makefile,v $ ! 11: # Revision 7.3 90/07/09 14:38:43 mrose ! 12: # sync ! 13: # ! 14: # Revision 7.2 90/07/01 21:03:59 mrose ! 15: # pepsy ! 16: # ! 17: # Revision 7.0 89/11/23 21:57:34 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: PEPYPATH= -DPEPYPATH ! 35: ! 36: .SUFFIXES: .ry .py .c .o ! 37: ! 38: .c.o:; $(CC) $(CFLAGS) -c $*.c ! 39: ! 40: ! 41: LIBES = $(TOPDIR)libisode$(LPP).a ! 42: LLIBS = $(TOPDIR)llib-lisode$(LPP) ! 43: CFILES = imiscd.c imisc.c IMISC-ops.c ryinitiator.c ryresponder.c ! 44: RYFILES = imisc.ry ! 45: HFILES = $(HDIR)rosy.h $(HDIR)rosap.h $(HDIR)acsap.h $(HDIR)psap2.h \ ! 46: $(HDIR)psap.h $(HDIR)ssap.h $(HDIR)isoaddrs.h \ ! 47: $(HDIR)manifest.h $(HDIR)general.h $(HDIR)config.h ! 48: ! 49: ROS = ros. ! 50: ! 51: ! 52: ################################################################## ! 53: # Here it is... ! 54: ################################################################## ! 55: ! 56: all: imiscd imisc ! 57: inst-all: inst-imiscd inst-imisc manuals ! 58: install: inst-all clean ! 59: lint: l-imiscd l-imisc ! 60: ! 61: all-lpp:; $(MAKE) LPP=-lpp all ! 62: inst-lpp:; $(MAKE) LPP=-lpp ROS=lpp. inst-all ! 63: install-lpp:; $(MAKE) LPP=-lpp ROS=lpp. install ! 64: lint-lpp:; $(MAKE) LPP=-lpp lint ! 65: ! 66: ! 67: ################################################################## ! 68: # imiscd ! 69: ################################################################## ! 70: ! 71: inst-imiscd: $(SBINDIR)$(ROS)imisc ! 72: ! 73: $(SBINDIR)$(ROS)imisc: ximiscd$(LPP) ! 74: -cp $@ z$(ROS)imisc ! 75: -rm -f $@ ! 76: cp ximiscd$(LPP) $@ ! 77: -@ls -gls $@ ! 78: -@echo "" ! 79: ! 80: imiscd: ximiscd$(LPP) ! 81: ! 82: ximiscd$(LPP): imiscd.o IMISC-Rops.o ryresponder.o IMISC_tables.o $(LIBES) ! 83: $(LDCC) $(LDFLAGS) -o $@ imiscd.o IMISC-Rops.o ryresponder.o \ ! 84: IMISC_tables.o $(LIBES) $(LSOCKET) ! 85: ! 86: l-imiscd: IMISC-ops.c IMISC_tables.c true ! 87: $(LINT) $(LFLAGS) -DPERFORMER imiscd.c IMISC-ops.c \ ! 88: ryresponder.c IMISC_tables.c $(LLIBS) ! 89: ! 90: imiscd.o: ryresponder.h IMISC-ops.h IMISC-types.h $(HFILES) \ ! 91: $(HDIR)logger.h ! 92: ! 93: IMISC-Rops.o: IMISC-ops.c IMISC-ops.h $(HFILES) ! 94: $(CC) $(CFLAGS) -DPERFORMER -c IMISC-ops.c ! 95: mv IMISC-ops.o $@ ! 96: ! 97: ryresponder.o: ryresponder.h $(HFILES) $(HDIR)tailor.h ! 98: ! 99: ! 100: ################################################################## ! 101: # imisc ! 102: ################################################################## ! 103: ! 104: inst-imisc: $(BINDIR)imisc$(LPP) ! 105: ! 106: $(BINDIR)imisc$(LPP): ximisc$(LPP) ! 107: -cp $@ zximisc$(LPP) ! 108: -rm -f $@ ! 109: cp ximisc$(LPP) $@ ! 110: -@ls -gls $@ ! 111: -@echo "" ! 112: ! 113: imisc: ximisc$(LPP) ! 114: ! 115: ximisc$(LPP): imisc.o IMISC-Iops.o ryinitiator.o IMISC_tables.o $(LIBES) ! 116: $(LDCC) $(LDFLAGS) -o $@ imisc.o IMISC-Iops.o ryinitiator.o \ ! 117: IMISC_tables.o $(LIBES) $(LSOCKET) ! 118: ! 119: l-imisc: IMISC-ops.c IMISC_tables.c true ! 120: $(LINT) $(LFLAGS) -DINVOKER imisc.c IMISC-ops.c \ ! 121: ryinitiator.c IMISC_tables.c IMISC-stubs.c $(LLIBS) ! 122: ! 123: imisc.o: ryinitiator.h IMISC-ops.h IMISC-types.h $(HFILES) ! 124: ! 125: IMISC-Iops.o: IMISC-ops.c IMISC-ops.h $(HFILES) ! 126: $(CC) $(CFLAGS) -DINVOKER -c IMISC-ops.c ! 127: mv IMISC-ops.o $@ ! 128: ! 129: ryinitiator.o: ryinitiator.h $(HFILES) ! 130: ! 131: ! 132: ################################################################ ! 133: # libimisc ! 134: ################################################################ ! 135: ! 136: IMISC_tables.o: IMISC_tables.c IMISC-types.h ! 137: ! 138: IMISC_tables.c IMISC-types.h: IMISC-asn.py $(TOPDIR)pepsy/xpepsy ! 139: $(TOPDIR)pepsy/xpepsy -A -f -h -m IMISC-asn.py ! 140: ! 141: IMISC-asn.py: imisc.ry $(TOPDIR)rosy/xrosy ! 142: $(TOPDIR)rosy/xrosy -m -pepsy -o $@ imisc.ry ! 143: IMISC-ops.c: imisc.ry ! 144: IMISC-ops.h: imisc.ry ! 145: IMISC-stubs.c: imisc.ry ! 146: ! 147: ! 148: ################################################################ ! 149: # manual pages ! 150: ################################################################ ! 151: ! 152: MANUALS = imiscd.8c imisc.1c ! 153: ! 154: manuals:; @$(UTILDIR)inst-man.sh $(MANOPTS) $(MANUALS) ! 155: -@echo "" ! 156: ! 157: ! 158: ################################################################ ! 159: # clean ! 160: ################################################################ ! 161: ! 162: clean:; rm -f *.ph *.o *.a IMISC* x* z* _* core ! 163: ! 164: grind:; iprint Makefile ! 165: tgrind -lc ryinitiator.h ryresponder.h $(CFILES) ! 166: tgrind -lpepy -d $(TOPDIR)pepy/grindefs $(RYFILES) ! 167: @echo $(MANUALS) | \ ! 168: tr " " "\012" | \ ! 169: sed -e "s%.*%itroff -man &%" | \ ! 170: sh -ve ! 171: ! 172: true:;
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.