|
|
1.1 ! root 1: # ! 2: # Makefile for INGRES decomposition module ! 3: # ! 4: # @(#)Makefile 8.3 12/18/85 ! 5: # ! 6: ! 7: INGRES= ../.. ! 8: H= ../h ! 9: LIB= $(INGRES)/lib ! 10: ! 11: CTLMOD= $(LIB)/ctlmod ! 12: OVQP= $(LIB)/ovqp ! 13: DBULIB= $(LIB)/dbulib ! 14: IUTIL= $(LIB)/iutil ! 15: GUTIL= $(LIB)/gutil ! 16: ! 17: OBJS= qryproc.o de_init.o ret_unique.o \ ! 18: aggregate.o ageval.o byeval.o makenode.o mapvar.o \ ! 19: decomp.o pull_sq.o exec_sq.o tempvar.o reformat.o decision.o \ ! 20: reduction.o openrs.o error.o prlinks.o rangetable.o \ ! 21: rnum.o reinit.o selectv.o setvar.o usubr.o \ ! 22: lockit.o pull_const.o \ ! 23: call_ovqp.o mklist.o call_dbu.o ! 24: ! 25: LIBS= $(CTLMOD) $(OVQP) $(DBULIB) $(IUTIL) $(GUTIL) -lm ! 26: ! 27: HDRS= decomp.h globs.h ! 28: SRCS= de_init.c qryproc.c ret_unique.c \ ! 29: aggregate.c ageval.c byeval.c makenode.c mapvar.c \ ! 30: decomp.c pull_sq.c exec_sq.c tempvar.c reformat.c decision.c \ ! 31: reduction.c openrs.c error.c prlinks.c rangetable.c \ ! 32: rnum.c reinit.c selectv.c setvar.c usubr.c mklist.c \ ! 33: lockit.c pull_const.c \ ! 34: call_ovqp.c call_dbu.c ! 35: ! 36: CFLAGS= -I$H -O ! 37: LINTFLAGS= -huc -I$H ! 38: LDFLAGS= ! 39: AR= -ar ! 40: ARFLAGS=rvu ! 41: RANLIB= ranlib ! 42: CP= cp ! 43: CHMOD= chmod ! 44: LIBMODE=664 ! 45: BINMODE=4740 ! 46: ROMODE= 444 ! 47: GET= sccs get ! 48: REL= ! 49: LINT= lint ! 50: PR= print ! 51: VGRIND= csh /usr/ucb/vgrind ! 52: HEADER= Decomposition ! 53: ! 54: decomplib: $(OBJS) ! 55: $(AR) $(ARFLAGS) decomplib $? ! 56: $(CHMOD) $(LIBMODE) decomplib ! 57: $(RANLIB) decomplib ! 58: ! 59: install: $(LIB)/decomp ! 60: ! 61: $(LIB)/decomp: decomplib ! 62: $(CP) decomplib $(LIB)/decomp ! 63: $(RANLIB) $(LIB)/decomp ! 64: ! 65: new: ! 66: rm -f decomplib ! 67: ! 68: clean: ! 69: rm -f *.o ! 70: rm -f decomplib a.out core ! 71: ! 72: sources: $(SRCS) $(HDRS) ! 73: ! 74: $(HDRS): ! 75: $(GET) $(REL) $@ ! 76: $(SRCS): ! 77: $(GET) $(REL) $@ ! 78: ! 79: lint: ! 80: $(LINT) $(LINTFLAGS) $(SRCS) ! 81: ! 82: print: sources ! 83: $(PR) Makefile TraceFlags *.[hm] *.[csy] ! 84: ! 85: vgrind: sources ! 86: cp /dev/null index ! 87: $(VGRIND) -h "$(HEADER) (Release 8)" -n Makefile TraceFlags ! 88: $(VGRIND) -h "$(HEADER) (Release 8)" *.[hm] *.[csy] ! 89: sed /SCCSID/d < index > tmp ! 90: mv tmp index ! 91: $(VGRIND) -h "$(HEADER) (Release 8)" -x index ! 92: ! 93: tags: sources ! 94: -fgrep ../ tags > othertags ! 95: ctags $(SRCS) $(HDRS) ! 96: sort -o tags tags othertags ! 97: -rm -f othertags ! 98: ! 99: # ! 100: # DANGER DANGER DANGER DANGER DANGER DANGER ! 101: # The following two entries should NOT be executed by the user. ! 102: # These entries are only for the Makefile in conf to construct ! 103: # the system tag files. ! 104: # ! 105: systags: ! 106: ctags $(SRCS) $(HDRS) ! 107: sed "s/ / decomp\//" tags > systags ! 108: cat systags >> ../tags ! 109: ! 110: # ! 111: # We assume that systags has already been done. ! 112: # ! 113: installtags: ! 114: sed "/ decomp/d" ../tags | sed "s/ / ..\//" > othertags ! 115: sort -o tags tags othertags ! 116: -rm -f othertags systags ! 117: ! 118: depend: ! 119: grep '^#[ ]*include' $(SRCS) | sed -n -f ../h/depend.sed > makedep ! 120: echo '/^# DO NOT DELETE THIS LINE/+2,$$d' >eddep ! 121: echo '$$r makedep' >>eddep ! 122: echo 'w' >>eddep ! 123: cp Makefile Makefile.bak ! 124: ed - Makefile < eddep ! 125: rm eddep makedep ! 126: echo '# DEPENDENCIES MUST END AT END OF FILE' >> Makefile ! 127: echo '# IF YOU PUT STUFF HERE IT WILL GO AWAY' >> Makefile ! 128: echo '# see make depend above' >> Makefile ! 129: ! 130: # DO NOT DELETE THIS LINE -- make depend uses it ! 131: ! 132: de_init.o:$H/ingres.h ! 133: de_init.o:$H/symbol.h ! 134: de_init.o:$H/range.h ! 135: de_init.o:globs.h ! 136: qryproc.o:$H/ingres.h ! 137: qryproc.o:$H/aux.h ! 138: qryproc.o:$H/tree.h ! 139: qryproc.o:$H/symbol.h ! 140: qryproc.o:globs.h ! 141: qryproc.o:$H/pv.h ! 142: qryproc.o:$H/lock.h ! 143: qryproc.o:$H/resp.h ! 144: qryproc.o:$H/errors.h ! 145: ret_unique.o:$H/ingres.h ! 146: ret_unique.o:$H/symbol.h ! 147: ret_unique.o:$H/aux.h ! 148: ret_unique.o:$H/tree.h ! 149: ret_unique.o:globs.h ! 150: ret_unique.o:$H/errors.h ! 151: aggregate.o:$H/ingres.h ! 152: aggregate.o:$H/tree.h ! 153: aggregate.o:$H/symbol.h ! 154: aggregate.o:globs.h ! 155: aggregate.o:$H/errors.h ! 156: ageval.o:$H/ingres.h ! 157: ageval.o:$H/tree.h ! 158: ageval.o:$H/symbol.h ! 159: ageval.o:$H/pv.h ! 160: ageval.o:globs.h ! 161: ageval.o:$H/errors.h ! 162: byeval.o:$H/ingres.h ! 163: byeval.o:$H/tree.h ! 164: byeval.o:$H/symbol.h ! 165: byeval.o:$H/pv.h ! 166: byeval.o:globs.h ! 167: byeval.o:$H/errors.h ! 168: makenode.o:$H/ingres.h ! 169: makenode.o:$H/aux.h ! 170: makenode.o:$H/tree.h ! 171: makenode.o:$H/symbol.h ! 172: makenode.o:globs.h ! 173: mapvar.o:$H/ingres.h ! 174: mapvar.o:$H/aux.h ! 175: mapvar.o:$H/tree.h ! 176: mapvar.o:$H/symbol.h ! 177: decomp.o:$H/ingres.h ! 178: decomp.o:$H/aux.h ! 179: decomp.o:$H/tree.h ! 180: decomp.o:$H/symbol.h ! 181: decomp.o:globs.h ! 182: decomp.o:$H/errors.h ! 183: pull_sq.o:$H/ingres.h ! 184: pull_sq.o:$H/aux.h ! 185: pull_sq.o:$H/tree.h ! 186: pull_sq.o:$H/symbol.h ! 187: pull_sq.o:globs.h ! 188: exec_sq.o:$H/ingres.h ! 189: exec_sq.o:$H/aux.h ! 190: exec_sq.o:$H/tree.h ! 191: exec_sq.o:$H/symbol.h ! 192: exec_sq.o:$H/pv.h ! 193: exec_sq.o:globs.h ! 194: tempvar.o:$H/ingres.h ! 195: tempvar.o:$H/tree.h ! 196: tempvar.o:$H/symbol.h ! 197: reformat.o:$H/ingres.h ! 198: reformat.o:$H/catalog.h ! 199: reformat.o:$H/aux.h ! 200: reformat.o:$H/tree.h ! 201: reformat.o:$H/symbol.h ! 202: reformat.o:$H/pv.h ! 203: reformat.o:globs.h ! 204: reformat.o:$H/access.h ! 205: decision.o:$H/ingres.h ! 206: decision.o:$H/symbol.h ! 207: decision.o:$H/aux.h ! 208: decision.o:$H/tree.h ! 209: decision.o:globs.h ! 210: reduction.o:$H/ingres.h ! 211: reduction.o:$H/symbol.h ! 212: reduction.o:$H/aux.h ! 213: reduction.o:$H/tree.h ! 214: reduction.o:globs.h ! 215: openrs.o:$H/ingres.h ! 216: openrs.o:$H/aux.h ! 217: openrs.o:$H/tree.h ! 218: openrs.o:$H/symbol.h ! 219: openrs.o:globs.h ! 220: error.o:$H/ingres.h ! 221: error.o:$H/aux.h ! 222: error.o:$H/tree.h ! 223: error.o:$H/symbol.h ! 224: error.o:globs.h ! 225: prlinks.o:$H/ingres.h ! 226: prlinks.o:$H/aux.h ! 227: prlinks.o:$H/tree.h ! 228: prlinks.o:$H/symbol.h ! 229: prlinks.o:globs.h ! 230: rangetable.o:$H/ingres.h ! 231: rangetable.o:$H/symbol.h ! 232: rangetable.o:globs.h ! 233: rnum.o:$H/ingres.h ! 234: rnum.o:globs.h ! 235: reinit.o:$H/ingres.h ! 236: reinit.o:$H/aux.h ! 237: reinit.o:$H/tree.h ! 238: reinit.o:$H/symbol.h ! 239: reinit.o:$H/lock.h ! 240: selectv.o:$H/ingres.h ! 241: selectv.o:$H/symbol.h ! 242: selectv.o:$H/tree.h ! 243: selectv.o:globs.h ! 244: setvar.o:$H/ingres.h ! 245: setvar.o:$H/aux.h ! 246: setvar.o:$H/tree.h ! 247: setvar.o:$H/symbol.h ! 248: setvar.o:globs.h ! 249: usubr.o:$H/ingres.h ! 250: usubr.o:$H/aux.h ! 251: usubr.o:$H/tree.h ! 252: usubr.o:$H/symbol.h ! 253: usubr.o:$H/access.h ! 254: usubr.o:$H/pv.h ! 255: usubr.o:globs.h ! 256: mklist.o:$H/ingres.h ! 257: mklist.o:$H/aux.h ! 258: mklist.o:$H/tree.h ! 259: mklist.o:$H/symbol.h ! 260: mklist.o:globs.h ! 261: lockit.o:$H/ingres.h ! 262: lockit.o:$H/aux.h ! 263: lockit.o:$H/tree.h ! 264: lockit.o:globs.h ! 265: lockit.o:$H/lock.h ! 266: pull_const.o:$H/ingres.h ! 267: pull_const.o:$H/symbol.h ! 268: pull_const.o:$H/aux.h ! 269: pull_const.o:$H/tree.h ! 270: pull_const.o:globs.h ! 271: call_ovqp.o:$H/errors.h ! 272: call_ovqp.o:$H/ingres.h ! 273: call_ovqp.o:$H/aux.h ! 274: call_ovqp.o:$H/opsys.h ! 275: call_ovqp.o:$H/access.h ! 276: call_ovqp.o:$H/tree.h ! 277: call_ovqp.o:$H/symbol.h ! 278: call_ovqp.o:globs.h ! 279: call_dbu.o:$H/ingres.h ! 280: call_dbu.o:$H/aux.h ! 281: call_dbu.o:$H/tree.h ! 282: call_dbu.o:$H/symbol.h ! 283: call_dbu.o:$H/pv.h ! 284: call_dbu.o:globs.h ! 285: # DEPENDENCIES MUST END AT END OF FILE ! 286: # IF YOU PUT STUFF HERE IT WILL GO AWAY ! 287: # see make depend above
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.