From 7065fad702ec00cf721d3b605be8151009830859 Mon Sep 17 00:00:00 2001 From: Andy Wingo Date: Tue, 18 Aug 2015 11:02:16 +0200 Subject: Add rules to build and install the public libelogind library * Makefile.am: Actually build and install libelogind. --- Makefile.am | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/Makefile.am b/Makefile.am index 761ba27b2e..c517a33cf9 100644 --- a/Makefile.am +++ b/Makefile.am @@ -717,9 +717,23 @@ libelogind_internal_la_LIBADD = \ libelogind-shared.la libelogind_internal_la_LDFLAGS = \ + $(AM_LDFLAGS) + +lib_LTLIBRARIES += \ + libelogind.la + +libelogind_la_SOURCES = + +libelogind_la_CFLAGS = \ + $(AM_CFLAGS) + +libelogind_la_LDFLAGS = \ $(AM_LDFLAGS) \ -version-info $(LIBELOGIND_CURRENT):$(LIBELOGIND_REVISION):$(LIBELOGIND_AGE) \ - -Wl,--version-script=$(top_builddir)/src/libelogind/libelogind.sym + -Wl,--version-script=src/libelogind/libelogind.sym + +libelogind_la_LIBADD = \ + libelogind-internal.la libelogind-install-hook: libname=libelogind.so && $(move-to-rootlibdir) -- cgit v1.2.3-54-g00ecf