|
|
1.1 ! root 1: # ! 2: # Makefile for INGRES database utilities ! 3: # ! 4: # @(#)Makefile 8.4 12/18/85 ! 5: # ! 6: ! 7: INGRES= ../.. ! 8: H= ../h ! 9: LIB= $(INGRES)/lib ! 10: BIN= $(INGRES)/bin ! 11: ! 12: CTLMOD= $(LIB)/ctlmod ! 13: IUTIL= $(LIB)/iutil ! 14: GUTIL= $(LIB)/gutil ! 15: DBULIB= $(LIB)/dbulib ! 16: ! 17: LIBS= $(CTLMOD) $(IUTIL) $(GUTIL) ! 18: LIBS1= $(CTLMOD) $(DBULIB) $(IUTIL) $(GUTIL) ! 19: OBJS= index.o create.o modify.o modupdate.o destroy.o \ ! 20: udestroy.o copy.o purgetup.o print.o rupdate.o \ ! 21: help.o save.o update.o convert.o secupdate.o \ ! 22: rdwrbatch.o resetrel.o seq_atts.o sysfunc.o \ ! 23: get_p_tid.o display.o pr_prot.o pr_tree.o rmqm.o ksort.o \ ! 24: btreeupdate.o ! 25: HDRS= ! 26: SRCS= index.c create.c modify.c modupdate.c destroy.c udestroy.c \ ! 27: purgetup.c print.c rupdate.c help.c save.c update.c convert.c \ ! 28: secupdate.c rdwrbatch.c resetrel.c seq_atts.c \ ! 29: get_p_tid.c copy.c ksort.c \ ! 30: display.c rmqm.c pr_prot.c pr_tree.c sysfunc.c btreeupdate.c ! 31: ! 32: SOBJS= sysmon.o ! 33: ! 34: SSRCS= sysmon.c ! 35: ! 36: AR= -ar ! 37: ARFLAGS=rvu ! 38: RANLIB= ranlib ! 39: CFLAGS= -I$H -O -I../ctlmod ! 40: LDFLAGS= ! 41: CP= cp ! 42: CHMOD= chmod ! 43: LIBMODE=664 ! 44: BINMODE=4740 ! 45: ROMODE= 444 ! 46: GET= sccs get ! 47: REL= ! 48: PR= print ! 49: VGRIND= csh /usr/ucb/vgrind ! 50: HEADER= Database Utilities ! 51: ! 52: dbulib: $(OBJS) ! 53: $(AR) $(ARFLAGS) dbulib $? ! 54: $(CHMOD) $(LIBMODE) dbulib ! 55: $(RANLIB) dbulib ! 56: ! 57: $(LIB)/dbulib: dbulib ! 58: $(CP) dbulib $(LIB)/dbulib ! 59: $(RANLIB) $(LIB)/dbulib ! 60: ! 61: install: $(LIB)/dbulib $(LIB)/sysmonlib ! 62: ! 63: sysmonlib: $(SOBJS) ! 64: $(AR) $(ARFLAGS) sysmonlib $? ! 65: $(CHMOD) $(LIBMODE) sysmonlib ! 66: $(RANLIB) sysmonlib ! 67: ! 68: $(LIB)/sysmonlib: sysmonlib ! 69: $(CP) sysmonlib $(LIB)/sysmonlib ! 70: $(RANLIB) $(LIB)/sysmonlib ! 71: ! 72: sysmonitor: $(LIB)/sysmonlib ! 73: ! 74: alldbu: $(OBJS) config.o ! 75: $(CC) config.o $(OBJS) $(LDFLAGS) $(LIBS) -o alldbu ! 76: $(CHMOD) $(BINMODE) alldbu ! 77: ! 78: new: ! 79: rm -f dbulib alldbu ! 80: ! 81: clean: ! 82: rm -f *.o ! 83: rm -f dbulib alldbu a.out core sysmonlib ! 84: ! 85: sources: $(SRCS) ! 86: ! 87: $(SRCS): ! 88: $(GET) $(REL) $@ ! 89: ! 90: print: sources ! 91: $(PR) Makefile TraceFlags *.[hm] *.[csy] ! 92: ! 93: vgrind: sources ! 94: cp /dev/null index ! 95: $(VGRIND) -h "$(HEADER) (Release 8)" -n Makefile TraceFlags ! 96: $(VGRIND) -h "$(HEADER) (Release 8)" *.[csy] ! 97: $(VGRIND) -h "$(HEADER) (Release 8)" -x index ! 98: ! 99: tags: sources ! 100: -fgrep ../ tags > othertags ! 101: ctags $(SRCS) $(HDRS) ! 102: sort -o tags tags othertags ! 103: -rm -f othertags ! 104: ! 105: # ! 106: # DANGER DANGER DANGER DANGER DANGER DANGER ! 107: # The following two entries should NOT be executed by the user. ! 108: # These entries are only for the Makefile in conf to construct ! 109: # the system tag files. ! 110: # ! 111: systags: ! 112: ctags $(SRCS) $(HDRS) ! 113: sed "s/ / dbu\//" tags > systags ! 114: cat systags >> ../tags ! 115: ! 116: # ! 117: # We assume that systags has already been done. ! 118: # ! 119: installtags: ! 120: sed "/ dbu/d" ../tags | sed "s/ / ..\//" > othertags ! 121: sort -o tags tags othertags ! 122: -rm -f othertags systags ! 123: ! 124: depend: ! 125: grep '^#[ ]*include' $(SRCS) | sed -n -f ../h/depend.sed > makedep ! 126: echo '/^# DO NOT DELETE THIS LINE/+2,$$d' >eddep ! 127: echo '$$r makedep' >>eddep ! 128: echo 'w' >>eddep ! 129: cp Makefile Makefile.bak ! 130: ed - Makefile < eddep ! 131: rm eddep makedep ! 132: echo '# DEPENDENCIES MUST END AT END OF FILE' >> Makefile ! 133: echo '# IF YOU PUT STUFF HERE IT WILL GO AWAY' >> Makefile ! 134: echo '# see make depend above' >> Makefile ! 135: ! 136: # DO NOT DELETE THIS LINE -- make depend uses it ! 137: ! 138: index.o:$H/pv.h ! 139: index.o:$H/func.h ! 140: index.o:$H/symbol.h ! 141: index.o:$H/ingres.h ! 142: index.o:$H/aux.h ! 143: index.o:$H/catalog.h ! 144: index.o:$H/access.h ! 145: index.o:$H/lock.h ! 146: index.o:$H/errors.h ! 147: create.o:$H/pv.h ! 148: create.o:$H/ingres.h ! 149: create.o:$H/access.h ! 150: create.o:$H/aux.h ! 151: create.o:$H/catalog.h ! 152: create.o:$H/symbol.h ! 153: create.o:$H/lock.h ! 154: create.o:$H/func.h ! 155: create.o:$H/errors.h ! 156: modify.o:$H/ingres.h ! 157: modify.o:$H/pv.h ! 158: modify.o:$H/aux.h ! 159: modify.o:$H/access.h ! 160: modify.o:$H/batch.h ! 161: modify.o:$H/lock.h ! 162: modify.o:$H/opsys.h ! 163: modify.o:$H/func.h ! 164: modify.o:$H/version.h ! 165: modify.o:$H/symbol.h ! 166: modify.o:$H/catalog.h ! 167: modify.o:$H/btree.h ! 168: modify.o:$H/errors.h ! 169: modupdate.o:$H/pv.h ! 170: modupdate.o:$H/ingres.h ! 171: modupdate.o:$H/aux.h ! 172: modupdate.o:$H/catalog.h ! 173: modupdate.o:$H/access.h ! 174: modupdate.o:$H/batch.h ! 175: modupdate.o:$H/opsys.h ! 176: modupdate.o:$H/btree.h ! 177: modupdate.o:$H/symbol.h ! 178: destroy.o:$H/pv.h ! 179: destroy.o:$H/ingres.h ! 180: destroy.o:$H/aux.h ! 181: destroy.o:$H/catalog.h ! 182: destroy.o:$H/func.h ! 183: destroy.o:$H/errors.h ! 184: udestroy.o:$H/ingres.h ! 185: udestroy.o:$H/aux.h ! 186: udestroy.o:$H/catalog.h ! 187: udestroy.o:$H/btree.h ! 188: udestroy.o:$H/pv.h ! 189: purgetup.o:$H/ingres.h ! 190: purgetup.o:$H/access.h ! 191: print.o:$H/pv.h ! 192: print.o:$H/ingres.h ! 193: print.o:$H/access.h ! 194: print.o:$H/aux.h ! 195: print.o:$H/lock.h ! 196: print.o:$H/func.h ! 197: print.o:$H/catalog.h ! 198: print.o:$H/btree.h ! 199: print.o:$H/errors.h ! 200: rupdate.o:$H/pv.h ! 201: rupdate.o:$H/ingres.h ! 202: rupdate.o:$H/func.h ! 203: help.o:$H/pv.h ! 204: help.o:$H/ingres.h ! 205: help.o:$H/aux.h ! 206: help.o:$H/catalog.h ! 207: help.o:$H/access.h ! 208: help.o:$H/func.h ! 209: help.o:$H/errors.h ! 210: save.o:$H/pv.h ! 211: save.o:$H/ingres.h ! 212: save.o:$H/aux.h ! 213: save.o:$H/func.h ! 214: save.o:$H/opsys.h ! 215: save.o:$H/errors.h ! 216: update.o:$H/ingres.h ! 217: update.o:$H/resp.h ! 218: update.o:$H/aux.h ! 219: update.o:$H/symbol.h ! 220: update.o:$H/access.h ! 221: update.o:$H/batch.h ! 222: update.o:$H/opsys.h ! 223: update.o:$H/catalog.h ! 224: update.o:$H/btree.h ! 225: update.o:$H/version.h ! 226: update.o:$H/errors.h ! 227: convert.o:$H/ingres.h ! 228: convert.o:$H/symbol.h ! 229: secupdate.o:$H/ingres.h ! 230: secupdate.o:$H/aux.h ! 231: secupdate.o:$H/catalog.h ! 232: secupdate.o:$H/symbol.h ! 233: secupdate.o:$H/access.h ! 234: secupdate.o:$H/batch.h ! 235: rdwrbatch.o:$H/ingres.h ! 236: rdwrbatch.o:$H/aux.h ! 237: rdwrbatch.o:$H/symbol.h ! 238: rdwrbatch.o:$H/access.h ! 239: rdwrbatch.o:$H/batch.h ! 240: resetrel.o:$H/pv.h ! 241: resetrel.o:$H/ingres.h ! 242: resetrel.o:$H/aux.h ! 243: resetrel.o:$H/batch.h ! 244: resetrel.o:$H/access.h ! 245: resetrel.o:$H/func.h ! 246: seq_atts.o:$H/ingres.h ! 247: seq_atts.o:$H/access.h ! 248: get_p_tid.o:$H/ingres.h ! 249: get_p_tid.o:$H/catalog.h ! 250: copy.o:$H/func.h ! 251: copy.o:$H/pv.h ! 252: copy.o:$H/ingres.h ! 253: copy.o:$H/aux.h ! 254: copy.o:$H/access.h ! 255: copy.o:$H/symbol.h ! 256: copy.o:$H/lock.h ! 257: copy.o:$H/errors.h ! 258: modify.o:$H/ingres.h ! 259: modify.o:$H/pv.h ! 260: modify.o:$H/aux.h ! 261: modify.o:$H/access.h ! 262: modify.o:$H/batch.h ! 263: modify.o:$H/lock.h ! 264: modify.o:$H/opsys.h ! 265: modify.o:$H/func.h ! 266: modify.o:$H/version.h ! 267: modify.o:$H/symbol.h ! 268: modify.o:$H/catalog.h ! 269: modify.o:$H/btree.h ! 270: modify.o:$H/errors.h ! 271: ksort.o:$H/ingres.h ! 272: ksort.o:$H/aux.h ! 273: ksort.o:$H/symbol.h ! 274: ksort.o:$H/access.h ! 275: ksort.o:$H/func.h ! 276: ksort.o:$H/batch.h ! 277: ksort.o:$H/catalog.h ! 278: ksort.o:$H/pv.h ! 279: display.o:$H/ingres.h ! 280: display.o:$H/aux.h ! 281: display.o:$H/catalog.h ! 282: display.o:$H/tree.h ! 283: display.o:$H/symbol.h ! 284: display.o:$H/access.h ! 285: display.o:$H/func.h ! 286: display.o:$H/pv.h ! 287: display.o:$H/errors.h ! 288: rmqm.o:$H/pv.h ! 289: rmqm.o:$H/ingres.h ! 290: rmqm.o:$H/access.h ! 291: rmqm.o:$H/aux.h ! 292: rmqm.o:$H/catalog.h ! 293: rmqm.o:$H/symbol.h ! 294: rmqm.o:$H/func.h ! 295: rmqm.o:$H/errors.h ! 296: pr_prot.o:$H/ingres.h ! 297: pr_prot.o:$H/tree.h ! 298: pr_prot.o:$H/aux.h ! 299: pr_prot.o:$H/catalog.h ! 300: pr_prot.o:$H/symbol.h ! 301: pr_tree.o:$H/symbol.h ! 302: pr_tree.o:$H/ingres.h ! 303: pr_tree.o:$H/tree.h ! 304: pr_tree.o:$H/aux.h ! 305: sysfunc.o:$H/ingres.h ! 306: sysfunc.o:$H/aux.h ! 307: sysfunc.o:$H/pv.h ! 308: sysfunc.o:$H/symbol.h ! 309: sysfunc.o:$H/func.h ! 310: btreeupdate.o:$H/ingres.h ! 311: btreeupdate.o:$H/aux.h ! 312: btreeupdate.o:$H/catalog.h ! 313: btreeupdate.o:$H/symbol.h ! 314: btreeupdate.o:$H/access.h ! 315: btreeupdate.o:$H/batch.h ! 316: btreeupdate.o:$H/btree.h ! 317: # DEPENDENCIES MUST END AT END OF FILE ! 318: # IF YOU PUT STUFF HERE IT WILL GO AWAY ! 319: # see make depend above
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.