f9984d11 |
1 | ## -*-m4-*- |
d03ab969 |
2 | ## |
e2edda68 |
3 | ## $Id: Makefile.m4,v 1.83 2004/04/21 00:37:32 mdw Exp $ |
d03ab969 |
4 | ## |
5 | ## Makefile for Catacomb |
6 | ## |
7 | ## (c) 1999 Straylight/Edgeware |
8 | ## |
9 | |
10 | ##----- Licensing notice ---------------------------------------------------- |
11 | ## |
12 | ## This file is part of Catacomb. |
13 | ## |
14 | ## Catacomb is free software; you can redistribute it and/or modify |
15 | ## it under the terms of the GNU Library General Public License as |
16 | ## published by the Free Software Foundation; either version 2 of the |
17 | ## License, or (at your option) any later version. |
18 | ## |
19 | ## Catacomb is distributed in the hope that it will be useful, |
20 | ## but WITHOUT ANY WARRANTY; without even the implied warranty of |
21 | ## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
22 | ## GNU Library General Public License for more details. |
23 | ## |
24 | ## You should have received a copy of the GNU Library General Public |
25 | ## License along with Catacomb; if not, write to the Free |
26 | ## Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, |
27 | ## MA 02111-1307, USA. |
28 | |
d03ab969 |
29 | AUTOMAKE_OPTIONS = foreign |
30 | |
cc44d54e |
31 | SUBDIRS = tests |
32 | |
d03ab969 |
33 | archincludedir = $(libdir)/catacomb/include |
34 | |
35 | ## --- List handling macros --- |
36 | ## |
37 | ## List handling is nice, usually. Unfortunately, I based this design on |
38 | ## TeX list macros rather than anything sensible... |
39 | |
40 | define(`_', `define(`_item', $1)define(`_item_2', $2)emit`'') |
41 | define(`adorn', `pushdef(`emit', `$1`'_item`'$3')$2`'popdef(`emit')') |
42 | define(`join', |
43 | `pushdef(`emit', `adorn(``_(''_item`$2', `$3', ``)'')`'')$1`'popdef(`emit')') |
44 | define(`addsuffix', `adorn(`', `$1', `$2')') |
45 | define(`lit', `adorn(`', `$1', `')') |
46 | define(`nl', ` |
47 | ') |
48 | |
49 | define(`allwithsuffix', |
50 | `addsuffix(`$1', `$3') addsuffix(`$2', `$3') dnl |
51 | addsuffix(join(`$1', `-', `$2'), `$3')') |
52 | |
53 | ## --- Autogenerated source files --- |
54 | |
cc44d54e |
55 | define(`ciphers', `dnl |
3bef8c14 |
56 | _(des) _(desx) _(des3) _(mars) dnl |
621468d8 |
57 | _(idea) _(safer) _(safersk) dnl |
cc44d54e |
58 | _(blowfish) _(twofish) dnl |
a16cc8cf |
59 | _(tea) _(xtea) dnl |
cc44d54e |
60 | _(rc2) _(rc5) dnl |
a16cc8cf |
61 | _(skipjack) dnl |
cc44d54e |
62 | _(cast128) _(cast256) dnl |
2e8eb64a |
63 | _(square) _(rijndael) _(rijndael192) _(rijndael256) dnl |
0ba18b90 |
64 | _(serpent) _(noekeon)') |
cc44d54e |
65 | define(`cipher_modes', `_(ecb) _(cbc) _(cfb) _(ofb) _(counter)') |
d03ab969 |
66 | |
817d0432 |
67 | define(`hashes', `dnl |
e9026a0a |
68 | _(md5) _(md4) _(md2) _(tiger) _(has160) dnl |
5b69c389 |
69 | _(sha) _(sha224) _(sha256) _(sha384) _(sha512) dnl |
817d0432 |
70 | _(rmd128) _(rmd160) _(rmd256) _(rmd320)') |
cc44d54e |
71 | define(`hash_modes', `_(mgf) _(hmac)') |
d03ab969 |
72 | |
73 | MODES = \ |
74 | adorn(`$(srcdir)/', join(`ciphers', `-', `cipher_modes'), `.c') \ |
75 | adorn(`$(srcdir)/', join(`ciphers', `-', `cipher_modes'), `.h') \ |
76 | adorn(`$(srcdir)/', join(`hashes', `-', `hash_modes'), `.c') \ |
77 | adorn(`$(srcdir)/', join(`hashes', `-', `hash_modes'), `.h') |
78 | |
5a1a3a89 |
79 | $(MODES): modes-stamp |
80 | modes-stamp: genmodes |
a7557fb1 |
81 | cd $(srcdir); ./genmodes "lit(`ciphers')" "lit(`cipher_modes')" |
82 | cd $(srcdir); ./genmodes "lit(`hashes')" "lit(`hash_modes')" |
5a1a3a89 |
83 | echo datestamp >modes-stamp |
84 | |
bc981076 |
85 | define(`gen_tables', `dnl |
2e8eb64a |
86 | _(des) _(blowfish) _(twofish) dnl |
87 | _(square) _(rijndael) dnl |
3bef8c14 |
88 | _(safer) _(mars) _(tiger) dnl |
7c0acba6 |
89 | _(gfshare) _(gfx-sqr)') |
a7557fb1 |
90 | |
bc981076 |
91 | autoheaders: addsuffix(`gen_tables', `-tab.h') primetab.h mptypes.h |
5a1a3a89 |
92 | define(`emit', ` |
93 | _item`'-tab.h: _item`'-mktab |
f21119d7 |
94 | ./_item`'-mktab >_item`'-tab.h.new |
95 | mv _item`'-tab.h.new _item`'-tab.h')dnl |
bc981076 |
96 | gen_tables |
5a1a3a89 |
97 | |
98 | primetab.h: primetab.c |
99 | primetab.c: genprimes |
34e4f738 |
100 | ./genprimes -h primetab.h -c primetab.c \ |
101 | -s CATACOMB_PRIMETAB_H -n 256 \ |
3fe3eae5 |
102 | -t "unsigned short" -i primetab |
d03ab969 |
103 | archinclude_HEADERS = mptypes.h |
d03ab969 |
104 | mptypes.h: mptypes |
f21119d7 |
105 | ./mptypes >mptypes.h.new |
106 | mv mptypes.h.new mptypes.h |
d03ab969 |
107 | |
4edc47b8 |
108 | ectab.c: ectab.in ec-gentab.awk mpdump |
109 | $(srcdir)/ec-gentab.awk <$(srcdir)/ectab.in >ectab.c.new |
432c4e18 |
110 | mv ectab.c.new ectab.c |
111 | |
4edc47b8 |
112 | ptab.c: ptab.in p-gentab.awk mpdump |
113 | $(srcdir)/p-gentab.awk <$(srcdir)/ptab.in >ptab.c.new |
34e4f738 |
114 | mv ptab.c.new ptab.c |
115 | |
e9026a0a |
116 | gciphertab.c: gengctab |
117 | $(srcdir)/gengctab gccipher gcipher >gciphertab.c.new \ |
118 | "lit(join(`ciphers', `-', `cipher_modes')) \ |
b817bfc6 |
119 | lit(join(`hashes', `-', `_(mgf)')) \ |
e9026a0a |
120 | rc4 seal" |
121 | mv gciphertab.c.new gciphertab.c |
122 | |
123 | gmactab.c: gengctab |
124 | $(srcdir)/gengctab gcmac gmac >gmactab.c.new \ |
125 | "lit(join(`hashes', `-', `_(hmac)'))" |
126 | mv gmactab.c.new gmactab.c |
127 | |
128 | ghashtab.c: gengctab |
129 | $(srcdir)/gengctab gchash ghash >ghashtab.c.new \ |
b817bfc6 |
130 | "lit(`hashes') \ |
131 | crc32=gcrc32" |
e9026a0a |
132 | mv ghashtab.c.new ghashtab.c |
133 | |
d03ab969 |
134 | BUILT_SOURCES = \ |
e9026a0a |
135 | getdate.c modes-stamp gciphertab.c gmactab.c ghashtab.c \ |
d03ab969 |
136 | addsuffix(join(`ciphers', `-', `cipher_modes'), `.c') \ |
137 | addsuffix(join(`ciphers', `-', `cipher_modes'), `.h') \ |
d03ab969 |
138 | addsuffix(join(`hashes', `-', `hash_modes'), `.c') \ |
139 | addsuffix(join(`hashes', `-', `hash_modes'), `.h') |
ffc086db |
140 | |
141 | ## --- Building the main library --- |
8582bb3b |
142 | |
ffc086db |
143 | lib_LTLIBRARIES = libcatacomb.la |
144 | |
dbfee00a |
145 | libcatacomb_la_LDFLAGS = -version-info 3:0:1 |
d03ab969 |
146 | ## Middle number is the patchlevel. Final number is the minor version. The |
147 | ## difference between the first and last numbers is major version. |
148 | |
d03ab969 |
149 | pkginclude_HEADERS = \ |
432c4e18 |
150 | arena.h paranoia.h buf.h qdparse.h \ |
5a1a3a89 |
151 | blkc.h hash.h gcipher.h ghash.h gmac.h grand.h ghash-def.h \ |
152 | lcrand.h fibrand.h rc4.h seal.h rand.h noise.h fipstest.h maurer.h \ |
876b4f53 |
153 | key.h key-data.h passphrase.h pixie.h lmem.h \ |
75263f25 |
154 | mpx.h bitops.h mpw.h mpscan.h mparena.h mp.h mptext.h mpint.h \ |
f46efa79 |
155 | exp.h mpbarrett.h mpmont.h mpreduce.h \ |
dbfee00a |
156 | mpcrt.h mprand.h mpmul.h \ |
4edc47b8 |
157 | gfx.h gf.h gfreduce.h gfn.h \ |
9312c71f |
158 | primetab.h pfilt.h rabin.h \ |
f2ec324f |
159 | pgen.h prim.h strongprime.h limlee.h keycheck.h \ |
e9026a0a |
160 | bbs.h rsa.h dh.h dsarand.h dsa.h gdsa.h gkcdsa.h \ |
b817bfc6 |
161 | tlsprf.h sslprf.h \ |
cc44d54e |
162 | gfshare.h share.h \ |
817d0432 |
163 | rho.h \ |
0f3faccd |
164 | field.h ec.h ec-exp.h ec-test.h ectab.h ec-keys.h ec-raw.h \ |
34e4f738 |
165 | ptab.h group.h \ |
d03ab969 |
166 | allwithsuffix(`ciphers', `cipher_modes', `.h') \ |
bba24c1d |
167 | allwithsuffix(`hashes', `hash_modes', `.h') \ |
168 | addsuffix(`cipher_modes', `-def.h') \ |
e7dc130f |
169 | addsuffix(`hash_modes', `-def.h') crc32.h |
d03ab969 |
170 | |
3fe3eae5 |
171 | define(`MP_SOURCES', |
8ef0c733 |
172 | `mpx.c mpx-kmul.c mpx-ksqr.c mpscan.c mparena.c qdparse.c \ |
a7557fb1 |
173 | mp-misc.c mp-mem.c mp-const.c mp-io.c mp-arith.c mp-test.c \ |
338b4cd3 |
174 | mp-sqrt.c mp-gcd.c mp-jacobi.c mp-modsqrt.c \ |
5a1a3a89 |
175 | mpint.c mptext.c mptext-file.c mptext-string.c mptext-dstr.c \ |
0cbfe12e |
176 | mptext-len.c \ |
aacf9080 |
177 | exp.c mpcrt.c mpmul.c mprand.c \ |
34e4f738 |
178 | mpbarrett.c mpbarrett-exp.c mpbarrett-mexp.c mpbarrett-exp.h \ |
179 | mpmont.c mpmont-exp.c mpmont-mexp.c mpmont-exp.h \ |
f46efa79 |
180 | mpreduce.c mpreduce-exp.h \ |
34e4f738 |
181 | group-stdops.c group-exp.c group-exp.h g-prime.c group-parse.c \ |
182 | group-string.c group-file.c group-dstr.c \ |
183 | rho.c buf.c ptab.c \ |
dbfee00a |
184 | GF_SOURCES PGEN_SOURCES EC_SOURCES') |
7c0acba6 |
185 | |
186 | define(`GF_SOURCES', |
f46efa79 |
187 | `gfx.c gfx-kmul.c gfx-sqr.c gf-arith.c gf-gcd.c \ |
4edc47b8 |
188 | gfreduce.c gfreduce-exp.h gfn.c') |
3fe3eae5 |
189 | |
dbfee00a |
190 | define(`EC_SOURCES', |
432c4e18 |
191 | `field.c field-parse.c f-prime.c f-niceprime.c f-binpoly.c \ |
34e4f738 |
192 | ec.c ec-exp.c ec-prime.c ec-bin.c ec-test.c ec-info.c ectab.c \ |
0f3faccd |
193 | ec-fetch.c ec-raw.c g-ec.c') |
3fe3eae5 |
194 | |
195 | define(`PGEN_SOURCES', |
9312c71f |
196 | `pfilt.c rabin.c \ |
cc44d54e |
197 | pgen.c pgen-stdev.c pgen-safe.c pgen-gcd.c prim.c strongprime.c \ |
817d0432 |
198 | limlee.c \ |
f2ec324f |
199 | keycheck.c keycheck-mp.c keycheck-report.c \ |
cc44d54e |
200 | bbs-rand.c bbs-gen.c bbs-jump.c bbs-fetch.c \ |
d3325040 |
201 | rsa-priv.c rsa-pub.c rsa-gen.c rsa-recover.c rsa-fetch.c \ |
53cbeae3 |
202 | oaep.c pkcs1.c pss.c \ |
34e4f738 |
203 | dh-gen.c dh-limlee.c dh-check.c dh-fetch.c dh-param.c \ |
f2ec324f |
204 | dsarand.c dsa-sign.c dsa-verify.c dsa-gen.c dsa-check.c \ |
e9026a0a |
205 | gdsa.c gkcdsa.c \ |
ad47fc73 |
206 | key-data.c key-flags.c key-text.c key-binary.c key-pass.c \ |
5a1a3a89 |
207 | key-pack.c key-misc.c key-file.c key-attr.c key-io.c key-moan.c \ |
bc981076 |
208 | key-error.c key-fetch.c \ |
3fe3eae5 |
209 | primetab.c share.c') |
210 | |
211 | libcatacomb_la_SOURCES = \ |
212 | grand.c keysz.c \ |
213 | lcrand.c fibrand.c rc4.c seal.c rand.c noise.c fipstest.c maurer.c \ |
8ef0c733 |
214 | arena.c \ |
3fe3eae5 |
215 | passphrase.c pixie-client.c pixie-common.c lmem.c \ |
53cbeae3 |
216 | tlsprf.c sslprf.c \ |
3fe3eae5 |
217 | gfshare.c \ |
7c0acba6 |
218 | MP_SOURCES karatsuba.h \ |
e9026a0a |
219 | gciphertab.c ghashtab.c gmactab.c \ |
3fe3eae5 |
220 | des-base.c des-base.h \ |
0798f682 |
221 | desx-tab.h \ |
a297c216 |
222 | rc2-tab.h \ |
223 | skipjack-tab.h \ |
3fe3eae5 |
224 | cast-s.c cast-sk.c cast-base.h cast-tab.h \ |
2e8eb64a |
225 | rijndael-base.c rijndael-base.h \ |
abef5380 |
226 | md2-tab.h \ |
3fe3eae5 |
227 | serpent-sbox.h skipjack-tab.h tiger-base.h \ |
228 | daftstory.h \ |
d03ab969 |
229 | addsuffix(join(`ciphers', `-', `cipher_modes'), `.c') \ |
ce79f967 |
230 | addsuffix(join(`hashes', `-', `hash_modes'), `.c') \ |
e7dc130f |
231 | addsuffix(`ciphers', `.c') addsuffix(`hashes', `.c') crc32.c |
76f32ed2 |
232 | |
cc44d54e |
233 | des-base.lo: des-tab.h |
234 | blowfish.lo: blowfish-tab.h |
235 | twofish.lo: twofish-tab.h |
a16cc8cf |
236 | square.lo: square-tab.h |
2e8eb64a |
237 | rijndael-base.lo: rijndael-tab.h |
238 | safer.lo: safer-tab.h |
239 | mars.lo: mars-tab.h |
a16cc8cf |
240 | tiger.lo: tiger-tab.h |
5a1a3a89 |
241 | gfshare.lo: gfshare-tab.h |
7c0acba6 |
242 | gfx-sqr.lo: gfx-sqr-tab.h |
34e4f738 |
243 | patsubst(MP_SOURCES, `\.c\>', `.lo') dsig.o keyutil.o rspit.o: \ |
244 | mptypes.h primetab.h |
748ed8dc |
245 | |
d03ab969 |
246 | ## --- Utility programs --- |
a7557fb1 |
247 | |
e2edda68 |
248 | bin_PROGRAMS = \ |
249 | dsig key pixie rspit factorial hashsum mkphrase catcrypt |
de5585f8 |
250 | bin_SCRIPTS = catacomb-config xpixie |
cc44d54e |
251 | noinst_PROGRAMS = \ |
432c4e18 |
252 | genprimes mptypes serpent-check bittest mpdump \ |
e2edda68 |
253 | perftest \ |
7c0acba6 |
254 | addsuffix(`gen_tables', `-mktab') |
d03ab969 |
255 | LDADD = libcatacomb.la |
a094cab7 |
256 | |
5c3f75ec |
257 | dsig_SOURCES = dsig.c cc.h cc-sig.c getdate.y getdate.h |
258 | catcrypt_SOURCES = catcrypt.c cc.h cc-sig.c cc-kem.c cc-enc.c |
a094cab7 |
259 | key_SOURCES = keyutil.c getdate.y getdate.h |
a16cc8cf |
260 | hashsum_SOURCES = hashsum.c |
bba24c1d |
261 | rspit_SOURCES = rspit.c |
817d0432 |
262 | factorial_SOURCES = factorial.c |
e2edda68 |
263 | perftest_SOURCES = perftest.c |
a16cc8cf |
264 | pixie_SOURCES = pixie.c pixie-common.c lmem.c arena.c |
265 | pixie_LDADD = |
b55540f6 |
266 | mkphrase_SOURCES = mkphrase.c |
75263f25 |
267 | bittest_SOURCES = bittest.c |
268 | bittest_LDADD = |
817d0432 |
269 | |
7c0acba6 |
270 | define(`emit', ` |
271 | patsubst(_item, `[^a-zA-Z0-9]', `_')_mktab_SOURCES = _item`'-mktab.c |
272 | patsubst(_item, `[^a-zA-Z0-9]', `_')_mktab_LDADD =')dnl |
273 | gen_tables |
274 | |
cc44d54e |
275 | serpent_check_SOURCES = serpent-check.c |
276 | serpent_check_LDADD = |
cc44d54e |
277 | |
d03ab969 |
278 | genprimes_SOURCES = genprimes.c |
279 | genprimes_LDADD = |
280 | |
281 | mptypes_SOURCES = mptypes.c |
282 | mptypes_LDADD = |
283 | |
432c4e18 |
284 | mpdump_SOURCES = \ |
285 | mpdump.c \ |
286 | mpx.c mpx-kmul.c mpx-ksqr.c mpscan.c mparena.c \ |
287 | mp-misc.c mp-mem.c mp-const.c mp-arith.c mp-io.c \ |
288 | mptext.c mptext-string.c |
289 | mpdump_LDADD = |
290 | |
de5585f8 |
291 | ## --- Install the pixie setuid-root if we can --- |
525af7b8 |
292 | ## |
293 | ## Bodge around a bug in Automake: it doesn't call `install-exec-hook' from |
294 | ## `install' if there are subdirectories. |
de5585f8 |
295 | |
296 | changequote(<, >) |
525af7b8 |
297 | install: install-exec-hook |
de5585f8 |
298 | install-exec-hook: |
0798f682 |
299 | @pixie="$(DESTDIR)$(bindir)/`echo pixie|sed $(transform)`"; \ |
de5585f8 |
300 | if chown root $$pixie && chmod 4755 $$pixie; then \ |
301 | echo "chown root $$pixie"; \ |
302 | echo "chmod 4755 $$pixie"; \ |
303 | else \ |
304 | echo "***"; \ |
305 | echo "*** You should probably install $$pixie setuid-root."; \ |
306 | echo "***"; \ |
307 | fi |
308 | changequote(`, ') |
309 | |
d03ab969 |
310 | ## --- Documentation --- |
311 | |
525af7b8 |
312 | man_MANS = key.1 hashsum.1 keyring.5 pixie.1 |
d03ab969 |
313 | |
314 | ## --- Other handy definitions --- |
9183ab7b |
315 | |
6f51228e |
316 | EXTRA_DIST = \ |
b817bfc6 |
317 | Makefile.m4 genmodes gengctab $(man_MANS) xpixie \ |
318 | group-test.c rsa-test.c \ |
4edc47b8 |
319 | ectab.in ec-gentab.awk ptab.in p-gentab.awk \ |
2ee993fe |
320 | README.cipher README.hash README.random README.mp \ |
321 | debian/rules debian/copyright debian/control debian/changelog \ |
322 | debian/catacomb-bin.postinst debian/catacomb-bin.config \ |
323 | debian/catacomb-bin.prerm debian/catacomb-bin.templates |
d03ab969 |
324 | |
325 | dist-hook: |
e9026a0a |
326 | @for i in getdate.c gciphertab.c ghashtab.c gmactab.c; do \ |
327 | ln $$i $(distdir) || ln $(srcdir)/$$i $(distdir) || true; \ |
328 | done |
5a1a3a89 |
329 | @echo datestamp >$(distdir)/modes-stamp || true |
7c0acba6 |
330 | @for i in calc tests; do \ |
331 | mkdir $(distdir)/$$i; \ |
332 | ln $(srcdir)/$$i/*[!~] $(distdir)/$$i; \ |
333 | done || true |
cc44d54e |
334 | # kr=$$HOME/.catacomb/dsig-keyring; \ |
335 | # if [ -r $$kr ]; then \ |
336 | # cd $(distdir); \ |
337 | # ../key -k $$kr extract -f -secret KEYRING; \ |
338 | # find . -type f -print0 | ../dsig -k $$kr sign -0 -oMANIFEST; \ |
339 | # fi |
471db039 |
340 | |
a094cab7 |
341 | ## --- Testing --- |
d03ab969 |
342 | |
471db039 |
343 | define(`testprogs', `') |
344 | |
345 | define(`CTESTRIG', |
ffc086db |
346 | `define(`testprogs', testprogs \ |
d03ab969 |
347 | $1.t)dnl |
8b6cedcc |
348 | $1.to: $1.c |
349 | $(COMPILE) -c -DTEST_RIG -DSRCDIR=\"$(srcdir)\" $(srcdir)/$1.c -o $1.to |
34e4f738 |
350 | $1.t: $1.to libcatacomb.la |
b6f2c5a0 |
351 | $(CC) $(CFLAGS) $(LDFLAGS) $1.to .libs/libcatacomb.a $(LIBS) -o $1.t') |
a7557fb1 |
352 | |
353 | CTESTRIG(rc4) |
cc44d54e |
354 | CTESTRIG(seal) |
a7557fb1 |
355 | adorn(`nl`'CTESTRIG(', `ciphers', `)') |
ce79f967 |
356 | adorn(`nl`'CTESTRIG(', `hashes', `)') |
471db039 |
357 | adorn(`nl`'CTESTRIG(', join(`ciphers', `-', `cipher_modes'), `)') |
358 | adorn(`nl`'CTESTRIG(', join(`hashes', `-', `hash_modes'), `)') |
bba24c1d |
359 | CTESTRIG(lcrand) |
d83a82be |
360 | CTESTRIG(tlsprf) |
51a0f805 |
361 | CTESTRIG(sslprf) |
471db039 |
362 | CTESTRIG(mpx) |
bba24c1d |
363 | CTESTRIG(mpx-kmul) |
b6f2c5a0 |
364 | CTESTRIG(mpx-ksqr) |
a7557fb1 |
365 | CTESTRIG(mp-arith) |
1cf8e9fb |
366 | CTESTRIG(mp-modsqrt) |
a7557fb1 |
367 | CTESTRIG(mp-gcd) |
9fc256e8 |
368 | CTESTRIG(mp-jacobi) |
1cf8e9fb |
369 | CTESTRIG(mp-sqrt) |
bba24c1d |
370 | CTESTRIG(mptext) |
70b904c5 |
371 | CTESTRIG(mpint) |
bba24c1d |
372 | CTESTRIG(mpbarrett) |
34e4f738 |
373 | CTESTRIG(mpbarrett-exp) |
aacf9080 |
374 | CTESTRIG(mpbarrett-mexp) |
a7557fb1 |
375 | CTESTRIG(mpmont) |
34e4f738 |
376 | CTESTRIG(mpmont-exp) |
a7557fb1 |
377 | CTESTRIG(mpmont-mexp) |
f46efa79 |
378 | CTESTRIG(mpreduce) |
9fc256e8 |
379 | CTESTRIG(mpcrt) |
817d0432 |
380 | CTESTRIG(mpmul) |
b817bfc6 |
381 | CTESTRIG(rsa-test) |
7c0acba6 |
382 | CTESTRIG(gfx) |
ceb3f0c0 |
383 | CTESTRIG(gfx-sqr) |
7c0acba6 |
384 | CTESTRIG(gfx-kmul) |
ceb3f0c0 |
385 | CTESTRIG(gf-arith) |
386 | CTESTRIG(gf-gcd) |
387 | CTESTRIG(gfreduce) |
4edc47b8 |
388 | CTESTRIG(gfn) |
dbfee00a |
389 | CTESTRIG(ec-prime) |
ceb3f0c0 |
390 | CTESTRIG(ec-bin) |
bc985cef |
391 | CTESTRIG(ec-test) |
fb83f882 |
392 | CTESTRIG(ec-info) |
34e4f738 |
393 | CTESTRIG(dh-param) |
394 | CTESTRIG(group-test) |
e9026a0a |
395 | CTESTRIG(gdsa) |
396 | CTESTRIG(gkcdsa) |
a7557fb1 |
397 | CTESTRIG(pgen) |
471db039 |
398 | CTESTRIG(dsa-gen) |
399 | CTESTRIG(dsa-sign) |
d03ab969 |
400 | CTESTRIG(dsa-verify) |
bba24c1d |
401 | CTESTRIG(bbs-rand) |
402 | CTESTRIG(bbs-jump) |
cc44d54e |
403 | CTESTRIG(gfshare) |
404 | CTESTRIG(share) |
817d0432 |
405 | CTESTRIG(rho) |
a7557fb1 |
406 | |
75263f25 |
407 | TESTS = serpent-check bittest testprogs |
d03ab969 |
408 | |
cc44d54e |
409 | CLEANFILES = \ |
410 | *.t *.to \ |
ba17f3e5 |
411 | mptypes.h primetab.c primetab.h ectab.c \ |
bc981076 |
412 | addsuffix(`gen_tables', `-tab.h') |
d03ab969 |
413 | |
414 | ## --- Makefile building (haha!) --- |
415 | |
416 | $(srcdir)/Makefile.am: $(srcdir)/Makefile.m4 |
f21119d7 |
417 | m4 $(srcdir)/Makefile.m4 >$(srcdir)/Makefile.am.new |
418 | mv $(srcdir)/Makefile.am.new $(srcdir)/Makefile.am |
a7557fb1 |
419 | |
9312c71f |
420 | DISTCLEANFILES = libtool |
421 | |
a7557fb1 |
422 | MAINTAINERCLEANFILES = \ |
d03ab969 |
423 | $(srcdir)/Makefile.am \ |
424 | $(srcdir)/getdate.c getdate.c \ |
5a1a3a89 |
425 | $(MODES) modes-stamp $(srcdir)/modes-stamp |
d03ab969 |
426 | |
427 | ##----- That's all, folks --------------------------------------------------- |