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

Contents of /sun2.4/util/Makefile

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


Revision 1.1 - (show annotations)
Tue Aug 3 17:10:59 1999 UTC (23 years, 6 months ago) by tis4000
Branch: MAIN
Branch point for: HIA
Initial revision

1 CC = gcc -inostdinc -I/usr/include -DSOLARIS -DUSECB63
2 CFLAGS = -g -Wunused
3
4 RM = rm -f
5
6 TOP = ../../..
7 DEPEND = $(TOP)/share/bin/sun2.4/EPICSmakedepend
8 CODEBASEPATH = /tools/codebase63/source
9 SHAREPATH = $(TOP)/share
10 SRCPATH = $(SHAREPATH)/src
11 SRC = $(SRCPATH)/util
12
13 INCLUDES = \
14 -I$(SRC) \
15 -I$(TOP)/share/epicsH
16
17 ALLDEFINES = $(INCLUDES)
18
19 LIBS = \
20 ../bin/libCom.a \
21 ../bin/libUnix.a \
22 ../bin/libca.a \
23 ../bin/tisMsgLib.a
24
25 SRCS = \
26 $(SRC)/bfRing.c \
27 $(SRC)/ca_test.c \
28 $(SRC)/cmdClient.c \
29 $(SRC)/extrDoc.c \
30 $(SRC)/iocLogServer.c \
31 $(SRC)/pprPlot.c \
32 $(SRC)/racPrint.c \
33 $(SRC)/recListProg.c \
34 $(SRC)/startCArepeater.c\
35 $(SRC)/sydPlot.c
36
37 EXTRDOC_OBJS = \
38 extrDoc.o
39
40 PPRLIB_OBJS = \
41 pprPlot.o\
42 sydPlot.o
43
44 OBJS = \
45 $(EXTRDOC_OBJS) \
46 $(PPRLIB_OBJS) \
47 bfRing.o \
48 ca_test.o \
49 cmdClient.o \
50 iocLogServer.o \
51 racPrint.o \
52 recListProg.o \
53 startCArepeater.o
54
55 all:: \
56 extrDoc \
57 libppr.a \
58 bfRing \
59 ca_test \
60 cmdClient \
61 iocLogServer \
62 racPrint \
63 recListProg \
64 startCArepeater
65
66 ############# TARGETS ###########################################################
67
68 extrDoc: extrDoc.o
69 $(RM) extrDoc
70 $(CC) -o extrDoc extrDoc.o \
71 -lm -lsocket -lnsl -ldl
72 cp -p extrDoc ../bin
73
74 bfRing: bfRing.o $(LIBS)
75 $(RM) bfRing
76 $(CC) -o bfRing bfRing.o $(LIBS) -ldl -lm
77
78 ca_test: ca_test.o $(LIBS)
79 $(RM) ca_test
80 $(CC) -o ca_test ca_test.o $(LIBS) -lsocket -lnsl -ldl -lm
81
82 cmdClient: cmdClient.o $(LIBS)
83 $(RM) cmdClient
84 $(CC) -o cmdClient cmdClient.o $(LIBS) -lsocket -lnsl -ldl -lm
85
86 iocLogServer: iocLogServer.o $(LIBS)
87 $(RM) iocLogServer
88 $(CC) -o iocLogServer iocLogServer.o $(LIBS) -lsocket -lnsl -ldl -lm
89
90 libppr.a: $(PPRLIB_OBJS)
91 $(RM) libppr.a
92 ar cq libppr.a $(PPRLIB_OBJS)
93 cp -p libppr.a ../bin
94
95 racPrint: racPrint.o $(LIBS)
96 $(RM) racPrint
97 $(CC) -o racPrint racPrint.o $(LIBS) -ldl -lm
98
99 recListProg: recListProg.o $(LIBS)
100 $(RM) recListProg
101 $(CC) -o recListProg recListProg.o $(LIBS) -lsocket -lnsl -ldl -lm
102
103 startCArepeater: startCArepeater.o $(LIBS)
104 $(RM) startCArepeater
105 $(CC) -o startCArepeater startCArepeater.o $(LIBS) -lsocket -lnsl -ldl -lm
106
107 ############# OBJECTS ###########################################################
108
109 bfRing.o: $(SRC)/bfRing.c
110 $(RM) bfRing.o
111 $(CC) -c $(CFLAGS) $(INCLUDES) $(SRC)/bfRing.c
112
113 ca_test.o: $(SRC)/ca_test.c
114 $(RM) ca_test.o
115 $(CC) -c $(CFLAGS) $(INCLUDES) $(SRC)/ca_test.c
116
117 cmdClient.o: $(SRC)/cmdClient.c
118 $(RM) cmdClient.o
119 $(CC) -c $(CFLAGS) $(INCLUDES) $(SRC)/cmdClient.c
120
121 extrDoc.o: $(SRC)/extrDoc.c
122 $(RM) extrDoc.o
123 $(CC) -c $(CFLAGS) $(INCLUDES) $(SRC)/extrDoc.c
124
125 iocLogServer.o: $(SRC)/iocLogServer.c
126 $(RM) iocLogServer.o
127 $(CC) -c $(CFLAGS) $(INCLUDES) $(SRC)/iocLogServer.c
128
129 pprPlot.o: $(SRC)/pprPlot.c
130 $(RM) pprPlot.o
131 $(CC) -c $(CFLAGS) $(INCLUDES) $(SRC)/pprPlot.c
132
133 racPrint.o: $(SRC)/racPrint.c
134 $(RM) racPrint
135 $(CC) -c $(CFLAGS) $(INCLUDES) $(SRC)/racPrint.c
136
137 recListProg.o: $(SRC)/recListProg.c
138 $(RM) recListProg.o
139 $(CC) -c $(CFLAGS) $(INCLUDES) $(SRC)/recListProg.c
140
141 startCArepeater.o: $(SRC)/startCArepeater.c
142 $(RM) startCArepeater.o
143 $(CC) -c $(CFLAGS) $(INCLUDES) $(SRC)/startCArepeater.c
144
145 sydPlot.o: $(SRC)/sydPlot.c
146 $(RM) sydPlot.o
147 $(CC) -c $(CFLAGS) -DXWINDOWS $(INCLUDES) $(SRC)/sydPlot.c
148
149 install::
150 cp -p extrDoc ../bin
151 cp -p libppr.a ../bin
152 cp -p bfRing ../bin
153 cp -p ca_test ../bin
154 cp -p cmdClient ../bin
155 cp -p iocLogServer ..
156 cp -p racPrint ../bin
157 cp -p recListProg ../bin
158 cp -p startCArepeater ../bin
159
160 clean :
161 $(RM) $(OBJS)
162 $(RM) extrDoc
163 $(RM) libppr.a
164 $(RM) bfRing
165 $(RM) ca_test
166 $(RM) cmdClient
167 $(RM) iocLogServer
168 $(RM) recListProg
169 $(RM) racPrint
170 $(RM) startCArepeater
171
172 depend::
173 $(DEPEND) -s "# DO NOT DELETE" -- $(ALLDEFINES) -- $(SRCS)
174
175 ###########################################################################
176 # dependencies generated by makedepend
177
178 # DO NOT DELETE
179 # DO NOT DELETE
180
181 bfRing.o: ../../../share/src/util/bfRing.c /usr/include/dlfcn.h \
182 /usr/local/lib/gcc-lib/sparc-sun-solaris2.4/2.6.3/include/stdio.h \
183 /usr/include/sys/feature_tests.h /usr/include/sys/file.h \
184 /usr/include/sys/t_lock.h /usr/include/sys/machlock.h \
185 /usr/local/lib/gcc-lib/sparc-sun-solaris2.4/2.6.3/include/sys/types.h \
186 /usr/include/sys/machtypes.h \
187 /usr/local/lib/gcc-lib/sparc-sun-solaris2.4/2.6.3/include/sys/isa_defs.h \
188 /usr/include/sys/select.h /usr/include/sys/time.h \
189 /usr/local/lib/gcc-lib/sparc-sun-solaris2.4/2.6.3/include/time.h \
190 /usr/include/sys/siginfo.h /usr/include/sys/machsig.h \
191 /usr/include/sys/dki_lkinfo.h /usr/include/sys/dl.h \
192 /usr/include/sys/sleepq.h /usr/include/sys/turnstile.h \
193 /usr/local/lib/gcc-lib/sparc-sun-solaris2.4/2.6.3/include/sys/param.h \
194 /usr/include/sys/unistd.h /usr/include/sys/pirec.h \
195 /usr/include/sys/mutex.h /usr/include/sys/rwlock.h \
196 /usr/include/sys/semaphore.h /usr/include/sys/condvar.h \
197 /usr/include/errno.h /usr/include/sys/errno.h \
198 ../../../share/epicsH/bfDefs.h ../../../share/epicsH/genDefs.h \
199 ../../../share/epicsH/msgMon.h
200 ca_test.o: ../../../share/src/util/ca_test.c \
201 /usr/local/lib/gcc-lib/sparc-sun-solaris2.4/2.6.3/include/string.h \
202 /usr/include/sys/feature_tests.h ../../../share/epicsH/cadef.h \
203 ../../../share/epicsH/dbDefs.h ../../../share/epicsH/db_access.h \
204 ../../../share/epicsH/tsDefs.h ../../../share/epicsH/errMdef.h \
205 ../../../share/epicsH/db_addr.h ../../../share/epicsH/dbAddr.h \
206 ../../../share/epicsH/dataTypes.h ../../../share/epicsH/agentErrs.h \
207 ../../../share/epicsH/tisAlarm.h
208 cmdClient.o: ../../../share/src/util/cmdClient.c \
209 /usr/local/lib/gcc-lib/sparc-sun-solaris2.4/2.6.3/include/stdio.h \
210 /usr/include/sys/feature_tests.h \
211 /usr/local/lib/gcc-lib/sparc-sun-solaris2.4/2.6.3/include/ctype.h \
212 /usr/include/strings.h \
213 /usr/local/lib/gcc-lib/sparc-sun-solaris2.4/2.6.3/include/string.h \
214 /usr/local/lib/gcc-lib/sparc-sun-solaris2.4/2.6.3/include/signal.h \
215 /usr/local/lib/gcc-lib/sparc-sun-solaris2.4/2.6.3/include/sys/signal.h \
216 /usr/include/sys/unistd.h /usr/include/sys/siginfo.h \
217 /usr/include/sys/machsig.h /usr/include/sys/time.h \
218 /usr/local/lib/gcc-lib/sparc-sun-solaris2.4/2.6.3/include/sys/types.h \
219 /usr/include/sys/machtypes.h \
220 /usr/local/lib/gcc-lib/sparc-sun-solaris2.4/2.6.3/include/sys/isa_defs.h \
221 /usr/include/sys/select.h \
222 /usr/local/lib/gcc-lib/sparc-sun-solaris2.4/2.6.3/include/time.h \
223 /usr/include/sys/procset.h \
224 /usr/local/lib/gcc-lib/sparc-sun-solaris2.4/2.6.3/include/setjmp.h \
225 /usr/include/errno.h /usr/include/sys/errno.h \
226 ../../../share/epicsH/genDefs.h ../../../share/epicsH/tsDefs.h \
227 ../../../share/epicsH/errMdef.h ../../../share/epicsH/ezsSockSubr.h \
228 ../../../share/epicsH/msgMon.h
229 extrDoc.o: ../../../share/src/util/extrDoc.c \
230 /usr/local/lib/gcc-lib/sparc-sun-solaris2.4/2.6.3/include/stdio.h \
231 /usr/include/sys/feature_tests.h
232 iocLogServer.o: ../../../share/src/util/iocLogServer.c \
233 /usr/local/lib/gcc-lib/sparc-sun-solaris2.4/2.6.3/include/stdio.h \
234 /usr/include/sys/feature_tests.h \
235 /usr/local/lib/gcc-lib/sparc-sun-solaris2.4/2.6.3/include/string.h \
236 /usr/local/lib/gcc-lib/sparc-sun-solaris2.4/2.6.3/include/sys/types.h \
237 /usr/include/sys/machtypes.h \
238 /usr/local/lib/gcc-lib/sparc-sun-solaris2.4/2.6.3/include/sys/isa_defs.h \
239 /usr/include/sys/select.h /usr/include/sys/time.h \
240 /usr/local/lib/gcc-lib/sparc-sun-solaris2.4/2.6.3/include/time.h \
241 /usr/include/sys/siginfo.h /usr/include/sys/machsig.h \
242 /usr/include/sys/socket.h /usr/include/sys/netconfig.h \
243 /usr/include/netinet/in.h /usr/include/sys/stream.h \
244 /usr/include/sys/vnode.h /usr/include/sys/t_lock.h \
245 /usr/include/sys/machlock.h /usr/include/sys/dki_lkinfo.h \
246 /usr/include/sys/dl.h /usr/include/sys/sleepq.h \
247 /usr/include/sys/turnstile.h \
248 /usr/local/lib/gcc-lib/sparc-sun-solaris2.4/2.6.3/include/sys/param.h \
249 /usr/include/sys/unistd.h /usr/include/sys/pirec.h \
250 /usr/include/sys/mutex.h /usr/include/sys/rwlock.h \
251 /usr/include/sys/semaphore.h /usr/include/sys/condvar.h \
252 /usr/include/sys/cred.h /usr/include/sys/uio.h /usr/include/vm/seg_enum.h \
253 /usr/include/sys/poll.h /usr/include/sys/strmdep.h \
254 /usr/local/lib/gcc-lib/sparc-sun-solaris2.4/2.6.3/include/sys/byteorder.h \
255 /usr/include/arpa/inet.h /usr/include/netdb.h \
256 ../../../share/epicsH/envDefs.h ../../../share/epicsH/inet_ntoa.h
257 pprPlot.o: ../../../share/src/util/pprPlot.c \
258 /usr/local/lib/gcc-lib/sparc-sun-solaris2.4/2.6.3/include/stdio.h \
259 /usr/include/sys/feature_tests.h \
260 /usr/local/lib/gcc-lib/sparc-sun-solaris2.4/2.6.3/include/string.h \
261 /usr/include/strings.h /usr/include/sys/time.h \
262 /usr/local/lib/gcc-lib/sparc-sun-solaris2.4/2.6.3/include/sys/types.h \
263 /usr/include/sys/machtypes.h \
264 /usr/local/lib/gcc-lib/sparc-sun-solaris2.4/2.6.3/include/sys/isa_defs.h \
265 /usr/include/sys/select.h \
266 /usr/local/lib/gcc-lib/sparc-sun-solaris2.4/2.6.3/include/time.h \
267 /usr/include/sys/siginfo.h /usr/include/sys/machsig.h \
268 /usr/local/lib/gcc-lib/sparc-sun-solaris2.4/2.6.3/include/ctype.h \
269 /usr/local/lib/gcc-lib/sparc-sun-solaris2.4/2.6.3/include/math.h \
270 /usr/local/lib/gcc-lib/sparc-sun-solaris2.4/2.6.3/include/floatingpoint.h \
271 /usr/local/lib/gcc-lib/sparc-sun-solaris2.4/2.6.3/include/sys/ieeefp.h \
272 ../../../share/epicsH/pprPlotDefs.h /usr/include/X11/Xlib.h \
273 /usr/include/X11/X.h /usr/include/X11/Xfuncproto.h \
274 /usr/local/lib/gcc-lib/sparc-sun-solaris2.4/2.6.3/include/X11/Xosdefs.h \
275 /usr/local/lib/gcc-lib/sparc-sun-solaris2.4/2.6.3/include/stddef.h \
276 /usr/include/X11/Xutil.h
277 racPrint.o: ../../../share/src/util/racPrint.c \
278 /usr/local/lib/gcc-lib/sparc-sun-solaris2.4/2.6.3/include/stdio.h \
279 /usr/include/sys/feature_tests.h \
280 /usr/local/lib/gcc-lib/sparc-sun-solaris2.4/2.6.3/include/ctype.h \
281 /usr/local/lib/gcc-lib/sparc-sun-solaris2.4/2.6.3/include/sys/types.h \
282 /usr/include/sys/machtypes.h \
283 /usr/local/lib/gcc-lib/sparc-sun-solaris2.4/2.6.3/include/sys/isa_defs.h \
284 /usr/include/sys/select.h /usr/include/sys/time.h \
285 /usr/local/lib/gcc-lib/sparc-sun-solaris2.4/2.6.3/include/time.h \
286 /usr/include/sys/siginfo.h /usr/include/sys/machsig.h \
287 /usr/local/lib/gcc-lib/sparc-sun-solaris2.4/2.6.3/include/sys/stat.h \
288 ../../../share/epicsH/msgMon.h
289 recListProg.o: ../../../share/src/util/recListProg.c \
290 /usr/local/lib/gcc-lib/sparc-sun-solaris2.4/2.6.3/include/stdio.h \
291 /usr/include/sys/feature_tests.h \
292 /usr/local/lib/gcc-lib/sparc-sun-solaris2.4/2.6.3/include/string.h \
293 /usr/local/lib/gcc-lib/sparc-sun-solaris2.4/2.6.3/include/math.h \
294 /usr/local/lib/gcc-lib/sparc-sun-solaris2.4/2.6.3/include/floatingpoint.h \
295 /usr/local/lib/gcc-lib/sparc-sun-solaris2.4/2.6.3/include/sys/ieeefp.h \
296 ../../../share/epicsH/genDefs.h ../../../share/epicsH/cadef.h \
297 ../../../share/epicsH/dbDefs.h ../../../share/epicsH/db_access.h \
298 ../../../share/epicsH/tsDefs.h ../../../share/epicsH/errMdef.h \
299 ../../../share/epicsH/db_addr.h ../../../share/epicsH/dbAddr.h \
300 ../../../share/epicsH/dataTypes.h ../../../share/epicsH/agentErrs.h \
301 ../../../share/epicsH/tisAlarm.h ../../../share/epicsH/msgMon.h
302 startCArepeater.o: ../../../share/src/util/startCArepeater.c \
303 /usr/local/lib/gcc-lib/sparc-sun-solaris2.4/2.6.3/include/stdio.h \
304 /usr/include/sys/feature_tests.h ../../../share/epicsH/cadef.h \
305 ../../../share/epicsH/dbDefs.h ../../../share/epicsH/db_access.h \
306 ../../../share/epicsH/tsDefs.h ../../../share/epicsH/errMdef.h \
307 ../../../share/epicsH/db_addr.h ../../../share/epicsH/dbAddr.h \
308 ../../../share/epicsH/dataTypes.h ../../../share/epicsH/agentErrs.h \
309 ../../../share/epicsH/tisAlarm.h
310 sydPlot.o: ../../../share/src/util/sydPlot.c \
311 ../../../share/epicsH/genDefs.h \
312 /usr/local/lib/gcc-lib/sparc-sun-solaris2.4/2.6.3/include/stdio.h \
313 /usr/include/sys/feature_tests.h ../../../share/epicsH/sydDefs.h \
314 ../../../share/epicsH/tsDefs.h ../../../share/epicsH/errMdef.h \
315 ../../../share/epicsH/cadef.h ../../../share/epicsH/dbDefs.h \
316 ../../../share/epicsH/db_access.h ../../../share/epicsH/db_addr.h \
317 ../../../share/epicsH/dbAddr.h ../../../share/epicsH/dataTypes.h \
318 ../../../share/epicsH/agentErrs.h ../../../share/epicsH/tisAlarm.h \
319 ../../../share/epicsH/sydPlotDefs.h ../../../share/epicsH/pprPlotDefs.h \
320 /usr/include/X11/Xlib.h \
321 /usr/local/lib/gcc-lib/sparc-sun-solaris2.4/2.6.3/include/sys/types.h \
322 /usr/include/sys/machtypes.h \
323 /usr/local/lib/gcc-lib/sparc-sun-solaris2.4/2.6.3/include/sys/isa_defs.h \
324 /usr/include/sys/select.h /usr/include/sys/time.h \
325 /usr/local/lib/gcc-lib/sparc-sun-solaris2.4/2.6.3/include/time.h \
326 /usr/include/sys/siginfo.h /usr/include/sys/machsig.h /usr/include/X11/X.h \
327 /usr/include/X11/Xfuncproto.h \
328 /usr/local/lib/gcc-lib/sparc-sun-solaris2.4/2.6.3/include/X11/Xosdefs.h \
329 /usr/local/lib/gcc-lib/sparc-sun-solaris2.4/2.6.3/include/stddef.h \
330 /usr/local/lib/gcc-lib/sparc-sun-solaris2.4/2.6.3/include/string.h \
331 /usr/include/strings.h \
332 /usr/local/lib/gcc-lib/sparc-sun-solaris2.4/2.6.3/include/ctype.h \
333 /usr/local/lib/gcc-lib/sparc-sun-solaris2.4/2.6.3/include/math.h \
334 /usr/local/lib/gcc-lib/sparc-sun-solaris2.4/2.6.3/include/floatingpoint.h \
335 /usr/local/lib/gcc-lib/sparc-sun-solaris2.4/2.6.3/include/sys/ieeefp.h

  ViewVC Help
Powered by ViewVC 1.1.28