|
|
1.1 ! root 1: ############################################################################### ! 2: # Instructions to Make, for compilation of Management dish ! 3: ############################################################################### ! 4: ! 5: ############################################################################### ! 6: # ! 7: # $Header: /f/osi/others/quipu/uips/manage/RCS/Makefile,v 7.1 90/07/09 14:42:37 mrose Exp $ ! 8: # ! 9: # ! 10: # $Log: Makefile,v $ ! 11: # Revision 7.1 90/07/09 14:42:37 mrose ! 12: # sync ! 13: # ! 14: # Revision 7.0 90/06/26 14:52:30 mrose ! 15: # *** empty log message *** ! 16: # ! 17: ############################################################################### ! 18: ! 19: ############################################################################### ! 20: # ! 21: # NOTICE ! 22: # ! 23: # Acquisition, use, and distribution of this module and related ! 24: # materials are subject to the restrictions of a license agreement. ! 25: # Consult the Preface in the User's Manual for the full terms of ! 26: # this agreement. ! 27: # ! 28: ############################################################################### ! 29: ! 30: LIBES = libmanage.a $(TOPDIR)libdish.a $(TOPDIR)libquipu.a $(TOPDIR)libdsap.a $(TOPDIR)libisode.a ! 31: LLIBS = $(TOPDIR)llib-lquipu $(TOPDIR)llib-ldsap $(TOPDIR)llib-lisode ! 32: ! 33: CFILES = add_alias.c del_alias.c ! 34: OFILES = add_alias.o del_alias.o schema.o attribute.o ! 35: ! 36: ############################################################## ! 37: # Here it is... ! 38: ############################################################## ! 39: ! 40: all: dish ! 41: inst-all: inst-dish inst-aliaschk manuals ! 42: install: inst-all clean ! 43: lint: l-dish ! 44: ! 45: ! 46: ################################################################### ! 47: # dish ! 48: ################################################################### ! 49: ! 50: inst-dish: $(BINDIR)dish_manage ! 51: ! 52: $(BINDIR)dish_manage: xdish ! 53: -cp $@ zxdish_manage ! 54: -rm -f $@ ! 55: cp xdish $@ ! 56: -@ls -gls $@ ! 57: -@echo "" ! 58: ! 59: dish: xdish ! 60: ! 61: xdish: $(LIBES) dish.o ! 62: $(LDCC) $(LDFLAGS) -o $@ dish.o $(LIBES) $(LSOCKET) ! 63: ! 64: l-dish: $(CFILES) true ! 65: $(LINT) $(LFLAGS) $(LLIBS) $(CFILES) ! 66: ! 67: dish.o: $(TOPDIR)quipu/dish/dish.c ! 68: $(CC) -g $(CFLAGS) -DMANAGE -c $(TOPDIR)quipu/dish/dish.c ! 69: ! 70: schema.o: $(TOPDIR)/quipu/schema.c ! 71: $(CC) $(CFLAGS) -c $(TOPDIR)quipu/schema.c ! 72: ! 73: attribute.o: $(TOPDIR)/quipu/attribute.c ! 74: $(CC) $(CFLAGS) -c $(TOPDIR)quipu/attribute.c ! 75: ! 76: ! 77: ################################################################### ! 78: # libmanage ! 79: ################################################################### ! 80: ! 81: inst-libmanage: $(LIBDIR)libmanage.a ! 82: ! 83: $(LIBDIR)libmanage.a: libmanage.a ! 84: -rm -f $@ ! 85: cp libmanage.a $@ ! 86: @$(UTILDIR)make-lib.sh $(SYSTEM) $@ -ranlib ! 87: -@ls -gls $@ ! 88: -@echo "" ! 89: ! 90: libmanage: libmanage.a ! 91: ! 92: libmanage.a: managevrsn.o ! 93: -rm -f $@ ! 94: @$(UTILDIR)make-lib.sh $(SYSTEM) $(ARFLAGS) $@ $(OFILES) \ ! 95: managevrsn.o ! 96: # -@rm -f $(TOPDIR)libmanage.a $(TOPDIR)llib-lmanage ! 97: # -@$(LN) libmanage.a $(TOPDIR)libmanage.a ! 98: # -@$(LN) llib-lmanage $(TOPDIR)llib-lmanage ! 99: -@echo "QUIPU-MANAGE library built normally" ! 100: ! 101: managevrsn.c: $(OFILES) ! 102: @$(UTILDIR)version.sh manage > $@ ! 103: ! 104: l-libmanage: $(CFILES) true ! 105: $(LINT) $(LFLAGS) $(CFILES) managevrsn.c $(LLIBS) ! 106: ! 107: ################################################################ ! 108: # inst-aliaschk ! 109: ################################################################ ! 110: ! 111: inst-aliaschk: $(BINDIR)alias_chk ! 112: ! 113: $(BINDIR)alias_chk: alias_chk ! 114: -cp $@ zalias_chk ! 115: -rm -f $@ ! 116: cp alias_chk $@ ! 117: -@ls -gls $@ ! 118: -@echo "" ! 119: ! 120: ################################################################### ! 121: # shell version of dish... ! 122: ################################################################### ! 123: ! 124: inst-shelldish: $(BINDIR)add_alias $(BINDIR)del_alias $(BINDIR)dish ! 125: ! 126: $(BINDIR)add_alias: ! 127: ln $(BINDIR)list $@ ! 128: ! 129: $(BINDIR)del_alias: ! 130: ln $(BINDIR)list $@ ! 131: ! 132: $(BINDIR)dish: $(BINDIR)dish_manage ! 133: -cp $@ zxdish ! 134: -rm -f $@ ! 135: cp xdish $@ ! 136: -@ls -gls $@ ! 137: -@echo "" ! 138: ! 139: ############################################################## ! 140: # manuals ! 141: ############################################################## ! 142: ! 143: manuals:; echo ! 144: @$(UTILDIR)inst-man.sh $(MANOPTS) add_alias.1c ! 145: ! 146: ############################################################## ! 147: # clean ! 148: ############################################################## ! 149: ! 150: clean:; rm -f *.ph *.o *.a a.out _* x* z* *.orig \ ! 151: core managevrsn.c ! 152: ! 153: grind:; iprint Makefile ! 154: tgrind -lc $(CFILES) ! 155: @echo $(MANUALS) | \ ! 156: tr " " "\012" | \ ! 157: sed -e "s%.*%itroff -man &%" | \ ! 158: sh -ve ! 159: ! 160: true:;
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.