diff options
author | Andy Wingo <wingo@pobox.com> | 2015-08-18 11:02:16 +0200 |
---|---|---|
committer | Andy Wingo <wingo@pobox.com> | 2015-08-18 11:03:51 +0200 |
commit | 7065fad702ec00cf721d3b605be8151009830859 (patch) | |
tree | b7c5084de1dafd31f4cbb752d2d6a5b51e09b750 /Makefile.am | |
parent | 7afbdecf5f3af25dc0bd66ae57882f221d64c348 (diff) |
Add rules to build and install the public libelogind library
* Makefile.am: Actually build and install libelogind.
Diffstat (limited to 'Makefile.am')
-rw-r--r-- | Makefile.am | 16 |
1 files changed, 15 insertions, 1 deletions
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) |