Makefile.am, configure.ac, progs/Makefile.am: Link math library explicitly.
[catacomb] / Makefile.am
index 4cacfbe..d18ac3a 100644 (file)
@@ -25,6 +25,7 @@
 ### MA 02111-1307, USA.
 
 include $(top_srcdir)/vars.am
+ACLOCAL_AMFLAGS                 = -Im4
 
 SUBDIRS                         =
 
@@ -33,7 +34,7 @@ SUBDIRS                        =
 
 lib_LTLIBRARIES                 = libcatacomb.la
 libcatacomb_la_LDFLAGS  = -version-info $(LIBTOOL_VERSION_INFO)
-libcatacomb_la_LIBADD   = $(CATACOMB_LIBS) $(mLib_LIBS)
+libcatacomb_la_LIBADD   = $(MATHLIBS) $(mLib_LIBS)
 libcatacomb_la_SOURCES  =
 
 ## Basic utilities.
@@ -92,9 +93,16 @@ 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.
 
@@ -103,11 +111,19 @@ EXTRA_DIST                += debian/rules
 EXTRA_DIST             += debian/control
 EXTRA_DIST             += debian/changelog
 EXTRA_DIST             += debian/copyright
+EXTRA_DIST             += debian/compat
+
+## catacomb2
+EXTRA_DIST             += debian/catacomb2.install
 
 ## 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-dev
+EXTRA_DIST             += debian/catacomb-dev.install
+
 ###----- That's all, folks --------------------------------------------------