|
|
1.1 root 1: #
2: # Makefile for the INGRES control module
3: #
4: # @(#)Makefile 7.1 2/5/81
5: #
6:
7: INGRES= ../..
8: H= ../h
9: LIB= $(INGRES)/lib
10:
11: OBJS= main.o error.o proc_err.o initp.o setp.o resetp.o \
12: init_qt.o call.o sysdump.o mapvars.o \
13: do_seq.o readinput.o do_st.o send_off.o call_fn.o \
14: readmon.o readqry.o writeqry.o range.o treepr.o \
15: pb_prime.o pb_get.o pb_tput.o pb_put.o pb_flush.o \
16: pb_read.o pb_write.o pb_rphys.o pb_wphys.o pb_dump.o \
17: cm_reset.o cm_cleanup.o cm_close.o \
18: prvect.o getp.o monitor.o av_files.o
19: SRCS1= pipes.h proc.h state.h ctlmod.h \
20: main.c error.c proc_err.c initp.c setp.c resetp.c \
21: init_qt.c call.c sysdump.c mapvars.c \
22: do_seq.c readinput.c do_st.c send_off.c call_fn.c \
23: readmon.c readqry.c writeqry.c range.c treepr.c
24: SRCS2= pb_prime.c pb_get.c pb_tput.c pb_put.c pb_flush.c \
25: pb_read.c pb_write.c pb_rphys.c pb_wphys.c pb_dump.c \
26: cm_reset.c cm_cleanup.c cm_close.c \
27: prvect.c getp.c monitor.c av_files.c
28:
29: CFLAGS= -O -I$H
30: PR= print
31: VGRIND= csh /usr/ucb/vgrind
32: HEADER= Control Module
33: CTAGS= /bin/csh /usr/bin/ctags
34: CXREF= /bin/csh /mnt/eric/bin/cxref
35: AR= -ar
36: ARFLAGS=rvu
37: RANLIB= ranlib
38: GET= sccs get
39: CP= cp
40: CHMOD= chmod
41: LIBMODE=664
42: NETCP= netcp
43: MACH= csvax
44:
45: all: ctlmod
46:
47: ctlmod: $(OBJS)
48: $(AR) $(ARFLAGS) ctlmod $?
49: $(CHMOD) $(LIBMODE) ctlmod
50: $(RANLIB) ctlmod
51:
52: install: $(LIB)/ctlmod
53:
54: $(LIB)/ctlmod: ctlmod
55: $(CP) ctlmod $(LIB)/ctlmod
56: $(RANLIB) $(LIB)/ctlmod
57:
58: new:
59: rm -f ctlmod
60:
61: clean:
62: rm -f *.o
63: rm -f a.out ctlmod core
64:
65: sources: $(SRCS1) $(SRCS2)
66:
67: $(SRCS1):
68: $(GET) $(REL) SCCS/s.$@
69: $(SRCS2):
70: $(GET) $(REL) SCCS/s.$@
71:
72: ctags:
73: $(CTAGS) *.c
74:
75: print: sources
76: $(PR) Makefile TraceFlags *.[hm] *.[csy]
77:
78: vgrind: sources
79: cp /dev/null index
80: $(VGRIND) -h "$(HEADER) (Release 7)" -n Makefile TraceFlags
81: $(VGRIND) -h "$(HEADER) (Release 7)" *.[hm] *.[csy]
82: $(VGRIND) -h "$(HEADER) (Release 7)" -x index
83:
84: archive: sources
85: $(AR) rvu ctlmod1.a Makefile *.h [0-h]*.[cys]
86: $(AR) rvu ctlmod2.a [i-z]*.[cys]
87:
88: netcp: archive
89: $(NETCP) $(LOGIN) ctlmod1.a $(MACH):ctlmod1.a
90: $(NETCP) $(LOGIN) ctlmod2.a $(MACH):ctlmod2.a
91:
92: setjmp.o:
93: $(AR) x /usr/nlib/libretro.a setjmp.o
94:
95: depend:
96: grep '^#[ ]*include' $(SRCS1) $(SRCS2) | sed -n -f ../h/depend.sed > makedep
97: echo '/^# DO NOT DELETE THIS LINE/+2,$$d' >eddep
98: echo '$$r makedep' >>eddep
99: echo 'w' >>eddep
100: cp Makefile Makefile.bak
101: ed - Makefile < eddep
102: rm eddep makedep
103: echo '# DEPENDENCIES MUST END AT END OF FILE' >> Makefile
104: echo '# IF YOU PUT STUFF HERE IT WILL GO AWAY' >> Makefile
105: echo '# see make depend above' >> Makefile
106:
107: # DO NOT DELETE THIS LINE -- make depend uses it
108:
109: ctlmod.h:state.h
110: ctlmod.h:proc.h
111: ctlmod.h:$H/pv.h
112: ctlmod.h:pipes.h
113: ctlmod.h:$H/func.h
114: ctlmod.h:$H/pmon.h
115: ctlmod.h:$H/useful.h
116: main.o:ctlmod.h
117: main.o:$H/resp.h
118: main.o:$H/ingres.h
119: main.o:$H/aux.h
120: error.o:ctlmod.h
121: error.o:$H/pv.h
122: proc_err.o:ctlmod.h
123: initp.o:ctlmod.h
124: initp.o:$H/ingres.h
125: initp.o:$H/aux.h
126: initp.o:$H/tree.h
127: setp.o:ctlmod.h
128: setp.o:$H/ingres.h
129: setp.o:$H/tree.h
130: setp.o:$H/aux.h
131: resetp.o:ctlmod.h
132: resetp.o:$H/ingres.h
133: resetp.o:$H/tree.h
134: init_qt.o:ctlmod.h
135: init_qt.o:$H/ingres.h
136: init_qt.o:$H/aux.h
137: init_qt.o:$H/tree.h
138: call.o:ctlmod.h
139: call.o:$H/resp.h
140: call.o:$H/ingres.h
141: call.o:$H/aux.h
142: call.o:$H/tree.h
143: sysdump.o:ctlmod.h
144: sysdump.o:$H/tree.h
145: mapvars.o:$H/ingres.h
146: mapvars.o:$H/symbol.h
147: mapvars.o:$H/tree.h
148: do_seq.o:ctlmod.h
149: do_seq.o:$H/resp.h
150: readinput.o:ctlmod.h
151: readinput.o:$H/resp.h
152: readinput.o:$H/ingres.h
153: readinput.o:$H/aux.h
154: readinput.o:$H/tree.h
155: do_st.o:ctlmod.h
156: send_off.o:ctlmod.h
157: send_off.o:$H/symbol.h
158: send_off.o:$H/tree.h
159: send_off.o:$H/resp.h
160: call_fn.o:ctlmod.h
161: call_fn.o:$H/resp.h
162: readqry.o:ctlmod.h
163: readqry.o:$H/ingres.h
164: readqry.o:$H/aux.h
165: readqry.o:$H/tree.h
166: readqry.o:$H/symbol.h
167: writeqry.o:$H/ingres.h
168: writeqry.o:$H/aux.h
169: writeqry.o:$H/tree.h
170: writeqry.o:$H/symbol.h
171: range.o:$H/ingres.h
172: range.o:$H/symbol.h
173: range.o:$H/range.h
174: range.o:$H/tree.h
175: treepr.o:$H/ingres.h
176: treepr.o:$H/symbol.h
177: treepr.o:$H/tree.h
178: treepr.o:$H/aux.h
179: pb_prime.o:ctlmod.h
180: pb_get.o:ctlmod.h
181: pb_tput.o:ctlmod.h
182: pb_put.o:ctlmod.h
183: pb_flush.o:ctlmod.h
184: pb_read.o:ctlmod.h
185: pb_write.o:ctlmod.h
186: pb_wphys.o:$H/useful.h
187: cm_reset.o:ctlmod.h
188: cm_cleanup.o:ctlmod.h
189: cm_close.o:ctlmod.h
190: prvect.o:$H/tree.h
191: prvect.o:$H/pv.h
192: getp.o:ctlmod.h
193: getp.o:$H/pv.h
194: monitor.o:$H/useful.h
195: monitor.o:$H/opsys.h
196: monitor.o:$H/pmon.h
197: av_files.o:$H/ingres.h
198: av_files.o:$H/aux.h
199: av_files.o:$H/opsys.h
200: av_files.o:ctlmod.h
201: # DEPENDENCIES MUST END AT END OF FILE
202: # IF YOU PUT STUFF HERE IT WILL GO AWAY
203: # see make depend above
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.