1 #if 0 /// elogind has only two of the parts here in it...
2 # libcore_la_sources = '''
121 libcore_la_sources = files('''
129 #if 0 /// The rest is not needed by elogind, we use the sources directly in login
130 # load_fragment_gperf_gperf = custom_target(
131 # 'load-fragment-gperf.gperf',
132 # input : 'load-fragment-gperf.gperf.m4',
133 # output: 'load-fragment-gperf.gperf',
134 # command : [m4, '-P'] + m4_defines + ['@INPUT@'],
137 # load_fragment_gperf_c = custom_target(
138 # 'load-fragment-gperf.c',
139 # input : load_fragment_gperf_gperf,
140 # output : 'load-fragment-gperf.c',
141 # command : [gperf, '@INPUT@', '--output-file', '@OUTPUT@'])
143 # awkscript = 'load-fragment-gperf-nulstr.awk'
144 # load_fragment_gperf_nulstr_c = custom_target(
145 # 'load-fragment-gperf-nulstr.c',
146 # input : [awkscript, load_fragment_gperf_gperf],
147 # output : 'load-fragment-gperf-nulstr.c',
148 # command : [awk, '-f', '@INPUT0@', '@INPUT1@'],
151 # libcore = static_library(
153 # libcore_la_sources,
154 # load_fragment_gperf_c,
155 # load_fragment_gperf_nulstr_c,
156 # include_directories : includes,
157 # link_with : [libshared_static],
158 # dependencies : [threads,
166 # systemd_sources = files('main.c')
168 # systemd_shutdown_sources = files('''
178 # in_files = [['macros.systemd', rpmmacrosdir],
179 # ['triggers.systemd', ''],
180 # ['systemd.pc', pkgconfigdatadir]]
182 # foreach item : in_files
186 # # If 'no', disable generation completely.
187 # # If '', generate, but do not install.
189 # gen = configure_file(
190 # input : file + '.in',
192 # configuration : substs)
200 # install_data('org.freedesktop.systemd1.conf',
201 # install_dir : dbuspolicydir)
202 # install_data('org.freedesktop.systemd1.service',
203 # install_dir : dbussystemservicedir)
205 # policy_in = configure_file(
206 # input : 'org.freedesktop.systemd1.policy.in.in',
207 # output : 'org.freedesktop.systemd1.policy.in',
208 # configuration : substs)
211 # 'org.freedesktop.systemd1.policy',
213 # output : 'org.freedesktop.systemd1.policy',
214 # command : intltool_command,
215 # install : install_polkit,
216 # install_dir : polkitpolicydir)
219 # TODO: this might work with meson from git, see
220 # https://github.com/mesonbuild/meson/issues/1441#issuecomment-283585493
223 # 'org.freedesktop.systemd1.policy',
226 # output : 'org.freedesktop.systemd1.policy',
227 # install : install_polkit,
228 # install_dir : polkitpolicydir)
230 #if 0 /// totally UNNEEDED in elogind
231 # install_data('system.conf',
233 # install_dir : pkgsysconfdir)
235 # meson.add_install_script('sh', '-c', mkdir_p.format(systemshutdowndir))
236 # meson.add_install_script('sh', '-c', mkdir_p.format(systemsleepdir))
237 # meson.add_install_script('sh', '-c', mkdir_p.format(systemgeneratordir))
238 # meson.add_install_script('sh', '-c', mkdir_p.format(usergeneratordir))
240 # meson.add_install_script('sh', '-c',
241 # mkdir_p.format(join_paths(pkgsysconfdir, 'system/multi-user.target.wants')))
242 # meson.add_install_script('sh', '-c',
243 # mkdir_p.format(join_paths(pkgsysconfdir, 'system/getty.target.wants')))
244 # meson.add_install_script('sh', '-c',
245 # mkdir_p.format(join_paths(pkgsysconfdir, 'user')))
246 # meson.add_install_script('sh', '-c',
247 # mkdir_p.format(join_paths(sysconfdir, 'xdg/systemd')))