Rearrange the file tree.
[u/mdw/catacomb] / progs / Makefile.am
diff --git a/progs/Makefile.am b/progs/Makefile.am
new file mode 100644 (file)
index 0000000..4d1dbd9
--- /dev/null
@@ -0,0 +1,109 @@
+### -*-makefile-*-
+###
+### Build script for utility programs
+###
+### (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
+
+bin_PROGRAMS            =
+dist_man_MANS           =
+
+UTILS_LIBS              = \
+       libcatcrypt.la $(top_builddir)/libcatacomb.la \
+       $(mLib_LIBS) $(LIBS)
+
+LDADD                   = $(UTILS_LIBS)
+
+###--------------------------------------------------------------------------
+### The `catcrypt' library.
+
+noinst_LTLIBRARIES      = libcatcrypt.la
+libcatcrypt_la_SOURCES  =
+
+## The main library.
+libcatcrypt_la_SOURCES += cc.h
+libcatcrypt_la_SOURCES += cc-enc.c
+libcatcrypt_la_SOURCES += cc-hash.c
+libcatcrypt_la_SOURCES += cc-kem.c
+libcatcrypt_la_SOURCES += cc-list.c
+libcatcrypt_la_SOURCES += cc-progress.c
+libcatcrypt_la_SOURCES += cc-sig.c
+libcatcrypt_la_SOURCES += cc-subcmd.c
+
+## Date parsing.
+libcatcrypt_la_SOURCES += getdate.h
+libcatcrypt_la_SOURCES += getdate.y
+
+###--------------------------------------------------------------------------
+### Utility programs.
+
+## Generate and verify datestamped cookies.
+bin_PROGRAMS           += cookie
+dist_man_MANS          += cookie.1
+
+## Asymmetric message encryption and decryption with deniable authentication.
+bin_PROGRAMS           += catcrypt
+dist_man_MANS          += catcrypt.1
+
+## Signing and verifying files.
+bin_PROGRAMS           += catsign
+dist_man_MANS          += catsign.1
+
+## Issue and verify signatures on directory trees.
+bin_PROGRAMS           += dsig
+dist_man_MANS          += dsig.1
+
+## Compute factorials to arbitrary precision.
+bin_PROGRAMS           += factorial
+
+## Compute Fibonacci numbers to arbitrary precision.
+bin_PROGRAMS           += fibonacci
+
+## Compute hashes of files.
+bin_PROGRAMS           += hashsum
+dist_man_MANS          += hashsum.1
+
+## Key management utility.
+bin_PROGRAMS           += key
+key_SOURCES             = key.c
+dist_man_MANS          += key.1 keyring.5
+
+## Generate passphrases with given entropy using wordlists and Markov models.
+bin_PROGRAMS           += mkphrase
+dist_man_MANS          += mkphrase.1
+
+## Performance testing.
+bin_PROGRAMS           += perftest
+
+## Remember passphrases for limited periods of time.
+bin_PROGRAMS           += pixie
+pixie_SOURCES           = pixie.c
+pixie_LDADD             = $(UTILS_LIBS) $(PIXIE_LIBS)
+dist_man_MANS          += pixie.1
+EXTRA_DIST             += xpixie
+
+## Generate random data.
+bin_PROGRAMS           += rspit
+
+###----- That's all, folks --------------------------------------------------