diff options
Diffstat (limited to 'Makefile.am')
-rw-r--r-- | Makefile.am | 34 |
1 files changed, 27 insertions, 7 deletions
diff --git a/Makefile.am b/Makefile.am index 016ce5e3b9..e55cecc6fd 100644 --- a/Makefile.am +++ b/Makefile.am @@ -63,6 +63,10 @@ LIBSYSTEMD_BUS_CURRENT=0 LIBSYSTEMD_BUS_REVISION=0 LIBSYSTEMD_BUS_AGE=0 +LIBSYSTEMD_EVENT_CURRENT=0 +LIBSYSTEMD_EVENT_REVISION=0 +LIBSYSTEMD_EVENT_AGE=0 + # Dirs of external packages dbuspolicydir=@dbuspolicydir@ dbussessionservicedir=@dbussessionservicedir@ @@ -1948,12 +1952,28 @@ EXTRA_DIST += \ src/libsystemd-daemon/libsystemd-daemon.sym # ------------------------------------------------------------------------------ +libsystemd_event_la_SOURCES = \ + src/libsystemd-bus/sd-event.c \ + src/systemd/sd-event.h \ + src/libsystemd-bus/event-util.h + +libsystemd_event_la_LDFLAGS = \ + $(AM_LDFLAGS) \ + -version-info $(LIBSYSTEMD_EVENT_CURRENT):$(LIBSYSTEMD_EVENT_REVISION):$(LIBSYSTEMD_EVENT_AGE) \ + -Wl,--version-script=$(top_srcdir)/src/libsystemd-bus/libsystemd-event.sym + +lib_LTLIBRARIES += \ + libsystemd-event.la + +libsystemd_event_la_LIBADD = \ + libsystemd-id128-internal.la \ + libsystemd-shared.la + libsystemd_bus_la_SOURCES = \ src/systemd/sd-bus.h \ src/systemd/sd-bus-protocol.h \ src/systemd/sd-bus-vtable.h \ src/systemd/sd-memfd.h \ - src/systemd/sd-event.h \ src/libsystemd-bus/sd-bus.c \ src/libsystemd-bus/bus-control.c \ src/libsystemd-bus/bus-control.h \ @@ -1984,15 +2004,14 @@ libsystemd_bus_la_SOURCES = \ src/libsystemd-bus/bus-convenience.c \ src/libsystemd-bus/kdbus.h \ src/libsystemd-bus/sd-memfd.c \ - src/libsystemd-bus/sd-event.c \ src/libsystemd-bus/bus-util.c \ - src/libsystemd-bus/bus-util.h \ - src/libsystemd-bus/event-util.h + src/libsystemd-bus/bus-util.h libsystemd_bus_la_LIBADD = \ libsystemd-id128-internal.la \ libsystemd-shared.la \ - libsystemd-daemon.la + libsystemd-daemon.la \ + libsystemd-event.la libsystemd_bus_la_CFLAGS = \ $(AM_CFLAGS) \ @@ -2007,7 +2026,8 @@ lib_LTLIBRARIES += \ libsystemd-bus.la libsystemd_bus_internal_la_SOURCES = \ - $(libsystemd_bus_la_SOURCES) + $(libsystemd_bus_la_SOURCES) \ + $(libsystemd_event_la_SOURCES) libsystemd_bus_internal_la_CFLAGS = \ $(libsystemd_bus_la_CFLAGS) @@ -3247,7 +3267,7 @@ systemd_socket_proxyd_SOURCES = \ systemd_socket_proxyd_LDADD = \ libsystemd-logs.la \ - libsystemd-bus-internal.la \ + libsystemd-bus.la \ libsystemd-journal-internal.la \ libsystemd-id128-internal.la \ libsystemd-shared.la \ |