1 #if 0 /// elogind has a much shorter list
80 # spawn-ask-password-agent.c
81 # spawn-ask-password-agent.h
82 # spawn-polkit-agent.c
83 # spawn-polkit-agent.h
127 test_tables_h = files('test-tables.h')
128 shared_sources += [test_tables_h]
130 if conf.get('HAVE_ACL') == 1
131 shared_sources += ['acl-util.c']
134 if conf.get('ENABLE_UTMP') == 1
135 shared_sources += ['utmp-wtmp.c']
138 #if 0 /// UNNEEDED by elogind
139 # if conf.get('HAVE_SECCOMP') == 1
140 # shared_sources += ['seccomp-util.c']
143 # if conf.get('HAVE_LIBIPTC') == 1
144 # shared_sources += ['firewall-util.c']
148 libshared_name = 'elogind-shared-@0@'.format(meson.project_version())
150 #if 0 /// elogind doesn't need all this
151 # libshared_deps = [threads,
165 libshared_deps = [threads,
171 libshared_sym_path = '@0@/libshared.sym'.format(meson.current_source_dir())
173 libshared = shared_library(
177 #if 0 /// UNNEEDED by elogind
178 # journal_internal_sources,
179 # libsystemd_internal_sources,
182 libelogind_internal_sources,
184 include_directories : includes,
185 link_args : ['-shared',
186 '-Wl,--version-script=' + libshared_sym_path],
187 c_args : ['-fvisibility=default'],
188 dependencies : libshared_deps,
190 install_dir : rootlibexecdir)
192 libshared_static = static_library(
196 #if 1 /// need elogind internal library sources
197 libelogind_internal_sources,
199 include_directories : includes,
200 dependencies : libshared_deps)