1 #if 0 /// elogind has only two of the parts here in it...
2 # libcore_la_sources = '''
115 libcore_la_sources = files('''
123 #if 0 /// The rest is not needed by elogind, we use the sources directly in login
124 # load_fragment_gperf_gperf = custom_target(
125 # 'load-fragment-gperf.gperf',
126 # input : 'load-fragment-gperf.gperf.m4',
127 # output: 'load-fragment-gperf.gperf',
128 # command : [m4, '-P'] + m4_defines + ['@INPUT@'],
131 # load_fragment_gperf_c = custom_target(
132 # 'load-fragment-gperf.c',
133 # input : load_fragment_gperf_gperf,
134 # output : 'load-fragment-gperf.c',
135 # command : [gperf, '@INPUT@', '--output-file', '@OUTPUT@'])
137 # awkscript = 'load-fragment-gperf-nulstr.awk'
138 # load_fragment_gperf_nulstr_c = custom_target(
139 # 'load-fragment-gperf-nulstr.c',
140 # input : [awkscript, load_fragment_gperf_gperf],
141 # output : 'load-fragment-gperf-nulstr.c',
142 # command : [awk, '-f', '@INPUT0@', '@INPUT1@'],
145 # libcore = static_library(
147 # libcore_la_sources,
148 # load_fragment_gperf_c,
149 # load_fragment_gperf_nulstr_c,
150 # include_directories : includes,
151 # link_with : [libshared_static],
152 # dependencies : [threads,
160 # systemd_sources = files('main.c')
162 # systemd_shutdown_sources = files('''
172 # in_files = [['macros.systemd', rpmmacrosdir],
173 # ['triggers.systemd', ''],
174 # ['systemd.pc', pkgconfigdatadir]]
176 # foreach item : in_files
180 # # If 'no', disable generation completely.
181 # # If '', generate, but do not install.
183 # gen = configure_file(
184 # input : file + '.in',
186 # configuration : substs)
194 # install_data('org.freedesktop.systemd1.conf',
195 # install_dir : dbuspolicydir)
196 # install_data('org.freedesktop.systemd1.service',
197 # install_dir : dbussystemservicedir)
199 # policy_in = configure_file(
200 # input : 'org.freedesktop.systemd1.policy.in.in',
201 # output : 'org.freedesktop.systemd1.policy.in',
202 # configuration : substs)
205 # 'org.freedesktop.systemd1.policy',
207 # output : 'org.freedesktop.systemd1.policy',
208 # command : intltool_command,
209 # install : install_polkit,
210 # install_dir : polkitpolicydir)
213 # TODO: this might work with meson from git, see
214 # https://github.com/mesonbuild/meson/issues/1441#issuecomment-283585493
217 # 'org.freedesktop.systemd1.policy',
220 # output : 'org.freedesktop.systemd1.policy',
221 # install : install_polkit,
222 # install_dir : polkitpolicydir)
224 #if 0 /// totally UNNEEDED in elogind
225 # install_data('system.conf',
227 # install_dir : pkgsysconfdir)
229 # meson.add_install_script('sh', '-c', mkdir_p.format(systemshutdowndir))
230 # meson.add_install_script('sh', '-c', mkdir_p.format(systemsleepdir))
231 # meson.add_install_script('sh', '-c', mkdir_p.format(systemgeneratordir))
232 # meson.add_install_script('sh', '-c', mkdir_p.format(usergeneratordir))
234 # meson.add_install_script('sh', '-c',
235 # mkdir_p.format(join_paths(pkgsysconfdir, 'system/multi-user.target.wants')))
236 # meson.add_install_script('sh', '-c',
237 # mkdir_p.format(join_paths(pkgsysconfdir, 'system/getty.target.wants')))
238 # meson.add_install_script('sh', '-c',
239 # mkdir_p.format(join_paths(pkgsysconfdir, 'user')))
240 # meson.add_install_script('sh', '-c',
241 # mkdir_p.format(join_paths(sysconfdir, 'xdg/systemd')))