1 # SPDX-License-Identifier: LGPL-2.1-or-later
3 home_includes = [includes, include_directories('.')]
5 systemd_homework_sources = files('''
28 if conf.get('HAVE_P11KIT') == 1
29 systemd_homework_sources += files('homework-pkcs11.c')
31 if conf.get('HAVE_LIBFIDO2') == 1
32 systemd_homework_sources += files('homework-fido2.c')
35 systemd_homed_sources = files('''
55 user-record-pwquality.c
56 user-record-pwquality.h
63 homed_gperf_c = custom_target(
65 input : 'homed-gperf.gperf',
66 output : 'homed-gperf.c',
67 command : [gperf, '@INPUT@', '--output-file', '@OUTPUT@'])
69 systemd_homed_sources += [homed_gperf_c]
71 homectl_sources = files('''
78 homectl-recovery-key.c
79 homectl-recovery-key.h
81 user-record-pwquality.c
82 user-record-pwquality.h
87 pam_systemd_home_sym = 'src/home/pam_systemd_home.sym'
88 pam_systemd_home_c = files('''
96 if conf.get('ENABLE_HOMED') == 1
97 install_data('org.freedesktop.home1.conf',
98 install_dir : dbuspolicydir)
99 install_data('org.freedesktop.home1.service',
100 install_dir : dbussystemservicedir)
101 install_data('org.freedesktop.home1.policy',
102 install_dir : polkitpolicydir)
104 if install_sysconfdir_samples
105 install_data('homed.conf',
106 install_dir : pkgsysconfdir)