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

Contents of /sun2.4/bld/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 (24 years, 7 months ago) by tis4000
Branch: MAIN
Branch point for: HIA
Initial revision

1 CC = gcc
2 RM = rm -f
3 TOP = ../../..
4 LIBDIR = ../bin
5 SRCROOT = $(TOP)/share/src
6 SRC = $(SRCROOT)/bld
7 DEPLIBS = $(LIBDIR)/libCom.a $(LIBDIR)/libUnix.a
8 LOCAL_LIBRARIES = $(DEPLIBS)
9 CODEBASEPATH = /tools/codebase63/source
10 DEPEND = $(TOP)/share/bin/sun2.4/EPICSmakedepend
11 INCLUDES = \
12 -I/usr/include \
13 -I$(SRC) \
14 -I$(TOP)/share/epicsH \
15 -I$(SRCROOT)/dataVuCC \
16 -I$(CODEBASEPATH)
17 ALLDEFINES = $(INCLUDES) -DUSECB63
18 DEFINES = -DUNIX -UvxWorks -DUSECB63
19 CFLAGS = -g -Wunused $(DEFINES) $(INCLUDES)
20
21 SRCS = \
22 $(SRC)/bldDbRecType.c $(SRC)/bldRecDef.c \
23 $(SRC)/bldDevSup.c $(SRC)/bldCvtTable.c \
24 $(SRC)/bldDrvSup.c $(SRC)/bldRecChoice.c \
25 $(SRC)/bldGblChoice.c $(SRC)/getSdrLine.c
26
27 OBJ = getSdrLine.o
28 OBJ7 = bldCvtTable.o $(OBJ)
29 OBJ6 = bldDrvSup.o $(OBJ)
30 OBJ5 = bldRecChoice.o $(OBJ)
31 OBJ4 = bldGblChoice.o $(OBJ)
32 OBJ3 = bldDevSup.o $(OBJ)
33 OBJ2 = bldRecDef.o $(OBJ)
34 OBJ1 = bldDbRecType.o $(OBJ)
35
36 UTILS = bldDbRecType bldRecDef bldDevSup bldCvtTable \
37 bldDrvSup bldRecChoice bldGblChoice
38
39 all:: $(UTILS)
40
41 bldDbRecType: $(OBJ1) $(DEPLIBS)
42 $(RM) $@
43 $(CC) -o $@ $(OBJ1) $(LOCAL_LIBRARIES)
44
45 clean::
46 $(RM) bldDbRecType
47 $(RM) bldDbRecType.o
48
49 install:: bldDbRecType
50 @cd $(TOP)/share/bin/sun4; $(RM) bldDbRecType
51
52 bldRecDef: $(OBJ2) $(DEPLIBS) $(LIBDIR)/dbLibrary.a $(CODEBASEPATH)/libcb.a
53 $(RM) $@
54 $(CC) -o $@ $(OBJ2) \
55 $(LIBDIR)/dbLibrary.a \
56 $(LOCAL_LIBRARIES) \
57 $(CODEBASEPATH)/libcb.a -ldl -lm
58
59 clean::
60 $(RM) bldRecDef
61 $(RM) bldRecDef.o
62
63 install:: bldRecDef
64 @cd $(TOP)/share/bin/sun4; $(RM) bldRecDef
65
66 bldDevSup: $(OBJ3) $(DEPLIBS)
67 $(RM) $@
68 $(CC) -o $@ $(OBJ3) $(LOCAL_LIBRARIES)
69
70 clean::
71 $(RM) bldDevSup
72 $(RM) bldDevSup.o
73
74 install:: bldDevSup
75 @cd $(TOP)/share/bin/sun4; $(RM) bldDevSup
76
77 bldGblChoice: $(OBJ4) $(DEPLIBS)
78 $(RM) $@
79 $(CC) -o $@ $(OBJ4) $(LOCAL_LIBRARIES)
80
81 clean::
82 $(RM) bldGblChoice
83 $(RM) bldGblChoice.o
84
85 install:: bldGblChoice
86 @cd $(TOP)/share/bin/sun4; $(RM) bldGblChoice
87
88 bldRecChoice: $(OBJ5) $(DEPLIBS)
89 $(RM) $@
90 $(CC) -o $@ $(OBJ5) $(LOCAL_LIBRARIES)
91
92 clean::
93 $(RM) bldRecChoice
94 $(RM) bldRecChoice.o
95
96 install:: bldRecChoice
97 @cd $(TOP)/share/bin/sun4; $(RM) bldRecChoice
98
99 bldDrvSup: $(OBJ6) $(DEPLIBS)
100 $(RM) $@
101 $(CC) -o $@ $(OBJ6) $(LOCAL_LIBRARIES)
102
103 clean::
104 $(RM) bldDrvSup
105 $(RM) bldDrvSup.o
106
107 install:: bldDrvSup
108 @cd $(TOP)/share/bin/sun4; $(RM) bldDrvSup
109
110 bldCvtTable: $(OBJ7) $(DEPLIBS)
111 $(RM) $@
112 $(CC) -o $@ $(OBJ7) $(LOCAL_LIBRARIES)
113
114 clean::
115 $(RM) bldCvtTable
116 $(RM) bldCvtTable.o
117
118 install:: bldCvtTable
119 @cd $(TOP)/share/bin/sun4; $(RM) bldCvtTable
120
121 getSdrLine.o: $(SRC)/getSdrLine.c
122 $(RM) $@
123 $(CC) -c $(CFLAGS) $(SRC)/getSdrLine.c
124
125 clean::
126 $(RM) getSdrLine.o
127
128 bldCvtTable.o: $(SRC)/bldCvtTable.c
129 $(RM) $@
130 $(CC) -c $(CFLAGS) $(SRC)/bldCvtTable.c
131
132 bldDrvSup.o: $(SRC)/bldDrvSup.c
133 $(RM) $@
134 $(CC) -c $(CFLAGS) $(SRC)/bldDrvSup.c
135
136 bldRecChoice.o: $(SRC)/bldRecChoice.c
137 $(RM) $@
138 $(CC) -c -g $(CFLAGS) $(SRC)/bldRecChoice.c
139
140 bldGblChoice.o: $(SRC)/bldGblChoice.c
141 $(RM) $@
142 $(CC) -c $(CFLAGS) $(SRC)/bldGblChoice.c
143
144 bldDbRecType.o: $(SRC)/bldDbRecType.c
145 $(RM) $@
146 $(CC) -c $(CFLAGS) $(SRC)/bldDbRecType.c
147
148 bldRecDef.o: $(SRC)/bldRecDef.c
149 $(RM) $@
150 $(CC) -c $(CFLAGS) $(SRC)/bldRecDef.c
151
152 bldDevSup.o: $(SRC)/bldDevSup.c
153 $(RM) $@
154 $(CC) -c $(CFLAGS) $(SRC)/bldDevSup.c
155
156 depend::
157 $(DEPEND) -s "# DO NOT DELETE" -- $(ALLDEFINES) -- $(SRCS)
158
159 ###########################################################################
160 # dependencies generated by makedepend
161
162 # DO NOT DELETE
163 # DO NOT DELETE
164
165 bldDbRecType.o: ../../../share/src/bld/bldDbRecType.c /usr/include/stdio.h \
166 /usr/include/sys/feature_tests.h /usr/include/ctype.h \
167 /usr/include/sys/file.h /usr/include/sys/t_lock.h \
168 /usr/include/sys/machlock.h /usr/include/sys/types.h \
169 /usr/include/sys/isa_defs.h /usr/include/sys/machtypes.h \
170 /usr/include/sys/select.h /usr/include/sys/time.h /usr/include/time.h \
171 /usr/include/sys/dki_lkinfo.h /usr/include/sys/dl.h \
172 /usr/include/sys/sleepq.h /usr/include/sys/turnstile.h \
173 /usr/include/sys/param.h /usr/include/sys/unistd.h \
174 /usr/include/sys/pirec.h /usr/include/sys/mutex.h \
175 /usr/include/sys/rwlock.h /usr/include/sys/semaphore.h \
176 /usr/include/sys/condvar.h /usr/include/sys/stat.h /usr/include/errno.h \
177 /usr/include/sys/errno.h /usr/include/string.h \
178 ../../../share/epicsH/dbRecType.h ../../../share/epicsH/sdrHeader.h \
179 ../../../share/src/bld/getSdrLine.h
180 bldRecDef.o: ../../../share/src/bld/bldRecDef.c /usr/include/stdio.h \
181 /usr/include/sys/feature_tests.h /usr/include/ctype.h \
182 /usr/include/sys/file.h /usr/include/sys/t_lock.h \
183 /usr/include/sys/machlock.h /usr/include/sys/types.h \
184 /usr/include/sys/isa_defs.h /usr/include/sys/machtypes.h \
185 /usr/include/sys/select.h /usr/include/sys/time.h /usr/include/time.h \
186 /usr/include/sys/dki_lkinfo.h /usr/include/sys/dl.h \
187 /usr/include/sys/sleepq.h /usr/include/sys/turnstile.h \
188 /usr/include/sys/param.h /usr/include/sys/unistd.h \
189 /usr/include/sys/pirec.h /usr/include/sys/mutex.h \
190 /usr/include/sys/rwlock.h /usr/include/sys/semaphore.h \
191 /usr/include/sys/condvar.h /usr/include/sys/stat.h /usr/include/errno.h \
192 /usr/include/sys/errno.h /usr/include/string.h \
193 ../../../share/epicsH/dbDefs.h ../../../share/epicsH/dbRecDes.h \
194 ../../../share/epicsH/dbFldTypes.h ../../../share/epicsH/dbRecType.h \
195 ../../../share/epicsH/sdrHeader.h ../../../share/src/bld/getSdrLine.h \
196 /usr/include/link.h /usr/include/sys/link.h /usr/include/sys/elftypes.h \
197 /usr/include/libelf.h /usr/include/sys/elf.h \
198 ../../../share/epicsH/DBDefines.h ../../../share/epicsH/cb45to63.h \
199 /tools/codebase63/source/d4all.h /usr/include/stdlib.h \
200 /tools/codebase63/source/p4port.h /usr/include/unistd.h \
201 /tools/codebase63/source/d4defs.h /tools/codebase63/source/d4data.h \
202 /tools/codebase63/source/d4declar.h /tools/codebase63/source/d4inline.h \
203 /tools/codebase63/source/f4flag.h /tools/codebase63/source/e4expr.h \
204 /tools/codebase63/source/s4sort.h /tools/codebase63/source/e4string.h \
205 /tools/codebase63/source/e4error.h /tools/codebase63/source/o4opt.h \
206 /tools/codebase63/source/c4com.h /tools/codebase63/source/c4trans.h \
207 /tools/codebase63/source/r4relate.h ../../../share/epicsH/lstLib.h \
208 ../../../share/epicsH/DBProto.h ../../../share/epicsH/DBCVerifyDefs.h \
209 ../../../share/src/dataVuCC/vucreateall.h \
210 ../../../share/src/dataVuCC/accum.h ../../../share/src/dataVuCC/ai.h \
211 ../../../share/src/dataVuCC/ao.h ../../../share/src/dataVuCC/ar_reduc.h \
212 ../../../share/src/dataVuCC/calc.h ../../../share/src/dataVuCC/calcops.h \
213 ../../../share/src/dataVuCC/datamove.h ../../../share/src/dataVuCC/ddc.h \
214 ../../../share/src/dataVuCC/deadtime.h ../../../share/src/dataVuCC/di.h \
215 ../../../share/src/dataVuCC/do.h ../../../share/src/dataVuCC/fanlink.h \
216 ../../../share/src/dataVuCC/fanout.h ../../../share/src/dataVuCC/ioaddr.h \
217 ../../../share/src/dataVuCC/ioclist.h \
218 ../../../share/src/dataVuCC/leadlag.h ../../../share/src/dataVuCC/mbbi.h \
219 ../../../share/src/dataVuCC/mbbo.h ../../../share/src/dataVuCC/pid.h \
220 ../../../share/src/dataVuCC/pipe.h ../../../share/src/dataVuCC/pipecmds.h \
221 ../../../share/src/dataVuCC/pipevars.h ../../../share/src/dataVuCC/pot.h \
222 ../../../share/src/dataVuCC/potvars.h ../../../share/src/dataVuCC/pto.h \
223 ../../../share/src/dataVuCC/pump.h ../../../share/src/dataVuCC/pumpvars.h \
224 ../../../share/src/dataVuCC/pvmap.h ../../../share/src/dataVuCC/ramp.h \
225 ../../../share/src/dataVuCC/reslist.h ../../../share/src/dataVuCC/sel.h \
226 ../../../share/src/dataVuCC/sellink.h \
227 ../../../share/src/dataVuCC/sigchar.h ../../../share/src/dataVuCC/state.h \
228 ../../../share/src/dataVuCC/strngin.h \
229 ../../../share/src/dataVuCC/strngout.h \
230 ../../../share/src/dataVuCC/tank1.h ../../../share/src/dataVuCC/tank2.h \
231 ../../../share/src/dataVuCC/tank3.h ../../../share/src/dataVuCC/tank4.h \
232 ../../../share/src/dataVuCC/tankcmds.h \
233 ../../../share/src/dataVuCC/tankprbs.h \
234 ../../../share/src/dataVuCC/tankvars.h \
235 ../../../share/src/dataVuCC/tankvlvs.h ../../../share/src/dataVuCC/td.h \
236 ../../../share/src/dataVuCC/valve.h ../../../share/src/dataVuCC/vlvvars.h \
237 ../../../share/src/dataVuCC/waveform.h ../../../share/src/dataVuCC/udb.h \
238 ../../../share/src/dataVuCC/pat.h ../../../share/src/dataVuCC/alarminfo.h \
239 ../../../share/src/dataVuCC/script.h ../../../share/src/dataVuCC/launch.h \
240 ../../../share/src/dataVuCC/udbcfg.h \
241 ../../../share/src/dataVuCC/straptbl.h \
242 ../../../share/src/dataVuCC/apitbl.h ../../../share/src/dataVuCC/ctrend.h \
243 ../../../share/src/dataVuCC/ldfw1.h ../../../share/src/dataVuCC/ldfw2.h \
244 ../../../share/src/dataVuCC/tagvudb.h ../../../share/epicsH/tagvu.h \
245 ../../../share/epicsH/cadef.h ../../../share/epicsH/db_access.h \
246 ../../../share/epicsH/tsDefs.h ../../../share/epicsH/errMdef.h \
247 ../../../share/epicsH/db_addr.h ../../../share/epicsH/dbAddr.h \
248 ../../../share/epicsH/dataTypes.h ../../../share/epicsH/agentErrs.h \
249 ../../../share/epicsH/tisAlarm.h \
250 ../../../share/src/dataVuCC/alarmTalkdb.h
251 bldDevSup.o: ../../../share/src/bld/bldDevSup.c /usr/include/stdio.h \
252 /usr/include/sys/feature_tests.h /usr/include/ctype.h \
253 /usr/include/sys/file.h /usr/include/sys/t_lock.h \
254 /usr/include/sys/machlock.h /usr/include/sys/types.h \
255 /usr/include/sys/isa_defs.h /usr/include/sys/machtypes.h \
256 /usr/include/sys/select.h /usr/include/sys/time.h /usr/include/time.h \
257 /usr/include/sys/dki_lkinfo.h /usr/include/sys/dl.h \
258 /usr/include/sys/sleepq.h /usr/include/sys/turnstile.h \
259 /usr/include/sys/param.h /usr/include/sys/unistd.h \
260 /usr/include/sys/pirec.h /usr/include/sys/mutex.h \
261 /usr/include/sys/rwlock.h /usr/include/sys/semaphore.h \
262 /usr/include/sys/condvar.h /usr/include/sys/stat.h /usr/include/errno.h \
263 /usr/include/sys/errno.h /usr/include/string.h \
264 ../../../share/epicsH/choice.h ../../../share/epicsH/devSup.h \
265 ../../../share/epicsH/dbRecType.h ../../../share/epicsH/sdrHeader.h \
266 ../../../share/src/bld/getSdrLine.h
267 bldCvtTable.o: ../../../share/src/bld/bldCvtTable.c /usr/include/stdio.h \
268 /usr/include/sys/feature_tests.h /usr/include/ctype.h \
269 /usr/include/sys/file.h /usr/include/sys/t_lock.h \
270 /usr/include/sys/machlock.h /usr/include/sys/types.h \
271 /usr/include/sys/isa_defs.h /usr/include/sys/machtypes.h \
272 /usr/include/sys/select.h /usr/include/sys/time.h /usr/include/time.h \
273 /usr/include/sys/dki_lkinfo.h /usr/include/sys/dl.h \
274 /usr/include/sys/sleepq.h /usr/include/sys/turnstile.h \
275 /usr/include/sys/param.h /usr/include/sys/unistd.h \
276 /usr/include/sys/pirec.h /usr/include/sys/mutex.h \
277 /usr/include/sys/rwlock.h /usr/include/sys/semaphore.h \
278 /usr/include/sys/condvar.h /usr/include/sys/stat.h /usr/include/string.h \
279 ../../../share/epicsH/choice.h ../../../share/epicsH/cvtTable.h \
280 ../../../share/epicsH/dbDefs.h ../../../share/epicsH/sdrHeader.h \
281 ../../../share/src/bld/getSdrLine.h /usr/include/errno.h \
282 /usr/include/sys/errno.h
283 bldDrvSup.o: ../../../share/src/bld/bldDrvSup.c /usr/include/stdio.h \
284 /usr/include/sys/feature_tests.h /usr/include/ctype.h \
285 /usr/include/sys/file.h /usr/include/sys/t_lock.h \
286 /usr/include/sys/machlock.h /usr/include/sys/types.h \
287 /usr/include/sys/isa_defs.h /usr/include/sys/machtypes.h \
288 /usr/include/sys/select.h /usr/include/sys/time.h /usr/include/time.h \
289 /usr/include/sys/dki_lkinfo.h /usr/include/sys/dl.h \
290 /usr/include/sys/sleepq.h /usr/include/sys/turnstile.h \
291 /usr/include/sys/param.h /usr/include/sys/unistd.h \
292 /usr/include/sys/pirec.h /usr/include/sys/mutex.h \
293 /usr/include/sys/rwlock.h /usr/include/sys/semaphore.h \
294 /usr/include/sys/condvar.h /usr/include/sys/stat.h /usr/include/errno.h \
295 /usr/include/sys/errno.h /usr/include/string.h \
296 ../../../share/epicsH/drvSup.h ../../../share/epicsH/sdrHeader.h \
297 ../../../share/src/bld/getSdrLine.h
298 bldRecChoice.o: ../../../share/src/bld/bldRecChoice.c /usr/include/stdio.h \
299 /usr/include/sys/feature_tests.h /usr/include/ctype.h \
300 /usr/include/sys/file.h /usr/include/sys/t_lock.h \
301 /usr/include/sys/machlock.h /usr/include/sys/types.h \
302 /usr/include/sys/isa_defs.h /usr/include/sys/machtypes.h \
303 /usr/include/sys/select.h /usr/include/sys/time.h /usr/include/time.h \
304 /usr/include/sys/dki_lkinfo.h /usr/include/sys/dl.h \
305 /usr/include/sys/sleepq.h /usr/include/sys/turnstile.h \
306 /usr/include/sys/param.h /usr/include/sys/unistd.h \
307 /usr/include/sys/pirec.h /usr/include/sys/mutex.h \
308 /usr/include/sys/rwlock.h /usr/include/sys/semaphore.h \
309 /usr/include/sys/condvar.h /usr/include/sys/stat.h /usr/include/errno.h \
310 /usr/include/sys/errno.h /usr/include/string.h \
311 ../../../share/epicsH/choice.h ../../../share/epicsH/dbRecType.h \
312 ../../../share/epicsH/sdrHeader.h ../../../share/src/bld/getSdrLine.h
313 bldGblChoice.o: ../../../share/src/bld/bldGblChoice.c /usr/include/stdio.h \
314 /usr/include/sys/feature_tests.h /usr/include/ctype.h \
315 /usr/include/sys/file.h /usr/include/sys/t_lock.h \
316 /usr/include/sys/machlock.h /usr/include/sys/types.h \
317 /usr/include/sys/isa_defs.h /usr/include/sys/machtypes.h \
318 /usr/include/sys/select.h /usr/include/sys/time.h /usr/include/time.h \
319 /usr/include/sys/dki_lkinfo.h /usr/include/sys/dl.h \
320 /usr/include/sys/sleepq.h /usr/include/sys/turnstile.h \
321 /usr/include/sys/param.h /usr/include/sys/unistd.h \
322 /usr/include/sys/pirec.h /usr/include/sys/mutex.h \
323 /usr/include/sys/rwlock.h /usr/include/sys/semaphore.h \
324 /usr/include/sys/condvar.h /usr/include/sys/stat.h /usr/include/errno.h \
325 /usr/include/sys/errno.h /usr/include/string.h \
326 ../../../share/epicsH/choice.h ../../../share/epicsH/sdrHeader.h \
327 ../../../share/src/bld/getSdrLine.h
328 getSdrLine.o: ../../../share/src/bld/getSdrLine.c /usr/include/stdio.h \
329 /usr/include/sys/feature_tests.h /usr/include/ctype.h \
330 ../../../share/src/bld/getSdrLine.h

  ViewVC Help
Powered by ViewVC 1.1.30