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