/[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.3 - (show annotations)
Thu Aug 26 21:10:50 1999 UTC (23 years, 3 months ago) by tis4000
Branch: MAIN
CVS Tags: t55baseline
Changes since 1.2: +1 -1 lines
made Makefile.depend dependant on Makefile

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 TISLIBS = $(LIBTIS) $(LIBTLM) $(LIBMSG)
85 LIBS = $(MALLOC) $(GINALIB_NAME) $(WINDOW_LIBS) -lm -lsocket -lnsl -lgen -lg++
86
87 SRCS = \
88 $(SRC)/autoLogoutWarning.c \
89 $(SRC)/loginShell.C \
90 $(SRC)/loginDiag.C \
91 $(SRC)/logutils.c \
92 $(SRC)/tisCard.c \
93 $(SRC)/tisLogin.C \
94 $(SRC)/tisLogout.c \
95 $(SRC)/tisLogoutAll.c \
96 $(SRC)/utilDialogs.C
97
98 LOGIN_OBJS = \
99 tisLogin.o \
100 loginShell.o \
101 loginDiag.o \
102 utilDialogs.o \
103 logutils.o
104
105 LOGOUT_OBJS = \
106 tisLogout.o \
107 logutils.o
108
109 LOGOUTALL_OBJS = \
110 tisLogoutAll.o \
111 logutils.o
112
113 TISCARD_OBJS = \
114 tisCard.o \
115 logutils.o
116
117 OBJS = \
118 autoLogoutWarning.o \
119 loginShell.o \
120 loginDiag.o \
121 logutils.o \
122 tisCard.o \
123 tisLogin.o \
124 tisLogout.o \
125 tisLogoutAll.o \
126 utilDialogs.o
127
128 all: depend tisLogin tisLogout tisLogoutAll tisCard autoLogoutWarning
129
130 ########## TARGETS ##################################################################
131
132 tisLogin : $(LOGIN_OBJS) $(LIBTIS) $(LIBTLM)
133 $(RM) tisLogin
134 $(CPLUS) $(LDFLAGS) -o tisLogin $(LOGIN_OBJS) \
135 $(LIBS) $(TISLIBS)
136
137 tisLogout : $(LOGOUT_OBJS)
138 $(RM) tisLogout
139 $(CC) $(LDFLAGS) -o tisLogout $(LOGOUT_OBJS) $(LIBMSG) -lm -lsocket -lnsl
140
141 tisLogoutAll : $(LOGOUTALL_OBJS)
142 $(RM) tisLogoutAll
143 $(CC) $(LDFLAGS) -o tisLogoutAll $(LOGOUTALL_OBJS) $(LIBMSG) -lm -lsocket -lnsl
144
145 tisCard : $(TISCARD_OBJS)
146 $(RM) tisCard
147 $(CC) $(LDFLAGS) -o tisCard $(TISCARD_OBJS) $(TISLIBS) -lm -lsocket -lnsl
148
149 autoLogoutWarning : autoLogoutWarning.o
150 $(RM) autoLogoutWarning
151 $(CC) $(LDFLAGS) -o autoLogoutWarning autoLogoutWarning.o $(LIBS) $(LIBTIS) $(LIBTLM)
152
153 ########## OBJECTS ########################################################################
154
155 loginShell.o : $(SRC)/loginShell.C
156 $(RM) loginShell.o
157 $(CPLUS) -o loginShell.o $(CPPFLAGS) $(INCLUDES) $(SRC)/loginShell.C
158
159 loginDiag.o : $(SRC)/loginDiag.C
160 $(RM) loginDiag.o
161 $(CPLUS) -o loginDiag.o $(CPPFLAGS) $(INCLUDES) $(SRC)/loginDiag.C
162
163 tisCard.o : $(SRC)/tisCard.c
164 $(RM) tisCard.o
165 $(CC) $(CPPFLAGS) $(INCLUDES) $(SRC)/tisCard.c -c
166
167 tisLogin.o : $(SRC)/tisLogin.C
168 $(RM) tisLogin.o
169 $(CPLUS) -o tisLogin.o $(CPPFLAGS) $(INCLUDES) $(SRC)/tisLogin.C
170
171 tisLogout.o : $(SRC)/tisLogout.c
172 $(RM) tisLogout.o
173 $(CC) $(CPPFLAGS) $(INCLUDES) $(SRC)/tisLogout.c -c
174
175 tisLogoutAll.o : $(SRC)/tisLogoutAll.c
176 $(RM) tisLogoutAll.o
177 $(CC) $(CPPFLAGS) $(INCLUDES) $(SRC)/tisLogoutAll.c -c
178
179 utilDialogs.o : $(SRC)/utilDialogs.C
180 $(RM) utildialogs.o
181 $(CPLUS) $(CPPFLAGS) $(INCLUDES) $(SRC)/utilDialogs.C -c
182
183 logutils.o : $(SRC)/logutils.c $(SRC)/logutils.h
184 $(RM) logutils.o
185 $(CC) $(CPPFLAGS) $(INCLUDES) $(SRC)/logutils.c -c
186
187 autoLogoutWarning.o : $(SRC)/autoLogoutWarning.c
188 $(RM) autoLogoutWarning.o
189 $(CC) -o autoLogoutWarning.o $(CPPFLAGS) $(INCLUDES) $(SRC)/autoLogoutWarning.c
190
191 #####################################################################################
192
193 install::
194 cp -p tisLogin ../bin
195 cp -p tisLogout ../bin
196 cp -p tisCard ../bin
197 cp -p tisLogoutAll ../bin
198 cp -p autoLogoutWarning ../bin
199 clean:
200 $(RM) $(OBJS)
201 $(RM) tisLogin
202 $(RM) tisLogout
203 $(RM) tisCard
204 $(RM) tisLogoutAll
205 $(RM) autoLogoutWarning
206 $(RM) Makefile.depend
207
208 depend: Makefile.depend
209
210 Makefile.depend: $(SRCS) Makefile
211 $(RM) Makefile.depend
212 $(CC) -M $(ALLDEFINES) $(SRCS) > Makefile.depend
213
214 include Makefile.depend
215

  ViewVC Help
Powered by ViewVC 1.1.28