d9791debadce5bb6104ec4ae04d64c782b4162fb
[openssl.git] / crypto / rsa / Makefile
1 #
2 # OpenSSL/crypto/rsa/Makefile
3 #
4
5 DIR=    rsa
6 TOP=    ../..
7 CC=     cc
8 INCLUDES= -I.. -I$(TOP) -I../../include
9 CFLAG=-g
10 MAKEFILE=       Makefile
11 AR=             ar r
12
13 CFLAGS= $(INCLUDES) $(CFLAG)
14
15 GENERAL=Makefile
16 TEST=rsa_test.c
17 APPS=
18
19 LIB=$(TOP)/libcrypto.a
20 LIBSRC= rsa_eay.c rsa_gen.c rsa_lib.c rsa_sign.c rsa_saos.c rsa_err.c \
21         rsa_pk1.c rsa_ssl.c rsa_none.c rsa_oaep.c rsa_chk.c rsa_null.c \
22         rsa_pss.c rsa_x931.c rsa_asn1.c rsa_depr.c rsa_ameth.c rsa_prn.c \
23         rsa_pmeth.c rsa_crpt.c
24 LIBOBJ= rsa_eay.o rsa_gen.o rsa_lib.o rsa_sign.o rsa_saos.o rsa_err.o \
25         rsa_pk1.o rsa_ssl.o rsa_none.o rsa_oaep.o rsa_chk.o rsa_null.o \
26         rsa_pss.o rsa_x931.o rsa_asn1.o rsa_depr.o rsa_ameth.o rsa_prn.o \
27         rsa_pmeth.o rsa_crpt.o
28
29 SRC= $(LIBSRC)
30
31 EXHEADER= rsa.h
32 HEADER= $(EXHEADER)
33
34 ALL=    $(GENERAL) $(SRC) $(HEADER)
35
36 top:
37         (cd ../..; $(MAKE) DIRS=crypto SDIRS=$(DIR) sub_all)
38
39 all:    lib
40
41 lib:    $(LIBOBJ)
42         $(AR) $(LIB) $(LIBOBJ)
43         $(RANLIB) $(LIB) || echo Never mind.
44         @touch lib
45
46 files:
47         $(PERL) $(TOP)/util/files.pl Makefile >> $(TOP)/MINFO
48
49 links:
50         @$(PERL) $(TOP)/util/mklink.pl ../../include/openssl $(EXHEADER)
51         @$(PERL) $(TOP)/util/mklink.pl ../../test $(TEST)
52         @$(PERL) $(TOP)/util/mklink.pl ../../apps $(APPS)
53
54 install:
55         @[ -n "$(INSTALLTOP)" ] # should be set by top Makefile...
56         @headerlist="$(EXHEADER)"; for i in $$headerlist ; \
57         do  \
58         (cp $$i $(INSTALL_PREFIX)$(INSTALLTOP)/include/openssl/$$i; \
59         chmod 644 $(INSTALL_PREFIX)$(INSTALLTOP)/include/openssl/$$i ); \
60         done;
61
62 tags:
63         ctags $(SRC)
64
65 tests:
66
67 lint:
68         lint -DLINT $(INCLUDES) $(SRC)>fluff
69
70 depend:
71         @[ -n "$(MAKEDEPEND)" ] # should be set by upper Makefile...
72         $(MAKEDEPEND) -- $(CFLAG) $(INCLUDES) $(DEPFLAG) -- $(PROGS) $(LIBSRC)
73
74 dclean:
75         $(PERL) -pe 'if (/^# DO NOT DELETE THIS LINE/) {print; exit(0);}' $(MAKEFILE) >Makefile.new
76         mv -f Makefile.new $(MAKEFILE)
77
78 clean:
79         rm -f *.o */*.o *.obj lib tags core .pure .nfs* *.old *.bak fluff
80
81 # DO NOT DELETE THIS LINE -- make depend depends on it.
82
83 rsa_ameth.o: ../../e_os.h ../../include/openssl/asn1.h
84 rsa_ameth.o: ../../include/openssl/asn1t.h ../../include/openssl/bio.h
85 rsa_ameth.o: ../../include/openssl/bn.h ../../include/openssl/buffer.h
86 rsa_ameth.o: ../../include/openssl/cms.h ../../include/openssl/crypto.h
87 rsa_ameth.o: ../../include/openssl/e_os2.h ../../include/openssl/ec.h
88 rsa_ameth.o: ../../include/openssl/ecdh.h ../../include/openssl/ecdsa.h
89 rsa_ameth.o: ../../include/openssl/err.h ../../include/openssl/evp.h
90 rsa_ameth.o: ../../include/openssl/lhash.h ../../include/openssl/obj_mac.h
91 rsa_ameth.o: ../../include/openssl/objects.h
92 rsa_ameth.o: ../../include/openssl/opensslconf.h
93 rsa_ameth.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
94 rsa_ameth.o: ../../include/openssl/pkcs7.h ../../include/openssl/rsa.h
95 rsa_ameth.o: ../../include/openssl/safestack.h ../../include/openssl/sha.h
96 rsa_ameth.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
97 rsa_ameth.o: ../../include/openssl/x509.h ../../include/openssl/x509_vfy.h
98 rsa_ameth.o: ../asn1/asn1_locl.h ../cryptlib.h rsa_ameth.c
99 rsa_asn1.o: ../../e_os.h ../../include/openssl/asn1.h
100 rsa_asn1.o: ../../include/openssl/asn1t.h ../../include/openssl/bio.h
101 rsa_asn1.o: ../../include/openssl/bn.h ../../include/openssl/buffer.h
102 rsa_asn1.o: ../../include/openssl/crypto.h ../../include/openssl/e_os2.h
103 rsa_asn1.o: ../../include/openssl/err.h ../../include/openssl/lhash.h
104 rsa_asn1.o: ../../include/openssl/opensslconf.h
105 rsa_asn1.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
106 rsa_asn1.o: ../../include/openssl/rsa.h ../../include/openssl/safestack.h
107 rsa_asn1.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
108 rsa_asn1.o: ../cryptlib.h rsa_asn1.c
109 rsa_chk.o: ../../include/openssl/asn1.h ../../include/openssl/bio.h
110 rsa_chk.o: ../../include/openssl/bn.h ../../include/openssl/crypto.h
111 rsa_chk.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h
112 rsa_chk.o: ../../include/openssl/lhash.h ../../include/openssl/opensslconf.h
113 rsa_chk.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
114 rsa_chk.o: ../../include/openssl/rsa.h ../../include/openssl/safestack.h
115 rsa_chk.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
116 rsa_chk.o: rsa_chk.c
117 rsa_crpt.o: ../../e_os.h ../../include/openssl/asn1.h
118 rsa_crpt.o: ../../include/openssl/bio.h ../../include/openssl/bn.h
119 rsa_crpt.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h
120 rsa_crpt.o: ../../include/openssl/e_os2.h ../../include/openssl/ec.h
121 rsa_crpt.o: ../../include/openssl/ecdh.h ../../include/openssl/ecdsa.h
122 rsa_crpt.o: ../../include/openssl/engine.h ../../include/openssl/err.h
123 rsa_crpt.o: ../../include/openssl/evp.h ../../include/openssl/lhash.h
124 rsa_crpt.o: ../../include/openssl/obj_mac.h ../../include/openssl/objects.h
125 rsa_crpt.o: ../../include/openssl/opensslconf.h
126 rsa_crpt.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
127 rsa_crpt.o: ../../include/openssl/pkcs7.h ../../include/openssl/rand.h
128 rsa_crpt.o: ../../include/openssl/rsa.h ../../include/openssl/safestack.h
129 rsa_crpt.o: ../../include/openssl/sha.h ../../include/openssl/stack.h
130 rsa_crpt.o: ../../include/openssl/symhacks.h ../../include/openssl/x509.h
131 rsa_crpt.o: ../../include/openssl/x509_vfy.h ../cryptlib.h rsa_crpt.c
132 rsa_depr.o: ../../e_os.h ../../include/openssl/asn1.h
133 rsa_depr.o: ../../include/openssl/bio.h ../../include/openssl/bn.h
134 rsa_depr.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h
135 rsa_depr.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h
136 rsa_depr.o: ../../include/openssl/lhash.h ../../include/openssl/opensslconf.h
137 rsa_depr.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
138 rsa_depr.o: ../../include/openssl/rsa.h ../../include/openssl/safestack.h
139 rsa_depr.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
140 rsa_depr.o: ../cryptlib.h rsa_depr.c
141 rsa_eay.o: ../../e_os.h ../../include/openssl/asn1.h
142 rsa_eay.o: ../../include/openssl/bio.h ../../include/openssl/bn.h
143 rsa_eay.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h
144 rsa_eay.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h
145 rsa_eay.o: ../../include/openssl/lhash.h ../../include/openssl/opensslconf.h
146 rsa_eay.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
147 rsa_eay.o: ../../include/openssl/rand.h ../../include/openssl/rsa.h
148 rsa_eay.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h
149 rsa_eay.o: ../../include/openssl/symhacks.h ../cryptlib.h rsa_eay.c
150 rsa_err.o: ../../include/openssl/asn1.h ../../include/openssl/bio.h
151 rsa_err.o: ../../include/openssl/crypto.h ../../include/openssl/e_os2.h
152 rsa_err.o: ../../include/openssl/err.h ../../include/openssl/lhash.h
153 rsa_err.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h
154 rsa_err.o: ../../include/openssl/ossl_typ.h ../../include/openssl/rsa.h
155 rsa_err.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h
156 rsa_err.o: ../../include/openssl/symhacks.h rsa_err.c
157 rsa_gen.o: ../../e_os.h ../../include/openssl/asn1.h
158 rsa_gen.o: ../../include/openssl/bio.h ../../include/openssl/bn.h
159 rsa_gen.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h
160 rsa_gen.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h
161 rsa_gen.o: ../../include/openssl/lhash.h ../../include/openssl/opensslconf.h
162 rsa_gen.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
163 rsa_gen.o: ../../include/openssl/rsa.h ../../include/openssl/safestack.h
164 rsa_gen.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
165 rsa_gen.o: ../cryptlib.h rsa_gen.c
166 rsa_lib.o: ../../e_os.h ../../include/openssl/asn1.h
167 rsa_lib.o: ../../include/openssl/bio.h ../../include/openssl/bn.h
168 rsa_lib.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h
169 rsa_lib.o: ../../include/openssl/e_os2.h ../../include/openssl/ec.h
170 rsa_lib.o: ../../include/openssl/ecdh.h ../../include/openssl/ecdsa.h
171 rsa_lib.o: ../../include/openssl/engine.h ../../include/openssl/err.h
172 rsa_lib.o: ../../include/openssl/evp.h ../../include/openssl/lhash.h
173 rsa_lib.o: ../../include/openssl/obj_mac.h ../../include/openssl/objects.h
174 rsa_lib.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h
175 rsa_lib.o: ../../include/openssl/ossl_typ.h ../../include/openssl/pkcs7.h
176 rsa_lib.o: ../../include/openssl/rand.h ../../include/openssl/rsa.h
177 rsa_lib.o: ../../include/openssl/safestack.h ../../include/openssl/sha.h
178 rsa_lib.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
179 rsa_lib.o: ../../include/openssl/x509.h ../../include/openssl/x509_vfy.h
180 rsa_lib.o: ../cryptlib.h rsa_lib.c
181 rsa_none.o: ../../e_os.h ../../include/openssl/asn1.h
182 rsa_none.o: ../../include/openssl/bio.h ../../include/openssl/bn.h
183 rsa_none.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h
184 rsa_none.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h
185 rsa_none.o: ../../include/openssl/lhash.h ../../include/openssl/opensslconf.h
186 rsa_none.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
187 rsa_none.o: ../../include/openssl/rand.h ../../include/openssl/rsa.h
188 rsa_none.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h
189 rsa_none.o: ../../include/openssl/symhacks.h ../cryptlib.h rsa_none.c
190 rsa_null.o: ../../e_os.h ../../include/openssl/asn1.h
191 rsa_null.o: ../../include/openssl/bio.h ../../include/openssl/bn.h
192 rsa_null.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h
193 rsa_null.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h
194 rsa_null.o: ../../include/openssl/lhash.h ../../include/openssl/opensslconf.h
195 rsa_null.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
196 rsa_null.o: ../../include/openssl/rand.h ../../include/openssl/rsa.h
197 rsa_null.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h
198 rsa_null.o: ../../include/openssl/symhacks.h ../cryptlib.h rsa_null.c
199 rsa_oaep.o: ../../e_os.h ../../include/openssl/asn1.h
200 rsa_oaep.o: ../../include/openssl/bio.h ../../include/openssl/bn.h
201 rsa_oaep.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h
202 rsa_oaep.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h
203 rsa_oaep.o: ../../include/openssl/evp.h ../../include/openssl/lhash.h
204 rsa_oaep.o: ../../include/openssl/obj_mac.h ../../include/openssl/objects.h
205 rsa_oaep.o: ../../include/openssl/opensslconf.h
206 rsa_oaep.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
207 rsa_oaep.o: ../../include/openssl/rand.h ../../include/openssl/rsa.h
208 rsa_oaep.o: ../../include/openssl/safestack.h ../../include/openssl/sha.h
209 rsa_oaep.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
210 rsa_oaep.o: ../cryptlib.h rsa_oaep.c
211 rsa_pk1.o: ../../e_os.h ../../include/openssl/asn1.h
212 rsa_pk1.o: ../../include/openssl/bio.h ../../include/openssl/bn.h
213 rsa_pk1.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h
214 rsa_pk1.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h
215 rsa_pk1.o: ../../include/openssl/lhash.h ../../include/openssl/opensslconf.h
216 rsa_pk1.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
217 rsa_pk1.o: ../../include/openssl/rand.h ../../include/openssl/rsa.h
218 rsa_pk1.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h
219 rsa_pk1.o: ../../include/openssl/symhacks.h ../cryptlib.h rsa_pk1.c
220 rsa_pmeth.o: ../../e_os.h ../../include/openssl/asn1.h
221 rsa_pmeth.o: ../../include/openssl/asn1t.h ../../include/openssl/bio.h
222 rsa_pmeth.o: ../../include/openssl/bn.h ../../include/openssl/buffer.h
223 rsa_pmeth.o: ../../include/openssl/crypto.h ../../include/openssl/e_os2.h
224 rsa_pmeth.o: ../../include/openssl/ec.h ../../include/openssl/ecdh.h
225 rsa_pmeth.o: ../../include/openssl/ecdsa.h ../../include/openssl/err.h
226 rsa_pmeth.o: ../../include/openssl/evp.h ../../include/openssl/lhash.h
227 rsa_pmeth.o: ../../include/openssl/obj_mac.h ../../include/openssl/objects.h
228 rsa_pmeth.o: ../../include/openssl/opensslconf.h
229 rsa_pmeth.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
230 rsa_pmeth.o: ../../include/openssl/pkcs7.h ../../include/openssl/rsa.h
231 rsa_pmeth.o: ../../include/openssl/safestack.h ../../include/openssl/sha.h
232 rsa_pmeth.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
233 rsa_pmeth.o: ../../include/openssl/x509.h ../../include/openssl/x509_vfy.h
234 rsa_pmeth.o: ../cryptlib.h ../evp/evp_locl.h rsa_locl.h rsa_pmeth.c
235 rsa_prn.o: ../../e_os.h ../../include/openssl/asn1.h
236 rsa_prn.o: ../../include/openssl/bio.h ../../include/openssl/buffer.h
237 rsa_prn.o: ../../include/openssl/crypto.h ../../include/openssl/e_os2.h
238 rsa_prn.o: ../../include/openssl/err.h ../../include/openssl/evp.h
239 rsa_prn.o: ../../include/openssl/lhash.h ../../include/openssl/obj_mac.h
240 rsa_prn.o: ../../include/openssl/objects.h ../../include/openssl/opensslconf.h
241 rsa_prn.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
242 rsa_prn.o: ../../include/openssl/rsa.h ../../include/openssl/safestack.h
243 rsa_prn.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
244 rsa_prn.o: ../cryptlib.h rsa_prn.c
245 rsa_pss.o: ../../e_os.h ../../include/openssl/asn1.h
246 rsa_pss.o: ../../include/openssl/bio.h ../../include/openssl/bn.h
247 rsa_pss.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h
248 rsa_pss.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h
249 rsa_pss.o: ../../include/openssl/evp.h ../../include/openssl/lhash.h
250 rsa_pss.o: ../../include/openssl/obj_mac.h ../../include/openssl/objects.h
251 rsa_pss.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h
252 rsa_pss.o: ../../include/openssl/ossl_typ.h ../../include/openssl/rand.h
253 rsa_pss.o: ../../include/openssl/rsa.h ../../include/openssl/safestack.h
254 rsa_pss.o: ../../include/openssl/sha.h ../../include/openssl/stack.h
255 rsa_pss.o: ../../include/openssl/symhacks.h ../cryptlib.h rsa_pss.c
256 rsa_saos.o: ../../e_os.h ../../include/openssl/asn1.h
257 rsa_saos.o: ../../include/openssl/bio.h ../../include/openssl/bn.h
258 rsa_saos.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h
259 rsa_saos.o: ../../include/openssl/e_os2.h ../../include/openssl/ec.h
260 rsa_saos.o: ../../include/openssl/ecdh.h ../../include/openssl/ecdsa.h
261 rsa_saos.o: ../../include/openssl/err.h ../../include/openssl/evp.h
262 rsa_saos.o: ../../include/openssl/lhash.h ../../include/openssl/obj_mac.h
263 rsa_saos.o: ../../include/openssl/objects.h ../../include/openssl/opensslconf.h
264 rsa_saos.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
265 rsa_saos.o: ../../include/openssl/pkcs7.h ../../include/openssl/rsa.h
266 rsa_saos.o: ../../include/openssl/safestack.h ../../include/openssl/sha.h
267 rsa_saos.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
268 rsa_saos.o: ../../include/openssl/x509.h ../../include/openssl/x509_vfy.h
269 rsa_saos.o: ../cryptlib.h rsa_saos.c
270 rsa_sign.o: ../../e_os.h ../../include/openssl/asn1.h
271 rsa_sign.o: ../../include/openssl/bio.h ../../include/openssl/bn.h
272 rsa_sign.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h
273 rsa_sign.o: ../../include/openssl/e_os2.h ../../include/openssl/ec.h
274 rsa_sign.o: ../../include/openssl/ecdh.h ../../include/openssl/ecdsa.h
275 rsa_sign.o: ../../include/openssl/err.h ../../include/openssl/evp.h
276 rsa_sign.o: ../../include/openssl/lhash.h ../../include/openssl/obj_mac.h
277 rsa_sign.o: ../../include/openssl/objects.h ../../include/openssl/opensslconf.h
278 rsa_sign.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
279 rsa_sign.o: ../../include/openssl/pkcs7.h ../../include/openssl/rsa.h
280 rsa_sign.o: ../../include/openssl/safestack.h ../../include/openssl/sha.h
281 rsa_sign.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
282 rsa_sign.o: ../../include/openssl/x509.h ../../include/openssl/x509_vfy.h
283 rsa_sign.o: ../cryptlib.h rsa_locl.h rsa_sign.c
284 rsa_ssl.o: ../../e_os.h ../../include/openssl/asn1.h
285 rsa_ssl.o: ../../include/openssl/bio.h ../../include/openssl/bn.h
286 rsa_ssl.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h
287 rsa_ssl.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h
288 rsa_ssl.o: ../../include/openssl/lhash.h ../../include/openssl/opensslconf.h
289 rsa_ssl.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
290 rsa_ssl.o: ../../include/openssl/rand.h ../../include/openssl/rsa.h
291 rsa_ssl.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h
292 rsa_ssl.o: ../../include/openssl/symhacks.h ../cryptlib.h rsa_ssl.c
293 rsa_x931.o: ../../e_os.h ../../include/openssl/asn1.h
294 rsa_x931.o: ../../include/openssl/bio.h ../../include/openssl/bn.h
295 rsa_x931.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h
296 rsa_x931.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h
297 rsa_x931.o: ../../include/openssl/lhash.h ../../include/openssl/obj_mac.h
298 rsa_x931.o: ../../include/openssl/objects.h ../../include/openssl/opensslconf.h
299 rsa_x931.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
300 rsa_x931.o: ../../include/openssl/rand.h ../../include/openssl/rsa.h
301 rsa_x931.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h
302 rsa_x931.o: ../../include/openssl/symhacks.h ../cryptlib.h rsa_x931.c