1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
|
chfn_chsh_sources = files(
'ch-common.c',
'ch-common.h',
)
chfn_chsh_deps = [lib_readline]
if chfn_chsh_password
chfn_chsh_sources += files(
'auth.c',
'auth.h',
)
chfn_chsh_deps += [
lib_pam,
lib_pam_misc,
]
endif
if lib_user.found()
chfn_chsh_sources += files(
'libuser.c',
'libuser.h',
)
chfn_chsh_deps += lib_user
else
chfn_chsh_sources += files(
'islocal.c',
'islocal.h',
'setpwnam.c',
'setpwnam.h',
)
endif
if lib_selinux.found()
chfn_chsh_sources += files(
'selinux_utils.c',
'selinux_utils.h',
)
chfn_chsh_deps += [lib_selinux]
endif
chfn_sources = files(
'chfn.c',
'logindefs.c',
'logindefs.h',
)
test_islocal_sources = files(
'islocal.c',
)
test_logindefs_sources = files(
'logindefs.c',
'logindefs.h',
)
test_consoles_sources = files(
'sulogin-consoles.c',
)
last_sources = files(
'last.c',
) + \
monotonic_c
login_sources = files(
'login.c',
'logindefs.c',
'logindefs.h',
)
sulogin_sources = files(
'sulogin.c',
'sulogin-consoles.c',
'sulogin-consoles.h',
)
|