summaryrefslogtreecommitdiff
path: root/Makefile.am
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2014-07-11 03:15:21 +0200
committerLennart Poettering <lennart@poettering.net>2014-07-11 03:15:21 +0200
commitcabb0bc6b1a4ec57e108dc99364687d7c4f9670f (patch)
tree72346552835783c0b7954d7c45473655899dc5a1 /Makefile.am
parent2de30868edab5b099cb1e5413e47ed11ded4cc63 (diff)
nss-mymachines: add new NSS module for automatically resolving addresses of all local containers
Diffstat (limited to 'Makefile.am')
-rw-r--r--Makefile.am19
1 files changed, 19 insertions, 0 deletions
diff --git a/Makefile.am b/Makefile.am
index 734e5c148e..f934bb1473 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -4497,6 +4497,25 @@ BUSNAMES_TARGET_WANTS += \
EXTRA_DIST += \
units/systemd-machined.service.in
+libnss_mymachines_la_SOURCES = \
+ src/nss-mymachines/nss-mymachines.sym \
+ src/nss-mymachines/nss-mymachines.c
+
+libnss_mymachines_la_LDFLAGS = \
+ $(AM_LDFLAGS) \
+ -module \
+ -export-dynamic \
+ -avoid-version \
+ -shared \
+ -shrext .so.2 \
+ -Wl,--version-script=$(top_srcdir)/src/nss-mymachines/nss-mymachines.sym
+
+libnss_mymachines_la_LIBADD = \
+ libsystemd-shared.la \
+ libsystemd-internal.la
+
+lib_LTLIBRARIES += \
+ libnss_mymachines.la
endif
# ------------------------------------------------------------------------------