chiark / gitweb /
logind: create the session fifo before saving the session file
[elogind.git] / Makefile.am
index f4bfe66e521c1ef924945dcd46bd5a225f3f902b..789ca026b0fdc08c41f43051ef36857017a576c8 100644 (file)
@@ -2815,6 +2815,7 @@ libsystemd_id128_la_LDFLAGS = \
        -Wl,--version-script=$(top_srcdir)/src/libsystemd-id128/libsystemd-id128.sym
 
 libsystemd_id128_la_LIBADD = \
+       libsystemd-daemon-internal.la \
        libsystemd-shared.la
 
 libsystemd_id128_internal_la_SOURCES = \
@@ -4667,10 +4668,11 @@ valgrind-tests: $(TESTS)
                libtool --mode=execute valgrind -q --leak-check=full --max-stackframe=4194400 --error-exitcode=55 $(builddir)/$$f ; \
        done
 
-exported: $(lib_LTLIBRARIES)
-       $(AM_V_GEN)for f in $(lib_LTLIBRARIES:.la=.so) ; do \
-               nm -g --defined-only $(builddir)/.libs/"$$f" 2>&1 /dev/null | grep " T " | cut -d" " -f3 ; \
-       done > $@
+exported-%: %
+       $(AM_V_GEN)nm -g --defined-only $(builddir)/.libs/$(<:.la=.so) 2>&1 /dev/null | grep " T " | cut -d" " -f3 > $@
+
+exported: $(addprefix exported-, $(lib_LTLIBRARIES))
+       $(AM_V_GEN)cat $^ > $@
 
 check-api-docs: exported man
        $(AM_V_GEN)for symbol in `cat exported` ; do \