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 |
INCLUDES = \ |
45 |
-I$(INC)/src/opi/h \ |
46 |
-I$(WHICHMOTIF)/include \ |
47 |
-I/usr/include/X11 \ |
48 |
-I$(INC)/epicsH \ |
49 |
-I/tools/X11R5/include \ |
50 |
-I/tools/X11R5/include/X11 |
51 |
|
52 |
ALLDEFINES = $(CFLAGS) $(INCLUDES) -DSOLARIS |
53 |
SRCS = \ |
54 |
$(SRC)/opi/menu/palette_menu.c \ |
55 |
$(SRC)/opi/menu/plain_menus.c |
56 |
|
57 |
OBJS = \ |
58 |
palette_menu.o \ |
59 |
plain_menus.o |
60 |
|
61 |
all : depend libmenu.a |
62 |
|
63 |
|
64 |
libmenu.a: $(OBJS) |
65 |
$(RM) libmenu.a |
66 |
ar cq libmenu.a $(OBJS) |
67 |
|
68 |
palette_menu.o: $(SRC)/opi/menu/t_palette_menu.c |
69 |
$(CC) -c $(CFLAGS) $(INCLUDES) \ |
70 |
-o palette_menu.o $(SRC)/opi/menu/t_palette_menu.c |
71 |
|
72 |
plain_menus.o: $(SRC)/opi/menu/t_plain_menus.c |
73 |
$(CC) -c $(CFLAGS) $(INCLUDES) \ |
74 |
-o plain_menus.o $(SRC)/opi/menu/t_plain_menus.c |
75 |
|
76 |
install : libmenu.a |
77 |
|
78 |
clean : |
79 |
$(RM) $(OBJS) |
80 |
$(RM) libmenu.a |
81 |
$(RM) Makefile.depend |
82 |
|
83 |
depend: Makefile.depend |
84 |
|
85 |
Makefile.depend: $(SRCS) |
86 |
$(RM) Makefile.depend |
87 |
$(CC) -M $(ALLDEFINES) $(SRCS) > Makefile.depend |
88 |
|
89 |
include Makefile.depend |
90 |
|