--- /dev/null
+### -*-makefile-*-
+###
+### Build script for public-key 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 = libpub.la
+libpub_la_SOURCES =
+
+TEST_LIBS = libpub.la
+
+###--------------------------------------------------------------------------
+### Component files.
+
+## The Blum--Blum--Shub random-bit generator.
+pkginclude_HEADERS += bbs.h
+libpub_la_SOURCES += bbs-fetch.c
+libpub_la_SOURCES += bbs-gen.c
+libpub_la_SOURCES += bbs-jump.c
+TESTS += bbs-jump.$t
+libpub_la_SOURCES += bbs-rand.c
+TESTS += bbs-rand.$t
+EXTRA_DIST += t/bbs
+
+## Plain Diffie--Hellman, in Schorr groups.
+pkginclude_HEADERS += dh.h
+libpub_la_SOURCES += dh-check.c
+libpub_la_SOURCES += dh-fetch.c
+libpub_la_SOURCES += dh-gen.c
+libpub_la_SOURCES += dh-kcdsa.c
+libpub_la_SOURCES += dh-limlee.c
+libpub_la_SOURCES += dh-param.c
+TESTS += dh-param.$t
+
+## The National Security Agency's Digital Signature Algorithm.
+pkginclude_HEADERS += dsa.h
+libpub_la_SOURCES += dsa-gen.c
+TESTS += dsa-gen.$t
+libpub_la_SOURCES += dsa-misc.c
+libpub_la_SOURCES += dsa-sign.c
+TESTS += dsa-sign.$t
+libpub_la_SOURCES += dsa-verify.c
+TESTS += dsa-verify.$t
+libpub_la_SOURCES += dsa-check.c
+EXTRA_DIST += t/dsa
+
+## Generalization of DSA to arbitrary cyclic groups.
+pkginclude_HEADERS += gdsa.h
+libpub_la_SOURCES += gdsa.c
+TESTS += gdsa.$t
+EXTRA_DIST += t/gdsa
+
+## KISA `KCDSA', generalized to arbitrary cyclic groups.
+pkginclude_HEADERS += gkcdsa.h
+libpub_la_SOURCES += gkcdsa.c
+TESTS += gkcdsa.$t
+EXTRA_DIST += t/gkcdsa
+
+## General key validity checking machinery.
+pkginclude_HEADERS += keycheck.h
+libpub_la_SOURCES += keycheck.c
+libpub_la_SOURCES += keycheck-mp.c
+libpub_la_SOURCES += keycheck-report.c
+
+## The Rivest--Shamir--Adleman trapdoor one-way function.
+pkginclude_HEADERS += rsa.h
+libpub_la_SOURCES += rsa-fetch.c
+libpub_la_SOURCES += rsa-gen.c
+libpub_la_SOURCES += rsa-priv.c
+libpub_la_SOURCES += rsa-pub.c
+libpub_la_SOURCES += rsa-recover.c
+libpub_la_SOURCES += oaep.c
+libpub_la_SOURCES += pkcs1.c
+libpub_la_SOURCES += pss.c
+EXTRA_DIST += rsa-test.c
+TESTS += rsa-test.$t
+EXTRA_DIST += t/rsa
+
+###----- That's all, folks --------------------------------------------------