/[TIS-4000 Rel T60]/sun2.4/opi/gizmo/Makefile
ViewVC logotype

Contents of /sun2.4/opi/gizmo/Makefile

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.2 - (show annotations)
Tue Aug 17 19:36:18 1999 UTC (23 years, 9 months ago) by tis4000
Branch: MAIN
Changes since 1.1: +10 -136 lines
08-17-99	ems	added target depend, which creates Makefile.depend
			since the dependancies are differant from machine to
			machine, not having the dependancies in the Makefile
			will not confuse CVS

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 INCLUDES = \
48 -I/usr/include \
49 -I$(INC)/src/opi/h \
50 -I$(WHICHMOTIF)/include \
51 -I/usr/include/X11 \
52 -I$(INC)/epicsH \
53 -I/tools/X11R5/include \
54 -I/tools/X11R5/include/X11 \
55 -I$(CODEBASEPATH)
56 EXTRA_INCLUDES = \
57 -I$(INC)/vw/h
58
59 ALLDEFINES = $(CFLAGS) $(INCLUDES) $(EXTRA_INCLUDES) -DSOLARIS -DUSECB63
60 SRCS = \
61 $(SRC)/opi/gizmo/choice_gz.c $(SRC)/opi/gizmo/dialog.c \
62 $(SRC)/opi/gizmo/file_name.c $(SRC)/opi/gizmo/form_gz.c \
63 $(SRC)/opi/gizmo/gz.c $(SRC)/opi/gizmo/menu_gz.c \
64 $(SRC)/opi/gizmo/message_gz.c $(SRC)/opi/gizmo/palette_gz.c \
65 $(SRC)/opi/gizmo/popup_gz.c $(SRC)/opi/gizmo/textedit_gz.c \
66 $(SRC)/opi/gizmo/valuator_gz.c
67
68 T_SRCS = \
69 $(SRC)/opi/gizmo/t_choice_gz.c $(SRC)/opi/gizmo/t_dialog.c \
70 $(SRC)/opi/gizmo/t_file_name.c $(SRC)/opi/gizmo/t_form_gz.c \
71 $(SRC)/opi/gizmo/t_gz.c $(SRC)/opi/gizmo/t_menu_gz.c \
72 $(SRC)/opi/gizmo/t_message_gz.c $(SRC)/opi/gizmo/t_palette_gz.c \
73 $(SRC)/opi/gizmo/t_popup_gz.c $(SRC)/opi/gizmo/t_textedit_gz.c \
74 $(SRC)/opi/gizmo/t_valuator_gz.c
75
76 OBJS = \
77 choice_gz.o \
78 dialog.o \
79 file_name.o \
80 form_gz.o \
81 gz.o \
82 menu_gz.o \
83 message_gz.o \
84 palette_gz.o \
85 popup_gz.o \
86 textedit_gz.o \
87 valuator_gz.o
88
89
90 all : depend libgz.a
91
92 libgz.a : $(OBJS)
93 $(RM) libgz.a
94 ar cq libgz.a $(OBJS)
95
96 choice_gz.o: $(SRC)/opi/gizmo/t_choice_gz.c
97 $(RM) choice_gz.o
98 $(CC) -c $(CFLAGS) $(INCLUDES) \
99 -o choice_gz.o $(SRC)/opi/gizmo/t_choice_gz.c
100
101 dialog.o: $(SRC)/opi/gizmo/t_dialog.c
102 $(RM) dialog.o
103 $(CC) -c $(CFLAGS) $(INCLUDES) \
104 -o dialog.o $(SRC)/opi/gizmo/t_dialog.c
105
106 file_name.o: $(SRC)/opi/gizmo/t_file_name.c
107 $(RM) file_name.o
108 $(CC) -c $(CFLAGS) $(INCLUDES) \
109 -o file_name.o $(SRC)/opi/gizmo/t_file_name.c
110
111 form_gz.o: $(SRC)/opi/gizmo/t_form_gz.c
112 $(RM) form_gz.o
113 $(CC) -c $(CFLAGS) $(INCLUDES) \
114 -o form_gz.o $(SRC)/opi/gizmo/t_form_gz.c
115
116 gz.o: $(SRC)/opi/gizmo/t_gz.c
117 $(RM) gz.o
118 $(CC) -c $(CFLAGS) $(INCLUDES) -I$(EXTRA_INCLUDES) \
119 -o gz.o $(SRC)/opi/gizmo/t_gz.c
120
121 menu_gz.o: $(SRC)/opi/gizmo/t_menu_gz.c
122 $(RM) menu_gz.o
123 $(CC) -c $(CFLAGS) $(INCLUDES) \
124 -o menu_gz.o $(SRC)/opi/gizmo/t_menu_gz.c
125
126 message_gz.o: $(SRC)/opi/gizmo/t_message_gz.c
127 $(RM) message_gz.o
128 $(CC) -c $(CFLAGS) $(INCLUDES) \
129 -o message_gz.o $(SRC)/opi/gizmo/t_message_gz.c
130
131 palette_gz.o: $(SRC)/opi/gizmo/t_palette_gz.c
132 $(RM) palette_gz.o
133 $(CC) -c $(CFLAGS) $(INCLUDES) \
134 -o palette_gz.o $(SRC)/opi/gizmo/t_palette_gz.c
135
136 popup_gz.o: $(SRC)/opi/gizmo/t_popup_gz.c
137 $(RM) popup_gz.o
138 $(CC) -c $(CFLAGS) $(INCLUDES) \
139 -o popup_gz.o $(SRC)/opi/gizmo/t_popup_gz.c
140
141 textedit_gz.o: $(SRC)/opi/gizmo/t_textedit_gz.c
142 $(RM) textedit_gz.o
143 $(CC) -c $(CFLAGS) $(INCLUDES) -I$(EXTRA_INCLUDES) \
144 -o textedit_gz.o $(SRC)/opi/gizmo/t_textedit_gz.c
145
146 valuator_gz.o: $(SRC)/opi/gizmo/t_valuator_gz.c
147 $(RM) valuator_gz.o
148 $(CC) -c $(CFLAGS) $(INCLUDES) \
149 -o valuator_gz.o $(SRC)/opi/gizmo/t_valuator_gz.c
150
151 install : libgz.a
152
153 clean :
154 $(RM) $(OBJS)
155 $(RM) libgz.a
156 $(RM) Makefile.depend
157
158 depend: Makefile.depend
159
160 Makefile.depend: $(SRCS)
161 $(RM) Makefile.depend
162 $(CC) -M $(ALLDEFINES) $(SRCS) > Makefile.depend
163
164 include Makefile.depend
165

  ViewVC Help
Powered by ViewVC 1.1.28