X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=blobdiff_plain;f=Makefile.am;h=069583cfd4afd69b73a10864b0404d9b3626da30;hp=7556db8d70a9ac9a7afdce6a26ffe10a93fbe8b3;hb=49002eb5f62acb2724e095360d42637077c97290;hpb=4acbce79798347cddf1e1d42e9be571e0a041873 diff --git a/Makefile.am b/Makefile.am index 7556db8d7..069583cfd 100644 --- a/Makefile.am +++ b/Makefile.am @@ -779,7 +779,9 @@ libsystemd_shared_la_SOURCES = \ src/shared/syscall-list.c \ src/shared/syscall-list.h \ src/shared/audit.c \ - src/shared/audit.h + src/shared/audit.h \ + src/shared/xml.c \ + src/shared/xml.h nodist_libsystemd_shared_la_SOURCES = \ src/shared/errno-from-name.h \ @@ -1156,7 +1158,8 @@ tests += \ test-hashmap \ test-list \ test-tables \ - test-device-nodes + test-device-nodes \ + test-xml EXTRA_DIST += \ test/sched_idle_bad.service \ @@ -1258,6 +1261,12 @@ test_hashmap_SOURCES = \ test_hashmap_LDADD = \ libsystemd-core.la +test_xml_SOURCES = \ + src/test/test-xml.c + +test_xml_LDADD = \ + libsystemd-shared.la + test_list_SOURCES = \ src/test/test-list.c @@ -1895,7 +1904,7 @@ systemd_bus_proxyd_LDADD = \ libsystemd-shared.la bus-proxyd-install-hook: - $(AM_V_LN)$(LN_S) -f ../../lib/systemd/systemd-bus-proxyd $(DESTDIR)$(bindir)/systemd-stdio-bridge + $(AM_V_LN)$(LN_S) -f ../lib/systemd/systemd-bus-proxyd $(DESTDIR)$(bindir)/systemd-stdio-bridge bus-proxyd-uninstall-hook: rm -f $(DESTDIR)$(bindir)/systemd-stdio-bridge @@ -3917,8 +3926,8 @@ noinst_LTLIBRARIES += \ libsystemd-dhcp.la libsystemd_dhcp_la_LIBADD = \ - libsystemd-shared.la \ - libsystemd-bus.la + libsystemd-bus-internal.la \ + libsystemd-shared.la test_dhcp_option_SOURCES = \ src/libsystemd-dhcp/dhcp-protocol.h \ @@ -3936,9 +3945,11 @@ test_dhcp_client_SOURCES = \ src/libsystemd-dhcp/test-dhcp-client.c test_dhcp_client_LDADD = \ + libsystemd-bus-internal.la \ + libsystemd-daemon-internal.la \ + libsystemd-id128-internal.la \ libsystemd-dhcp.la \ - libsystemd-shared.la \ - libsystemd-bus.la + libsystemd-shared.la tests += \ test-dhcp-option \ @@ -4045,6 +4056,7 @@ systemd_networkd_LDADD = \ libsystemd-bus-internal.la \ libsystemd-id128-internal.la \ libsystemd-rtnl.la \ + libsystemd-dhcp.la \ libsystemd-shared.la nodist_systemunit_DATA += \ @@ -4070,6 +4082,7 @@ test_network_LDADD = \ libsystemd-id128-internal.la \ libsystemd-daemon-internal.la \ libsystemd-rtnl.la \ + libsystemd-dhcp.la \ libsystemd-shared.la tests += \ @@ -4889,8 +4902,11 @@ install-tree: all # exclude the one perl script we have in there valgrind-tests: $(TESTS) $(AM_V_GEN)for f in $(filter-out %.pl, $^); do \ - echo "Running $$f"; \ - libtool --mode=execute valgrind -q --leak-check=full --max-stackframe=4194400 --error-exitcode=55 $(builddir)/$$f ; \ + if file $$f | grep -q shell; then \ + echo -e "$${x}Skipping non-binary $$f"; else \ + echo -e "$${x}Running $$f"; \ + libtool --mode=execute valgrind -q --leak-check=full --max-stackframe=4194400 --error-exitcode=55 $(builddir)/$$f ; fi; \ + x="\n\n"; \ done exported-%: %