diff options
author | Kay Sievers <kay@vrfy.org> | 2014-02-19 20:16:31 +0100 |
---|---|---|
committer | Kay Sievers <kay@vrfy.org> | 2014-02-19 20:53:18 +0100 |
commit | 2b0a23e8644635b9826853213a6579784bffa170 (patch) | |
tree | ef45f9e1697013e7b3f62181dadaccb7e19fe562 /Makefile.am | |
parent | 23abf5d5820ed9f24e8fe92fad32a207fe75398c (diff) |
build-sys: export experimental symbols only with --enable-kdbus
Diffstat (limited to 'Makefile.am')
-rw-r--r-- | Makefile.am | 15 |
1 files changed, 10 insertions, 5 deletions
diff --git a/Makefile.am b/Makefile.am index 724e89b626..d275021a6c 100644 --- a/Makefile.am +++ b/Makefile.am @@ -1925,7 +1925,6 @@ systemd_tty_ask_password_agent_LDADD = \ # ------------------------------------------------------------------------------ libsystemd_internal_la_SOURCES = \ - src/libsystemd/libsystemd.sym \ src/systemd/sd-bus.h \ src/systemd/sd-bus-protocol.h \ src/systemd/sd-bus-vtable.h \ @@ -1991,6 +1990,7 @@ libsystemd_internal_la_SOURCES = \ src/login/login-shared.h nodist_libsystemd_internal_la_SOURCES = \ + src/libsystemd/libsystemd.sym \ src/libsystemd/sd-bus/bus-error-mapping.c libsystemd_internal_la_CFLAGS = \ @@ -2012,14 +2012,19 @@ noinst_LTLIBRARIES += \ libsystemd-dump.la EXTRA_DIST += \ + src/libsystemd/libsystemd.sym.m4 \ + src/libsystemd/libsystemd.pc.in \ src/libsystemd/sd-bus/bus-error-mapping.gperf \ src/libsystemd/sd-bus/DIFFERENCES \ - src/libsystemd/sd-bus/GVARIANT-SERIALIZATION \ - src/libsystemd/libsystemd.pc.in + src/libsystemd/sd-bus/GVARIANT-SERIALIZATION CLEANFILES += \ + src/libsystemd/libsystemd.sym \ src/libsystemd/sd-bus/bus-error-mapping.c +BUILT_SOURCES += \ + src/libsystemd/libsystemd.sym + libsystemd_la_SOURCES = \ $(libsystemd_internal_la_SOURCES) \ $(libsystemd_journal_internal_la_SOURCES) @@ -2034,7 +2039,7 @@ libsystemd_la_CFLAGS = \ libsystemd_la_LDFLAGS = \ $(AM_LDFLAGS) \ -version-info $(LIBSYSTEMD_CURRENT):$(LIBSYSTEMD_REVISION):$(LIBSYSTEMD_AGE) \ - -Wl,--version-script=$(top_srcdir)/src/libsystemd/libsystemd.sym + -Wl,--version-script=$(top_builddir)/src/libsystemd/libsystemd.sym libsystemd_la_LIBADD = \ libsystemd-shared.la \ @@ -4879,7 +4884,7 @@ define generate-sym-test endef test-libsystemd-sym.c: \ - src/libsystemd/libsystemd.sym \ + $(top_builddir)/src/libsystemd/libsystemd.sym \ src/systemd/sd-journal.h \ src/systemd/sd-daemon.h \ src/systemd/sd-login.h \ |