1 #if 0 /// elogind has only two of the parts here in it...
2 # libcore_la_sources = '''
117 libcore_la_sources = files('''
125 #if 0 /// The rest is not needed by elogind, we use the sources directly in login
126 # load_fragment_gperf_gperf = custom_target(
127 # 'load-fragment-gperf.gperf',
128 # input : 'load-fragment-gperf.gperf.m4',
129 # output: 'load-fragment-gperf.gperf',
130 # command : [m4, '-P'] + m4_defines + ['@INPUT@'],
133 # load_fragment_gperf_c = custom_target(
134 # 'load-fragment-gperf.c',
135 # input : load_fragment_gperf_gperf,
136 # output : 'load-fragment-gperf.c',
137 # command : [gperf, '@INPUT@', '--output-file', '@OUTPUT@'])
139 # awkscript = 'load-fragment-gperf-nulstr.awk'
140 # load_fragment_gperf_nulstr_c = custom_target(
141 # 'load-fragment-gperf-nulstr.c',
142 # input : [awkscript, load_fragment_gperf_gperf],
143 # output : 'load-fragment-gperf-nulstr.c',
144 # command : [awk, '-f', '@INPUT0@', '@INPUT1@'],
147 # libcore = static_library(
149 # libcore_la_sources,
150 # load_fragment_gperf_c,
151 # load_fragment_gperf_nulstr_c,
152 # include_directories : includes,
153 # link_with : [libshared_static],
154 # dependencies : [threads,
162 # systemd_sources = files('main.c')
164 # systemd_shutdown_sources = files('''
174 # in_files = [['macros.systemd', rpmmacrosdir],
175 # ['triggers.systemd', ''],
176 # ['systemd.pc', pkgconfigdatadir]]
178 # foreach item : in_files
182 # # If 'no', disable generation completely.
183 # # If '', generate, but do not install.
185 # gen = configure_file(
186 # input : file + '.in',
188 # configuration : substs)
196 # install_data('org.freedesktop.systemd1.conf',
197 # install_dir : dbuspolicydir)
198 # install_data('org.freedesktop.systemd1.service',
199 # install_dir : dbussystemservicedir)
201 # policy_in = configure_file(
202 # input : 'org.freedesktop.systemd1.policy.in.in',
203 # output : 'org.freedesktop.systemd1.policy.in',
204 # configuration : substs)
207 # 'org.freedesktop.systemd1.policy',
209 # output : 'org.freedesktop.systemd1.policy',
210 # command : intltool_command,
211 # install : install_polkit,
212 # install_dir : polkitpolicydir)
215 # TODO: this might work with meson from git, see
216 # https://github.com/mesonbuild/meson/issues/1441#issuecomment-283585493
219 # 'org.freedesktop.systemd1.policy',
222 # output : 'org.freedesktop.systemd1.policy',
223 # install : install_polkit,
224 # install_dir : polkitpolicydir)
226 #if 0 /// totally UNNEEDED in elogind
227 # install_data('system.conf',
229 # install_dir : pkgsysconfdir)
231 # meson.add_install_script('sh', '-c', mkdir_p.format(systemshutdowndir))
232 # meson.add_install_script('sh', '-c', mkdir_p.format(systemsleepdir))
233 # meson.add_install_script('sh', '-c', mkdir_p.format(systemgeneratordir))
234 # meson.add_install_script('sh', '-c', mkdir_p.format(usergeneratordir))
236 # meson.add_install_script('sh', '-c',
237 # mkdir_p.format(join_paths(pkgsysconfdir, 'system/multi-user.target.wants')))
238 # meson.add_install_script('sh', '-c',
239 # mkdir_p.format(join_paths(pkgsysconfdir, 'system/getty.target.wants')))
240 # meson.add_install_script('sh', '-c',
241 # mkdir_p.format(join_paths(pkgsysconfdir, 'user')))
242 # meson.add_install_script('sh', '-c',
243 # mkdir_p.format(join_paths(sysconfdir, 'xdg/systemd')))