X-Git-Url: https://git.distorted.org.uk/~mdw/catacomb/blobdiff_plain/eea933cdf237601a44e13006cfcfd3aad7a08349..4dafd519dbbdc17887f2de4f6cabe33ac4667ab0:/Makefile.am diff --git a/Makefile.am b/Makefile.am index 777a39dd..0f24bbcc 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 = $(MATHLIBS) $(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::