# You should have received a copy of the GNU Lesser General Public License
# along with elogind; If not, see <http://www.gnu.org/licenses/>.
+id128_sources = files('''
+ sd-id128/id128-util.c
+ sd-id128/id128-util.h
+ sd-id128/sd-id128.c
+'''.split())
+
+sd_daemon_c = files('sd-daemon/sd-daemon.c')
+sd_event_c = files('sd-event/sd-event.c')
sd_login_c = files('sd-login/sd-login.c')
#if 0 /// elogind has a shorter list, of course...
# 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.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/generic-netlink.c
# sd-netlink/local-addresses.c
# sd-netlink/local-addresses.h
# sd-path/sd-path.c
# sd-resolve/sd-resolve.c
# sd-utf8/sd-utf8.c
-# '''.split()) + sd_login_c
+# '''.split()) + id128_sources + sd_daemon_c + sd_event_c + sd_login_c
#else
libelogind_internal_sources = files('''
sd-bus/bus-bloom.c
# dependencies : [threads,
# librt],
# c_args : ['-fvisibility=default'])
+#
+# libsystemd_sym = 'src/libsystemd/libsystemd.sym'
+#
+# libsystemd_pc = configure_file(
+# input : 'libsystemd.pc.in',
+# output : 'libsystemd.pc',
+# install_data(libsystemd_pc,
#else
dependencies : [threads])
#endif // 0
-
-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)