Rearrange the file tree.
[u/mdw/catacomb] / rand / Makefile.am
1 ### -*-makefile-*-
2 ###
3 ### Build script for random number generators
4 ###
5 ### (c) 2013 Straylight/Edgeware
6 ###
7
8 ###----- Licensing notice ---------------------------------------------------
9 ###
10 ### This file is part of Catacomb.
11 ###
12 ### Catacomb is free software; you can redistribute it and/or modify
13 ### it under the terms of the GNU Library General Public License as
14 ### published by the Free Software Foundation; either version 2 of the
15 ### License, or (at your option) any later version.
16 ###
17 ### Catacomb is distributed in the hope that it will be useful,
18 ### but WITHOUT ANY WARRANTY; without even the implied warranty of
19 ### MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
20 ### GNU Library General Public License for more details.
21 ###
22 ### You should have received a copy of the GNU Library General Public
23 ### License along with Catacomb; if not, write to the Free
24 ### Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,
25 ### MA 02111-1307, USA.
26
27 include $(top_srcdir)/vars.am
28
29 noinst_LTLIBRARIES = librand.la
30 librand_la_SOURCES =
31
32 TEST_LIBS = librand.la
33
34 ###--------------------------------------------------------------------------
35 ### Component files.
36
37 ## The FIPS186 generator used to generate DSA domain parameters.
38 pkginclude_HEADERS += dsarand.h
39 librand_la_SOURCES += dsarand.c
40
41 ## Knuth's lagged-Fibonacci generator.
42 pkginclude_HEADERS += fibrand.h
43 librand_la_SOURCES += fibrand.c
44
45 ## The FIPS 140--2 random number generator tests.
46 pkginclude_HEADERS += fipstest.h
47 librand_la_SOURCES += fipstest.c
48
49 ## Interface for generic random number sources.
50 pkginclude_HEADERS += grand.h
51 librand_la_SOURCES += grand.c
52
53 ## A simple linear-congruential generator.
54 pkginclude_HEADERS += lcrand.h
55 librand_la_SOURCES += lcrand.c
56 TESTS += lcrand.$t
57 EXTRA_DIST += t/lcrand
58
59 ## Maurer's universal statistical test.
60 pkginclude_HEADERS += maurer.h
61 librand_la_SOURCES += maurer.c
62
63 ## System-specific noise acquisition.
64 pkginclude_HEADERS += noise.h
65 librand_la_SOURCES += noise.c
66
67 ## Cryptographic laundering for true random data generation.
68 pkginclude_HEADERS += rand.h
69 librand_la_SOURCES += rand.c
70
71 ## The SSL v3 pseudorandom function.
72 pkginclude_HEADERS += sslprf.h
73 librand_la_SOURCES += sslprf.c
74 TESTS += sslprf.$t
75 EXTRA_DIST += t/sslprf
76
77 ## The TLS v1 pseudorandom function.
78 pkginclude_HEADERS += tlsprf.h
79 librand_la_SOURCES += tlsprf.c
80 TESTS += tlsprf.$t
81 EXTRA_DIST += t/tlsprf
82
83 ###----- That's all, folks --------------------------------------------------