/[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.6 - (show annotations)
Wed Jul 19 18:03:10 2000 UTC (23 years, 4 months ago) by tis4000
Branch: MAIN
CVS Tags: LMC_baseline
Changes since 1.5: +16 -3 lines
Added t60optrakconverter. - Tomalesky

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)/text2db.c \
26 $(SRC)/rbconverter.c \
27 $(SRC)/stringconverter.c \
28 $(SRC)/t43t44converter.c \
29 $(SRC)/t43t44pidconverter.c \
30 $(SRC)/t50converter.c \
31 $(SRC)/t50ioconverter.c \
32 $(SRC)/t51pvmapnewindex.c \
33 $(SRC)/t51t51converter.c \
34 $(SRC)/t51tagvuconverter.c \
35 $(SRC)/t51t60pumpconverter.c \
36 $(SRC)/t60tagvuconverter.c \
37 $(SRC)/t60optrakconverter.c
38
39 OBJS = \
40 db2text.o \
41 text2db.o \
42 rbconverter.o \
43 stringconverter.o \
44 t43t44converter.o \
45 t43t44pidconverter.o \
46 t50converter.o \
47 t50ioconverter.o \
48 t51pvmapnewindex.o \
49 t51t51converter.o \
50 t51tagvuconverter.o \
51 t51t60pumpconverter.o \
52 t60tagvuconverter.o \
53 t60optrakconverter.o
54
55 all : \
56 depend \
57 db2text \
58 text2db \
59 rbconverter \
60 stringconverter \
61 t43t44converter \
62 t43t44pidconverter \
63 t50converter \
64 t50ioconverter \
65 t51pvmapnewindex \
66 t51t51converter \
67 t51tagvuconverter \
68 t51t60pumpconverter \
69 t60tagvuconverter \
70 t60optrakconverter
71
72 ####### TARGETS ##########################################################
73
74 db2text : db2text.o $(LIBS)
75 $(RM) db2text
76 $(CC) -o db2text db2text.o $(LIBS) -lm -ldl
77
78 text2db : text2db.o $(LIBS)
79 $(RM) text2db
80 $(CC) -o text2db text2db.o $(LIBS) -lm -ldl
81
82 rbconverter : rbconverter.o $(LIBS)
83 $(RM) rbconverter
84 $(CC) -o rbconverter rbconverter.o $(LIBS) -lm -ldl
85
86 stringconverter : stringconverter.o $(LIBS)
87 $(RM) stringconverter
88 $(CC) -o stringconverter stringconverter.o $(LIBS) -lm -ldl
89
90 t43t44converter: t43t44converter.o $(LIBS)
91 $(RM) t43t44converter
92 $(CC) -o t43t44converter t43t44converter.o $(LIBS) -lm -ldl
93
94 t43t44pidconverter: t43t44pidconverter.o $(LIBS)
95 $(RM) t43t44pidconverter
96 $(CC) -o t43t44pidconverter t43t44pidconverter.o $(LIBS) -lm -ldl
97
98 t50converter: t50converter.o $(LIBS)
99 $(RM) t50converter
100 $(CC) -o t50converter t50converter.o $(LIBS) -lm -ldl
101
102 t50ioconverter: t50ioconverter.o $(LIBS)
103 $(RM) t50ioconverter
104 $(CC) -o t50ioconverter t50ioconverter.o $(LIBS) -lm -ldl
105
106 t51pvmapnewindex: t51pvmapnewindex.o $(LIBS)
107 $(RM) t51pvmapnewindex
108 $(CC) -o t51pvmapnewindex t51pvmapnewindex.o $(LIBS) -lm -ldl
109
110 t51t51converter: t51t51converter.o $(LIBS)
111 $(RM) t51t51converter
112 $(CC) -o t51t51converter t51t51converter.o $(LIBS) -lm -ldl
113
114 t51tagvuconverter: t51tagvuconverter.o $(LIBS)
115 $(RM) t51tagvuconverter
116 $(CC) -o t51tagvuconverter t51tagvuconverter.o $(LIBS) -lm -ldl
117
118 t51t60pumpconverter: t51t60pumpconverter.o $(LIBS)
119 $(RM) t51t60pumpconverter
120 $(CC) -o t51t60pumpconverter t51t60pumpconverter.o $(LIBS) -lm -ldl
121
122 t60tagvuconverter: t60tagvuconverter.o $(LIBS)
123 $(RM) t60tagvuconverter
124 $(CC) -o t60tagvuconverter t60tagvuconverter.o $(LIBS) -lm -ldl
125
126 t60optrakconverter: t60optrakconverter.o $(LIBS)
127 $(RM) t60optrakconverter
128 $(CC) -o t60optrakconverter t60optrakconverter.o $(LIBS) -lm -ldl
129
130
131 ####### OBJECTS ##########################################################
132
133 db2text.o: $(SRC)/db2text.c
134 $(RM) db2text.o
135 $(CC) $(CFLAGS) $(INCLUDES) $(SRC)/db2text.c
136
137 text2db.o: $(SRC)/text2db.c
138 $(RM) text2db.o
139 $(CC) $(CFLAGS) $(INCLUDES) $(SRC)/text2db.c
140
141 rbconverter.o: $(SRC)/rbconverter.c
142 $(RM) rbconverter.o
143 $(CC) $(CFLAGS) $(INCLUDES) $(SRC)/rbconverter.c
144
145 stringconverter.o: $(SRC)/stringconverter.c
146 $(RM) stringconverter.o
147 $(CC) $(CFLAGS) $(INCLUDES) $(SRC)/stringconverter.c
148
149 t43t44converter.o: $(SRC)/t43t44converter.c $(LIBS)
150 $(RM) t43t44converter.o
151 $(CC) $(CFLAGS) $(INCLUDES) $(SRC)/t43t44converter.c
152
153 t43t44pidconverter.o: $(SRC)/t43t44pidconverter.c $(LIBS)
154 $(RM) t43t44pidconverter.o
155 $(CC) $(CFLAGS) $(INCLUDES) $(SRC)/t43t44pidconverter.c
156
157 t50converter.o: $(SRC)/t50converter.c
158 $(RM) t50converter.o
159 $(CC) $(CFLAGS) $(INCLUDES) $(SRC)/t50converter.c
160
161 t50ioconverter.o: $(SRC)/t50ioconverter.c
162 $(RM) t50ioconverter.o
163 $(CC) $(CFLAGS) $(INCLUDES) $(SRC)/t50ioconverter.c
164
165 t51pvmapnewindex.o: $(SRC)/t51pvmapnewindex.c
166 $(RM) t51pvmapnewindex.o
167 $(CC) $(CFLAGS) $(INCLUDES) $(SRC)/t51pvmapnewindex.c
168
169 t51t51converter.o: $(SRC)/t51t51converter.c
170 $(RM) t51t51converter.o
171 $(CC) $(CFLAGS) $(INCLUDES) $(SRC)/t51t51converter.c
172
173 t51tagvuconverter.o: $(SRC)/t51tagvuconverter.c
174 $(RM) t51tagvuconverter.o
175 $(CC) $(CFLAGS) $(INCLUDES) $(SRC)/t51tagvuconverter.c
176
177 t51t60pumpconverter.o: $(SRC)/t51t60pumpconverter.c
178 $(RM) t51t60pumpconverter.o
179 $(CC) $(CFLAGS) $(INCLUDES) $(SRC)/t51t60pumpconverter.c
180
181 t60tagvuconverter.o: $(SRC)/t60tagvuconverter.c
182 $(RM) t60tagvuconverter.o
183 $(CC) $(CFLAGS) $(INCLUDES) $(SRC)/t60tagvuconverter.c
184
185 t60optrakconverter.o: $(SRC)/t60optrakconverter.c
186 $(RM) t60optrakconverter.o
187 $(CC) $(CFLAGS) $(INCLUDES) $(SRC)/t60optrakconverter.c
188
189 install:
190 cp -p db2text ../bin
191 cp -p text2db ../bin
192 cp -p stringconverter ../bin
193 cp -p t43t44converter ../bin
194 cp -p t43t44pidconverter ../bin
195 cp -p t50converter ../bin
196 cp -p t50ioconverter ../bin
197 cp -p t51pvmapnewindex ../bin
198 cp -p t51t51converter ../bin
199 cp -p t51tagvuconverter ../bin
200 cp -p t51t60pumpconverter ../bin
201 cp -p t60tagvuconverter ../bin
202 cp -p t60optrakconverter ../bin
203 cp -p $(SRC)/converters.readme ../bin
204
205 clean:
206 $(RM) $(OBJS)
207 $(RM) db2text
208 $(RM) text2db
209 $(RM) rbconverter
210 $(RM) stringconverter
211 $(RM) t43t44converter
212 $(RM) t43t44pidconverter
213 $(RM) t50converter
214 $(RM) t50ioconverter
215 $(RM) t51pvmapnewindex
216 $(RM) t51t51converter
217 $(RM) t51tagvuconverter
218 $(RM) t51t60pumpconverter
219 $(RM) t60tagvuconverter
220 $(RM) t60optrakconverter
221 $(RM) Makefile.depend
222
223 depend: Makefile.depend
224
225 Makefile.depend: $(SRCS) Makefile
226 $(RM) Makefile.depend
227 $(CC) -M $(ALLDEFINES) $(SRCS) > Makefile.depend
228
229 include Makefile.depend
230

  ViewVC Help
Powered by ViewVC 1.1.30