/[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.3 - (show annotations)
Thu Aug 26 20:46:15 1999 UTC (23 years, 3 months ago) by tis4000
Branch: MAIN
CVS Tags: t55baseline
Changes since 1.2: +1 -1 lines
made Makefile.depend dependant on Makefile

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)/rbconverter.c \
25 $(SRC)/stringconverter.c \
26 $(SRC)/t43t44converter.c \
27 $(SRC)/t43t44pidconverter.c \
28 $(SRC)/t50converter.c \
29 $(SRC)/t50ioconverter.c \
30 $(SRC)/t51pvmapnewindex.c \
31 $(SRC)/t51t51converter.c \
32 $(SRC)/t51tagvuconverter.c
33
34 OBJS = \
35 rbconverter.o \
36 stringconverter.o \
37 t43t44converter.o \
38 t43t44pidconverter.o \
39 t50converter.o \
40 t50ioconverter.o \
41 t51pvmapnewindex.o \
42 t51t51converter.o \
43 t51tagvuconverter.o
44
45 all : \
46 depend \
47 rbconverter \
48 stringconverter \
49 t43t44converter \
50 t43t44pidconverter \
51 t50converter \
52 t50ioconverter \
53 t51pvmapnewindex \
54 t51t51converter \
55 t51tagvuconverter
56
57 ####### TARGETS ##########################################################
58
59 rbconverter : rbconverter.o $(LIBS)
60 $(RM) rbconverter
61 $(CC) -o rbconverter rbconverter.o $(LIBS) -lm -ldl
62
63 stringconverter : stringconverter.o $(LIBS)
64 $(RM) stringconverter
65 $(CC) -o stringconverter stringconverter.o $(LIBS) -lm -ldl
66
67 t43t44converter: t43t44converter.o $(LIBS)
68 $(RM) t43t44converter
69 $(CC) -o t43t44converter t43t44converter.o $(LIBS) -lm -ldl
70
71 t43t44pidconverter: t43t44pidconverter.o $(LIBS)
72 $(RM) t43t44pidconverter
73 $(CC) -o t43t44pidconverter t43t44pidconverter.o $(LIBS) -lm -ldl
74
75 t50converter: t50converter.o $(LIBS)
76 $(RM) t50converter
77 $(CC) -o t50converter t50converter.o $(LIBS) -lm -ldl
78
79 t50ioconverter: t50ioconverter.o $(LIBS)
80 $(RM) t50ioconverter
81 $(CC) -o t50ioconverter t50ioconverter.o $(LIBS) -lm -ldl
82
83 t51pvmapnewindex: t51pvmapnewindex.o $(LIBS)
84 $(RM) t51pvmapnewindex
85 $(CC) -o t51pvmapnewindex t51pvmapnewindex.o $(LIBS) -lm -ldl
86
87 t51t51converter: t51t51converter.o $(LIBS)
88 $(RM) t51t51converter
89 $(CC) -o t51t51converter t51t51converter.o $(LIBS) -lm -ldl
90
91 t51tagvuconverter: t51tagvuconverter.o $(LIBS)
92 $(RM) t51tagvuconverter
93 $(CC) -o t51tagvuconverter t51tagvuconverter.o $(LIBS) -lm -ldl
94
95
96 ####### OBJECTS ##########################################################
97
98 rbconverter.o: $(SRC)/rbconverter.c
99 $(RM) rbconverter.o
100 $(CC) $(CFLAGS) $(INCLUDES) $(SRC)/rbconverter.c
101
102 stringconverter.o: $(SRC)/stringconverter.c
103 $(RM) stringconverter.o
104 $(CC) $(CFLAGS) $(INCLUDES) $(SRC)/stringconverter.c
105
106 t43t44converter.o: $(SRC)/t43t44converter.c $(LIBS)
107 $(RM) t43t44converter.o
108 $(CC) $(CFLAGS) $(INCLUDES) $(SRC)/t43t44converter.c
109
110 t43t44pidconverter.o: $(SRC)/t43t44pidconverter.c $(LIBS)
111 $(RM) t43t44pidconverter.o
112 $(CC) $(CFLAGS) $(INCLUDES) $(SRC)/t43t44pidconverter.c
113
114 t50converter.o: $(SRC)/t50converter.c
115 $(RM) t50converter.o
116 $(CC) $(CFLAGS) $(INCLUDES) $(SRC)/t50converter.c
117
118 t50ioconverter.o: $(SRC)/t50ioconverter.c
119 $(RM) t50ioconverter.o
120 $(CC) $(CFLAGS) $(INCLUDES) $(SRC)/t50ioconverter.c
121
122 t51pvmapnewindex.o: $(SRC)/t51pvmapnewindex.c
123 $(RM) t51pvmapnewindex.o
124 $(CC) $(CFLAGS) $(INCLUDES) $(SRC)/t51pvmapnewindex.c
125
126 t51t51converter.o: $(SRC)/t51t51converter.c
127 $(RM) t51t51converter.o
128 $(CC) $(CFLAGS) $(INCLUDES) $(SRC)/t51t51converter.c
129
130 t51tagvuconverter.o: $(SRC)/t51tagvuconverter.c
131 $(RM) t51tagvuconverter.o
132 $(CC) $(CFLAGS) $(INCLUDES) $(SRC)/t51tagvuconverter.c
133
134 install:
135 cp -p rbconverter ../bin
136 cp -p stringconverter ../bin
137 cp -p t43t44converter ../bin
138 cp -p t43t44pidconverter ../bin
139 cp -p t50converter ../bin
140 cp -p t50ioconverter ../bin
141 cp -p t51pvmapnewindex ../bin
142 cp -p t51t51converter ../bin
143 cp -p t51tagvuconverter ../bin
144 cp -p $(SRC)/converters.readme ../bin
145
146 clean:
147 $(RM) $(OBJS)
148 $(RM) rbconverter
149 $(RM) stringconverter
150 $(RM) t43t44converter
151 $(RM) t43t44pidconverter
152 $(RM) t50converter
153 $(RM) t50ioconverter
154 $(RM) t51pvmapnewindex
155 $(RM) t51t51converter
156 $(RM) t51tagvuconverter
157 $(RM) Makefile.depend
158
159 depend: Makefile.depend
160
161 Makefile.depend: $(SRCS) Makefile
162 $(RM) Makefile.depend
163 $(CC) -M $(ALLDEFINES) $(SRCS) > Makefile.depend
164
165 include Makefile.depend
166

  ViewVC Help
Powered by ViewVC 1.1.28