math/mptypes.c: Remove obsolete file.
[catacomb] / Makefile.am
CommitLineData
7db733d4
MW
1### -*-makefile-*-
2###
3### Build script for Catacomb
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
0f00dc4c 27include $(top_srcdir)/vars.am
1c3d4cf5 28ACLOCAL_AMFLAGS = -Im4
7db733d4
MW
29
30SUBDIRS =
31
7db733d4
MW
32###--------------------------------------------------------------------------
33### The main library.
34
0f00dc4c 35lib_LTLIBRARIES = libcatacomb.la
7db733d4 36libcatacomb_la_LDFLAGS = -version-info $(LIBTOOL_VERSION_INFO)
1504e033 37libcatacomb_la_LIBADD = $(MATHLIBS) $(mLib_LIBS)
7db733d4 38libcatacomb_la_SOURCES =
7db733d4 39
0f00dc4c
MW
40## Basic utilities.
41SUBDIRS += base
42libcatacomb_la_LIBADD += base/libbase.la
7db733d4 43
0f00dc4c
MW
44## Mathematical infrastructure.
45SUBDIRS += math
46libcatacomb_la_LIBADD += math/libmath.la
7db733d4 47
0f00dc4c
MW
48## Symmetric cryptography.
49SUBDIRS += symm
50libcatacomb_la_LIBADD += symm/libsymm.la
7db733d4 51
0f00dc4c
MW
52## Key management.
53SUBDIRS += key
54libcatacomb_la_LIBADD += key/libkey.la
7db733d4 55
0f00dc4c
MW
56## Miscellaneous cryptography.
57SUBDIRS += misc
58libcatacomb_la_LIBADD += misc/libmisc.la
7db733d4 59
0f00dc4c
MW
60## Public-key cryptography.
61SUBDIRS += pub
62libcatacomb_la_LIBADD += pub/libpub.la
7db733d4 63
0f00dc4c
MW
64## Random number generators and related functionality.
65SUBDIRS += rand
66libcatacomb_la_LIBADD += rand/librand.la
7db733d4 67
0f00dc4c
MW
68## At this point, we should construct the library.
69SUBDIRS += .
7db733d4
MW
70
71###--------------------------------------------------------------------------
0f00dc4c 72### Ancillary programs.
7db733d4 73
0f00dc4c 74SUBDIRS += progs
7db733d4
MW
75
76###--------------------------------------------------------------------------
77### The pkg-config file.
78
79pkgconfigdir = $(libdir)/pkgconfig
80pkgconfig_DATA = catacomb.pc
81EXTRA_DIST += catacomb.pc.in
82CLEANFILES += catacomb.pc
83
84catacomb.pc: catacomb.pc.in Makefile
85 $(SUBST) $(srcdir)/catacomb.pc.in >$@.new $(SUBSTITUTIONS) && \
86 mv $@.new $@
87
88###--------------------------------------------------------------------------
89### Release tweaking.
90
91## Release number.
92dist-hook::
93 echo $(VERSION) >$(distdir)/RELEASE
94
95## Additional build tools.
f23d8ad2 96EXTRA_DIST += build-setup
ba6e6b64 97EXTRA_DIST += config/auto-version
0f00dc4c 98EXTRA_DIST += config/confsubst
7db733d4 99
f23d8ad2
MW
100## Documentation files.
101EXTRA_DIST += README.cipher
102EXTRA_DIST += README.hash
103EXTRA_DIST += README.mp
104EXTRA_DIST += README.random
105
7db733d4
MW
106###--------------------------------------------------------------------------
107### Debian.
108
109## General stuff.
110EXTRA_DIST += debian/rules
111EXTRA_DIST += debian/control
112EXTRA_DIST += debian/changelog
113EXTRA_DIST += debian/copyright
6000faf9
MW
114EXTRA_DIST += debian/compat
115
116## catacomb2
117EXTRA_DIST += debian/catacomb2.install
7db733d4
MW
118
119## catacomb-bin
6000faf9 120EXTRA_DIST += debian/catacomb-bin.install
7db733d4
MW
121EXTRA_DIST += debian/catacomb-bin.prerm
122EXTRA_DIST += debian/catacomb-bin.postinst
123EXTRA_DIST += debian/catacomb-bin.config
124EXTRA_DIST += debian/catacomb-bin.templates
125
6000faf9
MW
126## catacomb-dev
127EXTRA_DIST += debian/catacomb-dev.install
128
7db733d4 129###----- That's all, folks --------------------------------------------------