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

Contents of /sun2.4/converters/Makefile

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


Revision 1.12 - (show annotations)
Mon Mar 26 14:41:48 2001 UTC (22 years, 8 months ago) by tis4000
Branch: MAIN
CVS Tags: Duluth_baseline, HEAD
Changes since 1.11: +4 -4 lines
Commented out copy command for t60alarmlogconverter and t60opnotesconverter.(As in previous version 1.10) - ncd

1 CC = gcc -g -inostdinc -I/usr/include -DUNIX -DSOLARIS -DUSECB63
2 CFLAGS = -g -c -Wunused
3
4 RM = rm -f
5
6 TOP = ../../..
7 SHAREPATH = $(TOP)/share
8 SRCPATH = $(TOP)/share/src
9 SRC = $(TOP)/share/src/converters
10
11 CODEBASEPATH = /tools/codebase63/source
12
13 INCLUDES = \
14 -I$(SRC) \
15 -I$(SRCPATH)/dataVuCC \
16 -I$(SHAREPATH)/epicsH \
17 -I$(CODEBASEPATH) \
18
19 ALLDEFINES = $(INCLUDES) -DSOLARIS -DUSECB63
20
21 LIBS = $(CODEBASEPATH)/libcb.a
22
23 SRCS = \
24 $(SRC)/db2text.c \
25 $(SRC)/exportconfig.c \
26 $(SRC)/importconfig.c \
27 $(SRC)/text2db.c \
28 $(SRC)/rbconverter.c \
29 $(SRC)/stringconverter.c \
30 $(SRC)/t43t44converter.c \
31 $(SRC)/t43t44pidconverter.c \
32 $(SRC)/t50converter.c \
33 $(SRC)/t50ioconverter.c \
34 $(SRC)/t51pvmapnewindex.c \
35 $(SRC)/t51t51converter.c \
36 $(SRC)/t51tagvuconverter.c \
37 $(SRC)/t51t60pumpconverter.c \
38 $(SRC)/t60tagvuconverter.c \
39 $(SRC)/t60optrakconverter.c \
40 $(SRC)/t60optrakconverter2.c
41 # $(SRC)/t60alarmlogconverter.c \
42 # $(SRC)/t60opnotesconverter.c
43
44 OBJS = \
45 db2text.o \
46 exportconfig.o \
47 importconfig.o \
48 text2db.o \
49 rbconverter.o \
50 stringconverter.o \
51 t43t44converter.o \
52 t43t44pidconverter.o \
53 t50converter.o \
54 t50ioconverter.o \
55 t51pvmapnewindex.o \
56 t51t51converter.o \
57 t51tagvuconverter.o \
58 t51t60pumpconverter.o \
59 t60tagvuconverter.o \
60 t60optrakconverter.o \
61 t60optrakconverter2.o \
62 # t60alarmlogconverter.o \
63 # t60opnotesconverter.o
64
65 all : \
66 depend \
67 db2text \
68 exportconfig \
69 importconfig \
70 text2db \
71 rbconverter \
72 stringconverter \
73 t43t44converter \
74 t43t44pidconverter \
75 t50converter \
76 t50ioconverter \
77 t51pvmapnewindex \
78 t51t51converter \
79 t51tagvuconverter \
80 t51t60pumpconverter \
81 t60tagvuconverter \
82 t60optrakconverter \
83 t60optrakconverter2
84 # t60alarmlogconverter \
85 # t60opnotesconverter
86
87 ####### TARGETS ##########################################################
88
89 db2text : db2text.o $(LIBS)
90 $(RM) db2text
91 $(CC) -o db2text db2text.o $(LIBS) -lm -ldl
92
93 text2db : text2db.o $(LIBS)
94 $(RM) text2db
95 $(CC) -o text2db text2db.o $(LIBS) -lm -ldl
96
97 exportconfig : exportconfig.o $(LIBS)
98 $(RM) exportconfig
99 $(CC) -o exportconfig exportconfig.o $(LIBS) -lm -ldl
100
101 importconfig : importconfig.o $(LIBS)
102 $(RM) importconfig
103 $(CC) -o importconfig importconfig.o $(LIBS) -lm -ldl
104
105 rbconverter : rbconverter.o $(LIBS)
106 $(RM) rbconverter
107 $(CC) -o rbconverter rbconverter.o $(LIBS) -lm -ldl
108
109 stringconverter : stringconverter.o $(LIBS)
110 $(RM) stringconverter
111 $(CC) -o stringconverter stringconverter.o $(LIBS) -lm -ldl
112
113 t43t44converter: t43t44converter.o $(LIBS)
114 $(RM) t43t44converter
115 $(CC) -o t43t44converter t43t44converter.o $(LIBS) -lm -ldl
116
117 t43t44pidconverter: t43t44pidconverter.o $(LIBS)
118 $(RM) t43t44pidconverter
119 $(CC) -o t43t44pidconverter t43t44pidconverter.o $(LIBS) -lm -ldl
120
121 t50converter: t50converter.o $(LIBS)
122 $(RM) t50converter
123 $(CC) -o t50converter t50converter.o $(LIBS) -lm -ldl
124
125 t50ioconverter: t50ioconverter.o $(LIBS)
126 $(RM) t50ioconverter
127 $(CC) -o t50ioconverter t50ioconverter.o $(LIBS) -lm -ldl
128
129 t51pvmapnewindex: t51pvmapnewindex.o $(LIBS)
130 $(RM) t51pvmapnewindex
131 $(CC) -o t51pvmapnewindex t51pvmapnewindex.o $(LIBS) -lm -ldl
132
133 t51t51converter: t51t51converter.o $(LIBS)
134 $(RM) t51t51converter
135 $(CC) -o t51t51converter t51t51converter.o $(LIBS) -lm -ldl
136
137 t51tagvuconverter: t51tagvuconverter.o $(LIBS)
138 $(RM) t51tagvuconverter
139 $(CC) -o t51tagvuconverter t51tagvuconverter.o $(LIBS) -lm -ldl
140
141 t51t60pumpconverter: t51t60pumpconverter.o $(LIBS)
142 $(RM) t51t60pumpconverter
143 $(CC) -o t51t60pumpconverter t51t60pumpconverter.o $(LIBS) -lm -ldl
144
145 t60tagvuconverter: t60tagvuconverter.o $(LIBS)
146 $(RM) t60tagvuconverter
147 $(CC) -o t60tagvuconverter t60tagvuconverter.o $(LIBS) -lm -ldl
148
149 t60optrakconverter: t60optrakconverter.o $(LIBS)
150 $(RM) t60optrakconverter
151 $(CC) -o t60optrakconverter t60optrakconverter.o $(LIBS) -lm -ldl
152
153 t60optrakconverter2: t60optrakconverter2.o $(LIBS)
154 $(RM) t60optrakconverter2
155 $(CC) -o t60optrakconverter2 t60optrakconverter2.o $(LIBS) -lm -ldl
156
157 t60opnotesconverter: t60opnotesconverter.o $(LIBS)
158 $(RM) t60opnotesconverter
159 $(CC) -o t60opnotesconverter t60opnotesconverter.o $(LIBS) -lm -ldl
160
161 t60alarmlogconverter: t60alarmlogconverter.o $(LIBS)
162 $(RM) t60alarmlogconverter
163 $(CC) -o t60alarmlogconverter t60alarmlogconverter.o $(LIBS) -lm -ldl
164
165
166 ####### OBJECTS ##########################################################
167
168 db2text.o: $(SRC)/db2text.c
169 $(RM) db2text.o
170 $(CC) $(CFLAGS) $(INCLUDES) $(SRC)/db2text.c
171
172 exportconfig.o: $(SRC)/exportconfig.c
173 $(RM) exportconfig.o
174 $(CC) $(CFLAGS) $(INCLUDES) $(SRC)/exportconfig.c
175
176 importconfig.o: $(SRC)/importconfig.c
177 $(RM) importconfig.o
178 $(CC) $(CFLAGS) $(INCLUDES) $(SRC)/importconfig.c
179
180 text2db.o: $(SRC)/text2db.c
181 $(RM) text2db.o
182 $(CC) $(CFLAGS) $(INCLUDES) $(SRC)/text2db.c
183
184 rbconverter.o: $(SRC)/rbconverter.c
185 $(RM) rbconverter.o
186 $(CC) $(CFLAGS) $(INCLUDES) $(SRC)/rbconverter.c
187
188 stringconverter.o: $(SRC)/stringconverter.c
189 $(RM) stringconverter.o
190 $(CC) $(CFLAGS) $(INCLUDES) $(SRC)/stringconverter.c
191
192 t43t44converter.o: $(SRC)/t43t44converter.c $(LIBS)
193 $(RM) t43t44converter.o
194 $(CC) $(CFLAGS) $(INCLUDES) $(SRC)/t43t44converter.c
195
196 t43t44pidconverter.o: $(SRC)/t43t44pidconverter.c $(LIBS)
197 $(RM) t43t44pidconverter.o
198 $(CC) $(CFLAGS) $(INCLUDES) $(SRC)/t43t44pidconverter.c
199
200 t50converter.o: $(SRC)/t50converter.c
201 $(RM) t50converter.o
202 $(CC) $(CFLAGS) $(INCLUDES) $(SRC)/t50converter.c
203
204 t50ioconverter.o: $(SRC)/t50ioconverter.c
205 $(RM) t50ioconverter.o
206 $(CC) $(CFLAGS) $(INCLUDES) $(SRC)/t50ioconverter.c
207
208 t51pvmapnewindex.o: $(SRC)/t51pvmapnewindex.c
209 $(RM) t51pvmapnewindex.o
210 $(CC) $(CFLAGS) $(INCLUDES) $(SRC)/t51pvmapnewindex.c
211
212 t51t51converter.o: $(SRC)/t51t51converter.c
213 $(RM) t51t51converter.o
214 $(CC) $(CFLAGS) $(INCLUDES) $(SRC)/t51t51converter.c
215
216 t51tagvuconverter.o: $(SRC)/t51tagvuconverter.c
217 $(RM) t51tagvuconverter.o
218 $(CC) $(CFLAGS) $(INCLUDES) $(SRC)/t51tagvuconverter.c
219
220 t51t60pumpconverter.o: $(SRC)/t51t60pumpconverter.c
221 $(RM) t51t60pumpconverter.o
222 $(CC) $(CFLAGS) $(INCLUDES) $(SRC)/t51t60pumpconverter.c
223
224 t60tagvuconverter.o: $(SRC)/t60tagvuconverter.c
225 $(RM) t60tagvuconverter.o
226 $(CC) $(CFLAGS) $(INCLUDES) $(SRC)/t60tagvuconverter.c
227
228 t60optrakconverter.o: $(SRC)/t60optrakconverter.c
229 $(RM) t60optrakconverter.o
230 $(CC) $(CFLAGS) $(INCLUDES) $(SRC)/t60optrakconverter.c
231
232 t60optrakconverter2.o: $(SRC)/t60optrakconverter.c
233 $(RM) t60optrakconverter.o
234 $(CC) $(CFLAGS) $(INCLUDES) $(SRC)/t60optrakconverter2.c
235
236 t60opnotesconverter.o: $(SRC)/t60opnotesconverter.c
237 $(RM) t60opnotesconverter.o
238 $(CC) $(CFLAGS) $(INCLUDES) $(SRC)/t60opnotesconverter.c
239
240 t60alarmlogconverter.o: $(SRC)/t60alarmlogconverter.c
241 $(RM) t60alarmlogconverter.o
242 $(CC) $(CFLAGS) $(INCLUDES) $(SRC)/t60alarmlogconverter.c
243
244 install:
245 cp -p db2text ../bin
246 cp -p exportconfig ../bin
247 cp -p importconfig ../bin
248 cp -p text2db ../bin
249 cp -p stringconverter ../bin
250 cp -p t43t44converter ../bin
251 cp -p t43t44pidconverter ../bin
252 cp -p t50converter ../bin
253 cp -p t50ioconverter ../bin
254 cp -p t51pvmapnewindex ../bin
255 cp -p t51t51converter ../bin
256 cp -p t51tagvuconverter ../bin
257 cp -p t51t60pumpconverter ../bin
258 cp -p t60tagvuconverter ../bin
259 cp -p t60optrakconverter ../bin
260 cp -p t60optrakconverter2 ../bin
261 # cp -p t60opnotesconverter ../bin
262 # cp -p t60alarmlogconverter ../bin
263 cp -p $(SRC)/converters.readme ../bin
264
265 clean:
266 $(RM) $(OBJS)
267 $(RM) db2text
268 $(RM) exportconfig
269 $(RM) importconfig
270 $(RM) text2db
271 $(RM) rbconverter
272 $(RM) stringconverter
273 $(RM) t43t44converter
274 $(RM) t43t44pidconverter
275 $(RM) t50converter
276 $(RM) t50ioconverter
277 $(RM) t51pvmapnewindex
278 $(RM) t51t51converter
279 $(RM) t51tagvuconverter
280 $(RM) t51t60pumpconverter
281 $(RM) t60tagvuconverter
282 $(RM) t60optrakconverter
283 $(RM) t60optrakconverter2
284 $(RM) t60opnotesconverter
285 $(RM) t60alarmlogconverter
286 $(RM) Makefile.depend
287
288 depend: Makefile.depend
289
290 Makefile.depend: $(SRCS) Makefile
291 $(RM) Makefile.depend
292 $(CC) -M $(ALLDEFINES) $(SRCS) > Makefile.depend
293
294 include Makefile.depend
295

  ViewVC Help
Powered by ViewVC 1.1.30