1 |
tis4000 |
1.1 |
CPLUSPLUS = CC |
2 |
|
|
CCFLAGS = -c -g -DSOLARIS -DUNIX -DUSECB63 -DSUN |
3 |
tis4000 |
1.6 |
GCC = gcc -g |
4 |
|
|
CFLAGS = -c -inostdinc -Wunused -DUNIX -DSOLARIS -DUSECB63 -DSUN |
5 |
tis4000 |
1.1 |
|
6 |
|
|
RM = rm -f |
7 |
|
|
|
8 |
|
|
TOP = ../../.. |
9 |
|
|
DEPEND = $(TOP)/share/bin/sun2.4/EPICSmakedepend |
10 |
|
|
CODEBASEPATH = /tools/codebase63/source |
11 |
|
|
SRC = $(TOP)/share/src/alarmVuCC |
12 |
|
|
INCLUDES = \ |
13 |
|
|
-I$(SRC) \ |
14 |
|
|
-I$(GALAXYHOME)/include \ |
15 |
|
|
-I$(TOP)/share/epicsH \ |
16 |
|
|
-I$(TOP)/share/src/tisgalaxylib \ |
17 |
|
|
-I$(CODEBASEPATH) \ |
18 |
|
|
-I$(TOP)/share/src/alarm \ |
19 |
|
|
-I$(TOP)/share/src/libtis \ |
20 |
|
|
-I/usr/openwin/include \ |
21 |
|
|
-I/usr/include \ |
22 |
|
|
-I/usr/demo/SOUND/include/multimedia |
23 |
|
|
ALLDEFINES = $(INCLUDES) -DSOLARIS -DUSECB63 |
24 |
tis4000 |
1.6 |
STDLIBS = -lC -lsocket -lnsl -lm -lposix4 /usr/demo/SOUND/lib/libaudio.a |
25 |
tis4000 |
1.1 |
LIBS = \ |
26 |
|
|
../bin/libca.a \ |
27 |
|
|
../bin/libCom.a \ |
28 |
|
|
../bin/tisgalaxylib.a \ |
29 |
tis4000 |
1.5 |
../bin/libtis.a \ |
30 |
tis4000 |
1.1 |
../bin/tisMsgLib.a \ |
31 |
|
|
$(CODEBASEPATH)/libcb.a |
32 |
|
|
|
33 |
|
|
CXXSRCS = \ |
34 |
|
|
$(SRC)/ackManyDialog.cxx \ |
35 |
|
|
$(SRC)/alarmvu.cxx \ |
36 |
|
|
$(SRC)/alarmDialogs.cxx \ |
37 |
|
|
$(SRC)/aldlgListView.cxx \ |
38 |
|
|
$(SRC)/alvu.cxx \ |
39 |
|
|
$(SRC)/alvuMainDialog.cxx \ |
40 |
|
|
$(SRC)/alvuProgressDialog.cxx \ |
41 |
|
|
$(SRC)/alvuUtils.cxx \ |
42 |
|
|
$(SRC)/colorDialog.cxx \ |
43 |
|
|
$(SRC)/comboDialog.cxx \ |
44 |
|
|
$(SRC)/commentDialog.cxx \ |
45 |
|
|
$(SRC)/filterDialog.cxx \ |
46 |
|
|
$(SRC)/oneLineDialog.cxx \ |
47 |
|
|
$(SRC)/popupDialog.cxx \ |
48 |
|
|
$(SRC)/reportDialog.cxx \ |
49 |
|
|
$(SRC)/textDialog.cxx \ |
50 |
|
|
$(SRC)/utils.cxx |
51 |
|
|
CSRCS = \ |
52 |
|
|
$(SRC)/alarmfil.c \ |
53 |
|
|
$(SRC)/alarmfmt.c \ |
54 |
|
|
$(SRC)/alpvmap.c \ |
55 |
|
|
$(SRC)/bell.c |
56 |
|
|
|
57 |
|
|
SRCS = $(CXXSRCS) $(CSRCS) |
58 |
|
|
|
59 |
|
|
OBJS = \ |
60 |
|
|
ackManyDialog.o \ |
61 |
|
|
alarmvu.o \ |
62 |
|
|
alarmDialogs.o \ |
63 |
|
|
aldlgListView.o \ |
64 |
|
|
alvu.o \ |
65 |
|
|
alvuMainDialog.o \ |
66 |
|
|
alvuProgressDialog.o \ |
67 |
|
|
alvuUtils.o \ |
68 |
|
|
colorDialog.o \ |
69 |
|
|
comboDialog.o \ |
70 |
|
|
commentDialog.o \ |
71 |
|
|
filterDialog.o \ |
72 |
|
|
oneLineDialog.o \ |
73 |
|
|
popupDialog.o \ |
74 |
|
|
reportDialog.o \ |
75 |
|
|
textDialog.o \ |
76 |
|
|
utils.o \ |
77 |
|
|
alarmfil.o \ |
78 |
|
|
alarmfmt.o \ |
79 |
|
|
alpvmap.o \ |
80 |
|
|
bell.o |
81 |
|
|
|
82 |
tis4000 |
1.4 |
all: depend alarmvu alarmvu.vr |
83 |
tis4000 |
1.1 |
|
84 |
|
|
alarmvu: $(OBJS) $(LIBS) |
85 |
tis4000 |
1.7 |
$(GCC) -o alarmvu $(OBJS) \ |
86 |
tis4000 |
1.1 |
-L$(GALAXYHOME)/lib -L/usr/openwin/lib $(LIBS)\ |
87 |
|
|
-lvgalaxy++-debug -lXext -lX11 $(STDLIBS) |
88 |
|
|
|
89 |
tis4000 |
1.2 |
alarmvu.vr: $(SRC)/alarmvu.vrx |
90 |
tis4000 |
1.8 |
$(RM) alarmvu.vr |
91 |
tis4000 |
1.2 |
vrx2vr -force $(SRC)/alarmvu.vrx |
92 |
|
|
|
93 |
tis4000 |
1.1 |
ackManyDialog.o: $(SRC)/ackManyDialog.cxx |
94 |
|
|
$(RM) ackManyDialog.o |
95 |
|
|
$(CPLUSPLUS) $(CCFLAGS) $(INCLUDES) $(SRC)/ackManyDialog.cxx |
96 |
|
|
|
97 |
|
|
alarmvu.o: $(SRC)/alarmvu.cxx |
98 |
|
|
$(RM) alarmvu.o |
99 |
|
|
$(CPLUSPLUS) $(CCFLAGS) $(INCLUDES) $(SRC)/alarmvu.cxx |
100 |
|
|
|
101 |
|
|
alarmDialogs.o: $(SRC)/alarmDialogs.cxx |
102 |
|
|
$(RM) alarmDialogs.o |
103 |
|
|
$(CPLUSPLUS) $(CCFLAGS) $(INCLUDES) $(SRC)/alarmDialogs.cxx |
104 |
|
|
|
105 |
|
|
aldlgListView.o: $(SRC)/aldlgListView.cxx |
106 |
|
|
$(RM) aldlgListView.o |
107 |
|
|
$(CPLUSPLUS) $(CCFLAGS) $(INCLUDES) $(SRC)/aldlgListView.cxx |
108 |
|
|
|
109 |
|
|
alvu.o: $(SRC)/alvu.cxx |
110 |
|
|
$(RM) alvu.o |
111 |
|
|
$(CPLUSPLUS) $(CCFLAGS) $(INCLUDES) $(SRC)/alvu.cxx |
112 |
|
|
|
113 |
|
|
alvuMainDialog.o: $(SRC)/alvuMainDialog.cxx |
114 |
|
|
$(RM) alvuMainDialog.o |
115 |
|
|
$(CPLUSPLUS) $(CCFLAGS) $(INCLUDES) $(SRC)/alvuMainDialog.cxx |
116 |
|
|
|
117 |
|
|
alvuProgressDialog.o: $(SRC)/alvuProgressDialog.cxx |
118 |
|
|
$(RM) alvuProgressDialog.o |
119 |
|
|
$(CPLUSPLUS) $(CCFLAGS) $(INCLUDES) $(SRC)/alvuProgressDialog.cxx |
120 |
|
|
|
121 |
|
|
alvuUtils.o: $(SRC)/alvuUtils.cxx |
122 |
|
|
$(RM) alvuUtils.o |
123 |
|
|
$(CPLUSPLUS) $(CCFLAGS) $(INCLUDES) $(SRC)/alvuUtils.cxx |
124 |
|
|
|
125 |
|
|
colorDialog.o: $(SRC)/colorDialog.cxx |
126 |
|
|
$(RM) colorDialog.o |
127 |
|
|
$(CPLUSPLUS) $(CCFLAGS) $(INCLUDES) $(SRC)/colorDialog.cxx |
128 |
|
|
|
129 |
|
|
comboDialog.o: $(SRC)/comboDialog.cxx |
130 |
|
|
$(RM) comboDialog.o |
131 |
|
|
$(CPLUSPLUS) $(CCFLAGS) $(INCLUDES) $(SRC)/comboDialog.cxx |
132 |
|
|
|
133 |
|
|
commentDialog.o: $(SRC)/commentDialog.cxx |
134 |
|
|
$(RM) commentDialog.o |
135 |
|
|
$(CPLUSPLUS) $(CCFLAGS) $(INCLUDES) $(SRC)/commentDialog.cxx |
136 |
|
|
|
137 |
|
|
filterDialog.o: $(SRC)/filterDialog.cxx |
138 |
|
|
$(RM) filterDialog.o |
139 |
|
|
$(CPLUSPLUS) $(CCFLAGS) $(INCLUDES) $(SRC)/filterDialog.cxx |
140 |
|
|
|
141 |
|
|
oneLineDialog.o: $(SRC)/oneLineDialog.cxx |
142 |
|
|
$(RM) oneLineDialog.o |
143 |
|
|
$(CPLUSPLUS) $(CCFLAGS) $(INCLUDES) $(SRC)/oneLineDialog.cxx |
144 |
|
|
|
145 |
|
|
popupDialog.o: $(SRC)/popupDialog.cxx |
146 |
|
|
$(RM) popupDialog.o |
147 |
|
|
$(CPLUSPLUS) $(CCFLAGS) $(INCLUDES) $(SRC)/popupDialog.cxx |
148 |
|
|
|
149 |
|
|
reportDialog.o: $(SRC)/reportDialog.cxx |
150 |
|
|
$(RM) reportDialog.o |
151 |
|
|
$(CPLUSPLUS) $(CCFLAGS) $(INCLUDES) $(SRC)/reportDialog.cxx |
152 |
|
|
|
153 |
|
|
textDialog.o: $(SRC)/textDialog.cxx |
154 |
|
|
$(RM) textDialog.o |
155 |
|
|
$(CPLUSPLUS) $(CCFLAGS) $(INCLUDES) $(SRC)/textDialog.cxx |
156 |
|
|
|
157 |
|
|
utils.o: $(SRC)/utils.cxx |
158 |
|
|
$(RM) utils.o |
159 |
|
|
$(CPLUSPLUS) $(CCFLAGS) $(INCLUDES) $(SRC)/utils.cxx |
160 |
|
|
|
161 |
|
|
alarmfil.o: $(SRC)/alarmfil.c |
162 |
|
|
$(RM) alarmfil.o |
163 |
|
|
$(GCC) $(CFLAGS) $(INCLUDES) $(SRC)/alarmfil.c |
164 |
|
|
|
165 |
|
|
alarmfmt.o: $(SRC)/alarmfmt.c |
166 |
|
|
$(RM) alarmfmt.o |
167 |
|
|
$(GCC) $(CFLAGS) $(INCLUDES) $(SRC)/alarmfmt.c |
168 |
|
|
|
169 |
|
|
alpvmap.o: $(SRC)/alpvmap.c |
170 |
|
|
$(RM) alpvmap.o |
171 |
|
|
$(GCC) $(CFLAGS) $(INCLUDES) $(SRC)/alpvmap.c |
172 |
|
|
|
173 |
|
|
bell.o: $(SRC)/bell.c |
174 |
|
|
$(RM) bell.o |
175 |
|
|
$(GCC) $(CFLAGS) $(INCLUDES) $(SRC)/bell.c |
176 |
|
|
|
177 |
|
|
install: alarmvu |
178 |
|
|
cp -p alarmvu ../bin |
179 |
tis4000 |
1.3 |
chmod +w alarmvu.vr |
180 |
tis4000 |
1.2 |
cp -p alarmvu.vr ../bin |
181 |
tis4000 |
1.8 |
cp -p $(SRC)/alarmvu_print ../bin |
182 |
|
|
chmod 777 ../bin/alarmvu_print |
183 |
tis4000 |
1.1 |
|
184 |
|
|
clean: |
185 |
|
|
$(RM) alarmvu |
186 |
tis4000 |
1.2 |
$(RM) alarmvu.vr |
187 |
tis4000 |
1.1 |
$(RM) $(OBJS) |
188 |
tis4000 |
1.6 |
$(RM) Makefile.depend |
189 |
tis4000 |
1.1 |
|
190 |
tis4000 |
1.4 |
depend: Makefile.depend |
191 |
|
|
|
192 |
|
|
Makefile.depend : $(SRCS) Makefile |
193 |
|
|
$(RM) Makefile.depend |
194 |
tis4000 |
1.5 |
gcc -M $(ALLDEFINES) $(SRCS) > Makefile.depend |
195 |
tis4000 |
1.4 |
|
196 |
|
|
include Makefile.depend |