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

Contents of /sun2.4/CalISO/Makefile

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


Revision 1.5 - (show annotations)
Thu Mar 9 17:10:45 2000 UTC (23 years, 8 months ago) by tis4000
Branch: MAIN
CVS Tags: LMC_baseline, Duluth_baseline, HEAD
Changes since 1.4: +2 -1 lines
Added net time program and gpc program. - Bekkerman

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 LIB = /usr/lib
38 TISINC = ../../../share/epicsH
39 CODEBASEPATH = /tools/codebase63/source
40
41 SSL_SDK=/tools/SSLeay/SSLeay-0.9.0b
42 SSL_LIB=$(SSL_SDK)
43 SSL_INCLUDE=$(SSL_SDK)/include
44
45 LYNKSEES_SDK=/tools/SPYRUS/sdk
46 LYNKSEES_LIB=$(LYNKSEES_SDK)/lib
47 LYNKSEES_INCLUDE=$(LYNKSEES_SDK)/include
48
49 SRCPATH=../../../share/src/CalISO
50
51 INCLUDES=-I$(SRCPATH) -I$(CODEBASEPATH) -I$(TISINC) -I$(LYNKSEES_INCLUDE) -I$(SSL_INCLUDE) -I.
52
53 LIBS=-L$(LYNKSEES_LIB) -llynksees ../bin/tisMsgLib.a -L$(SSL_LIB) -lssl -lcrypto -lsocket -lnsl -lm
54
55 all : buildVersion.h libCalISO.a genIOCNames secureTelnet auditReport netTimeClient lynks_rsa_srv PINInstall netTime tisTime
56
57 ALLDEFINES = $(INCLUDES) -I$(SSL_INCLUDE) -DSOLARIS -DPRIV_AUDIT -DUSECB63
58 ALLDEFS = $(INCLUDES) -DSOLARIS -DUSECB63
59
60 LIBCASRCS = \
61 $(SRCPATH)/auditSystem.c \
62 $(SRCPATH)/hostPriv.c \
63 $(SRCPATH)/sslShared.c \
64 $(SRCPATH)/lynks_rsa_cli.c \
65 $(SRCPATH)/cix_local.c \
66 $(SRCPATH)/pic_hexdump.c
67
68 OTHERSRCS = \
69 $(SRCPATH)/genIOCNames.c \
70 $(SRCPATH)/auditReport.c \
71 $(SRCPATH)/secureTelnet.c \
72 $(SRCPATH)/secureTelnetd.c \
73 $(SRCPATH)/netTimeClient.c \
74 $(SRCPATH)/tisTime.c \
75 $(SRCPATH)/lynks_rsa_srv.c \
76 $(SRCPATH)/lynks_rsa_cli.c \
77 $(SRCPATH)/PINInstall.c \
78
79 install : libCalISO.a genIOCNames secureTelnet auditReport \
80 netTimeClient netTime tisTime lynks_rsa_srv PINInstall
81 cp -p libCalISO.a ../bin
82 cp -p genIOCNames ../bin
83 cp -p secureTelnet ../bin
84 cp -p auditReport ../bin
85 cp -p netTimeClient ../bin
86 cp -p netTime ../bin
87 cp -p tisTime ../bin
88 cp -p lynks_rsa_srv ../bin
89 cp -p PINInstall ../bin
90
91 libCalISO.a: auditSystem.o hostPriv.o sslShared.o \
92 lynks_rsa_cli.o cix_local.o pic_hexdump.o
93 rm -f libCalISO.a
94 ar crv libCalISO.a auditSystem.o hostPriv.o sslShared.o pic_hexdump.o lynks_rsa_cli.o cix_local.o
95
96 auditSystem.o : $(SRCPATH)/auditSystem.c
97 gcc -g -c -o auditSystem.o $(ALLDEFINES)\
98 $(SRCPATH)/auditSystem.c
99
100 hostPriv.o : $(SRCPATH)/hostPriv.c
101 gcc -g -c -o hostPriv.o $(ALLDEFINES) $(SRCPATH)/hostPriv.c
102
103 genIOCNames : genIOCNames.o
104 rm -f genIOCNames
105 gcc -o genIOCNames genIOCNames.o \
106 $(CODEBASEPATH)/libcb.a -lnsl -lm
107
108 genIOCNames.o : buildVersion.h $(SRCPATH)/genIOCNames.c
109 gcc -g -c -o genIOCNames.o $(ALLDEFINES) $(SRCPATH)/genIOCNames.c
110
111 sslShared.o : $(SRCPATH)/sslShared.c
112 gcc -g -c -o sslShared.o $(ALLDEFINES) -DCIX_REMOTE_CLIENT -DUSE_LYNKS_CARD \
113 $(SRCPATH)/sslShared.c
114
115 auditReport : auditReport.o libCalISO.a
116 rm -f auditReport
117 gcc -o auditReport auditReport.o libCalISO.a
118
119 auditReport.o : $(SRCPATH)/auditReport.c
120 gcc -g -c -o auditReport.o $(ALLDEFINES) \
121 $(SRCPATH)/auditReport.c
122
123 secureTelnet : secureTelnet.o libCalISO.a
124 rm -f secureTelnet
125 gcc -o secureTelnet secureTelnet.o libCalISO.a \
126 -L ../bin $(CODEBASEPATH)/libcb.a \
127 $(LIBS)
128
129 secureTelnetd : secureTelnetd.o sslShared.o
130 rm -f secureTelnetd
131 gcc -o secureTelnetd secureTelnetd.o sslShared.o \
132 -L ../bin $(CODEBASEPATH)/libcb.a \
133 $(LIBS)
134
135 secureTelnet.o : $(SRCPATH)/secureTelnet.c
136 gcc -g -c -o secureTelnet.o $(ALLDEFINES) \
137 $(SRCPATH)/secureTelnet.c
138
139 secureTelnetd.o : buildVersion.h $(SRCPATH)/secureTelnetd.c
140 gcc -g -c -o secureTelnetd.o $(ALLDEFINES) \
141 $(SRCPATH)/secureTelnetd.c
142
143 netTimeClient : netTimeClient.o libCalISO.a
144 rm -f netTimeClient
145 gcc -o netTimeClient netTimeClient.o \
146 libCalISO.a -L ../bin $(CODEBASEPATH)/libcb.a ../bin/tisMsgLib.a \
147 $(LIBS)
148
149 netTimeClient.o : buildVersion.h $(SRCPATH)/netTimeClient.c
150 gcc -g -c -o netTimeClient.o $(ALLDEFINES) \
151 $(SRCPATH)/netTimeClient.c
152
153 netTime : netTime.o libCalISO.a
154 rm -f netTime
155 gcc -o netTime netTime.o \
156 libCalISO.a -L ../bin $(CODEBASEPATH)/libcb.a ../bin/tisMsgLib.a \
157 $(LIBS)
158
159 netTime.o : buildVersion.h $(SRCPATH)/tisTime.c
160 gcc -g -c -o netTime.o $(ALLDEFINES) \
161 $(SRCPATH)/tisTime.c
162
163 tisTime : tisTime.o libCalISO.a
164 rm -f tisTime
165 gcc -o tisTime tisTime.o \
166 libCalISO.a -L ../bin $(CODEBASEPATH)/libcb.a ../bin/tisMsgLib.a \
167 $(LIBS)
168
169 tisTime.o : buildVersion.h $(SRCPATH)/tisTime.c
170 gcc -g -c -o tisTime.o $(ALLDEFS) \
171 $(SRCPATH)/tisTime.c
172
173 cix_local.o : $(SRCPATH)/cix_local.c \
174 $(SRCPATH)/lynks_rsa.h
175 gcc -g -c -o cix_local.o -DUSE_LYNKS_CARD -DCIX_REMOTE_CLIENT \
176 $(ALLDEFINES) \
177 $(SRCPATH)/cix_local.c
178
179 lynks_rsa_cli.o : $(SRCPATH)/lynks_rsa_cli.c \
180 $(SRCPATH)/lynks_rsa.h
181 gcc -g -c -o lynks_rsa_cli.o -DUSE_LYNKS_CARD -DCIX_REMOTE_CLIENT \
182 $(ALLDEFINES) \
183 $(SRCPATH)/lynks_rsa_cli.c
184
185 lynks_rsa_srv : lynks_rsa_srv.o libCalISO.a
186 rm -f lynks_rsa_srv
187 gcc -o lynks_rsa_srv lynks_rsa_srv.o \
188 libCalISO.a -L ../bin $(CODEBASEPATH)/libcb.a ../bin/tisMsgLib.a \
189 $(LIBS)
190
191 lynks_rsa_srv.o : $(SRCPATH)/lynks_rsa_srv.c \
192 $(SRCPATH)/lynks_rsa.h
193 gcc -g -c -o lynks_rsa_srv.o -DUSE_LYNKS_CARD -DCIX_REMOTE_CLIENT \
194 $(ALLDEFINES) \
195 $(SRCPATH)/lynks_rsa_srv.c
196
197 pic_hexdump.o : $(SRCPATH)/pic_hexdump.c \
198 $(SRCPATH)/lynks_rsa.h
199 gcc -g -c -o pic_hexdump.o -DUSE_LYNKS_CARD -DCIX_REMOTE_CLIENT \
200 $(ALLDEFINES) \
201 $(SRCPATH)/pic_hexdump.c
202
203 PINInstall : PINInstall.o
204 rm -f PINInstallD
205 gcc -o PINInstall PINInstall.o \
206 libCalISO.a -L ../bin $(CODEBASEPATH)/libcb.a \
207 $(LIBS)
208
209 PINInstall.o : buildVersion.h $(SRCPATH)/PINInstall.c \
210 ../../../share/epicsH/sslShared.h \
211 ../../../share/epicsH/iocPriv.h \
212 ../../../share/epicsH/auditSystem.h
213 gcc -g -c -o PINInstall.o $(ALLDEFINES) \
214 $(SRCPATH)/PINInstall.c
215
216 clean::
217 $(RM) *.a
218 $(RM) *.o
219 $(RM) genIOCNames secureTelnet auditReport \
220 netTimeClient lynks_rsa_srv \
221 securePINInstall PINInstall \
222 netTime tisTime
223 $(RM) Makefile.depend
224 $(RM) buildVersion.h
225
226 depend: Makefile.depend
227
228 Makefile.depend: buildVersion.h $(LIBCAISOSRCS) $(OTHERSRCS) Makefile
229 $(RM) Makefile.depend
230 $(CC) -M $(ALLDEFINES) $(SRCS) > Makefile.depend
231
232 include Makefile.depend
233
234 buildVersion.h : $(LIBCAISOSRCS) $(OTHERSRCS) Makefile
235 $(RM) buildVersion.h
236 pwd > work0.tmp
237 sed -f ../bin/vrsscript.sed work0.tmp > xxx.txt
238 ../bin/getverdefs.sh xxx.txt > buildVersion.h
239 date '+#define BUILDDATE "%m/%d/%Y"' >> buildVersion.h
240 $(RM) xxx.txt work0.tmp

  ViewVC Help
Powered by ViewVC 1.1.30