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,
171 libshared = shared_library(
175 #if 0 /// UNNEEDED by elogind
176 # journal_internal_sources,
177 # libsystemd_internal_sources,
180 libelogind_internal_sources,
182 include_directories : includes,
183 link_args : ['-shared'],
184 c_args : ['-fvisibility=default'],
185 dependencies : libshared_deps,
187 install_dir : rootlibexecdir)
189 libshared_static = static_library(
193 #if 1 /// need elogind internal library sources
194 libelogind_internal_sources,
196 include_directories : includes,
197 dependencies : libshared_deps)