X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=blobdiff_plain;f=Makefile.am;h=f934bb147364b557d9dea52f59a0ca28b05c4e73;hp=734e5c148ec43f0766969cd2b869b3895f1a7f47;hb=cabb0bc6b1a4ec57e108dc99364687d7c4f9670f;hpb=2de30868edab5b099cb1e5413e47ed11ded4cc63 diff --git a/Makefile.am b/Makefile.am index 734e5c148..f934bb147 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 # ------------------------------------------------------------------------------