1 |
################################################################# |
2 |
# # |
3 |
# This software is the proprietary property of Tate # |
4 |
# Integrated Systems, L.P. Patents and copyrights are # |
5 |
# pending. # |
6 |
# # |
7 |
# This software is furnished under a license and may # |
8 |
# be used and copied only in accordance with the terms # |
9 |
# of such license and with the inclusion of the above # |
10 |
# notice. This software or any other copies thereof # |
11 |
# may not be provided or otherwise made available to # |
12 |
# any other person. No title to and ownership of the # |
13 |
# software is hereby transferred. # |
14 |
# # |
15 |
# The information in this software is subject to # |
16 |
# change without notice and should not be construed # |
17 |
# as a commitment by Tate Integrated Systems L.P. or # |
18 |
# its third party suppliers. # |
19 |
# # |
20 |
# Tate Integrated Systems, L.P. (TIS) and its third # |
21 |
# party suppliers assume no responsibility for the # |
22 |
# use or inability to use any of its software. TIS # |
23 |
# software is provided "as is" without warranty of # |
24 |
# any kind and TIS expressly disclaims all implied # |
25 |
# warranties, including but not limited to the implied # |
26 |
# warranties of merchantability and fitness for a # |
27 |
# particular purpose. # |
28 |
# # |
29 |
# Notice: Notwithstanding any other lease or license # |
30 |
# that may pertain to or accompany the delivery of this # |
31 |
# computer software, the rights of the Government # |
32 |
# regarding its use, reproduction, and disclosure are # |
33 |
# as set forth in Section 52.227-19 of the FARS # |
34 |
# Computer Software-Restricted Rights clause. # |
35 |
# # |
36 |
################################################################# |
37 |
CC = gcc -inostdinc -I/usr/include -DSOLARIS -DUSECB63 |
38 |
CFLAGS = -g -Wunused |
39 |
RM = rm -f |
40 |
TOP = ../../../.. |
41 |
CODEBASEPATH = /tools/codebase63/source |
42 |
SRC = $(TOP)/share/src |
43 |
INC = $(TOP)/share |
44 |
|
45 |
WHICHMOTIF = /usr/Motif1.2.4 |
46 |
|
47 |
DEPEND = $(INC)/bin/sun2.4/EPICSmakedepend |
48 |
INCLUDES = \ |
49 |
-I/usr/include \ |
50 |
-I$(INC)/src/opi/h \ |
51 |
-I$(WHICHMOTIF)/include \ |
52 |
-I/usr/include/X11 \ |
53 |
-I$(INC)/epicsH \ |
54 |
-I/tools/X11R5/include \ |
55 |
-I/tools/X11R5/include/X11 \ |
56 |
-I$(CODEBASEPATH) |
57 |
EXTRA_INCLUDES = \ |
58 |
-I$(INC)/vw/h |
59 |
|
60 |
ALLDEFINES = $(CFLAGS) $(INCLUDES) $(EXTRA_INCLUDES) -DSOLARIS -DUSECB63 |
61 |
SRCS = \ |
62 |
$(SRC)/opi/gizmo/choice_gz.c $(SRC)/opi/gizmo/dialog.c \ |
63 |
$(SRC)/opi/gizmo/file_name.c $(SRC)/opi/gizmo/form_gz.c \ |
64 |
$(SRC)/opi/gizmo/gz.c $(SRC)/opi/gizmo/menu_gz.c \ |
65 |
$(SRC)/opi/gizmo/message_gz.c $(SRC)/opi/gizmo/palette_gz.c \ |
66 |
$(SRC)/opi/gizmo/popup_gz.c $(SRC)/opi/gizmo/textedit_gz.c \ |
67 |
$(SRC)/opi/gizmo/valuator_gz.c |
68 |
|
69 |
T_SRCS = \ |
70 |
$(SRC)/opi/gizmo/t_choice_gz.c $(SRC)/opi/gizmo/t_dialog.c \ |
71 |
$(SRC)/opi/gizmo/t_file_name.c $(SRC)/opi/gizmo/t_form_gz.c \ |
72 |
$(SRC)/opi/gizmo/t_gz.c $(SRC)/opi/gizmo/t_menu_gz.c \ |
73 |
$(SRC)/opi/gizmo/t_message_gz.c $(SRC)/opi/gizmo/t_palette_gz.c \ |
74 |
$(SRC)/opi/gizmo/t_popup_gz.c $(SRC)/opi/gizmo/t_textedit_gz.c \ |
75 |
$(SRC)/opi/gizmo/t_valuator_gz.c |
76 |
|
77 |
OBJS = \ |
78 |
choice_gz.o \ |
79 |
dialog.o \ |
80 |
file_name.o \ |
81 |
form_gz.o \ |
82 |
gz.o \ |
83 |
menu_gz.o \ |
84 |
message_gz.o \ |
85 |
palette_gz.o \ |
86 |
popup_gz.o \ |
87 |
textedit_gz.o \ |
88 |
valuator_gz.o |
89 |
|
90 |
|
91 |
all : libgz.a |
92 |
|
93 |
libgz.a : $(OBJS) |
94 |
$(RM) libgz.a |
95 |
ar cq libgz.a $(OBJS) |
96 |
|
97 |
choice_gz.o: $(SRC)/opi/gizmo/t_choice_gz.c |
98 |
$(RM) choice_gz.o |
99 |
$(CC) -c $(CFLAGS) $(INCLUDES) \ |
100 |
-o choice_gz.o $(SRC)/opi/gizmo/t_choice_gz.c |
101 |
|
102 |
dialog.o: $(SRC)/opi/gizmo/t_dialog.c |
103 |
$(RM) dialog.o |
104 |
$(CC) -c $(CFLAGS) $(INCLUDES) \ |
105 |
-o dialog.o $(SRC)/opi/gizmo/t_dialog.c |
106 |
|
107 |
file_name.o: $(SRC)/opi/gizmo/t_file_name.c |
108 |
$(RM) file_name.o |
109 |
$(CC) -c $(CFLAGS) $(INCLUDES) \ |
110 |
-o file_name.o $(SRC)/opi/gizmo/t_file_name.c |
111 |
|
112 |
form_gz.o: $(SRC)/opi/gizmo/t_form_gz.c |
113 |
$(RM) form_gz.o |
114 |
$(CC) -c $(CFLAGS) $(INCLUDES) \ |
115 |
-o form_gz.o $(SRC)/opi/gizmo/t_form_gz.c |
116 |
|
117 |
gz.o: $(SRC)/opi/gizmo/t_gz.c |
118 |
$(RM) gz.o |
119 |
$(CC) -c $(CFLAGS) $(INCLUDES) -I$(EXTRA_INCLUDES) \ |
120 |
-o gz.o $(SRC)/opi/gizmo/t_gz.c |
121 |
|
122 |
menu_gz.o: $(SRC)/opi/gizmo/t_menu_gz.c |
123 |
$(RM) menu_gz.o |
124 |
$(CC) -c $(CFLAGS) $(INCLUDES) \ |
125 |
-o menu_gz.o $(SRC)/opi/gizmo/t_menu_gz.c |
126 |
|
127 |
message_gz.o: $(SRC)/opi/gizmo/t_message_gz.c |
128 |
$(RM) message_gz.o |
129 |
$(CC) -c $(CFLAGS) $(INCLUDES) \ |
130 |
-o message_gz.o $(SRC)/opi/gizmo/t_message_gz.c |
131 |
|
132 |
palette_gz.o: $(SRC)/opi/gizmo/t_palette_gz.c |
133 |
$(RM) palette_gz.o |
134 |
$(CC) -c $(CFLAGS) $(INCLUDES) \ |
135 |
-o palette_gz.o $(SRC)/opi/gizmo/t_palette_gz.c |
136 |
|
137 |
popup_gz.o: $(SRC)/opi/gizmo/t_popup_gz.c |
138 |
$(RM) popup_gz.o |
139 |
$(CC) -c $(CFLAGS) $(INCLUDES) \ |
140 |
-o popup_gz.o $(SRC)/opi/gizmo/t_popup_gz.c |
141 |
|
142 |
textedit_gz.o: $(SRC)/opi/gizmo/t_textedit_gz.c |
143 |
$(RM) textedit_gz.o |
144 |
$(CC) -c $(CFLAGS) $(INCLUDES) -I$(EXTRA_INCLUDES) \ |
145 |
-o textedit_gz.o $(SRC)/opi/gizmo/t_textedit_gz.c |
146 |
|
147 |
valuator_gz.o: $(SRC)/opi/gizmo/t_valuator_gz.c |
148 |
$(RM) valuator_gz.o |
149 |
$(CC) -c $(CFLAGS) $(INCLUDES) \ |
150 |
-o valuator_gz.o $(SRC)/opi/gizmo/t_valuator_gz.c |
151 |
|
152 |
install : libgz.a |
153 |
|
154 |
clean : |
155 |
$(RM) $(OBJS) |
156 |
$(RM) libgz.a |
157 |
|
158 |
# |
159 |
# Uses EPICSmakedepend to create dependencies |
160 |
# |
161 |
|
162 |
depend:: |
163 |
$(DEPEND) -s "#DO NOT DELETE" -- $(ALLDEFINES) -- $(SRCS) |
164 |
|
165 |
|
166 |
|
167 |
#DO NOT DELETE |
168 |
#DO NOT DELETE |
169 |
|
170 |
choice_gz.o: ../../../../share/src/opi/gizmo/choice_gz.c \ |
171 |
/usr/include/stdio.h /usr/include/sys/feature_tests.h \ |
172 |
/usr/include/X11/Xlib.h /usr/include/sys/types.h \ |
173 |
/usr/include/sys/isa_defs.h /usr/include/sys/machtypes.h \ |
174 |
/usr/include/sys/select.h /usr/include/sys/time.h /usr/include/time.h \ |
175 |
/usr/include/X11/X.h /usr/include/X11/Xfuncproto.h \ |
176 |
/usr/include/X11/Xosdefs.h /usr/include/stddef.h /usr/include/X11/Xutil.h \ |
177 |
/usr/include/X11/keysym.h /usr/include/X11/keysymdef.h \ |
178 |
../../../../share/src/opi/h/font_table.h \ |
179 |
../../../../share/src/opi/h/gizmo.h ../../../../share/epicsH/lstLib.h \ |
180 |
/usr/include/assert.h |
181 |
dialog.o: ../../../../share/src/opi/gizmo/dialog.c /usr/include/X11/Xlib.h \ |
182 |
/usr/include/sys/types.h /usr/include/sys/feature_tests.h \ |
183 |
/usr/include/sys/isa_defs.h /usr/include/sys/machtypes.h \ |
184 |
/usr/include/sys/select.h /usr/include/sys/time.h /usr/include/time.h \ |
185 |
/usr/include/X11/X.h /usr/include/X11/Xfuncproto.h \ |
186 |
/usr/include/X11/Xosdefs.h /usr/include/stddef.h /usr/include/X11/Xutil.h \ |
187 |
../../../../share/src/opi/h/gizmo.h /usr/include/stdio.h \ |
188 |
../../../../share/src/opi/h/font_table.h \ |
189 |
../../../../share/epicsH/lstLib.h /usr/include/assert.h |
190 |
file_name.o: ../../../../share/src/opi/gizmo/file_name.c \ |
191 |
/usr/include/X11/Xlib.h /usr/include/sys/types.h \ |
192 |
/usr/include/sys/feature_tests.h /usr/include/sys/isa_defs.h \ |
193 |
/usr/include/sys/machtypes.h /usr/include/sys/select.h \ |
194 |
/usr/include/sys/time.h /usr/include/time.h /usr/include/X11/X.h \ |
195 |
/usr/include/X11/Xfuncproto.h /usr/include/X11/Xosdefs.h \ |
196 |
/usr/include/stddef.h /usr/include/X11/Xutil.h \ |
197 |
../../../../share/src/opi/h/gizmo.h /usr/include/stdio.h \ |
198 |
../../../../share/src/opi/h/font_table.h \ |
199 |
../../../../share/epicsH/lstLib.h /usr/include/assert.h |
200 |
form_gz.o: ../../../../share/src/opi/gizmo/form_gz.c /usr/include/stdio.h \ |
201 |
/usr/include/sys/feature_tests.h /usr/include/X11/Xlib.h \ |
202 |
/usr/include/sys/types.h /usr/include/sys/isa_defs.h \ |
203 |
/usr/include/sys/machtypes.h /usr/include/sys/select.h \ |
204 |
/usr/include/sys/time.h /usr/include/time.h /usr/include/X11/X.h \ |
205 |
/usr/include/X11/Xfuncproto.h /usr/include/X11/Xosdefs.h \ |
206 |
/usr/include/stddef.h /usr/include/X11/Xutil.h /usr/include/X11/keysym.h \ |
207 |
/usr/include/X11/keysymdef.h ../../../../share/src/opi/h/plain_menus.h \ |
208 |
../../../../share/src/opi/h/font_table.h \ |
209 |
../../../../share/src/opi/h/gizmo.h ../../../../share/epicsH/lstLib.h \ |
210 |
/usr/include/assert.h |
211 |
gz.o: ../../../../share/src/opi/gizmo/gz.c /usr/include/stdio.h \ |
212 |
/usr/include/sys/feature_tests.h /usr/include/X11/Xlib.h \ |
213 |
/usr/include/sys/types.h /usr/include/sys/isa_defs.h \ |
214 |
/usr/include/sys/machtypes.h /usr/include/sys/select.h \ |
215 |
/usr/include/sys/time.h /usr/include/time.h /usr/include/X11/X.h \ |
216 |
/usr/include/X11/Xfuncproto.h /usr/include/X11/Xosdefs.h \ |
217 |
/usr/include/stddef.h /usr/include/X11/Xutil.h \ |
218 |
/usr/include/X11/cursorfont.h /usr/include/X11/keysym.h \ |
219 |
/usr/include/X11/keysymdef.h ../../../../share/src/opi/h/gray.h \ |
220 |
../../../../share/src/opi/h/plain_menus.h \ |
221 |
../../../../share/src/opi/h/font_table.h \ |
222 |
../../../../share/src/opi/h/gizmo.h ../../../../share/epicsH/lstLib.h \ |
223 |
/usr/include/assert.h ../../../../share/src/opi/h/color_map.h |
224 |
menu_gz.o: ../../../../share/src/opi/gizmo/menu_gz.c /usr/include/stdio.h \ |
225 |
/usr/include/sys/feature_tests.h /usr/include/X11/Xlib.h \ |
226 |
/usr/include/sys/types.h /usr/include/sys/isa_defs.h \ |
227 |
/usr/include/sys/machtypes.h /usr/include/sys/select.h \ |
228 |
/usr/include/sys/time.h /usr/include/time.h /usr/include/X11/X.h \ |
229 |
/usr/include/X11/Xfuncproto.h /usr/include/X11/Xosdefs.h \ |
230 |
/usr/include/stddef.h /usr/include/X11/Xutil.h /usr/include/X11/keysym.h \ |
231 |
/usr/include/X11/keysymdef.h ../../../../share/src/opi/h/plain_menus.h \ |
232 |
../../../../share/src/opi/h/gizmo.h \ |
233 |
../../../../share/src/opi/h/font_table.h \ |
234 |
../../../../share/epicsH/lstLib.h /usr/include/assert.h |
235 |
message_gz.o: ../../../../share/src/opi/gizmo/message_gz.c \ |
236 |
/usr/include/stdio.h /usr/include/sys/feature_tests.h \ |
237 |
/usr/include/X11/Xlib.h /usr/include/sys/types.h \ |
238 |
/usr/include/sys/isa_defs.h /usr/include/sys/machtypes.h \ |
239 |
/usr/include/sys/select.h /usr/include/sys/time.h /usr/include/time.h \ |
240 |
/usr/include/X11/X.h /usr/include/X11/Xfuncproto.h \ |
241 |
/usr/include/X11/Xosdefs.h /usr/include/stddef.h /usr/include/X11/Xutil.h \ |
242 |
/usr/include/X11/keysym.h /usr/include/X11/keysymdef.h \ |
243 |
../../../../share/src/opi/h/font_table.h \ |
244 |
../../../../share/src/opi/h/gizmo.h ../../../../share/epicsH/lstLib.h \ |
245 |
/usr/include/assert.h ../../../../share/src/opi/h/color_map.h |
246 |
palette_gz.o: ../../../../share/src/opi/gizmo/palette_gz.c \ |
247 |
/usr/include/stdio.h /usr/include/sys/feature_tests.h \ |
248 |
/usr/include/X11/Xlib.h /usr/include/sys/types.h \ |
249 |
/usr/include/sys/isa_defs.h /usr/include/sys/machtypes.h \ |
250 |
/usr/include/sys/select.h /usr/include/sys/time.h /usr/include/time.h \ |
251 |
/usr/include/X11/X.h /usr/include/X11/Xfuncproto.h \ |
252 |
/usr/include/X11/Xosdefs.h /usr/include/stddef.h /usr/include/X11/Xutil.h \ |
253 |
/usr/include/X11/keysym.h /usr/include/X11/keysymdef.h \ |
254 |
../../../../share/src/opi/h/font_table.h \ |
255 |
../../../../share/src/opi/h/gizmo.h ../../../../share/epicsH/lstLib.h \ |
256 |
/usr/include/assert.h ../../../../share/src/opi/h/color_map.h \ |
257 |
../../../../share/src/opi/h/palette_menus.h |
258 |
popup_gz.o: ../../../../share/src/opi/gizmo/popup_gz.c /usr/include/stdio.h \ |
259 |
/usr/include/sys/feature_tests.h /usr/include/X11/Xlib.h \ |
260 |
/usr/include/sys/types.h /usr/include/sys/isa_defs.h \ |
261 |
/usr/include/sys/machtypes.h /usr/include/sys/select.h \ |
262 |
/usr/include/sys/time.h /usr/include/time.h /usr/include/X11/X.h \ |
263 |
/usr/include/X11/Xfuncproto.h /usr/include/X11/Xosdefs.h \ |
264 |
/usr/include/stddef.h /usr/include/X11/Xutil.h \ |
265 |
../../../../share/src/opi/h/gizmo.h \ |
266 |
../../../../share/src/opi/h/font_table.h \ |
267 |
../../../../share/epicsH/lstLib.h /usr/include/assert.h |
268 |
textedit_gz.o: ../../../../share/src/opi/gizmo/textedit_gz.c \ |
269 |
/usr/include/stdio.h /usr/include/sys/feature_tests.h \ |
270 |
/usr/include/X11/Xlib.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/X11/X.h /usr/include/X11/Xfuncproto.h \ |
274 |
/usr/include/X11/Xosdefs.h /usr/include/stddef.h /usr/include/X11/Xutil.h \ |
275 |
/usr/include/X11/keysym.h /usr/include/X11/keysymdef.h \ |
276 |
../../../../share/src/opi/h/plain_menus.h \ |
277 |
../../../../share/src/opi/h/font_table.h \ |
278 |
../../../../share/src/opi/h/gizmo.h ../../../../share/epicsH/lstLib.h \ |
279 |
/usr/include/assert.h |
280 |
valuator_gz.o: ../../../../share/src/opi/gizmo/valuator_gz.c \ |
281 |
/usr/include/stdio.h /usr/include/sys/feature_tests.h \ |
282 |
/usr/include/X11/Xlib.h /usr/include/sys/types.h \ |
283 |
/usr/include/sys/isa_defs.h /usr/include/sys/machtypes.h \ |
284 |
/usr/include/sys/select.h /usr/include/sys/time.h /usr/include/time.h \ |
285 |
/usr/include/X11/X.h /usr/include/X11/Xfuncproto.h \ |
286 |
/usr/include/X11/Xosdefs.h /usr/include/stddef.h /usr/include/X11/Xutil.h \ |
287 |
/usr/include/X11/keysym.h /usr/include/X11/keysymdef.h \ |
288 |
../../../../share/src/opi/h/plain_menus.h \ |
289 |
../../../../share/src/opi/h/font_table.h \ |
290 |
../../../../share/src/opi/h/gizmo.h ../../../../share/epicsH/lstLib.h \ |
291 |
/usr/include/assert.h ../../../../share/src/opi/h/dldef.h |