/[TIS-4000 Rel T60]/sun2.4/libCom/Makefile
ViewVC logotype

Contents of /sun2.4/libCom/Makefile

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.3 - (show annotations)
Thu Aug 26 21:01:38 1999 UTC (23 years, 3 months ago) by tis4000
Branch: MAIN
CVS Tags: t55baseline, Duluth_baseline, LMC_baseline, HEAD
Changes since 1.2: +1 -1 lines
made Makefile.depend dependant on Makefile

1 SHELL = /bin/sh
2
3 CC = gcc -g -inostdinc -I/usr/include -DUNIX -DSOLARIS
4 CFLAGS = -g -c -Wunused
5 TOP = ../../..
6 SRC = $(TOP)/share/src/libCom
7 INC = $(TOP)/share
8
9 DOCSRC = $(TOP)/doc
10
11 RM = rm -f
12
13 INCLUDES = \
14 -I$(INC)/epicsH \
15 -I$(INC)/src/opi/h
16
17 ALLDEFINES = $(INCLUDES) -DSOLARIS
18
19 SRCS = \
20 $(SRC)/arAccessLib.c\
21 $(SRC)/arChanIO.c\
22 $(SRC)/arCSCheck.c\
23 $(SRC)/bfSubr.c\
24 $(SRC)/cmdSubr.c\
25 $(SRC)/cvtNumbers.c\
26 $(SRC)/envSubr.c\
27 $(SRC)/errMessage.c\
28 $(SRC)/errPrint.c\
29 $(SRC)/errSymFind.c\
30 $(SRC)/ezsSockSubr.c\
31 $(SRC)/genSubr.c\
32 $(SRC)/helpSubr.c\
33 $(SRC)/nextFieldSubr.c\
34 $(SRC)/postfix.c\
35 $(SRC)/pvd.c\
36 $(SRC)/sdrLoad.c\
37 $(SRC)/sydSubr.c\
38 $(SRC)/sydSubrCA.c\
39 $(SRC)/sydSubrCF.c\
40 $(SRC)/sydSubrSSF.c\
41 $(SRC)/sydSubrPFO.c\
42 $(SRC)/fdmgr.c\
43 $(SRC)/tsSubr.c\
44 $(SRC)/tisLoadStrings.c
45 # $(SRC)/genTaskSubr.c\
46
47 OBJS = \
48 arAccessLib.o\
49 arChanIO.o\
50 arCSCheck.o\
51 bfSubr.o\
52 cmdSubr.o\
53 cvtNumbers.o\
54 envSubr.o\
55 errMessage.o\
56 errPrint.o\
57 errSymFind.o\
58 ezsSockSubr.o\
59 genSubr.o\
60 helpSubr.o\
61 nextFieldSubr.o\
62 postfix.o\
63 pvd.o\
64 sdrLoad.o\
65 sydSubr.o\
66 sydSubrCA.o\
67 sydSubrCF.o\
68 sydSubrSSF.o\
69 sydSubrPFO.o\
70 fdmgr.o\
71 tsSubr.o\
72 tisLoadStrings.o
73 # genTaskSubr.o\
74
75 DOCS = \
76 $(DOCSRC)/envSubr.doc \
77 $(DOCSRC)/genTaskSubr.doc \
78 $(DOCSRC)/helpSubr.doc \
79 $(DOCSRC)/nextFieldSubr.doc \
80 $(DOCSRC)/sydSubr.doc \
81 $(DOCSRC)/tsSubr.doc
82
83
84 all:: depend libCom.a
85
86 libCom.a: $(OBJS)
87 $(RM) [email protected]
88 ar crv [email protected] $(OBJS)
89 cp -p libCom.a ../bin
90
91 extractDoc::
92 @T=0; \
93 if [ ! -f $(DOCSRC)/envSubr.doc ]; then \
94 T=1; \
95 elif [ "`find $(SRC)/cvtNumbers.c -newer $(DOCSRC)/envSubr.doc -print`" ]; then \
96 T=1; \
97 fi; \
98 if [ $$T -eq 1 ]; then \
99 echo "extracting doc from $(SRC)/cvtNumbers.c to store in $(DOCSRC)/envSubr.doc"; \
100 $(RM) extrDoc.tmp; \
101 $(TOP)/Unix/sun2.4/bin/extrDoc < $(SRC)/cvtNumbers.c > extrDoc.tmp; \
102 cp -p extrDoc.tmp $(DOCSRC)/envSubr.doc; \
103 $(RM) extrDoc.tmp; \
104 fi
105
106 extractDoc::
107 @T=0; \
108 if [ ! -f $(DOCSRC)/envSubr.doc ]; then \
109 T=1; \
110 elif [ "`find $(SRC)/envSubr.c -newer $(DOCSRC)/envSubr.doc -print`" ]; then \
111 T=1; \
112 fi; \
113 if [ $$T -eq 1 ]; then \
114 echo "extracting doc from $(SRC)/envSubr.c to store in $(DOCSRC)/envSubr.doc"; \
115 $(RM) extrDoc.tmp; \
116 $(TOP)/Unix/sun2.4/bin/extrDoc < $(SRC)/envSubr.c > extrDoc.tmp; \
117 cp -p extrDoc.tmp $(DOCSRC)/envSubr.doc; \
118 $(RM) extrDoc.tmp; \
119 fi
120
121 extractDoc::
122 @T=0; \
123 if [ ! -f $(DOCSRC)/genSubr.doc ]; then \
124 T=1; \
125 elif [ "`find $(SRC)/genSubr.c -newer $(DOCSRC)/genSubr.doc -print`" ]; then \
126 T=1; \
127 fi; \
128 if [ $$T -eq 1 ]; then \
129 echo "extracting doc from $(SRC)/genSubr.c to store in $(DOCSRC)/genSubr.doc"; \
130 $(RM) extrDoc.tmp; \
131 $(TOP)/Unix/sun2.4/bin/extrDoc < $(SRC)/genSubr.c > extrDoc.tmp; \
132 cp -p extrDoc.tmp $(DOCSRC)/genSubr.doc; \
133 $(RM) extrDoc.tmp; \
134 fi
135
136 extractDoc::
137 @T=0; \
138 if [ ! -f $(DOCSRC)/genTaskSubr.doc ]; then \
139 T=1; \
140 elif [ "`find $(SRC)/genTaskSubr.c -newer $(DOCSRC)/genTaskSubr.doc -print`" ]; then \
141 T=1; \
142 fi; \
143 if [ $$T -eq 1 ]; then \
144 echo "extracting doc from $(SRC)/genTaskSubr.c to store in $(DOCSRC)/genTaskSubr.doc"; \
145 $(RM) extrDoc.tmp; \
146 $(TOP)/Unix/sun2.4/bin/extrDoc < $(SRC)/genTaskSubr.c > extrDoc.tmp; \
147 cp -p extrDoc.tmp $(DOCSRC)/genTaskSubr.doc; \
148 $(RM) extrDoc.tmp; \
149 fi
150
151 extractDoc::
152 @T=0; \
153 if [ ! -f $(DOCSRC)/helpSubr.doc ]; then \
154 T=1; \
155 elif [ "`find $(SRC)/helpSubr.c -newer $(DOCSRC)/helpSubr.doc -print`" ]; then \
156 T=1; \
157 fi; \
158 if [ $$T -eq 1 ]; then \
159 echo "extracting doc from $(SRC)/helpSubr.c to store in $(DOCSRC)/helpSubr.doc"; \
160 $(RM) extrDoc.tmp; \
161 $(TOP)/Unix/sun2.4/bin/extrDoc < $(SRC)/helpSubr.c > extrDoc.tmp; \
162 cp -p extrDoc.tmp $(DOCSRC)/helpSubr.doc; \
163 $(RM) extrDoc.tmp; \
164 fi
165
166 extractDoc::
167 @T=0; \
168 if [ ! -f $(DOCSRC)/nextFieldSubr.doc ]; then \
169 T=1; \
170 elif [ "`find $(SRC)/nextFieldSubr.c -newer $(DOCSRC)/nextFieldSubr.doc -print`" ]; then \
171 T=1; \
172 fi; \
173 if [ $$T -eq 1 ]; then \
174 echo "extracting doc from $(SRC)/nextFieldSubr.c to store in $(DOCSRC)/nextFieldSubr.doc"; \
175 $(RM) extrDoc.tmp; \
176 $(TOP)/Unix/sun2.4/bin/extrDoc < $(SRC)/nextFieldSubr.c > extrDoc.tmp; \
177 cp -p extrDoc.tmp $(DOCSRC)/nextFieldSubr.doc; \
178 $(RM) extrDoc.tmp; \
179 fi
180
181 extractDoc::
182 @T=0; \
183 if [ ! -f $(DOCSRC)/sydSubr.doc ]; then \
184 T=1; \
185 elif [ "`find $(SRC)/sydSubr.c -newer $(DOCSRC)/sydSubr.doc -print`" ]; then \
186 T=1; \
187 fi; \
188 if [ $$T -eq 1 ]; then \
189 echo "extracting doc from $(SRC)/sydSubr.c to store in $(DOCSRC)/sydSubr.doc"; \
190 $(RM) extrDoc.tmp; \
191 $(TOP)/Unix/sun2.4/bin/extrDoc < $(SRC)/sydSubr.c > extrDoc.tmp; \
192 cp -p extrDoc.tmp $(DOCSRC)/sydSubr.doc; \
193 $(RM) extrDoc.tmp; \
194 fi
195
196 extractDoc::
197 @T=0; \
198 if [ ! -f $(DOCSRC)/tsSubr.doc ]; then \
199 T=1; \
200 elif [ "`find $(SRC)/tsSubr.c -newer $(DOCSRC)/tsSubr.doc -print`" ]; then \
201 T=1; \
202 fi; \
203 if [ $$T -eq 1 ]; then \
204 echo "extracting doc from $(SRC)/tsSubr.c to store in $(DOCSRC)/tsSubr.doc"; \
205 $(RM) extrDoc.tmp; \
206 $(TOP)/Unix/sun2.4/bin/extrDoc < $(SRC)/tsSubr.c > extrDoc.tmp; \
207 cp -p extrDoc.tmp $(DOCSRC)/tsSubr.doc; \
208 $(RM) extrDoc.tmp; \
209 fi
210
211 arAccessLib.o: $(SRC)/arAccessLib.c
212 $(RM) [email protected]
213 $(CC) $(CFLAGS) $(INCLUDES) $(SRC)/arAccessLib.c
214
215 arChanIO.o: $(SRC)/arChanIO.c
216 $(RM) [email protected]
217 $(CC) $(CFLAGS) $(INCLUDES) $(SRC)/arChanIO.c
218
219 arCSCheck.o: $(SRC)/arCSCheck.c
220 $(RM) [email protected]
221 $(CC) $(CFLAGS) $(INCLUDES) $(SRC)/arCSCheck.c
222
223 bfSubr.o: $(SRC)/bfSubr.c
224 $(RM) [email protected]
225 $(CC) $(CFLAGS) $(INCLUDES) $(SRC)/bfSubr.c
226
227 cmdSubr.o: $(SRC)/cmdSubr.c
228 $(RM) [email protected]
229 $(CC) $(CFLAGS) $(INCLUDES) $(SRC)/cmdSubr.c
230
231 cvtNumbers.o: $(SRC)/cvtNumbers.c
232 $(RM) [email protected]
233 $(CC) $(CFLAGS) $(INCLUDES) $(SRC)/cvtNumbers.c
234
235 envSubr.o: $(SRC)/envSubr.c
236 $(RM) [email protected]
237 $(CC) $(CFLAGS) $(INCLUDES) $(SRC)/envSubr.c
238
239 errMessage.o: $(SRC)/errMessage.c
240 $(RM) [email protected]
241 $(CC) $(CFLAGS) $(INCLUDES) $(SRC)/errMessage.c
242
243 errPrint.o: $(SRC)/errPrint.c
244 $(RM) [email protected]
245 $(CC) $(CFLAGS) $(INCLUDES) $(SRC)/errPrint.c
246
247 errSymFind.o: $(SRC)/errSymFind.c
248 $(RM) [email protected]
249 $(CC) $(CFLAGS) $(INCLUDES) $(SRC)/errSymFind.c
250
251 ezsSockSubr.o: $(SRC)/ezsSockSubr.c
252 $(RM) [email protected]
253 $(CC) $(CFLAGS) $(INCLUDES) $(SRC)/ezsSockSubr.c
254
255 genSubr.o: $(SRC)/genSubr.c
256 $(RM) [email protected]
257 $(CC) $(CFLAGS) $(INCLUDES) $(SRC)/genSubr.c
258
259 #genTaskSubr.o: $(SRC)/genTaskSubr.c
260 # $(RM) [email protected]
261 # $(CC) $(CFLAGS) $(INCLUDES) $(SRC)/genTaskSubr.c
262
263 helpSubr.o: $(SRC)/helpSubr.c
264 $(RM) [email protected]
265 $(CC) $(CFLAGS) $(INCLUDES) $(SRC)/helpSubr.c
266
267 nextFieldSubr.o: $(SRC)/nextFieldSubr.c
268 $(RM) [email protected]
269 $(CC) $(CFLAGS) $(INCLUDES) $(SRC)/nextFieldSubr.c
270
271 postfix.o: $(SRC)/postfix.c
272 $(RM) [email protected]
273 $(CC) $(CFLAGS) $(INCLUDES) $(SRC)/postfix.c
274
275 pvd.o: $(SRC)/pvd.c
276 $(RM) [email protected]
277 $(CC) $(CFLAGS) $(INCLUDES) $(SRC)/pvd.c
278
279 sdrLoad.o: $(SRC)/sdrLoad.c
280 $(RM) [email protected]
281 $(CC) $(CFLAGS) $(INCLUDES) $(SRC)/sdrLoad.c
282
283 sydSubr.o: $(SRC)/sydSubr.c
284 $(RM) [email protected]
285 $(CC) $(CFLAGS) $(INCLUDES) $(SRC)/sydSubr.c
286
287 sydSubrCA.o: $(SRC)/sydSubrCA.c
288 $(RM) [email protected]
289 $(CC) $(CFLAGS) $(INCLUDES) $(SRC)/sydSubrCA.c
290
291 sydSubrCF.o: $(SRC)/sydSubrCF.c
292 $(RM) [email protected]
293 $(CC) $(CFLAGS) $(INCLUDES) $(SRC)/sydSubrCF.c
294
295 sydSubrSSF.o: $(SRC)/sydSubrSSF.c
296 $(RM) [email protected]
297 $(CC) $(CFLAGS) $(INCLUDES) $(SRC)/sydSubrSSF.c
298
299 sydSubrPFO.o: $(SRC)/sydSubrPFO.c
300 $(RM) [email protected]
301 $(CC) $(CFLAGS) $(INCLUDES) $(SRC)/sydSubrPFO.c
302
303 tsSubr.o: $(SRC)/tsSubr.c
304 $(RM) [email protected]
305 $(CC) $(CFLAGS) $(INCLUDES) $(SRC)/tsSubr.c
306
307 fdmgr.o: $(SRC)/fdmgr.c
308 $(RM) [email protected]
309 $(CC) $(CFLAGS) $(INCLUDES) $(SRC)/fdmgr.c
310
311 tisLoadStrings.o: $(SRC)/tisLoadStrings.c
312 $(RM) [email protected]
313 $(CC) $(CFLAGS) $(INCLUDES) $(SRC)/tisLoadStrings.c
314
315 install:: libCom.a
316 cp -p libCom.a ../bin
317
318 clean:
319 $(RM) libCom.a
320 $(RM) $(OBJS)
321 $(RM) $(DOCS)
322 $(RM) Makefile.depend
323
324 depend: Makefile.depend
325
326 Makefile.depend: $(SRCS) Makefile
327 $(RM) Makefile.depend
328 $(CC) -M $(ALLDEFINES) $(SRCS) > Makefile.depend
329
330 include Makefile.depend
331

  ViewVC Help
Powered by ViewVC 1.1.28