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 |
38 |
CFLAGS = -g -Wunused |
39 |
RM = rm -f |
40 |
TOP = ../../../.. |
41 |
SRC = $(TOP)/share/src |
42 |
INC = $(TOP)/share |
43 |
|
44 |
DEPEND = $(INC)/bin/sun2.4/EPICSmakedepend |
45 |
INCLUDES = \ |
46 |
-I$(INC)/src/opi/h \ |
47 |
-I$(WHICHMOTIF)/include \ |
48 |
-I/usr/include/X11 \ |
49 |
-I$(INC)/epicsH \ |
50 |
-I/tools/X11R5/include \ |
51 |
-I/tools/X11R5/include/X11 |
52 |
|
53 |
ALLDEFINES = $(CFLAGS) $(INCLUDES) -DSOLARIS |
54 |
SRCS = \ |
55 |
$(SRC)/opi/menu/palette_menu.c \ |
56 |
$(SRC)/opi/menu/plain_menus.c |
57 |
|
58 |
OBJS = \ |
59 |
palette_menu.o \ |
60 |
plain_menus.o |
61 |
|
62 |
all : libmenu.a |
63 |
|
64 |
|
65 |
libmenu.a: $(OBJS) |
66 |
$(RM) libmenu.a |
67 |
ar cq libmenu.a $(OBJS) |
68 |
|
69 |
palette_menu.o: $(SRC)/opi/menu/t_palette_menu.c |
70 |
$(CC) -c $(CFLAGS) $(INCLUDES) \ |
71 |
-o palette_menu.o $(SRC)/opi/menu/t_palette_menu.c |
72 |
|
73 |
plain_menus.o: $(SRC)/opi/menu/t_plain_menus.c |
74 |
$(CC) -c $(CFLAGS) $(INCLUDES) \ |
75 |
-o plain_menus.o $(SRC)/opi/menu/t_plain_menus.c |
76 |
|
77 |
install : libmenu.a |
78 |
|
79 |
clean : |
80 |
$(RM) $(OBJS) |
81 |
$(RM) libmenu.a |
82 |
|
83 |
# |
84 |
# Uses EPICSmakedepend to create dependencies |
85 |
# |
86 |
|
87 |
depend:: |
88 |
$(DEPEND) -s "#DO NOT DELETE" -- $(ALLDEFINES) -- $(SRCS) |
89 |
|
90 |
|
91 |
#DO NOT DELETE |
92 |
#DO NOT DELETE |
93 |
|
94 |
palette_menu.o: ../../../../share/src/opi/menu/palette_menu.c \ |
95 |
/usr/local/lib/gcc-lib/sparc-sun-solaris2.4/2.6.3/include/stdio.h \ |
96 |
/usr/include/sys/feature_tests.h /usr/include/X11/Xlib.h \ |
97 |
/usr/local/lib/gcc-lib/sparc-sun-solaris2.4/2.6.3/include/sys/types.h \ |
98 |
/usr/include/sys/machtypes.h \ |
99 |
/usr/local/lib/gcc-lib/sparc-sun-solaris2.4/2.6.3/include/sys/isa_defs.h \ |
100 |
/usr/include/sys/select.h /usr/include/sys/time.h \ |
101 |
/usr/local/lib/gcc-lib/sparc-sun-solaris2.4/2.6.3/include/time.h \ |
102 |
/usr/include/sys/siginfo.h /usr/include/sys/machsig.h /usr/include/X11/X.h \ |
103 |
/usr/include/X11/Xfuncproto.h \ |
104 |
/usr/local/lib/gcc-lib/sparc-sun-solaris2.4/2.6.3/include/X11/Xosdefs.h \ |
105 |
/usr/local/lib/gcc-lib/sparc-sun-solaris2.4/2.6.3/include/stddef.h \ |
106 |
/usr/include/X11/Xutil.h ../../../../share/src/opi/h/gizmo.h \ |
107 |
../../../../share/src/opi/h/font_table.h \ |
108 |
../../../../share/epicsH/lstLib.h /usr/local/include/assert.h \ |
109 |
../../../../share/src/opi/h/color_map.h \ |
110 |
../../../../share/src/opi/h/palette_menus.h |
111 |
plain_menus.o: ../../../../share/src/opi/menu/plain_menus.c \ |
112 |
../../../../share/epicsH/memLeak.h \ |
113 |
/usr/local/lib/gcc-lib/sparc-sun-solaris2.4/2.6.3/include/stdio.h \ |
114 |
/usr/include/sys/feature_tests.h /usr/include/X11/Xlib.h \ |
115 |
/usr/local/lib/gcc-lib/sparc-sun-solaris2.4/2.6.3/include/sys/types.h \ |
116 |
/usr/include/sys/machtypes.h \ |
117 |
/usr/local/lib/gcc-lib/sparc-sun-solaris2.4/2.6.3/include/sys/isa_defs.h \ |
118 |
/usr/include/sys/select.h /usr/include/sys/time.h \ |
119 |
/usr/local/lib/gcc-lib/sparc-sun-solaris2.4/2.6.3/include/time.h \ |
120 |
/usr/include/sys/siginfo.h /usr/include/sys/machsig.h /usr/include/X11/X.h \ |
121 |
/usr/include/X11/Xfuncproto.h \ |
122 |
/usr/local/lib/gcc-lib/sparc-sun-solaris2.4/2.6.3/include/X11/Xosdefs.h \ |
123 |
/usr/local/lib/gcc-lib/sparc-sun-solaris2.4/2.6.3/include/stddef.h \ |
124 |
/usr/include/X11/Xutil.h ../../../../share/epicsH/lstLib.h \ |
125 |
../../../../share/src/opi/h/plain_menus.h |