X-Git-Url: https://git.distorted.org.uk/~mdw/catacomb/blobdiff_plain/f23d8ad26a2b88e07d93b0034685223b34cc790a..HEAD:/Makefile.am diff --git a/Makefile.am b/Makefile.am index fb8d6441..7ffaa53c 100644 --- a/Makefile.am +++ b/Makefile.am @@ -30,12 +30,32 @@ ACLOCAL_AMFLAGS = -Im4 SUBDIRS = ###-------------------------------------------------------------------------- -### The main library. +### Top-level library. lib_LTLIBRARIES = libcatacomb.la -libcatacomb_la_LDFLAGS = -version-info $(LIBTOOL_VERSION_INFO) -libcatacomb_la_LIBADD = $(CATACOMB_LIBS) $(mLib_LIBS) +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 @@ -74,19 +94,7 @@ SUBDIRS += . SUBDIRS += progs ###-------------------------------------------------------------------------- -### The pkg-config 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 $@ - -###-------------------------------------------------------------------------- -### Release tweaking. +### Distribution. ## Release number. dist-hook:: @@ -112,9 +120,11 @@ 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 @@ -123,6 +133,9 @@ 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