pub/keycheck-mp.c (keycheck_prime): Use `pgen_primep' to do the legwork.
[catacomb] / Makefile.am
index 28ed467..7ffaa53 100644 (file)
-## Process this file with Automake to generate `Makefile.in'
-## -*-Makefile-*-
-##
-## $Id: Makefile.am,v 1.1 1999/05/05 19:23:47 mdw Exp $
-##
-## Building the distribution
-##
-## (c) 1997 Mark Wooding
-##
-
-##----- Licensing notice ----------------------------------------------------
-##
-## This file is part of the Common Files Distribution (`common')
-## 
-## `Common' is free software; you can redistribute it and/or modify
-## it under the terms of the GNU General Public License as published by
-## the Free Software Foundation; either version 2 of the License, or
-## (at your option) any later version.
-## 
-## `Common' 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 General Public License for more details.
-## 
-## You should have received a copy of the GNU General Public License
-## along with `common'; if not, write to the Free Software Foundation,
-## Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-
-##----- Revision history ----------------------------------------------------
-##
-## $Log: Makefile.am,v $
-## Revision 1.1  1999/05/05 19:23:47  mdw
-## Initial revision
-##
-
-## --- Options ---
-
-AUTOMAKE_OPTIONS = foreign
-
-## --- What needs building ---
-
-bin_SCRIPTS = mklinks findlinks txtlib mkaclocal
-
-## --- Files to install in the repository ---
-
-pkgdata_DATA = \
-       COPYING COPYING.LIB INSTALL \
-       ansi2knr.1 ansi2knr.c \
-       gpl.tex lgpl.tex gpl.texi lgpl.texi texinfo.tex texinice.tex \
-       aclocal.glob \
-       mdwopt.c mdwopt.h
-
-EXTRA_DIST = $(pkgdata_DATA)
-
-pkgdata_SCRIPTS = \
-       config.guess config.sub elisp-comp install-sh \
-       mdate-sh missing  mkinstalldirs ylwrap
-
-## --- Documentation ---
-
-info_TEXINFOS = common.texi
-
-## --- Cleaning up ---
-
-CLEANFILES = $(bin_SCRIPTS)
+### -*-makefile-*-
+###
+### Build script for Catacomb
+###
+### (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
+ACLOCAL_AMFLAGS                 = -Im4
+
+SUBDIRS                         =
+
+###--------------------------------------------------------------------------
+### Top-level library.
+
+lib_LTLIBRARIES                 = libcatacomb.la
+libcatacomb_la_LDFLAGS  = -version-info $(LIBTOOL_VERSION_INFO) \
+                               -no-undefined
+libcatacomb_la_SOURCES  =
+libcatacomb_la_LIBADD   = $(MATHLIBS) $(PIXIE_LIBS) $(CATACOMB_LIBS) \
+                               $(mLib_LIBS)
+
+###--------------------------------------------------------------------------
+### Package-configuration file.
+
+pkgconfigdir            = $(libdir)/pkgconfig
+pkgconfig_DATA          = catacomb.pc
+EXTRA_DIST             += catacomb.pc.in
+CLEANFILES             += catacomb.pc
+
+catacomb.pc: catacomb.pc.in Makefile
+       $(SUBST) $(srcdir)/catacomb.pc.in >$@.new $(SUBSTITUTIONS) && \
+               mv $@.new $@
+
+###--------------------------------------------------------------------------
+### Subdirectories.
+###
+### Note: There are implicit dependencies between the subdirectories.  Be
+### careful about reordering them.
+
+## Basic utilities.
+SUBDIRS                        += base
+libcatacomb_la_LIBADD  += base/libbase.la
+
+## Mathematical infrastructure.
+SUBDIRS                        += math
+libcatacomb_la_LIBADD  += math/libmath.la
+
+## Symmetric cryptography.
+SUBDIRS                        += symm
+libcatacomb_la_LIBADD  += symm/libsymm.la
+
+## Key management.
+SUBDIRS                        += key
+libcatacomb_la_LIBADD  += key/libkey.la
+
+## Miscellaneous cryptography.
+SUBDIRS                        += misc
+libcatacomb_la_LIBADD  += misc/libmisc.la
+
+## Public-key cryptography.
+SUBDIRS                        += pub
+libcatacomb_la_LIBADD  += pub/libpub.la
+
+## Random number generators and related functionality.
+SUBDIRS                        += rand
+libcatacomb_la_LIBADD  += rand/librand.la
+
+## At this point, we should construct the library.
+SUBDIRS                        += .
+
+###--------------------------------------------------------------------------
+### Ancillary programs.
+
+SUBDIRS                        += progs
+
+###--------------------------------------------------------------------------
+### Distribution.
+
+## Release number.
+dist-hook::
+       echo $(VERSION) >$(distdir)/RELEASE
+
+## Additional build tools.
+EXTRA_DIST             += build-setup
+EXTRA_DIST             += config/auto-version
+EXTRA_DIST             += config/confsubst
+
+## Documentation files.
+EXTRA_DIST             += README.cipher
+EXTRA_DIST             += README.hash
+EXTRA_DIST             += README.mp
+EXTRA_DIST             += README.random
+
+###--------------------------------------------------------------------------
+### Debian.
+
+## General stuff.
+EXTRA_DIST             += debian/rules
+EXTRA_DIST             += debian/control
+EXTRA_DIST             += debian/changelog
+EXTRA_DIST             += debian/copyright
+EXTRA_DIST             += debian/compat
+EXTRA_DIST             += debian/source/format
+
+## catacomb2
+EXTRA_DIST             += debian/catacomb2.install
+EXTRA_DIST             += debian/catacomb2.symbols
+
+## catacomb-bin
+EXTRA_DIST             += debian/catacomb-bin.install
+EXTRA_DIST             += debian/catacomb-bin.prerm
+EXTRA_DIST             += debian/catacomb-bin.postinst
+EXTRA_DIST             += debian/catacomb-bin.config
+EXTRA_DIST             += debian/catacomb-bin.templates
+
+## catacomb-data
+EXTRA_DIST             += debian/catacomb-data.install
+
+## catacomb-dev
+EXTRA_DIST             += debian/catacomb-dev.install
+
+###----- That's all, folks --------------------------------------------------