1 #if 0 /// elogind has only two of the parts here in it...
2 # libcore_la_sources = '''
119 libcore_la_sources = files('''
127 #if 0 /// The rest is not needed by elogind, we use the sources directly in login
128 # load_fragment_gperf_gperf = custom_target(
129 # 'load-fragment-gperf.gperf',
130 # input : 'load-fragment-gperf.gperf.m4',
131 # output: 'load-fragment-gperf.gperf',
132 # command : [m4, '-P'] + m4_defines + ['@INPUT@'],
135 # load_fragment_gperf_c = custom_target(
136 # 'load-fragment-gperf.c',
137 # input : load_fragment_gperf_gperf,
138 # output : 'load-fragment-gperf.c',
139 # command : [gperf, '@INPUT@', '--output-file', '@OUTPUT@'])
141 # awkscript = 'load-fragment-gperf-nulstr.awk'
142 # load_fragment_gperf_nulstr_c = custom_target(
143 # 'load-fragment-gperf-nulstr.c',
144 # input : [awkscript, load_fragment_gperf_gperf],
145 # output : 'load-fragment-gperf-nulstr.c',
146 # command : [awk, '-f', '@INPUT0@', '@INPUT1@'],
149 # libcore = static_library(
151 # libcore_la_sources,
152 # load_fragment_gperf_c,
153 # load_fragment_gperf_nulstr_c,
154 # include_directories : includes,
155 # link_with : [libshared_static],
156 # dependencies : [threads,
164 # systemd_sources = files('main.c')
166 # systemd_shutdown_sources = files('''
176 # in_files = [['macros.systemd', rpmmacrosdir],
177 # ['triggers.systemd', ''],
178 # ['systemd.pc', pkgconfigdatadir]]
180 # foreach item : in_files
184 # # If 'no', disable generation completely.
185 # # If '', generate, but do not install.
187 # gen = configure_file(
188 # input : file + '.in',
190 # configuration : substs)
198 # install_data('org.freedesktop.systemd1.conf',
199 # install_dir : dbuspolicydir)
200 # install_data('org.freedesktop.systemd1.service',
201 # install_dir : dbussystemservicedir)
203 # policy_in = configure_file(
204 # input : 'org.freedesktop.systemd1.policy.in.in',
205 # output : 'org.freedesktop.systemd1.policy.in',
206 # configuration : substs)
209 # 'org.freedesktop.systemd1.policy',
211 # output : 'org.freedesktop.systemd1.policy',
212 # command : intltool_command,
213 # install : install_polkit,
214 # install_dir : polkitpolicydir)
217 # TODO: this might work with meson from git, see
218 # https://github.com/mesonbuild/meson/issues/1441#issuecomment-283585493
221 # 'org.freedesktop.systemd1.policy',
224 # output : 'org.freedesktop.systemd1.policy',
225 # install : install_polkit,
226 # install_dir : polkitpolicydir)
228 #if 0 /// totally UNNEEDED in elogind
229 # install_data('system.conf',
231 # install_dir : pkgsysconfdir)
233 # meson.add_install_script('sh', '-c', mkdir_p.format(systemshutdowndir))
234 # meson.add_install_script('sh', '-c', mkdir_p.format(systemsleepdir))
235 # meson.add_install_script('sh', '-c', mkdir_p.format(systemgeneratordir))
236 # meson.add_install_script('sh', '-c', mkdir_p.format(usergeneratordir))
238 # meson.add_install_script('sh', '-c',
239 # mkdir_p.format(join_paths(pkgsysconfdir, 'system/multi-user.target.wants')))
240 # meson.add_install_script('sh', '-c',
241 # mkdir_p.format(join_paths(pkgsysconfdir, 'system/getty.target.wants')))
242 # meson.add_install_script('sh', '-c',
243 # mkdir_p.format(join_paths(pkgsysconfdir, 'user')))
244 # meson.add_install_script('sh', '-c',
245 # mkdir_p.format(join_paths(sysconfdir, 'xdg/systemd')))