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', false)
131 shared_sources += ['acl-util.c']
134 if conf.get('HAVE_UTMP', false)
135 shared_sources += ['utmp-wtmp.c']
138 #if 0 /// UNNEEDED by elogind
139 # if conf.get('HAVE_SECCOMP', false)
140 # shared_sources += ['seccomp-util.c']
143 # if conf.get('HAVE_LIBIPTC', false)
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,
172 libshared = shared_library(
176 #if 0 /// UNNEEDED by elogind
177 # journal_internal_sources,
178 # libsystemd_internal_sources,
181 libelogind_internal_sources,
183 include_directories : includes,
184 link_args : ['-shared'],
185 c_args : ['-fvisibility=default'],
186 dependencies : libshared_deps,
187 #if 0 /// UNNEEDED by elogind
189 # install_dir : rootlibexecdir)
194 libshared_static = static_library(
198 #if 1 /// need elogind internal library sources
199 libelogind_internal_sources,
201 include_directories : includes,
202 dependencies : libshared_deps)