|
|
1.1 root 1: #
2: # Makefile for INGRES iutil library
3: # (includes old access library)
4: #
5: # @(#)Makefile 8.3 12/18/85
6: #
7:
8: INGRES= ../..
9: H= ../h
10: LIB= $(INGRES)/lib
11:
12: OBJS= acc_addbuf.o add_prim.o batch.o batchxtra.o cleanrel.o \
13: closecat.o closer.o clr_tuple.o delete.o do_u_flag.o \
14: errfilen.o formatpg.o getnuser.o gettree.o getuser.o \
15: initucode.o dblocks.o inpcloser.o insert.o markopen.o \
16: noclose.o null_fn.o opencat.o cat_desc.o openr.o \
17: get_reltup.o getequal.o get.o printdesc.o \
18: replace.o del_tuple.o findbest.o add_ovflo.o cslocks.o \
19: find.o last_page.o ndxsearch.o compare.o newlino.o \
20: paramd.o printup.o out_arg.o put_tuple.o rhash.o \
21: rllocks.o rub.o scan_dups.o get_tuple.o setkey.o \
22: trim_relna.o tup_len.o writebatch.o accbuf.o page.o \
23: pglocks.o globals.o readadmin.o checkadmin.o \
24: ingresname.o utility.o acc_init.o lock.o getservent.o \
25: create_btree.o delete_btree.o get_tid.o insert_btree.o \
26: btree_util.o btreerange.o btreename.o sort.o insert_mbtree.o
27: # SRCS are split because make only allows 40 objects on a lhs.
28: SRCS1= acc_addbuf.c add_prim.c batch.c batchxtra.c cleanrel.c \
29: closecat.c closer.c clr_tuple.c delete.c do_u_flag.c \
30: errfilen.c formatpg.c getnuser.c gettree.c getuser.c \
31: initucode.c dblocks.c inpcloser.c insert.c markopen.c \
32: noclose.c null_fn.c opencat.c cat_desc.c openr.c \
33: acc_init.c get_reltup.c getequal.c get.c printdesc.c \
34: create_btree.c delete_btree.c get_tid.c insert_mbtree.c
35: SRCS2= replace.c del_tuple.c findbest.c add_ovflo.c cslocks.c \
36: find.c last_page.c ndxsearch.c compare.c newlino.c \
37: paramd.c printup.c out_arg.c put_tuple.c rhash.c \
38: rllocks.c rub.c scan_dups.c get_tuple.c setkey.c \
39: trim_relna.c tup_len.c writebatch.c accbuf.c page.c \
40: pglocks.c globals.c readadmin.c checkadmin.c \
41: ingresname.c utility.c lock.c getservent.c \
42: insert_btree.c btree_util.c btreerange.c btreename.c \
43: sort.c
44: SRCS= $(SRCS1) $(SRCS2)
45:
46: CFLAGS= -I$H -O -I../ctlmod
47: LINTFLAGS = -huc -I$H
48: AR= -ar
49: ARFLAGS=urv
50: RANLIB= ranlib
51: GET= sccs get
52: REL=
53: LINT = lint
54: PR= print
55: VGRIND= csh /usr/ucb/vgrind
56: HEADER= Iutil Library
57: CP= cp
58: CHMOD= chmod
59: LIBMODE=664
60:
61: iutil: $(OBJS)
62: $(AR) $(ARFLAGS) iutil $?
63: $(CHMOD) $(LIBMODE) iutil
64: $(RANLIB) iutil
65:
66: install: $(LIB)/iutil
67:
68: $(LIB)/iutil: iutil
69: $(CP) iutil $(LIB)/iutil
70: $(RANLIB) $(LIB)/iutil
71:
72: new:
73: rm -f iutil
74:
75: clean:
76: rm -f *.o
77: rm -f iutil a.out core
78:
79: lint:
80: $(LINT) $(LINTFLAGS) $(SRCS1) $(SRCS2)
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)" *.[csy]
89: $(VGRIND) -h "$(HEADER) (Release 8)" -x index
90:
91: sources: $(SRCS)
92:
93: $(SRCS1):
94: $(GET) $(REL) $@
95: $(SRCS2):
96: $(GET) $(REL) $@
97:
98: tags: sources
99: -fgrep ../ tags > othertags
100: ctags $(SRCS) $(HDRS)
101: sort -o tags tags othertags
102: -rm -f othertags
103:
104: #
105: # DANGER DANGER DANGER DANGER DANGER DANGER
106: # The following two entries should NOT be executed by the user.
107: # These entries are only for the Makefile in conf to construct
108: # the system tag files.
109: #
110: systags:
111: ctags $(SRCS) $(HDRS)
112: sed "s/ / iutil\//" tags > systags
113: cat systags >> ../tags
114:
115: #
116: # We assume that systags has already been done.
117: #
118: installtags:
119: sed "/ iutil/d" ../tags | sed "s/ / ..\//" > othertags
120: sort -o tags tags othertags
121: -rm -f othertags systags
122:
123: depend:
124: grep '^#[ ]*include' $(SRCS) | sed -n -f ../h/depend.sed > makedep
125: echo '/^# DO NOT DELETE THIS LINE/+2,$$d' >eddep
126: echo '$$r makedep' >>eddep
127: echo 'w' >>eddep
128: cp Makefile Makefile.bak
129: ed - Makefile < eddep
130: rm eddep makedep
131: echo '# DEPENDENCIES MUST END AT END OF FILE' >> Makefile
132: echo '# IF YOU PUT STUFF HERE IT WILL GO AWAY' >> Makefile
133: echo '# see make depend above' >> Makefile
134:
135: # DO NOT DELETE THIS LINE -- make depend uses it
136:
137: acc_addbuf.o:$H/ingres.h
138: acc_addbuf.o:$H/access.h
139: add_prim.o:$H/ingres.h
140: add_prim.o:$H/access.h
141: batch.o:$H/ingres.h
142: batch.o:$H/aux.h
143: batch.o:$H/catalog.h
144: batch.o:$H/symbol.h
145: batch.o:$H/access.h
146: batch.o:$H/batch.h
147: batch.o:$H/btree.h
148: batchxtra.o:$H/ingres.h
149: batchxtra.o:$H/aux.h
150: batchxtra.o:$H/symbol.h
151: batchxtra.o:$H/access.h
152: batchxtra.o:$H/batch.h
153: cleanrel.o:$H/ingres.h
154: cleanrel.o:$H/aux.h
155: cleanrel.o:$H/access.h
156: closecat.o:$H/ingres.h
157: closecat.o:$H/aux.h
158: closecat.o:$H/access.h
159: closer.o:$H/ingres.h
160: closer.o:$H/access.h
161: closer.o:$H/catalog.h
162: clr_tuple.o:$H/ingres.h
163: clr_tuple.o:$H/symbol.h
164: clr_tuple.o:$H/access.h
165: delete.o:$H/ingres.h
166: delete.o:$H/access.h
167: delete.o:$H/catalog.h
168: delete.o:$H/batch.h
169: delete.o:$H/btree.h
170: do_u_flag.o:$H/ingres.h
171: do_u_flag.o:$H/aux.h
172: errfilen.o:$H/ingres.h
173: errfilen.o:$H/aux.h
174: errfilen.o:$H/version.h
175: formatpg.o:$H/ingres.h
176: formatpg.o:$H/access.h
177: getnuser.o:$H/ingres.h
178: getnuser.o:$H/aux.h
179: gettree.o:$H/ingres.h
180: gettree.o:$H/catalog.h
181: gettree.o:$H/tree.h
182: gettree.o:$H/symbol.h
183: getuser.o:$H/ingres.h
184: getuser.o:$H/aux.h
185: initucode.o:$H/ingres.h
186: initucode.o:$H/aux.h
187: initucode.o:$H/version.h
188: initucode.o:$H/opsys.h
189: initucode.o:$H/access.h
190: initucode.o:$H/lock.h
191: dblocks.o:$H/ingres.h
192: dblocks.o:$H/lock.h
193: inpcloser.o:$H/ingres.h
194: inpcloser.o:$H/access.h
195: insert.o:$H/ingres.h
196: insert.o:$H/access.h
197: insert.o:$H/catalog.h
198: insert.o:$H/btree.h
199: markopen.o:$H/useful.h
200: markopen.o:$H/opsys.h
201: noclose.o:$H/ingres.h
202: noclose.o:$H/aux.h
203: noclose.o:$H/access.h
204: opencat.o:$H/ingres.h
205: opencat.o:$H/aux.h
206: opencat.o:$H/opsys.h
207: opencat.o:$H/access.h
208: cat_desc.o:$H/ingres.h
209: cat_desc.o:$H/aux.h
210: cat_desc.o:$H/access.h
211: openr.o:$H/ingres.h
212: openr.o:$H/aux.h
213: openr.o:$H/access.h
214: openr.o:$H/symbol.h
215: openr.o:$H/catalog.h
216: get_reltup.o:$H/ingres.h
217: get_reltup.o:$H/access.h
218: get_reltup.o:$H/aux.h
219: getequal.o:$H/ingres.h
220: getequal.o:$H/access.h
221: get.o:$H/ingres.h
222: get.o:$H/aux.h
223: get.o:$H/access.h
224: printdesc.o:$H/ingres.h
225: create_btree.o:$H/btree.h
226: create_btree.o:$H/ingres.h
227: create_btree.o:$H/aux.h
228: delete_btree.o:$H/btree.h
229: delete_btree.o:$H/ingres.h
230: delete_btree.o:$H/batch.h
231: get_tid.o:$H/btree.h
232: insert_mbtree.o:$H/ingres.h
233: insert_mbtree.o:$H/access.h
234: insert_mbtree.o:$H/catalog.h
235: insert_mbtree.o:$H/btree.h
236: replace.o:$H/ingres.h
237: replace.o:$H/access.h
238: replace.o:$H/catalog.h
239: replace.o:$H/batch.h
240: replace.o:$H/btree.h
241: del_tuple.o:$H/ingres.h
242: del_tuple.o:$H/access.h
243: findbest.o:$H/ingres.h
244: findbest.o:$H/aux.h
245: findbest.o:$H/access.h
246: add_ovflo.o:$H/ingres.h
247: add_ovflo.o:$H/access.h
248: add_ovflo.o:$H/aux.h
249: add_ovflo.o:$H/lock.h
250: cslocks.o:$H/ingres.h
251: cslocks.o:$H/access.h
252: cslocks.o:$H/lock.h
253: find.o:$H/ingres.h
254: find.o:$H/aux.h
255: find.o:$H/symbol.h
256: find.o:$H/access.h
257: find.o:$H/lock.h
258: find.o:$H/btree.h
259: last_page.o:$H/ingres.h
260: last_page.o:$H/access.h
261: last_page.o:$H/opsys.h
262: ndxsearch.o:$H/ingres.h
263: ndxsearch.o:$H/aux.h
264: ndxsearch.o:$H/symbol.h
265: ndxsearch.o:$H/access.h
266: ndxsearch.o:$H/lock.h
267: compare.o:$H/ingres.h
268: compare.o:$H/access.h
269: compare.o:$H/symbol.h
270: compare.o:$H/aux.h
271: newlino.o:$H/ingres.h
272: newlino.o:$H/access.h
273: paramd.o:$H/ingres.h
274: paramd.o:$H/aux.h
275: paramd.o:$H/catalog.h
276: paramd.o:$H/access.h
277: printup.o:$H/ingres.h
278: printup.o:$H/aux.h
279: printup.o:$H/access.h
280: printup.o:$H/symbol.h
281: out_arg.o:$H/ingres.h
282: out_arg.o:$H/aux.h
283: put_tuple.o:$H/ingres.h
284: put_tuple.o:$H/symbol.h
285: put_tuple.o:$H/access.h
286: put_tuple.o:$H/catalog.h
287: rhash.o:$H/ingres.h
288: rhash.o:$H/aux.h
289: rhash.o:$H/symbol.h
290: rhash.o:$H/access.h
291: rhash.o:$H/lock.h
292: rllocks.o:$H/ingres.h
293: rllocks.o:$H/lock.h
294: rub.o:$H/useful.h
295: scan_dups.o:$H/ingres.h
296: scan_dups.o:$H/symbol.h
297: scan_dups.o:$H/access.h
298: scan_dups.o:$H/lock.h
299: get_tuple.o:$H/ingres.h
300: get_tuple.o:$H/access.h
301: get_tuple.o:$H/symbol.h
302: get_tuple.o:$H/catalog.h
303: get_tuple.o:$H/btree.h
304: setkey.o:$H/ingres.h
305: setkey.o:$H/symbol.h
306: trim_relna.o:$H/ingres.h
307: tup_len.o:$H/ingres.h
308: tup_len.o:$H/access.h
309: writebatch.o:$H/ingres.h
310: writebatch.o:$H/aux.h
311: writebatch.o:$H/symbol.h
312: writebatch.o:$H/access.h
313: writebatch.o:$H/batch.h
314: accbuf.o:$H/ingres.h
315: accbuf.o:$H/access.h
316: accbuf.o:$H/aux.h
317: accbuf.o:$H/lock.h
318: accbuf.o:$H/opsys.h
319: page.o:$H/ingres.h
320: page.o:$H/access.h
321: page.o:$H/aux.h
322: page.o:$H/lock.h
323: pglocks.o:$H/ingres.h
324: pglocks.o:$H/access.h
325: pglocks.o:$H/lock.h
326: readadmin.o:$H/ingres.h
327: readadmin.o:$H/access.h
328: readadmin.o:$H/aux.h
329: readadmin.o:$H/lock.h
330: checkadmin.o:$H/ingres.h
331: checkadmin.o:$H/version.h
332: checkadmin.o:$H/access.h
333: ingresname.o:$H/ingres.h
334: utility.o:$H/ingres.h
335: utility.o:$H/access.h
336: insert_btree.o:$H/btree.h
337: insert_btree.o:$H/ingres.h
338: insert_btree.o:$H/batch.h
339: insert_btree.o:$H/symbol.h
340: btree_util.o:$H/btree.h
341: btree_util.o:$H/ingres.h
342: btree_util.o:$H/opsys.h
343: btreerange.o:$H/ingres.h
344: btreerange.o:$H/btree.h
345: btreename.o:$H/ingres.h
346: sort.o:$H/ingres.h
347: sort.o:$H/batch.h
348: sort.o:$H/opsys.h
349: sort.o:$H/version.h
350: sort.o:$H/pv.h
351: sort.o:$H/symbol.h
352: # DEPENDENCIES MUST END AT END OF FILE
353: # IF YOU PUT STUFF HERE IT WILL GO AWAY
354: # see make depend above
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.