diff options
author | Sven Eden <yamakuzure@gmx.net> | 2017-07-31 08:28:21 +0200 |
---|---|---|
committer | Sven Eden <yamakuzure@gmx.net> | 2017-08-04 14:34:53 +0200 |
commit | f3dca9e3c3373a5817582d4b583077b8f9358604 (patch) | |
tree | ea76ef30c91cf194ec7b47f59df44d452f26e10b /src/libelogind | |
parent | f3061b4c6efa8275466c56f291eca43d36178213 (diff) |
General: Update build system to upstream support of meson+ninja.
Upstream thinks, that the auto tools are too 'legacy', or that they
are at least no longer fitting.
We follow, as the classic auto tools files have been removed, so no
other choice here...
Diffstat (limited to 'src/libelogind')
l--------- | src/libelogind/Makefile | 1 | ||||
-rw-r--r-- | src/libelogind/meson.build | 144 | ||||
l--------- | src/libelogind/sd-bus/Makefile | 1 | ||||
l--------- | src/libelogind/sd-daemon/Makefile | 1 | ||||
l--------- | src/libelogind/sd-event/Makefile | 1 | ||||
l--------- | src/libelogind/sd-id128/Makefile | 1 | ||||
l--------- | src/libelogind/sd-login/Makefile | 1 |
7 files changed, 144 insertions, 6 deletions
diff --git a/src/libelogind/Makefile b/src/libelogind/Makefile deleted file mode 120000 index d0b0e8e00..000000000 --- a/src/libelogind/Makefile +++ /dev/null @@ -1 +0,0 @@ -../Makefile
\ No newline at end of file diff --git a/src/libelogind/meson.build b/src/libelogind/meson.build new file mode 100644 index 000000000..5d012ea6e --- /dev/null +++ b/src/libelogind/meson.build @@ -0,0 +1,144 @@ +sd_login_c = files('sd-login/sd-login.c') + +#if 0 /// elogind has a shorter list, of course... +# libsystemd_internal_sources = files(''' +# sd-bus/bus-bloom.c +# sd-bus/bus-bloom.h +# sd-bus/bus-common-errors.c +# sd-bus/bus-common-errors.h +# sd-bus/bus-container.c +# sd-bus/bus-container.h +# sd-bus/bus-control.c +# sd-bus/bus-control.h +# sd-bus/bus-convenience.c +# sd-bus/bus-creds.c +# sd-bus/bus-creds.h +# sd-bus/bus-dump.c +# sd-bus/bus-dump.h +# sd-bus/bus-error.c +# sd-bus/bus-error.h +# sd-bus/bus-gvariant.c +# sd-bus/bus-gvariant.h +# sd-bus/bus-internal.c +# sd-bus/bus-internal.h +# sd-bus/bus-introspect.c +# sd-bus/bus-introspect.h +# sd-bus/bus-kernel.c +# sd-bus/bus-kernel.h +# sd-bus/bus-match.c +# sd-bus/bus-match.h +# sd-bus/bus-message.c +# sd-bus/bus-message.h +# sd-bus/bus-objects.c +# sd-bus/bus-objects.h +# sd-bus/bus-protocol.h +# sd-bus/bus-signature.c +# sd-bus/bus-signature.h +# sd-bus/bus-slot.c +# sd-bus/bus-slot.h +# sd-bus/bus-socket.c +# sd-bus/bus-socket.h +# sd-bus/bus-track.c +# sd-bus/bus-track.h +# sd-bus/bus-type.c +# sd-bus/bus-type.h +# sd-bus/sd-bus.c +# sd-daemon/sd-daemon.c +# sd-device/device-enumerator-private.h +# sd-device/device-enumerator.c +# sd-device/device-internal.h +# sd-device/device-private.c +# sd-device/device-private.h +# sd-device/device-util.h +# sd-device/sd-device.c +# sd-event/sd-event.c +# sd-hwdb/hwdb-internal.h +# sd-hwdb/hwdb-util.h +# sd-hwdb/sd-hwdb.c +# sd-id128/id128-util.c +# sd-id128/id128-util.h +# sd-id128/sd-id128.c +# sd-netlink/local-addresses.c +# sd-netlink/local-addresses.h +# sd-netlink/netlink-internal.h +# sd-netlink/netlink-message.c +# sd-netlink/netlink-socket.c +# sd-netlink/netlink-types.c +# sd-netlink/netlink-types.h +# sd-netlink/netlink-util.c +# sd-netlink/netlink-util.h +# sd-netlink/rtnl-message.c +# sd-netlink/sd-netlink.c +# sd-network/network-util.c +# sd-network/network-util.h +# sd-network/sd-network.c +# sd-path/sd-path.c +# sd-resolve/sd-resolve.c +# sd-utf8/sd-utf8.c +# '''.split()) + sd_login_c +#else +libelogind_internal_sources = files(''' + sd-bus/bus-bloom.c + sd-bus/bus-bloom.h + sd-bus/bus-common-errors.c + sd-bus/bus-common-errors.h + sd-bus/bus-container.c + sd-bus/bus-container.h + sd-bus/bus-control.c + sd-bus/bus-control.h + sd-bus/bus-convenience.c + sd-bus/bus-creds.c + sd-bus/bus-creds.h + sd-bus/bus-error.c + sd-bus/bus-error.h + sd-bus/bus-gvariant.c + sd-bus/bus-gvariant.h + sd-bus/bus-internal.c + sd-bus/bus-internal.h + sd-bus/bus-introspect.c + sd-bus/bus-introspect.h + sd-bus/bus-kernel.c + sd-bus/bus-kernel.h + sd-bus/bus-match.c + sd-bus/bus-match.h + sd-bus/bus-message.c + sd-bus/bus-message.h + sd-bus/bus-objects.c + sd-bus/bus-objects.h + sd-bus/bus-protocol.h + sd-bus/bus-signature.c + sd-bus/bus-signature.h + sd-bus/bus-slot.c + sd-bus/bus-slot.h + sd-bus/bus-socket.c + sd-bus/bus-socket.h + sd-bus/bus-track.c + sd-bus/bus-track.h + sd-bus/bus-type.c + sd-bus/bus-type.h + sd-bus/sd-bus.c + sd-daemon/sd-daemon.c + sd-event/sd-event.c + sd-id128/id128-util.c + sd-id128/id128-util.h + sd-id128/sd-id128.c +'''.split()) + sd_login_c +#endif // 0 + +libelogind_internal = static_library( + 'elogind', + libelogind_internal_sources, + install : false, + include_directories : includes, + link_with : libbasic, + dependencies : [threads, + librt]) + +libelogind_sym = 'src/libelogind/libelogind.sym' + +libelogind_pc = configure_file( + input : 'libelogind.pc.in', + output : 'libelogind.pc', + configuration : substs) +install_data(libelogind_pc, + install_dir : pkgconfiglibdir) diff --git a/src/libelogind/sd-bus/Makefile b/src/libelogind/sd-bus/Makefile deleted file mode 120000 index 94aaae2c4..000000000 --- a/src/libelogind/sd-bus/Makefile +++ /dev/null @@ -1 +0,0 @@ -../../Makefile
\ No newline at end of file diff --git a/src/libelogind/sd-daemon/Makefile b/src/libelogind/sd-daemon/Makefile deleted file mode 120000 index 94aaae2c4..000000000 --- a/src/libelogind/sd-daemon/Makefile +++ /dev/null @@ -1 +0,0 @@ -../../Makefile
\ No newline at end of file diff --git a/src/libelogind/sd-event/Makefile b/src/libelogind/sd-event/Makefile deleted file mode 120000 index 94aaae2c4..000000000 --- a/src/libelogind/sd-event/Makefile +++ /dev/null @@ -1 +0,0 @@ -../../Makefile
\ No newline at end of file diff --git a/src/libelogind/sd-id128/Makefile b/src/libelogind/sd-id128/Makefile deleted file mode 120000 index 94aaae2c4..000000000 --- a/src/libelogind/sd-id128/Makefile +++ /dev/null @@ -1 +0,0 @@ -../../Makefile
\ No newline at end of file diff --git a/src/libelogind/sd-login/Makefile b/src/libelogind/sd-login/Makefile deleted file mode 120000 index 94aaae2c4..000000000 --- a/src/libelogind/sd-login/Makefile +++ /dev/null @@ -1 +0,0 @@ -../../Makefile
\ No newline at end of file |