1 |
## Process this file with automake to produce Makefile.in. |
2 |
# |
3 |
# ----------------------------------------------------------------------------- |
4 |
# $Id: Makefile.am,v 1.35 2003/10/25 07:56:05 raif Exp $ |
5 |
# |
6 |
# Copyright (C) 2001, 2002, 2003 Free Software Foundation, Inc. |
7 |
# |
8 |
# This file is part of GNU Crypto. |
9 |
# |
10 |
# GNU Crypto is free software; you can redistribute it and/or modify |
11 |
# it under the terms of the GNU General Public License as published by |
12 |
# the Free Software Foundation; either version 2, or (at your option) |
13 |
# any later version. |
14 |
# |
15 |
# GNU Crypto is distributed in the hope that it will be useful, but |
16 |
# WITHOUT ANY WARRANTY; without even the implied warranty of |
17 |
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
18 |
# General Public License for more details. |
19 |
# |
20 |
# You should have received a copy of the GNU General Public License |
21 |
# along with this program; see the file COPYING. If not, write to the |
22 |
# |
23 |
# Free Software Foundation Inc., |
24 |
# 59 Temple Place - Suite 330, |
25 |
# Boston, MA 02111-1307 |
26 |
# USA |
27 |
# |
28 |
# Linking this library statically or dynamically with other modules is |
29 |
# making a combined work based on this library. Thus, the terms and |
30 |
# conditions of the GNU General Public License cover the whole |
31 |
# combination. |
32 |
# |
33 |
# As a special exception, the copyright holders of this library give |
34 |
# you permission to link this library with independent modules to |
35 |
# produce an executable, regardless of the license terms of these |
36 |
# independent modules, and to copy and distribute the resulting |
37 |
# executable under terms of your choice, provided that you also meet, |
38 |
# for each linked independent module, the terms and conditions of the |
39 |
# license of that module. An independent module is a module which is |
40 |
# not derived from or based on this library. If you modify this |
41 |
# library, you may extend this exception to your version of the |
42 |
# library, but you are not obligated to do so. If you do not wish to |
43 |
# do so, delete this exception statement from your version. |
44 |
# ----------------------------------------------------------------------------- |
45 |
# |
46 |
# $Revision: 1.35 $ |
47 |
# |
48 |
|
49 |
# Variables ------------------------------------------------------------------- |
50 |
AM_GCJFLAGS=@AM_GCJFLAGS@ |
51 |
JAVAC_CMD=$(GCJ) $(AM_GCJFLAGS) $(GCJFLAGS) -C |
52 |
|
53 |
main_jar = $(PACKAGE).jar |
54 |
|
55 |
BUILT_SOURCES = $(main_jar) |
56 |
data_DATA = $(main_jar) |
57 |
EXTRA_DIST = |
58 |
|
59 |
# Libraries and executables to compile ---------------------------------------- |
60 |
bin_PROGRAMS = nessieCipherTVEmitter nessieHashTVEmitter nistKat nistMCT cipherSpeed hashSpeed ent |
61 |
if FOUND_SASL_JAR |
62 |
bin_PROGRAMS += sasls saslc |
63 |
endif # FOUND_SASL_JAR |
64 |
check_PROGRAMS = mauveTest |
65 |
lib_LTLIBRARIES = lib-gnu-crypto.la |
66 |
|
67 |
# GNU Crypto library config --------------------------------------------------- |
68 |
lib_gnu_crypto_la_SOURCES = $(main_sources) |
69 |
if FOUND_JCE_JAR |
70 |
if FOUND_SASL_JAR |
71 |
lib_gnu_crypto_la_LIBADD = -l-javax-crypto -l-javax-security |
72 |
lib_gnu_crypto_la_LDFLAGS = -L../jce -L../security -version-info $(LIBVERSION) |
73 |
else |
74 |
lib_gnu_crypto_la_LIBADD = -l-javax-security |
75 |
lib_gnu_crypto_la_LDFLAGS = -L../security -version-info $(LIBVERSION) |
76 |
endif # FOUND_SASL_JAR |
77 |
else |
78 |
if FOUND_SASL_JAR |
79 |
lib_gnu_crypto_la_LIBADD = -l-javax-security |
80 |
lib_gnu_crypto_la_LDFLAGS = -L../security -version-info $(LIBVERSION) |
81 |
else |
82 |
lib_gnu_crypto_la_LIBADD = |
83 |
lib_gnu_crypto_la_LDFLAGS = -version-info $(LIBVERSION) |
84 |
endif # FOUND_SASL_JAR |
85 |
endif # FOUND_JCE_JAR |
86 |
|
87 |
# NessieCipherTVEmitter executable -------------------------------------------- |
88 |
nessieCipherTVEmitter_SOURCES = gnu/crypto/tool/NessieCipherTVEmitter.java |
89 |
nessieCipherTVEmitter_LDADD = -l-$(PACKAGE) |
90 |
nessieCipherTVEmitter_LDFLAGS = --main=gnu.crypto.tool.NessieCipherTVEmitter |
91 |
|
92 |
# NessieHashTVEmitter executable ---------------------------------------------- |
93 |
nessieHashTVEmitter_SOURCES = gnu/crypto/tool/NessieHashTVEmitter.java |
94 |
nessieHashTVEmitter_LDADD = -l-$(PACKAGE) |
95 |
nessieHashTVEmitter_LDFLAGS = --main=gnu.crypto.tool.NessieHashTVEmitter |
96 |
|
97 |
# CipherSpeed executable ------------------------------------------------------ |
98 |
cipherSpeed_SOURCES = gnu/crypto/tool/CipherSpeed.java |
99 |
cipherSpeed_LDADD = -l-$(PACKAGE) |
100 |
cipherSpeed_LDFLAGS = --main=gnu.crypto.tool.CipherSpeed |
101 |
|
102 |
# HashSpeed executable -------------------------------------------------------- |
103 |
hashSpeed_SOURCES = gnu/crypto/tool/HashSpeed.java |
104 |
hashSpeed_LDADD = -l-$(PACKAGE) |
105 |
hashSpeed_LDFLAGS = --main=gnu.crypto.tool.HashSpeed |
106 |
|
107 |
# NistKat executable ---------------------------------------------------------- |
108 |
nistKat_SOURCES = gnu/crypto/tool/NistKat.java |
109 |
nistKat_LDADD = -l-$(PACKAGE) |
110 |
nistKat_LDFLAGS = --main=gnu.crypto.tool.NistKat |
111 |
|
112 |
# NistMCT executable ---------------------------------------------------------- |
113 |
nistMCT_SOURCES = gnu/crypto/tool/NistMCT.java |
114 |
nistMCT_LDADD = -l-$(PACKAGE) |
115 |
nistMCT_LDFLAGS = --main=gnu.crypto.tool.NistMCT |
116 |
|
117 |
# Ent executable -------------------------------------------------------------- |
118 |
ent_SOURCES = gnu/crypto/tool/Ent.java |
119 |
ent_LDADD = -l-$(PACKAGE) |
120 |
ent_LDFLAGS = --main=gnu.crypto.tool.Ent |
121 |
|
122 |
if FOUND_SASL_JAR |
123 |
|
124 |
# SaslS executable ------------------------------------------------------------ |
125 |
sasls_SOURCES = gnu/crypto/tool/SaslS.java |
126 |
sasls_LDADD = -l-$(PACKAGE) |
127 |
sasls_LDFLAGS = --main=gnu.crypto.tool.SaslS |
128 |
|
129 |
# SaslC executable ------------------------------------------------------------ |
130 |
saslc_SOURCES = gnu/crypto/tool/SaslC.java |
131 |
saslc_LDADD = -l-$(PACKAGE) |
132 |
saslc_LDFLAGS = --main=gnu.crypto.tool.SaslC |
133 |
|
134 |
endif # FOUND_SASL_JAR |
135 |
|
136 |
# mauve tests executable ------------------------------------------------------- |
137 |
mauveTest_SOURCES = $(mauve_sources) |
138 |
mauveTest_LDADD = -l-$(PACKAGE) |
139 |
mauveTest_LDFLAGS = --main=gnu.testlet.SimpleTestHarness |
140 |
|
141 |
# library source files -------------------------------------------------------- |
142 |
# JCE adapter and test classes; defined iff configured with-jce-jar |
143 |
if FOUND_JCE_JAR |
144 |
jce_sources = \ |
145 |
gnu/crypto/jce/PBKDF2SecretKeyFactory.java \ |
146 |
\ |
147 |
gnu/crypto/jce/cipher/AESSpi.java \ |
148 |
gnu/crypto/jce/cipher/ARCFourSpi.java \ |
149 |
gnu/crypto/jce/cipher/AnubisSpi.java \ |
150 |
gnu/crypto/jce/cipher/BlowfishSpi.java \ |
151 |
gnu/crypto/jce/cipher/Cast5Spi.java \ |
152 |
gnu/crypto/jce/cipher/CipherAdapter.java \ |
153 |
gnu/crypto/jce/cipher/DESSpi.java \ |
154 |
gnu/crypto/jce/cipher/KhazadSpi.java \ |
155 |
gnu/crypto/jce/cipher/NullCipherSpi.java \ |
156 |
gnu/crypto/jce/cipher/PBES2.java \ |
157 |
gnu/crypto/jce/cipher/RijndaelSpi.java \ |
158 |
gnu/crypto/jce/cipher/SerpentSpi.java \ |
159 |
gnu/crypto/jce/cipher/SquareSpi.java \ |
160 |
gnu/crypto/jce/cipher/TripleDESSpi.java \ |
161 |
gnu/crypto/jce/cipher/TwofishSpi.java \ |
162 |
\ |
163 |
gnu/crypto/jce/mac/HMacHavalSpi.java \ |
164 |
gnu/crypto/jce/mac/HMacMD2Spi.java \ |
165 |
gnu/crypto/jce/mac/HMacMD4Spi.java \ |
166 |
gnu/crypto/jce/mac/HMacMD5Spi.java \ |
167 |
gnu/crypto/jce/mac/HMacRipeMD128Spi.java \ |
168 |
gnu/crypto/jce/mac/HMacRipeMD160Spi.java \ |
169 |
gnu/crypto/jce/mac/HMacSHA160Spi.java \ |
170 |
gnu/crypto/jce/mac/HMacSHA256Spi.java \ |
171 |
gnu/crypto/jce/mac/HMacSHA384Spi.java \ |
172 |
gnu/crypto/jce/mac/HMacSHA512Spi.java \ |
173 |
gnu/crypto/jce/mac/HMacTigerSpi.java \ |
174 |
gnu/crypto/jce/mac/HMacWhirlpoolSpi.java \ |
175 |
gnu/crypto/jce/mac/MacAdapter.java \ |
176 |
gnu/crypto/jce/mac/TMMH16Spi.java \ |
177 |
gnu/crypto/jce/mac/UHash32Spi.java \ |
178 |
gnu/crypto/jce/mac/UMac32Spi.java \ |
179 |
\ |
180 |
gnu/crypto/jce/params/BlockCipherParameters.java \ |
181 |
gnu/crypto/jce/params/DEREncodingException.java \ |
182 |
gnu/crypto/jce/params/DERReader.java \ |
183 |
gnu/crypto/jce/params/DERWriter.java \ |
184 |
\ |
185 |
gnu/crypto/jce/spec/BlockCipherParameterSpec.java \ |
186 |
gnu/crypto/jce/spec/TMMHParameterSpec.java \ |
187 |
gnu/crypto/jce/spec/UMac32ParameterSpec.java |
188 |
|
189 |
jce_mauve_sources = \ |
190 |
gnu/testlet/gnu/crypto/jce/TestOfCipher.java \ |
191 |
gnu/testlet/gnu/crypto/jce/TestOfMac.java |
192 |
else # no JCE framework available or needed |
193 |
jce_sources = |
194 |
jce_mauve_sources = |
195 |
endif # FOUND_JCE_JAR |
196 |
|
197 |
if FOUND_SASL_JAR |
198 |
sasl_sources = \ |
199 |
gnu/crypto/sasl/AuthInfo.java \ |
200 |
gnu/crypto/sasl/AuthInfoProviderFactory.java \ |
201 |
gnu/crypto/sasl/ClientFactory.java \ |
202 |
gnu/crypto/sasl/ClientMechanism.java \ |
203 |
gnu/crypto/sasl/ConfidentialityException.java \ |
204 |
gnu/crypto/sasl/IAuthInfoProvider.java \ |
205 |
gnu/crypto/sasl/IAuthInfoProviderFactory.java \ |
206 |
gnu/crypto/sasl/IllegalMechanismStateException.java \ |
207 |
gnu/crypto/sasl/InputBuffer.java \ |
208 |
gnu/crypto/sasl/IntegrityException.java \ |
209 |
gnu/crypto/sasl/NoSuchMechanismException.java \ |
210 |
gnu/crypto/sasl/NoSuchUserException.java \ |
211 |
gnu/crypto/sasl/OutputBuffer.java \ |
212 |
gnu/crypto/sasl/SaslEncodingException.java \ |
213 |
gnu/crypto/sasl/SaslInputStream.java \ |
214 |
gnu/crypto/sasl/SaslOutputStream.java \ |
215 |
gnu/crypto/sasl/SaslUtil.java \ |
216 |
gnu/crypto/sasl/ServerFactory.java \ |
217 |
gnu/crypto/sasl/ServerMechanism.java \ |
218 |
gnu/crypto/sasl/UserAlreadyExistsException.java \ |
219 |
\ |
220 |
gnu/crypto/sasl/anonymous/AnonymousClient.java \ |
221 |
gnu/crypto/sasl/anonymous/AnonymousServer.java \ |
222 |
gnu/crypto/sasl/anonymous/AnonymousUtil.java \ |
223 |
\ |
224 |
gnu/crypto/sasl/crammd5/CramMD5AuthInfoProvider.java \ |
225 |
gnu/crypto/sasl/crammd5/CramMD5Client.java \ |
226 |
gnu/crypto/sasl/crammd5/CramMD5Registry.java \ |
227 |
gnu/crypto/sasl/crammd5/CramMD5Server.java \ |
228 |
gnu/crypto/sasl/crammd5/CramMD5Util.java \ |
229 |
gnu/crypto/sasl/crammd5/PasswordFile.java \ |
230 |
\ |
231 |
gnu/crypto/sasl/plain/PasswordFile.java \ |
232 |
gnu/crypto/sasl/plain/PlainAuthInfoProvider.java \ |
233 |
gnu/crypto/sasl/plain/PlainClient.java \ |
234 |
gnu/crypto/sasl/plain/PlainRegistry.java \ |
235 |
gnu/crypto/sasl/plain/PlainServer.java \ |
236 |
\ |
237 |
gnu/crypto/sasl/srp/CALG.java \ |
238 |
gnu/crypto/sasl/srp/ClientStore.java \ |
239 |
gnu/crypto/sasl/srp/IALG.java \ |
240 |
gnu/crypto/sasl/srp/KDF.java \ |
241 |
gnu/crypto/sasl/srp/PasswordFile.java \ |
242 |
gnu/crypto/sasl/srp/SecurityContext.java \ |
243 |
gnu/crypto/sasl/srp/ServerStore.java \ |
244 |
gnu/crypto/sasl/srp/SRP.java \ |
245 |
gnu/crypto/sasl/srp/SRPAuthInfoProvider.java \ |
246 |
gnu/crypto/sasl/srp/SRPClient.java \ |
247 |
gnu/crypto/sasl/srp/SRPRegistry.java \ |
248 |
gnu/crypto/sasl/srp/SRPServer.java \ |
249 |
gnu/crypto/sasl/srp/StoreEntry.java \ |
250 |
\ |
251 |
gnu/crypto/tool/SaslConnection.java \ |
252 |
gnu/crypto/tool/SimpleCallbackHandler.java |
253 |
|
254 |
sasl_mauve_sources = \ |
255 |
gnu/testlet/gnu/crypto/sasl/TestOfClientFactory.java \ |
256 |
gnu/testlet/gnu/crypto/sasl/TestOfServerFactory.java \ |
257 |
\ |
258 |
gnu/testlet/gnu/crypto/sasl/srp/TestOfSRPAuthInfoProvider.java \ |
259 |
gnu/testlet/gnu/crypto/sasl/srp/TestOfSRPPasswordFile.java \ |
260 |
gnu/testlet/gnu/crypto/sasl/srp/TestOfSRPPrimitives.java |
261 |
else # no javax.security.sasl found or needed |
262 |
sasl_sources = |
263 |
sasl_mauve_sources = |
264 |
endif # FOUND_SASL_JAR |
265 |
|
266 |
main_sources = \ |
267 |
gnu/crypto/Properties.java \ |
268 |
gnu/crypto/Registry.java \ |
269 |
\ |
270 |
gnu/crypto/assembly/Assembly.java \ |
271 |
gnu/crypto/assembly/Cascade.java \ |
272 |
gnu/crypto/assembly/CascadeStage.java \ |
273 |
gnu/crypto/assembly/CascadeTransformer.java \ |
274 |
gnu/crypto/assembly/DeflateTransformer.java \ |
275 |
gnu/crypto/assembly/Direction.java \ |
276 |
gnu/crypto/assembly/LoopbackTransformer.java \ |
277 |
gnu/crypto/assembly/ModeStage.java \ |
278 |
gnu/crypto/assembly/Operation.java \ |
279 |
gnu/crypto/assembly/PaddingTransformer.java \ |
280 |
gnu/crypto/assembly/Stage.java \ |
281 |
gnu/crypto/assembly/Transformer.java \ |
282 |
gnu/crypto/assembly/TransformerException.java \ |
283 |
\ |
284 |
gnu/crypto/cipher/Anubis.java \ |
285 |
gnu/crypto/cipher/BaseCipher.java \ |
286 |
gnu/crypto/cipher/Blowfish.java \ |
287 |
gnu/crypto/cipher/Cast5.java \ |
288 |
gnu/crypto/cipher/CipherFactory.java \ |
289 |
gnu/crypto/cipher/DES.java \ |
290 |
gnu/crypto/cipher/IBlockCipher.java \ |
291 |
gnu/crypto/cipher/IBlockCipherSpi.java \ |
292 |
gnu/crypto/cipher/Khazad.java \ |
293 |
gnu/crypto/cipher/NullCipher.java \ |
294 |
gnu/crypto/cipher/Rijndael.java \ |
295 |
gnu/crypto/cipher/Serpent.java \ |
296 |
gnu/crypto/cipher/Square.java \ |
297 |
gnu/crypto/cipher/TripleDES.java \ |
298 |
gnu/crypto/cipher/Twofish.java \ |
299 |
gnu/crypto/cipher/WeakKeyException.java \ |
300 |
\ |
301 |
gnu/crypto/exp/ust/UST.java \ |
302 |
\ |
303 |
gnu/crypto/hash/BaseHash.java \ |
304 |
gnu/crypto/hash/HashFactory.java \ |
305 |
gnu/crypto/hash/Haval.java \ |
306 |
gnu/crypto/hash/IMessageDigest.java \ |
307 |
gnu/crypto/hash/MD2.java \ |
308 |
gnu/crypto/hash/MD4.java \ |
309 |
gnu/crypto/hash/MD5.java \ |
310 |
gnu/crypto/hash/RipeMD128.java \ |
311 |
gnu/crypto/hash/RipeMD160.java \ |
312 |
gnu/crypto/hash/Sha160.java \ |
313 |
gnu/crypto/hash/Sha256.java \ |
314 |
gnu/crypto/hash/Sha384.java \ |
315 |
gnu/crypto/hash/Sha512.java \ |
316 |
gnu/crypto/hash/Tiger.java \ |
317 |
gnu/crypto/hash/Whirlpool.java \ |
318 |
\ |
319 |
gnu/crypto/jce/GnuCrypto.java \ |
320 |
\ |
321 |
gnu/crypto/jce/hash/HavalSpi.java \ |
322 |
gnu/crypto/jce/hash/MD2Spi.java \ |
323 |
gnu/crypto/jce/hash/MD4Spi.java \ |
324 |
gnu/crypto/jce/hash/MD5Spi.java \ |
325 |
gnu/crypto/jce/hash/MessageDigestAdapter.java \ |
326 |
gnu/crypto/jce/hash/RipeMD128Spi.java \ |
327 |
gnu/crypto/jce/hash/RipeMD160Spi.java \ |
328 |
gnu/crypto/jce/hash/Sha160Spi.java \ |
329 |
gnu/crypto/jce/hash/Sha256Spi.java \ |
330 |
gnu/crypto/jce/hash/Sha384Spi.java \ |
331 |
gnu/crypto/jce/hash/Sha512Spi.java \ |
332 |
gnu/crypto/jce/hash/TigerSpi.java \ |
333 |
gnu/crypto/jce/hash/WhirlpoolSpi.java \ |
334 |
\ |
335 |
gnu/crypto/jce/keyring/GnuKeyring.java \ |
336 |
\ |
337 |
gnu/crypto/jce/prng/ARCFourRandomSpi.java \ |
338 |
gnu/crypto/jce/prng/HavalRandomSpi.java \ |
339 |
gnu/crypto/jce/prng/ICMRandomSpi.java \ |
340 |
gnu/crypto/jce/prng/MD2RandomSpi.java \ |
341 |
gnu/crypto/jce/prng/MD4RandomSpi.java \ |
342 |
gnu/crypto/jce/prng/MD5RandomSpi.java \ |
343 |
gnu/crypto/jce/prng/RipeMD128RandomSpi.java \ |
344 |
gnu/crypto/jce/prng/RipeMD160RandomSpi.java \ |
345 |
gnu/crypto/jce/prng/SecureRandomAdapter.java \ |
346 |
gnu/crypto/jce/prng/Sha160RandomSpi.java \ |
347 |
gnu/crypto/jce/prng/Sha256RandomSpi.java \ |
348 |
gnu/crypto/jce/prng/Sha384RandomSpi.java \ |
349 |
gnu/crypto/jce/prng/Sha512RandomSpi.java \ |
350 |
gnu/crypto/jce/prng/TigerRandomSpi.java \ |
351 |
gnu/crypto/jce/prng/UMacRandomSpi.java \ |
352 |
gnu/crypto/jce/prng/WhirlpoolRandomSpi.java \ |
353 |
\ |
354 |
gnu/crypto/jce/sig/DSSKeyPairGeneratorSpi.java \ |
355 |
gnu/crypto/jce/sig/DSSRawSignatureSpi.java \ |
356 |
gnu/crypto/jce/sig/KeyPairGeneratorAdapter.java \ |
357 |
gnu/crypto/jce/sig/RSAKeyPairGeneratorSpi.java \ |
358 |
gnu/crypto/jce/sig/RSAPSSRawSignatureSpi.java \ |
359 |
gnu/crypto/jce/sig/SignatureAdapter.java \ |
360 |
\ |
361 |
gnu/crypto/key/BaseKeyAgreementParty.java \ |
362 |
gnu/crypto/key/IKeyAgreementParty.java \ |
363 |
gnu/crypto/key/IKeyPairCodec.java \ |
364 |
gnu/crypto/key/IKeyPairGenerator.java \ |
365 |
gnu/crypto/key/IncomingMessage.java \ |
366 |
gnu/crypto/key/KeyAgreementException.java \ |
367 |
gnu/crypto/key/KeyAgreementFactory.java \ |
368 |
gnu/crypto/key/KeyPairCodecFactory.java \ |
369 |
gnu/crypto/key/KeyPairGeneratorFactory.java \ |
370 |
gnu/crypto/key/OutgoingMessage.java \ |
371 |
\ |
372 |
gnu/crypto/key/dh/DHKeyPairRawCodec.java \ |
373 |
gnu/crypto/key/dh/DiffieHellmanKeyAgreement.java \ |
374 |
gnu/crypto/key/dh/DiffieHellmanReceiver.java \ |
375 |
gnu/crypto/key/dh/DiffieHellmanSender.java \ |
376 |
gnu/crypto/key/dh/ElGamalKeyAgreement.java \ |
377 |
gnu/crypto/key/dh/ElGamalReceiver.java \ |
378 |
gnu/crypto/key/dh/ElGamalSender.java \ |
379 |
gnu/crypto/key/dh/GnuDHKey.java \ |
380 |
gnu/crypto/key/dh/GnuDHKeyPairGenerator.java \ |
381 |
gnu/crypto/key/dh/GnuDHPrivateKey.java \ |
382 |
gnu/crypto/key/dh/GnuDHPublicKey.java \ |
383 |
gnu/crypto/key/dh/RFC2631.java \ |
384 |
\ |
385 |
gnu/crypto/key/dss/DSSKey.java \ |
386 |
gnu/crypto/key/dss/DSSKeyPairGenerator.java \ |
387 |
gnu/crypto/key/dss/DSSKeyPairRawCodec.java \ |
388 |
gnu/crypto/key/dss/DSSPrivateKey.java \ |
389 |
gnu/crypto/key/dss/DSSPublicKey.java \ |
390 |
gnu/crypto/key/dss/FIPS186.java \ |
391 |
\ |
392 |
gnu/crypto/key/rsa/GnuRSAKey.java \ |
393 |
gnu/crypto/key/rsa/GnuRSAPrivateKey.java \ |
394 |
gnu/crypto/key/rsa/GnuRSAPublicKey.java \ |
395 |
gnu/crypto/key/rsa/RSAKeyPairGenerator.java \ |
396 |
gnu/crypto/key/rsa/RSAKeyPairRawCodec.java \ |
397 |
\ |
398 |
gnu/crypto/key/srp6/SRP6Host.java \ |
399 |
gnu/crypto/key/srp6/SRP6KeyAgreement.java \ |
400 |
gnu/crypto/key/srp6/SRP6SaslClient.java \ |
401 |
gnu/crypto/key/srp6/SRP6SaslServer.java \ |
402 |
gnu/crypto/key/srp6/SRP6TLSClient.java \ |
403 |
gnu/crypto/key/srp6/SRP6TLSServer.java \ |
404 |
gnu/crypto/key/srp6/SRP6User.java \ |
405 |
gnu/crypto/key/srp6/SRPAlgorithm.java \ |
406 |
gnu/crypto/key/srp6/SRPKey.java \ |
407 |
gnu/crypto/key/srp6/SRPKeyPairGenerator.java \ |
408 |
gnu/crypto/key/srp6/SRPKeyPairRawCodec.java \ |
409 |
gnu/crypto/key/srp6/SRPPrivateKey.java \ |
410 |
gnu/crypto/key/srp6/SRPPublicKey.java \ |
411 |
\ |
412 |
gnu/crypto/keyring/AuthenticatedEntry.java \ |
413 |
gnu/crypto/keyring/BaseKeyring.java \ |
414 |
gnu/crypto/keyring/BinaryDataEntry.java \ |
415 |
gnu/crypto/keyring/CertPathEntry.java \ |
416 |
gnu/crypto/keyring/CertificateEntry.java \ |
417 |
gnu/crypto/keyring/CompressedEntry.java \ |
418 |
gnu/crypto/keyring/EncryptedEntry.java \ |
419 |
gnu/crypto/keyring/Entry.java \ |
420 |
gnu/crypto/keyring/EnvelopeEntry.java \ |
421 |
gnu/crypto/keyring/GnuPrivateKeyring.java \ |
422 |
gnu/crypto/keyring/GnuPublicKeyring.java \ |
423 |
gnu/crypto/keyring/IKeyring.java \ |
424 |
gnu/crypto/keyring/IPrivateKeyring.java \ |
425 |
gnu/crypto/keyring/IPublicKeyring.java \ |
426 |
gnu/crypto/keyring/MalformedKeyringException.java \ |
427 |
gnu/crypto/keyring/MaskableEnvelopeEntry.java \ |
428 |
gnu/crypto/keyring/MeteredInputStream.java \ |
429 |
gnu/crypto/keyring/PasswordAuthenticatedEntry.java \ |
430 |
gnu/crypto/keyring/PasswordEncryptedEntry.java \ |
431 |
gnu/crypto/keyring/PasswordProtectedEntry.java \ |
432 |
gnu/crypto/keyring/PrimitiveEntry.java \ |
433 |
gnu/crypto/keyring/PrivateKeyEntry.java \ |
434 |
gnu/crypto/keyring/Properties.java \ |
435 |
gnu/crypto/keyring/PublicKeyEntry.java \ |
436 |
\ |
437 |
gnu/crypto/mac/BaseMac.java \ |
438 |
gnu/crypto/mac/HMac.java \ |
439 |
gnu/crypto/mac/HMacFactory.java \ |
440 |
gnu/crypto/mac/IMac.java \ |
441 |
gnu/crypto/mac/MacFactory.java \ |
442 |
gnu/crypto/mac/MacInputStream.java \ |
443 |
gnu/crypto/mac/MacOutputStream.java \ |
444 |
gnu/crypto/mac/TMMH16.java \ |
445 |
gnu/crypto/mac/UHash32.java \ |
446 |
gnu/crypto/mac/UMac32.java \ |
447 |
\ |
448 |
gnu/crypto/mode/BaseMode.java \ |
449 |
gnu/crypto/mode/CBC.java \ |
450 |
gnu/crypto/mode/CFB.java \ |
451 |
gnu/crypto/mode/CTR.java \ |
452 |
gnu/crypto/mode/ECB.java \ |
453 |
gnu/crypto/mode/ICM.java \ |
454 |
gnu/crypto/mode/IMode.java \ |
455 |
gnu/crypto/mode/ModeFactory.java \ |
456 |
gnu/crypto/mode/OFB.java \ |
457 |
\ |
458 |
gnu/crypto/pad/BasePad.java \ |
459 |
gnu/crypto/pad/IPad.java \ |
460 |
gnu/crypto/pad/PadFactory.java \ |
461 |
gnu/crypto/pad/PKCS1_V1_5.java \ |
462 |
gnu/crypto/pad/PKCS7.java \ |
463 |
gnu/crypto/pad/TBC.java \ |
464 |
gnu/crypto/pad/WrongPaddingException.java \ |
465 |
\ |
466 |
gnu/crypto/prng/ARCFour.java \ |
467 |
gnu/crypto/prng/BasePRNG.java \ |
468 |
gnu/crypto/prng/ICMGenerator.java \ |
469 |
gnu/crypto/prng/IPBE.java \ |
470 |
gnu/crypto/prng/IRandom.java \ |
471 |
gnu/crypto/prng/LimitReachedException.java \ |
472 |
gnu/crypto/prng/MDGenerator.java \ |
473 |
gnu/crypto/prng/PBKDF2.java \ |
474 |
gnu/crypto/prng/PRNGFactory.java \ |
475 |
gnu/crypto/prng/UMacGenerator.java \ |
476 |
\ |
477 |
gnu/crypto/sig/BaseSignature.java \ |
478 |
gnu/crypto/sig/ISignature.java \ |
479 |
gnu/crypto/sig/ISignatureCodec.java \ |
480 |
gnu/crypto/sig/SignatureFactory.java \ |
481 |
\ |
482 |
gnu/crypto/sig/dss/DSSSignature.java \ |
483 |
gnu/crypto/sig/dss/DSSSignatureRawCodec.java \ |
484 |
\ |
485 |
gnu/crypto/sig/rsa/EME_PKCS1_V1_5.java \ |
486 |
gnu/crypto/sig/rsa/EMSA_PKCS1_V1_5.java \ |
487 |
gnu/crypto/sig/rsa/EMSA_PSS.java \ |
488 |
gnu/crypto/sig/rsa/RSA.java \ |
489 |
gnu/crypto/sig/rsa/RSAPKCS1V1_5Signature.java \ |
490 |
gnu/crypto/sig/rsa/RSAPSSSignature.java \ |
491 |
gnu/crypto/sig/rsa/RSAPSSSignatureRawCodec.java \ |
492 |
\ |
493 |
gnu/crypto/util/Base64.java \ |
494 |
gnu/crypto/util/Prime.java \ |
495 |
gnu/crypto/util/PRNG.java \ |
496 |
gnu/crypto/util/Util.java \ |
497 |
\ |
498 |
$(jce_sources) \ |
499 |
$(sasl_sources) |
500 |
|
501 |
mauve_sources = \ |
502 |
gnu/testlet/config.java \ |
503 |
gnu/testlet/ResourceNotFoundException.java \ |
504 |
gnu/testlet/SimpleTestHarness.java \ |
505 |
gnu/testlet/TestHarness.java \ |
506 |
gnu/testlet/Testlet.java \ |
507 |
\ |
508 |
gnu/testlet/gnu/crypto/assembly/TestOfAssembly.java \ |
509 |
gnu/testlet/gnu/crypto/assembly/TestOfCascade.java \ |
510 |
\ |
511 |
gnu/testlet/gnu/crypto/cipher/BaseCipherTestCase.java \ |
512 |
gnu/testlet/gnu/crypto/cipher/TestOfAnubis.java \ |
513 |
gnu/testlet/gnu/crypto/cipher/TestOfBlowfish.java \ |
514 |
gnu/testlet/gnu/crypto/cipher/TestOfCast5.java \ |
515 |
gnu/testlet/gnu/crypto/cipher/TestOfCipherFactory.java \ |
516 |
gnu/testlet/gnu/crypto/cipher/TestOfDES.java \ |
517 |
gnu/testlet/gnu/crypto/cipher/TestOfKhazad.java \ |
518 |
gnu/testlet/gnu/crypto/cipher/TestOfNistVectors.java \ |
519 |
gnu/testlet/gnu/crypto/cipher/TestOfNullCipher.java \ |
520 |
gnu/testlet/gnu/crypto/cipher/TestOfRijndael.java \ |
521 |
gnu/testlet/gnu/crypto/cipher/TestOfSerpent.java \ |
522 |
gnu/testlet/gnu/crypto/cipher/TestOfSquare.java \ |
523 |
gnu/testlet/gnu/crypto/cipher/TestOfTripleDES.java \ |
524 |
gnu/testlet/gnu/crypto/cipher/TestOfTwofish.java \ |
525 |
\ |
526 |
gnu/testlet/gnu/crypto/exp/TestOfUST.java \ |
527 |
\ |
528 |
gnu/testlet/gnu/crypto/hash/TestOfHashFactory.java \ |
529 |
gnu/testlet/gnu/crypto/hash/TestOfHaval.java \ |
530 |
gnu/testlet/gnu/crypto/hash/TestOfMD2.java \ |
531 |
gnu/testlet/gnu/crypto/hash/TestOfMD4.java \ |
532 |
gnu/testlet/gnu/crypto/hash/TestOfMD5.java \ |
533 |
gnu/testlet/gnu/crypto/hash/TestOfRipeMD128.java \ |
534 |
gnu/testlet/gnu/crypto/hash/TestOfRipeMD160.java \ |
535 |
gnu/testlet/gnu/crypto/hash/TestOfTiger.java \ |
536 |
gnu/testlet/gnu/crypto/hash/TestOfSha160.java \ |
537 |
gnu/testlet/gnu/crypto/hash/TestOfSha256.java \ |
538 |
gnu/testlet/gnu/crypto/hash/TestOfSha384.java \ |
539 |
gnu/testlet/gnu/crypto/hash/TestOfSha512.java \ |
540 |
gnu/testlet/gnu/crypto/hash/TestOfWhirlpool.java \ |
541 |
\ |
542 |
gnu/testlet/gnu/crypto/jce/TestOfKeyPairGenerator.java \ |
543 |
gnu/testlet/gnu/crypto/jce/TestOfMessageDigest.java \ |
544 |
gnu/testlet/gnu/crypto/jce/TestOfProvider.java \ |
545 |
gnu/testlet/gnu/crypto/jce/TestOfSignature.java \ |
546 |
\ |
547 |
gnu/testlet/gnu/crypto/key/TestOfKeyPairGeneratorFactory.java \ |
548 |
\ |
549 |
gnu/testlet/gnu/crypto/key/dh/TestOfDHCodec.java \ |
550 |
gnu/testlet/gnu/crypto/key/dh/TestOfDHKeyAgreements.java \ |
551 |
gnu/testlet/gnu/crypto/key/dh/TestOfDHKeyGeneration.java \ |
552 |
\ |
553 |
gnu/testlet/gnu/crypto/key/dss/TestOfDSSCodec.java \ |
554 |
gnu/testlet/gnu/crypto/key/dss/TestOfDSSKeyGeneration.java \ |
555 |
\ |
556 |
gnu/testlet/gnu/crypto/key/rsa/TestOfRSACodec.java \ |
557 |
gnu/testlet/gnu/crypto/key/rsa/TestOfRSAKeyGeneration.java \ |
558 |
\ |
559 |
gnu/testlet/gnu/crypto/key/srp6/TestOfSRP6KeyAgreements.java \ |
560 |
gnu/testlet/gnu/crypto/key/srp6/TestOfSRPCodec.java \ |
561 |
gnu/testlet/gnu/crypto/key/srp6/TestOfSRPKeyGeneration.java \ |
562 |
\ |
563 |
gnu/testlet/gnu/crypto/mac/TestOfHMac.java \ |
564 |
gnu/testlet/gnu/crypto/mac/TestOfHMacFactory.java \ |
565 |
gnu/testlet/gnu/crypto/mac/TestOfHMacMD5.java \ |
566 |
gnu/testlet/gnu/crypto/mac/TestOfHMacSha1.java \ |
567 |
gnu/testlet/gnu/crypto/mac/TestOfMacFactory.java \ |
568 |
gnu/testlet/gnu/crypto/mac/TestOfTMMH16.java \ |
569 |
\ |
570 |
gnu/testlet/gnu/crypto/mode/TestOfCBC.java \ |
571 |
gnu/testlet/gnu/crypto/mode/TestOfCFB.java \ |
572 |
gnu/testlet/gnu/crypto/mode/TestOfECB.java \ |
573 |
gnu/testlet/gnu/crypto/mode/TestOfModeFactory.java \ |
574 |
gnu/testlet/gnu/crypto/mode/TestOfOFB.java \ |
575 |
\ |
576 |
gnu/testlet/gnu/crypto/pad/TestOfPadFactory.java \ |
577 |
gnu/testlet/gnu/crypto/pad/TestOfPKCS7.java \ |
578 |
gnu/testlet/gnu/crypto/pad/TestOfTBC.java \ |
579 |
\ |
580 |
gnu/testlet/gnu/crypto/prng/TestOfARCFour.java \ |
581 |
gnu/testlet/gnu/crypto/prng/TestOfICMGenerator.java \ |
582 |
gnu/testlet/gnu/crypto/prng/TestOfPBKDF2.java \ |
583 |
gnu/testlet/gnu/crypto/prng/TestOfPRNGFactory.java \ |
584 |
\ |
585 |
gnu/testlet/gnu/crypto/sig/TestOfSignatureFactory.java \ |
586 |
\ |
587 |
gnu/testlet/gnu/crypto/sig/dss/TestOfDSSSignature.java \ |
588 |
gnu/testlet/gnu/crypto/sig/dss/TestOfDSSSignatureCodec.java \ |
589 |
\ |
590 |
gnu/testlet/gnu/crypto/sig/rsa/TestOfRSAPKCS1V1_5Signature.java \ |
591 |
gnu/testlet/gnu/crypto/sig/rsa/TestOfRSAPSSSignature.java \ |
592 |
gnu/testlet/gnu/crypto/sig/rsa/TestOfRSASignatureCodec.java \ |
593 |
\ |
594 |
$(jce_mauve_sources) \ |
595 |
$(sasl_mauve_sources) |
596 |
|
597 |
# .class files ---------------------------------------------------------------- |
598 |
main_classes = $(main_sources:.java=.class) |
599 |
mauve_classes = $(mauve_sources:.java=.class) |
600 |
|
601 |
gnu/testlet/config.java: gnu/testlet/config.java.in |
602 |
cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ |
603 |
|
604 |
# ----------------------------------------------------------------------------- |
605 |
|
606 |
check-local: $(check_PROGRAMS) mauve-$(PACKAGE) test_classes |
607 |
cat test_classes | ./mauveTest |
608 |
|
609 |
test_classes: FORCE |
610 |
$(SHELL) ./choose-classes . $(PACKAGE) |
611 |
|
612 |
FORCE: |
613 |
|
614 |
# Extra targets --------------------------------------------------------------- |
615 |
SUFFIXES = .java .lo .o .obj .class .jar |
616 |
|
617 |
%.class: %.java |
618 |
$(JAVAC_CMD) $< |
619 |
|
620 |
$(main_jar): $(main_classes) |
621 |
if FOUND_JCE_JAR |
622 |
@ jar cf $@ -C . gnu/crypto/*.class gnu/crypto/assembly/*.class \ |
623 |
gnu/crypto/cipher/*.class gnu/crypto/exp/ust/*.class \ |
624 |
gnu/crypto/hash/*.class gnu/crypto/jce/*.class gnu/crypto/jce/hash/*.class \ |
625 |
gnu/crypto/jce/prng/*.class gnu/crypto/jce/sig/*.class gnu/crypto/mac/*.class \ |
626 |
gnu/crypto/mode/*.class gnu/crypto/pad/*.class gnu/crypto/prng/*.class \ |
627 |
gnu/crypto/sasl/*.class gnu/crypto/sasl/anonymous/*.class \ |
628 |
gnu/crypto/sasl/crammd5/*.class gnu/crypto/sasl/plain/*.class \ |
629 |
gnu/crypto/sasl/srp/*.class gnu/crypto/sig/*.class gnu/crypto/sig/dss/*.class \ |
630 |
gnu/crypto/sig/rsa/*.class gnu/crypto/util/*.class \ |
631 |
gnu/crypto/key/*.class gnu/crypto/key/dh/*.class gnu/crypto/key/dss/*.class \ |
632 |
gnu/crypto/key/rsa/*.class gnu/crypto/key/srp6/*.class \ |
633 |
gnu/crypto/jce/cipher/*.class gnu/crypto/jce/mac/*.class \ |
634 |
gnu/crypto/jce/params/*.class gnu/crypto/jce/spec/*.class |
635 |
else |
636 |
@ jar cf $@ -C . gnu/crypto/*.class gnu/crypto/assembly/*.class \ |
637 |
gnu/crypto/cipher/*.class gnu/crypto/exp/ust/*.class \ |
638 |
gnu/crypto/hash/*.class gnu/crypto/jce/*.class gnu/crypto/jce/hash/*.class \ |
639 |
gnu/crypto/jce/prng/*.class gnu/crypto/jce/sig/*.class gnu/crypto/mac/*.class \ |
640 |
gnu/crypto/mode/*.class gnu/crypto/pad/*.class gnu/crypto/prng/*.class \ |
641 |
gnu/crypto/sasl/*.class gnu/crypto/sasl/anonymous/*.class \ |
642 |
gnu/crypto/sasl/crammd5/*.class gnu/crypto/sasl/plain/*.class \ |
643 |
gnu/crypto/sasl/srp/*.class gnu/crypto/sig/*.class gnu/crypto/sig/dss/*.class \ |
644 |
gnu/crypto/sig/rsa/*.class gnu/crypto/util/*.class \ |
645 |
gnu/crypto/key/*.class gnu/crypto/key/dh/*.class gnu/crypto/key/dss/*.class \ |
646 |
gnu/crypto/key/rsa/*.class gnu/crypto/key/srp6/*.class |
647 |
endif # FOUND_JCE_JAR |
648 |
|
649 |
MOSTLYCLEANFILES = $(main_jar) $(main_classes) $(mauve_classes) test_classes |
650 |
|
651 |
clean-local: |
652 |
find gnu -name '*.class' -exec rm -f '{}' ';' |
653 |
|
654 |
# ----------------------------------------------------------------------------- |