3 ### Build script for Catacomb
5 ### (c) 2013 Straylight/Edgeware
8 ###----- Licensing notice ---------------------------------------------------
10 ### This file is part of Catacomb.
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.
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.
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.
27 include $(top_srcdir)/vars.am
28 ACLOCAL_AMFLAGS = -Im4
32 ###--------------------------------------------------------------------------
35 lib_LTLIBRARIES = libcatacomb.la
36 libcatacomb_la_LDFLAGS = -version-info $(LIBTOOL_VERSION_INFO)
37 libcatacomb_la_LIBADD = $(MATHLIBS) $(mLib_LIBS)
38 libcatacomb_la_SOURCES =
42 libcatacomb_la_LIBADD += base/libbase.la
44 ## Mathematical infrastructure.
46 libcatacomb_la_LIBADD += math/libmath.la
48 ## Symmetric cryptography.
50 libcatacomb_la_LIBADD += symm/libsymm.la
54 libcatacomb_la_LIBADD += key/libkey.la
56 ## Miscellaneous cryptography.
58 libcatacomb_la_LIBADD += misc/libmisc.la
60 ## Public-key cryptography.
62 libcatacomb_la_LIBADD += pub/libpub.la
64 ## Random number generators and related functionality.
66 libcatacomb_la_LIBADD += rand/librand.la
68 ## At this point, we should construct the library.
71 ###--------------------------------------------------------------------------
72 ### Ancillary programs.
76 ###--------------------------------------------------------------------------
77 ### The pkg-config file.
79 pkgconfigdir = $(libdir)/pkgconfig
80 pkgconfig_DATA = catacomb.pc
81 EXTRA_DIST += catacomb.pc.in
82 CLEANFILES += catacomb.pc
84 catacomb.pc: catacomb.pc.in Makefile
85 $(SUBST) $(srcdir)/catacomb.pc.in >$@.new $(SUBSTITUTIONS) && \
88 ###--------------------------------------------------------------------------
93 echo $(VERSION) >$(distdir)/RELEASE
95 ## Additional build tools.
96 EXTRA_DIST += build-setup
97 EXTRA_DIST += config/auto-version
98 EXTRA_DIST += config/confsubst
100 ## Documentation files.
101 EXTRA_DIST += README.cipher
102 EXTRA_DIST += README.hash
103 EXTRA_DIST += README.mp
104 EXTRA_DIST += README.random
106 ###--------------------------------------------------------------------------
110 EXTRA_DIST += debian/rules
111 EXTRA_DIST += debian/control
112 EXTRA_DIST += debian/changelog
113 EXTRA_DIST += debian/copyright
114 EXTRA_DIST += debian/compat
117 EXTRA_DIST += debian/catacomb2.install
120 EXTRA_DIST += debian/catacomb-bin.install
121 EXTRA_DIST += debian/catacomb-bin.prerm
122 EXTRA_DIST += debian/catacomb-bin.postinst
123 EXTRA_DIST += debian/catacomb-bin.config
124 EXTRA_DIST += debian/catacomb-bin.templates
127 EXTRA_DIST += debian/catacomb-dev.install
129 ###----- That's all, folks --------------------------------------------------