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