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

Contents of /sun2.4/tisPermissions/Makefile

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


Revision 1.6 - (show annotations)
Mon Nov 8 13:38:11 1999 UTC (23 years, 4 months ago) by tis4000
Branch: MAIN
CVS Tags: SPR384
Changes since 1.5: +83 -1 lines
SPR 384
Fixed to generate a secure tisPermissions. - Steel

1 CC = CC -g -DUNIX -DSOLARIS -DUSECB63
2
3 RM = rm -f
4
5 TOP = ../../..
6 SHAREPATH = $(TOP)/share
7 SRCPATH = $(SHAREPATH)/src
8 SRC = $(SRCPATH)/tisPermissions
9
10 CODEBASEPATH = /tools/codebase63/source
11
12 INCLUDES = \
13 -I$(SRC) \
14 -I$(GALAXYHOME)/include \
15 -I$(SHAREPATH)/epicsH \
16 -I$(SRCPATH)/tisgalaxylib \
17 -I/usr/openwin/include \
18 -I/usr/include \
19 -I$(CODEBASEPATH)
20
21 ALLDEFINES = $(INCLUDES) -DSOLARIS -DUSECB63
22
23 LIBS = \
24 $(CODEBASEPATH)/libcb.a \
25 ../bin/libCom.a \
26 ../bin/libtis.a \
27 ../bin/tisgalaxylib.a \
28 ../bin/tisMsgLib.a
29
30 SRCS = \
31 $(SRC)/tisperm.cxx \
32 $(SRC)/tisPermAccess.cxx \
33 $(SRC)/tisPermApp.cxx \
34 $(SRC)/tisPermDatabase.cxx \
35 $(SRC)/tisPermFldPerms.cxx \
36 $(SRC)/tisPermGroup.cxx \
37 $(SRC)/tisPermGrpMaint.cxx \
38 $(SRC)/tisPermMain.cxx \
39 $(SRC)/tisPermOptions.cxx \
40 $(SRC)/tisPermProtGrp.cxx \
41 $(SRC)/tisPermPrtGrpMaint.cxx \
42 $(SRC)/tisPermUser.cxx \
43 $(SRC)/tisPermUtils.cxx
44
45 OBJS = \
46 tisperm.o \
47 tisPermAccess.o \
48 tisPermApp.o \
49 tisPermDatabase.o \
50 tisPermFldPerms.o \
51 tisPermGroup.o \
52 tisPermGrpMaint.o \
53 tisPermMain.o \
54 tisPermOptions.o \
55 tisPermProtGrp.o \
56 tisPermPrtGrpMaint.o \
57 tisPermUser.o \
58 tisPermUtils.o
59
60 SECOBJS = \
61 sectisperm.o \
62 secTisPermAccess.o \
63 secTisPermApp.o \
64 secTisPermDatabase.o \
65 secTisPermFldPerms.o \
66 secTisPermGroup.o \
67 secTisPermGrpMaint.o \
68 secTisPermMain.o \
69 secTisPermOptions.o \
70 secTisPermProtGrp.o \
71 secTisPermPrtGrpMaint.o \
72 secTisPermUser.o \
73 secTisPermUtils.o
74
75 all: depend tisPermissions tisPermissions.vr secTisPermissions secTisPermissions.vr
76
77 tisPermissions: $(OBJS) $(LIBS)
78 $(RM) tisPermissions
79 $(CC) -o tisPermissions $(OBJS) \
80 -L$(GALAXYHOME)/lib -L/usr/openwin/lib $(LIBS) \
81 -lvgalaxy++-debug -lXext -lX11 -lm
82
83 secTisPermissions: $(SECOBJS) $(LIBS)
84 $(RM) isecTisPermissions
85 $(CC) -o secTisPermissions $(SECOBJS) \
86 -L$(GALAXYHOME)/lib -L/usr/openwin/lib $(LIBS) \
87 -lvgalaxy++-debug -lXext -lX11 -lm
88
89 tisPermissions.vr: $(SRC)/tisPermissions.vrx
90 $(RM) tisPermissions.vr
91 vrx2vr -force $(SRC)/tisPermissions.vrx
92
93 secTisPermissions.vr: $(SRC)/secTisPermissions.vrx
94 $(RM) secTisPermissions.vr
95 vrx2vr -force $(SRC)/secTisPermissions.vrx
96
97 tisperm.o: $(SRC)/tisperm.cxx $(SRC)/tisperm.h
98 $(RM) tisperm.o
99 $(CC) -c $(INCLUDES) $(SRC)/tisperm.cxx
100
101 tisPermAccess.o: $(SRC)/tisPermAccess.cxx
102 $(RM) tisPermAccess.o
103 $(CC) -c $(INCLUDES) $(SRC)/tisPermAccess.cxx
104
105 tisPermApp.o: $(SRC)/tisPermApp.cxx
106 $(RM) tisPermApp.o
107 $(CC) -c $(INCLUDES) $(SRC)/tisPermApp.cxx
108
109 tisPermDatabase.o: $(SRC)/tisPermDatabase.cxx
110 $(RM) tisPermDatabase.o
111 $(CC) -c $(INCLUDES) $(SRC)/tisPermDatabase.cxx
112
113 tisPermFldPerms.o: $(SRC)/tisPermFldPerms.cxx
114 $(RM) tisPermFldPerms.o
115 $(CC) -c $(INCLUDES) $(SRC)/tisPermFldPerms.cxx
116
117 tisPermGroup.o: $(SRC)/tisPermGroup.cxx
118 $(RM) tisPermGroup.o
119 $(CC) -c $(INCLUDES) $(SRC)/tisPermGroup.cxx
120
121 tisPermGrpMaint.o: $(SRC)/tisPermGrpMaint.cxx
122 $(RM) tisPermGrpMaint.o
123 $(CC) -c $(INCLUDES) $(SRC)/tisPermGrpMaint.cxx
124
125 tisPermMain.o: $(SRC)/tisPermMain.cxx
126 $(RM) tisPermMain.o
127 $(CC) -c $(INCLUDES) $(SRC)/tisPermMain.cxx
128
129 tisPermOptions.o: $(SRC)/tisPermOptions.cxx
130 $(RM) tisPermOptions.o
131 $(CC) -c $(INCLUDES) $(SRC)/tisPermOptions.cxx
132
133 tisPermProtGrp.o: $(SRC)/tisPermProtGrp.cxx
134 $(RM) tisPermProtGrp.o
135 $(CC) -c $(INCLUDES) $(SRC)/tisPermProtGrp.cxx
136
137 tisPermPrtGrpMaint.o: $(SRC)/tisPermPrtGrpMaint.cxx
138 $(RM) tisPermPrtGrpMaint.o
139 $(CC) -c $(INCLUDES) $(SRC)/tisPermPrtGrpMaint.cxx
140
141 tisPermUser.o: $(SRC)/tisPermUser.cxx
142 $(RM) tisPermUser.o
143 $(CC) -c $(INCLUDES) $(SRC)/tisPermUser.cxx
144
145 tisPermUtils.o: $(SRC)/tisPermUtils.cxx
146 $(RM) tisPermUtils.o
147 $(CC) -c $(INCLUDES) $(SRC)/tisPermUtils.cxx
148
149 sectisperm.o: $(SRC)/sectisperm.cxx $(SRC)/sectisperm.h
150 $(RM) sectisperm.o
151 $(CC) -c -o sectisperm.o $(INCLUDES) -DPRIV_AUDIT $(SRC)/sectisperm.cxx
152
153 secTisPermAccess.o: $(SRC)/tisPermAccess.cxx
154 $(RM) secTisPermAccess.o
155 $(CC) -c -o secTisPermAccess.o $(INCLUDES) -DPRIV_AUDIT $(SRC)/tisPermAccess.cxx
156
157 secTisPermApp.o: $(SRC)/tisPermApp.cxx
158 $(RM) secTisPermApp.o
159 $(CC) -c -o secTisPermApp.o $(INCLUDES) -DPRIV_AUDIT $(SRC)/tisPermApp.cxx
160
161 secTisPermDatabase.o: $(SRC)/tisPermDatabase.cxx
162 $(RM) secTisPermDatabase.o
163 $(CC) -c -o secTisPermDatabase.o $(INCLUDES) -DPRIV_AUDIT $(SRC)/tisPermDatabase.cxx
164
165 secTisPermFldPerms.o: $(SRC)/tisPermFldPerms.cxx
166 $(RM) secTisPermFldPerms.o
167 $(CC) -c -o secTisPermFldPerms.o $(INCLUDES) -DPRIV_AUDIT $(SRC)/tisPermFldPerms.cxx
168
169 secTisPermGroup.o: $(SRC)/tisPermGroup.cxx
170 $(RM) secTisPermGroup.o
171 $(CC) -c -o secTisPermGroup.o $(INCLUDES) -DPRIV_AUDIT $(SRC)/tisPermGroup.cxx
172
173 secTisPermGrpMaint.o: $(SRC)/tisPermGrpMaint.cxx
174 $(RM) secTisPermGrpMaint.o
175 $(CC) -c -o secTisPermGrpMaint.o $(INCLUDES) -DPRIV_AUDIT $(SRC)/tisPermGrpMaint.cxx
176
177 secTisPermMain.o: $(SRC)/tisPermMain.cxx
178 $(RM) secTisPermMain.o
179 $(CC) -c -o secTisPermMain.o $(INCLUDES) -DPRIV_AUDIT $(SRC)/tisPermMain.cxx
180
181 secTisPermOptions.o: $(SRC)/tisPermOptions.cxx
182 $(RM) secTisPermOptions.o
183 $(CC) -c -o secTisPermOptions.o $(INCLUDES) -DPRIV_AUDIT $(SRC)/tisPermOptions.cxx
184
185 secTisPermProtGrp.o: $(SRC)/tisPermProtGrp.cxx
186 $(RM) secTisPermProtGrp.o
187 $(CC) -c -o secTisPermProtGrp.o $(INCLUDES) -DPRIV_AUDIT $(SRC)/tisPermProtGrp.cxx
188
189 secTisPermPrtGrpMaint.o: $(SRC)/tisPermPrtGrpMaint.cxx
190 $(RM) secTisPermPrtGrpMaint.o
191 $(CC) -c -o secTisPermPrtGrpMaint.o $(INCLUDES) -DPRIV_AUDIT $(SRC)/tisPermPrtGrpMaint.cxx
192
193 secTisPermUser.o: $(SRC)/tisPermUser.cxx
194 $(RM) secTisPermUser.o
195 $(CC) -c -o secTisPermUser.o $(INCLUDES) -DPRIV_AUDIT $(SRC)/tisPermUser.cxx
196
197 secTisPermUtils.o: $(SRC)/tisPermUtils.cxx
198 $(RM) secTisPermUtils.o
199 $(CC) -c -o secTisPermUtils.o $(INCLUDES) -DPRIV_AUDIT $(SRC)/tisPermUtils.cxx
200
201 install: tisPermissions
202 cp -p tisPermissions ../bin
203 cp -p tisPermissions.vr ../bin
204 cp -p secTisPermissions ../bin
205 cp -p secTisPermissions.vr ../bin
206 cp -p $(SRC)/findOperPriv/tisUtilAccess.txt ../bin
207 cp -p $(SHAREPATH)/epicsH/rec/fieldsInfo.txt ../bin
208
209 clean:
210 $(RM) tisPermissions
211 $(RM) tisPermissions.vr
212 $(RM) secTisPermissions
213 $(RM) secTisPermissions.vr
214 $(RM) $(OBJS)
215 $(RM) $(SECOBJS)
216 $(RM) Makefile.depend
217
218 depend: Makefile.depend
219
220 Makefile.depend: $(SRCS) Makefile
221 $(RM) Makefile.depend
222 gcc -M $(ALLDEFINES) $(SRCS) > Makefile.depend
223
224 include Makefile.depend
225

  ViewVC Help
Powered by ViewVC 1.1.28