f5f380a5373554b798259c803cfe6a9109f74afc
[u/mdw/catacomb] / misc / Makefile.am
1 ### -*-makefile-*-
2 ###
3 ### Build script for miscellaneous cryptography
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 = libmisc.la
30 libmisc_la_SOURCES =
31
32 ###--------------------------------------------------------------------------
33 ### Secret sharing.
34
35 ## Efficient sharing over GF(2^8).
36 pkginclude_HEADERS += gfshare.h
37 libmisc_la_SOURCES += gfshare.c
38 gfshare.lo: gfshare-tab.h
39 CLEANFILES += gfshare-tab.h
40 noinst_PROGRAMS += gfshare-mktab
41 gfshare-tab.h: gfshare-mktab$e
42 $(AM_V_GEN)./gfshare-mktab >gfshare-tab.h.new && \
43 mv gfshare-tab.h.new gfshare-tab.h
44 TESTS += gfshare.$t
45
46 ## Number-theoretic sharing over GF(p).
47 pkginclude_HEADERS += share.h
48 libmisc_la_SOURCES += share.c
49 TESTS += share.$t
50
51 ###----- That's all, folks --------------------------------------------------