### -*-makefile-*- ### ### Build script for miscellaneous cryptography ### ### (c) 2013 Straylight/Edgeware ### ###----- Licensing notice --------------------------------------------------- ### ### This file is part of Catacomb. ### ### Catacomb is free software; you can redistribute it and/or modify ### it under the terms of the GNU Library General Public License as ### published by the Free Software Foundation; either version 2 of the ### License, or (at your option) any later version. ### ### Catacomb is distributed in the hope that it will be useful, ### but WITHOUT ANY WARRANTY; without even the implied warranty of ### MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ### GNU Library General Public License for more details. ### ### You should have received a copy of the GNU Library General Public ### License along with Catacomb; if not, write to the Free ### Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, ### MA 02111-1307, USA. include $(top_srcdir)/vars.am noinst_LTLIBRARIES = libmisc.la libmisc_la_SOURCES = TEST_LIBS = libmisc.la ###-------------------------------------------------------------------------- ### Secret sharing. ## Efficient sharing over GF(2^8). pkginclude_HEADERS += gfshare.h libmisc_la_SOURCES += gfshare.c libmisc_la_SOURCES += $(precomp)/gfshare-tab.c PRECOMPS += $(precomp)/gfshare-tab.c PRECOMP_PROGS += gfshare-mktab if !CROSS_COMPILING $(precomp)/gfshare-tab.c: $(AM_V_at)$(MKDIR_P) $(precomp) $(AM_V_at)$(MAKE) gfshare-mktab$e $(AM_V_GEN)./gfshare-mktab >$(precomp)/gfshare-tab.c.new && \ mv $(precomp)/gfshare-tab.c.new $(precomp)/gfshare-tab.c endif TESTS += gfshare.$t ## Number-theoretic sharing over GF(p). pkginclude_HEADERS += share.h libmisc_la_SOURCES += share.c TESTS += share.$t ###----- That's all, folks --------------------------------------------------