| 1 | ### -*-makefile-*- |
| 2 | ### |
| 3 | ### Build script for utility programs |
| 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 | bin_PROGRAMS = |
| 30 | dist_man_MANS = |
| 31 | |
| 32 | UTILS_LIBS = \ |
| 33 | libcatcrypt.la $(top_builddir)/libcatacomb.la \ |
| 34 | $(mLib_LIBS) $(LIBS) |
| 35 | |
| 36 | LDADD = $(UTILS_LIBS) $(CATACOMB_LIBS) |
| 37 | |
| 38 | ###-------------------------------------------------------------------------- |
| 39 | ### The `catcrypt' library. |
| 40 | |
| 41 | noinst_LTLIBRARIES = libcatcrypt.la |
| 42 | libcatcrypt_la_SOURCES = |
| 43 | |
| 44 | ## The main library. |
| 45 | libcatcrypt_la_SOURCES += cc.h |
| 46 | libcatcrypt_la_SOURCES += cc-enc.c |
| 47 | libcatcrypt_la_SOURCES += cc-hash.c |
| 48 | libcatcrypt_la_SOURCES += cc-kem.c |
| 49 | libcatcrypt_la_SOURCES += cc-list.c |
| 50 | libcatcrypt_la_SOURCES += cc-progress.c |
| 51 | libcatcrypt_la_SOURCES += cc-sig.c |
| 52 | libcatcrypt_la_SOURCES += cc-subcmd.c |
| 53 | |
| 54 | ## Date parsing. |
| 55 | libcatcrypt_la_SOURCES += getdate.h |
| 56 | libcatcrypt_la_SOURCES += getdate.y |
| 57 | |
| 58 | ###-------------------------------------------------------------------------- |
| 59 | ### Utility programs. |
| 60 | |
| 61 | ## Generate and verify datestamped cookies. |
| 62 | bin_PROGRAMS += cookie |
| 63 | dist_man_MANS += cookie.1 |
| 64 | |
| 65 | ## Asymmetric message encryption and decryption with deniable authentication. |
| 66 | bin_PROGRAMS += catcrypt |
| 67 | dist_man_MANS += catcrypt.1 |
| 68 | |
| 69 | ## Signing and verifying files. |
| 70 | bin_PROGRAMS += catsign |
| 71 | dist_man_MANS += catsign.1 |
| 72 | |
| 73 | ## Issue and verify signatures on directory trees. |
| 74 | bin_PROGRAMS += dsig |
| 75 | dist_man_MANS += dsig.1 |
| 76 | |
| 77 | ## Compute factorials to arbitrary precision. |
| 78 | bin_PROGRAMS += factorial |
| 79 | |
| 80 | ## Compute Fibonacci numbers to arbitrary precision. |
| 81 | bin_PROGRAMS += fibonacci |
| 82 | |
| 83 | ## Compute hashes of files. |
| 84 | bin_PROGRAMS += hashsum |
| 85 | dist_man_MANS += hashsum.1 |
| 86 | |
| 87 | ## Key management utility. |
| 88 | bin_PROGRAMS += key |
| 89 | key_SOURCES = key.c |
| 90 | dist_man_MANS += key.1 keyring.5 |
| 91 | |
| 92 | ## Generate passphrases with given entropy using wordlists and Markov models. |
| 93 | bin_PROGRAMS += mkphrase |
| 94 | dist_man_MANS += mkphrase.1 |
| 95 | |
| 96 | ## Performance testing. |
| 97 | bin_PROGRAMS += perftest |
| 98 | |
| 99 | ## Remember passphrases for limited periods of time. |
| 100 | bin_PROGRAMS += pixie |
| 101 | pixie_SOURCES = pixie.c |
| 102 | pixie_LDADD = $(top_builddir)/base/libbase.la |
| 103 | pixie_LDADD += $(top_builddir)/key/libkey.la |
| 104 | pixie_LDADD += $(mLib_LIBS) $(PIXIE_LIBS) $(LOGLIBS) |
| 105 | dist_man_MANS += pixie.1 |
| 106 | EXTRA_DIST += xpixie |
| 107 | |
| 108 | ## Generate random data. |
| 109 | bin_PROGRAMS += rspit |
| 110 | |
| 111 | ###----- That's all, folks -------------------------------------------------- |