|
|
1.1 root 1: #
2: # Makefile for INGRES EQUEL runtime library
3: #
4: # @(#)Makefile 7.1 2/5/81
5: #
6:
7: INGRES= ../..
8: H= ../h
9: LIB= $(INGRES)/lib
10:
11: OBJS= IIw_left.o IIw_right.o IIcvar.o IIgettup.o IIn_get.o IIn_ret.o \
12: IIingres.o IIretrieve.o IIsetup.o IIflushtup.o IIsync.o \
13: IIwrite.o IIexit.o IIsyserr.o IIconvert.o IIerror.o IIp_err.o\
14: IIgetc.o IIresync.o IIreadinp.o IIpb_get.o IIpb_put.o IIpb_read.o \
15: IIpb_rphys.o IIpb_flush.o IIpb_write.o IIpb_wphys.o IIpb_prime.o \
16: IIitos.o IIconcatv.o IIbmove.o IIlength.o IIatoi.o IIsequal.o
17: SRCS= IIw_left.c IIw_right.c IIcvar.c IIgettup.c IIn_get.c IIn_ret.c \
18: IIingres.c IIretrieve.c IIsetup.c IIflushtup.c IIsync.c \
19: IIwrite.c IIexit.c IIsyserr.c IIconvert.c IIerror.c IIp_err.c\
20: IIgetc.c IIresync.c IIreadinp.c IIpb_get.c IIpb_put.c IIpb_read.c \
21: IIpb_rphys.c IIpb_flush.c IIpb_write.c IIpb_wphys.c IIpb_prime.c \
22: IIitos.c IIconcatv.c IIbmove.c IIlength.c IIatoi.c IIsequal.c \
23: IIglobals.h
24:
25: SYSLIB= /usr/local/lib
26:
27: CFLAGS= -I$H -I../ctlmod -O
28: AR= -ar
29: ARFLAGS=rvu
30: RANLIB= ranlib
31: CP= cp
32: CHMOD= chmod
33: CHOWN= -chown
34: LIBMODE=664
35: GET= sccs get
36: REL=
37: PR= print
38: VGRIND= csh /usr/ucb/vgrind
39: HEADER= 'Equel Runtime Library'
40:
41: libq.a: $(OBJS)
42: $(AR) $(ARFLAGS) $@ $?
43: $(CHMOD) $(LIBMODE) libq.a
44: $(RANLIB) libq.a
45:
46: install: $(LIB)/libq.a
47:
48: $(LIB)/libq.a: libq.a
49: $(CP) libq.a $(LIB)/libq.a
50: $(RANLIB) $(LIB)/libq.a
51:
52: sysinstall: $(SYSLIB)/libq.a
53:
54: $(SYSLIB)/libq.a: libq.a
55: $(CP) libq.a $(SYSLIB)/libq.a
56: $(CHOWN) ingres $(SYSLIB)/libq.a
57: $(RANLIB) $(SYSLIB)/libq.a
58:
59: sources: $(SRCS)
60:
61: $(SRCS):
62: $(GET) $(REL) SCCS/s.$@
63:
64: new:
65: rm -f libq.a
66:
67: clean:
68: rm -f *.o
69: rm -f a.out core libq.a
70:
71: print: sources
72: $(PR) Makefile TraceFlags *.[hm] *.[csy]
73:
74: vgrind: sources
75: cp /dev/null index
76: $(VGRIND) -h "$(HEADER) (Release 7)" -n Makefile TraceFlags
77: $(VGRIND) -h "$(HEADER) (Release 7)" *.[hm] *.[csy]
78: $(VGRIND) -h "$(HEADER) (Release 7)" -x index
79:
80: depend:
81: grep '^#[ ]*include' $(SRCS) | sed -n -f ../h/depend.sed > makedep
82: echo '/^# DO NOT DELETE THIS LINE/+2,$$d' >eddep
83: echo '$$r makedep' >>eddep
84: echo 'w' >>eddep
85: cp Makefile Makefile.bak
86: ed - Makefile < eddep
87: rm eddep makedep
88: echo '# DEPENDENCIES MUST END AT END OF FILE' >> Makefile
89: echo '# IF YOU PUT STUFF HERE IT WILL GO AWAY' >> Makefile
90: echo '# see make depend above' >> Makefile
91:
92: # DO NOT DELETE THIS LINE -- make depend uses it
93:
94: IIw_left.o:$H/ingres.h
95: IIw_left.o:../equel/constants.h
96: IIw_left.o:IIglobals.h
97: IIw_right.o:$H/ingres.h
98: IIw_right.o:../equel/constants.h
99: IIw_right.o:IIglobals.h
100: IIcvar.o:$H/ingres.h
101: IIcvar.o:$H/symbol.h
102: IIcvar.o:IIglobals.h
103: IIgettup.o:$H/ingres.h
104: IIgettup.o:$H/symbol.h
105: IIgettup.o:IIglobals.h
106: IIn_get.o:$H/ingres.h
107: IIn_get.o:$H/symbol.h
108: IIn_get.o:IIglobals.h
109: IIn_ret.o:$H/ingres.h
110: IIn_ret.o:$H/symbol.h
111: IIn_ret.o:IIglobals.h
112: IIingres.o:$H/ingres.h
113: IIingres.o:$H/symbol.h
114: IIingres.o:$H/opsys.h
115: IIingres.o:$H/aux.h
116: IIingres.o:IIglobals.h
117: IIretrieve.o:$H/ingres.h
118: IIretrieve.o:$H/symbol.h
119: IIretrieve.o:IIglobals.h
120: IIsetup.o:$H/ingres.h
121: IIsetup.o:$H/symbol.h
122: IIsetup.o:IIglobals.h
123: IIflushtup.o:$H/ingres.h
124: IIflushtup.o:$H/aux.h
125: IIflushtup.o:$H/symbol.h
126: IIflushtup.o:IIglobals.h
127: IIsync.o:$H/ingres.h
128: IIsync.o:$H/symbol.h
129: IIsync.o:IIglobals.h
130: IIwrite.o:$H/ingres.h
131: IIwrite.o:$H/symbol.h
132: IIwrite.o:IIglobals.h
133: IIexit.o:$H/ingres.h
134: IIexit.o:$H/symbol.h
135: IIexit.o:IIglobals.h
136: IIconvert.o:$H/ingres.h
137: IIconvert.o:$H/symbol.h
138: IIerror.o:$H/ingres.h
139: IIerror.o:$H/symbol.h
140: IIerror.o:IIglobals.h
141: IIp_err.o:$H/ingres.h
142: IIp_err.o:$H/aux.h
143: IIp_err.o:$H/version.h
144: IIp_err.o:IIglobals.h
145: IIgetc.o:$H/ingres.h
146: IIgetc.o:IIglobals.h
147: IIresync.o:$H/ingres.h
148: IIresync.o:IIglobals.h
149: IIreadinp.o:$H/useful.h
150: IIreadinp.o:$H/ingres.h
151: IIreadinp.o:$H/aux.h
152: IIreadinp.o:IIglobals.h
153: IIpb_get.o:$H/useful.h
154: IIpb_put.o:$H/useful.h
155: IIpb_read.o:$H/ingres.h
156: IIpb_read.o:IIglobals.h
157: IIpb_write.o:$H/ingres.h
158: IIpb_write.o:IIglobals.h
159: IIpb_prime.o:$H/symbol.h
160: IIglobals.h:$H/resp.h
161: IIglobals.h:$H/pv.h
162: # DEPENDENCIES MUST END AT END OF FILE
163: # IF YOU PUT STUFF HERE IT WILL GO AWAY
164: # see make depend above
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.