|
|
1.1 ! root 1: # ! 2: # Makefile for INGRES query modification 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: IUTIL= $(LIB)/iutil ! 13: GUTIL= $(LIB)/gutil ! 14: LIBS= $(CTLMOD) $(IUTIL) $(GUTIL) ! 15: ! 16: CFLAGS= -O -I$H ! 17: LINTFLAGS= -huc -I$H ! 18: LDFLAGS= ! 19: AR= -ar ! 20: ARFLAGS=rvu ! 21: RANLIB= ranlib ! 22: CP= cp ! 23: CHMOD= chmod ! 24: LIBMODE=664 ! 25: BINMODE=4740 ! 26: ROMODE= 444 ! 27: GET= sccs get ! 28: REL= ! 29: LINT= lint ! 30: PR= print ! 31: VGRIND= csh /usr/ucb/vgrind ! 32: HEADER= Query Modification ! 33: CTAGS= /bin/csh /usr/ucb/ctags ! 34: ! 35: OBJS= d_integ.o d_prot.o d_view.o puttree.o qrymod.o \ ! 36: integrity.o protect.o view.o trscan.o \ ! 37: issue.o norml.o tree.o util.o ! 38: SRCS= integrity.c issue.c norml.c protect.c \ ! 39: qrymod.c tree.c trscan.c \ ! 40: util.c view.c puttree.c \ ! 41: d_view.c d_prot.c d_integ.c ! 42: HDRS= qrymod.h ! 43: ! 44: qrymodlib: $(OBJS) ! 45: $(AR) $(ARFLAGS) qrymodlib $? ! 46: $(CHMOD) $(LIBMODE) qrymodlib ! 47: $(RANLIB) qrymodlib ! 48: ! 49: install: $(LIB)/qrymod ! 50: ! 51: $(LIB)/qrymod: qrymodlib ! 52: $(CP) qrymodlib $(LIB)/qrymod ! 53: $(RANLIB) $(LIB)/qrymod ! 54: ! 55: .PRECIOUS: qrymodlib ! 56: ! 57: sources: $(SRCS) $(HDRS) ! 58: ! 59: $(SRCS): ! 60: $(GET) $(REL) $@ ! 61: ! 62: lint: ! 63: $(LINT) $(LINTFLAGS) $(SRCS) ! 64: ! 65: print: sources ! 66: $(PR) Makefile TraceFlags *.[hm] *.[csy] ! 67: ! 68: vgrind: sources ! 69: cp /dev/null index ! 70: $(VGRIND) -h "$(HEADER) (Release 8)" -n Makefile TraceFlags ! 71: $(VGRIND) -h "$(HEADER) (Release 8)" *.[hm] *.[csy] ! 72: sed /SCCSID/d < index > tmp ! 73: mv tmp index ! 74: $(VGRIND) -h "$(HEADER) (Release 8)" -x index ! 75: ! 76: new: ! 77: rm -f qrymodlib ! 78: ! 79: tags: sources ! 80: -fgrep ../ tags > othertags ! 81: ctags $(SRCS) $(HDRS) ! 82: sort -o tags tags othertags ! 83: -rm -f othertags ! 84: ! 85: # ! 86: # DANGER DANGER DANGER DANGER DANGER DANGER ! 87: # The following two entries should NOT be executed by the user. ! 88: # These entries are only for the Makefile in conf to construct ! 89: # the system tag files. ! 90: # ! 91: systags: ! 92: ctags $(SRCS) $(HDRS) ! 93: sed "s/ / qrymod\//" tags > systags ! 94: cat systags >> ../tags ! 95: ! 96: # ! 97: # We assume that systags has already been done. ! 98: # ! 99: installtags: ! 100: sed "/ qrymod/d" ../tags | sed "s/ / ..\//" > othertags ! 101: sort -o tags tags othertags ! 102: -rm -f othertags systags ! 103: ! 104: clean: ! 105: rm -f *.o ! 106: rm -f core a.out qrymodlib ! 107: ! 108: $(OBJS): qrymod.h ! 109: ! 110: depend: ! 111: grep '^#[ ]*include' $(SRCS) | sed -n -f ../h/depend.sed > makedep ! 112: echo '/^# DO NOT DELETE THIS LINE/+2,$$d' >eddep ! 113: echo '$$r makedep' >>eddep ! 114: echo 'w' >>eddep ! 115: cp Makefile Makefile.bak ! 116: ed - Makefile < eddep ! 117: rm eddep makedep ! 118: echo '# DEPENDENCIES MUST END AT END OF FILE' >> Makefile ! 119: echo '# IF YOU PUT STUFF HERE IT WILL GO AWAY' >> Makefile ! 120: echo '# see make depend above' >> Makefile ! 121: ! 122: # DO NOT DELETE THIS LINE -- make depend uses it ! 123: ! 124: integrity.o:$H/ingres.h ! 125: integrity.o:$H/aux.h ! 126: integrity.o:$H/catalog.h ! 127: integrity.o:$H/access.h ! 128: integrity.o:$H/tree.h ! 129: integrity.o:$H/symbol.h ! 130: integrity.o:qrymod.h ! 131: issue.o:$H/ingres.h ! 132: issue.o:$H/aux.h ! 133: issue.o:$H/symbol.h ! 134: issue.o:$H/tree.h ! 135: issue.o:$H/pv.h ! 136: issue.o:qrymod.h ! 137: norml.o:$H/ingres.h ! 138: norml.o:$H/aux.h ! 139: norml.o:$H/tree.h ! 140: norml.o:$H/symbol.h ! 141: protect.o:$H/ingres.h ! 142: protect.o:$H/aux.h ! 143: protect.o:$H/catalog.h ! 144: protect.o:$H/symbol.h ! 145: protect.o:$H/tree.h ! 146: protect.o:qrymod.h ! 147: protect.o:$H/errors.h ! 148: qrymod.o:$H/ingres.h ! 149: qrymod.o:$H/aux.h ! 150: qrymod.o:$H/pv.h ! 151: qrymod.o:$H/opsys.h ! 152: qrymod.o:$H/func.h ! 153: qrymod.o:$H/tree.h ! 154: qrymod.o:qrymod.h ! 155: tree.o:$H/ingres.h ! 156: tree.o:$H/tree.h ! 157: tree.o:$H/symbol.h ! 158: tree.o:qrymod.h ! 159: trscan.o:$H/ingres.h ! 160: trscan.o:$H/symbol.h ! 161: trscan.o:$H/tree.h ! 162: trscan.o:qrymod.h ! 163: trscan.o:$H/errors.h ! 164: util.o:$H/ingres.h ! 165: util.o:$H/aux.h ! 166: util.o:$H/symbol.h ! 167: util.o:$H/tree.h ! 168: util.o:qrymod.h ! 169: view.o:$H/ingres.h ! 170: view.o:$H/aux.h ! 171: view.o:$H/symbol.h ! 172: view.o:$H/tree.h ! 173: view.o:qrymod.h ! 174: view.o:$H/errors.h ! 175: puttree.o:$H/ingres.h ! 176: puttree.o:$H/catalog.h ! 177: puttree.o:$H/symbol.h ! 178: puttree.o:$H/lock.h ! 179: puttree.o:$H/tree.h ! 180: puttree.o:qrymod.h ! 181: d_view.o:$H/ingres.h ! 182: d_view.o:$H/aux.h ! 183: d_view.o:$H/tree.h ! 184: d_view.o:$H/symbol.h ! 185: d_view.o:$H/catalog.h ! 186: d_view.o:$H/pv.h ! 187: d_view.o:$H/func.h ! 188: d_view.o:qrymod.h ! 189: d_prot.o:$H/ingres.h ! 190: d_prot.o:$H/aux.h ! 191: d_prot.o:$H/catalog.h ! 192: d_prot.o:$H/access.h ! 193: d_prot.o:$H/tree.h ! 194: d_prot.o:$H/symbol.h ! 195: d_prot.o:$H/lock.h ! 196: d_prot.o:$H/pv.h ! 197: d_prot.o:$H/func.h ! 198: d_prot.o:qrymod.h ! 199: d_prot.o:$H/errors.h ! 200: d_integ.o:$H/ingres.h ! 201: d_integ.o:$H/aux.h ! 202: d_integ.o:$H/catalog.h ! 203: d_integ.o:$H/tree.h ! 204: d_integ.o:$H/symbol.h ! 205: d_integ.o:$H/pv.h ! 206: d_integ.o:$H/resp.h ! 207: d_integ.o:$H/func.h ! 208: d_integ.o:qrymod.h ! 209: d_integ.o:$H/errors.h ! 210: # DEPENDENCIES MUST END AT END OF FILE ! 211: # IF YOU PUT STUFF HERE IT WILL GO AWAY ! 212: # see make depend above
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.