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

Contents of /sun2.4/operator/Makefile

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


Revision 1.4 - (show annotations)
Thu Mar 9 19:23:35 2000 UTC (23 years, 8 months ago) by tis4000
Branch: MAIN
CVS Tags: Duluth_baseline, LMC_baseline
Changes since 1.3: +8 -7 lines
Operator name on graphics. - Irani

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 ###############################################################################
38 # @(#)Makefile.S$(CPLUS)S 1.1 5/24/91
39 # Makefile for Gina++ demo applications
40 ###############################################################################
41
42 TOP = ../../..
43 SHAREPATH = $(TOP)/share
44 SRCROOT = $(TOP)/share/src
45 SRC = $(SRCROOT)/operator
46
47 RM = rm -f
48
49 CPLUS = g++ -I/usr/local/lib/gcc-lib/sparc-sun-solaris2.4/2.6.3/include -I/usr/include -DSOLARIS -DUSE_PROTOTYPES
50 CC = gcc -I/usr/local/lib/gcc-lib/sparc-sun-solaris2.4/2.6.3/include -I/usr/include -DSOLARIS -DUSE_PROTOTYPES
51 CFLAGS = -c -g -Wunused -DCONTRACTS -DUNIX -DATT -DMOTIF2 -D__EXTENSIONS__
52 CPPFLAGS = -c -g -DCONTRACTS -DUNIX -DATT -DMOTIF2 -D__EXTENSIONS__
53 LDFLAGS =
54 # -g
55
56 # Gina include files
57 GINA_HOME = /tools/GINA1.7.2
58 OWNDIR = -I$(GINA_HOME)/bitmaps -I$(GINA_HOME)/include
59
60 X11HOME =
61 MOTIF_HOME =
62
63 #include files for compilation in the yp domain F3SERVER
64 MOTIFDIR =
65 X11INCDIR =
66 MOTIFLIBDIR =
67 X11LIBDIR =
68 XMMOTIFLIBDIR =
69
70 CCINCLUDES = -I$(SRC) -I$(SHAREPATH)/epicsH
71 INCLUDES = $(CCINCLUDES) $(OWNDIR) $(X11INCDIR) $(MOTIFDIR)
72
73 # no need to include other than tis stuff
74 ALLDEFINES = $(CCINCLUDES) -I$(GINA_HOME)/include -DSOLARIS
75
76 GINALIB_DIR = $(GINA_HOME)/lib
77 GINALIB_NAME = -L$(GINALIB_DIR) -lGINA
78
79 #libs for compilation in the yp domain F3SERVER
80 WINDOW_LIBS = -lXm -lXt -lX11
81 LIBTIS = ../bin/libtis.a
82 LIBTLM = ../bin/libtlm.a
83 LIBMSG = ../bin/tisMsgLib.a
84 LIBCA = ../bin/libca.a
85 TISLIBS = $(LIBTIS) $(LIBTLM) $(LIBMSG) $(LIBCA)
86 LIBS = $(MALLOC) $(GINALIB_NAME) $(WINDOW_LIBS) -lm -lsocket -lnsl -lgen -lg++
87
88 SRCS = \
89 $(SRC)/autoLogoutWarning.c \
90 $(SRC)/loginShell.C \
91 $(SRC)/loginDiag.C \
92 $(SRC)/logutils.c \
93 $(SRC)/tisCard.c \
94 $(SRC)/tisLogin.C \
95 $(SRC)/tisLogout.c \
96 $(SRC)/tisLogoutAll.c \
97 $(SRC)/utilDialogs.C
98
99 LOGIN_OBJS = \
100 tisLogin.o \
101 loginShell.o \
102 loginDiag.o \
103 utilDialogs.o \
104 logutils.o
105
106 LOGOUT_OBJS = \
107 tisLogout.o \
108 logutils.o
109
110 LOGOUTALL_OBJS = \
111 tisLogoutAll.o \
112 logutils.o
113
114 TISCARD_OBJS = \
115 tisCard.o \
116 logutils.o
117
118 OBJS = \
119 autoLogoutWarning.o \
120 loginShell.o \
121 loginDiag.o \
122 logutils.o \
123 tisCard.o \
124 tisLogin.o \
125 tisLogout.o \
126 tisLogoutAll.o \
127 utilDialogs.o
128
129 all: depend tisLogin tisLogout tisLogoutAll tisCard autoLogoutWarning
130
131 ########## TARGETS ##################################################################
132
133 tisLogin : $(LOGIN_OBJS) $(LIBTIS) $(LIBTLM)
134 $(RM) tisLogin
135 $(CPLUS) $(LDFLAGS) -o tisLogin $(LOGIN_OBJS) \
136 $(LIBS) $(TISLIBS)
137
138 tisLogout : $(LOGOUT_OBJS) $(TISLIBS)
139 $(RM) tisLogout
140 $(CC) $(LDFLAGS) -o tisLogout $(LOGOUT_OBJS) $(TISLIBS) -lm -lsocket -lnsl
141
142 tisLogoutAll : $(LOGOUTALL_OBJS) $(TISLIBS)
143 $(RM) tisLogoutAll
144 $(CC) $(LDFLAGS) -o tisLogoutAll $(LOGOUTALL_OBJS) $(TISLIBS) -lm -lsocket -lnsl
145
146 tisCard : $(TISCARD_OBJS) $(TISLIBS)
147 $(RM) tisCard
148 $(CC) $(LDFLAGS) -o tisCard $(TISCARD_OBJS) $(TISLIBS) -lm -lsocket -lnsl
149
150 autoLogoutWarning : autoLogoutWarning.o $(LIBTIS) $(LIBTLM)
151 $(RM) autoLogoutWarning
152 $(CC) $(LDFLAGS) -o autoLogoutWarning autoLogoutWarning.o $(LIBS) $(LIBTIS) $(LIBTLM)
153
154 ########## OBJECTS ########################################################################
155
156 loginShell.o : $(SRC)/loginShell.C
157 $(RM) loginShell.o
158 $(CPLUS) -o loginShell.o $(CPPFLAGS) $(INCLUDES) $(SRC)/loginShell.C
159
160 loginDiag.o : $(SRC)/loginDiag.C
161 $(RM) loginDiag.o
162 $(CPLUS) -o loginDiag.o $(CPPFLAGS) $(INCLUDES) $(SRC)/loginDiag.C
163
164 tisCard.o : $(SRC)/tisCard.c
165 $(RM) tisCard.o
166 $(CC) $(CPPFLAGS) $(INCLUDES) $(SRC)/tisCard.c -c
167
168 tisLogin.o : $(SRC)/tisLogin.C
169 $(RM) tisLogin.o
170 $(CPLUS) -o tisLogin.o $(CPPFLAGS) $(INCLUDES) $(SRC)/tisLogin.C
171
172 tisLogout.o : $(SRC)/tisLogout.c
173 $(RM) tisLogout.o
174 $(CC) $(CPPFLAGS) $(INCLUDES) $(SRC)/tisLogout.c -c
175
176 tisLogoutAll.o : $(SRC)/tisLogoutAll.c
177 $(RM) tisLogoutAll.o
178 $(CC) $(CPPFLAGS) $(INCLUDES) $(SRC)/tisLogoutAll.c -c
179
180 utilDialogs.o : $(SRC)/utilDialogs.C
181 $(RM) utildialogs.o
182 $(CPLUS) $(CPPFLAGS) $(INCLUDES) $(SRC)/utilDialogs.C -c
183
184 logutils.o : $(SRC)/logutils.c $(SRC)/logutils.h
185 $(RM) logutils.o
186 $(CC) $(CPPFLAGS) $(INCLUDES) $(SRC)/logutils.c -c
187
188 autoLogoutWarning.o : $(SRC)/autoLogoutWarning.c
189 $(RM) autoLogoutWarning.o
190 $(CC) -o autoLogoutWarning.o $(CPPFLAGS) $(INCLUDES) $(SRC)/autoLogoutWarning.c
191
192 #####################################################################################
193
194 install::
195 cp -p tisLogin ../bin
196 cp -p tisLogout ../bin
197 cp -p tisCard ../bin
198 cp -p tisLogoutAll ../bin
199 cp -p autoLogoutWarning ../bin
200 clean:
201 $(RM) $(OBJS)
202 $(RM) tisLogin
203 $(RM) tisLogout
204 $(RM) tisCard
205 $(RM) tisLogoutAll
206 $(RM) autoLogoutWarning
207 $(RM) Makefile.depend
208
209 depend: Makefile.depend
210
211 Makefile.depend: $(SRCS) Makefile
212 $(RM) Makefile.depend
213 $(CC) -M $(ALLDEFINES) $(SRCS) > Makefile.depend
214
215 include Makefile.depend
216

  ViewVC Help
Powered by ViewVC 1.1.30