summaryrefslogtreecommitdiffstats
path: root/misc-utils/meson.build
blob: 6c0952a06a602ec4fb2af9eb453b9922ef89d60d (plain)
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
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
cal_sources = files(
  'cal.c',
)

logger_sources = files(
  'logger.c',
) + \
  strutils_c + \
  strv_c

look_sources = files(
  'look.c',
)

mcookie_sources = files(
  'mcookie.c',
) + \
  md5_c

namei_sources = files(
  'namei.c',
) + \
  strutils_c + \
  idcache_c

whereis_sources = files(
  'whereis.c',
)

lslocks_sources = files(
  'lslocks.c',
)

lsblk_sources = files(
  'lsblk.c',
  'lsblk-mnt.c',
  'lsblk-properties.c',
  'lsblk-devtree.c',
  'lsblk.h',
)

lsfd_sources = files (
  'lsfd.c',
  'lsfd.h',
  'lsfd-filter.h',
  'lsfd-filter.c',
  'lsfd-counter.h',
  'lsfd-counter.c',
  'lsfd-file.c',
  'lsfd-cdev.c',
  'lsfd-bdev.c',
  'lsfd-sock.c',
  'lsfd-unkn.c',
  'lsfd-fifo.c',
)

uuidgen_sources = files(
  'uuidgen.c',
)

uuidparse_sources = files(
  'uuidparse.c',
)

uuidd_sources = files(
  'uuidd.c',
) + \
  monotonic_c + \
  timer_c

test_uuidd_sources = files(
  'test_uuidd.c',
)

if build_uuidd and systemd.found()
  uuidd_service = configure_file(
    input : 'uuidd.service.in',
    output : 'uuidd.service',
    configuration : conf)
  install_data(
    uuidd_service,
    install_dir : systemdsystemunitdir)

  uuidd_socket = configure_file(
    input : 'uuidd.socket.in',
    output : 'uuidd.socket',
    configuration : conf)
  install_data(
    uuidd_socket,
    install_dir : systemdsystemunitdir)
endif

blkid_sources = files(
  'blkid.c',
) + \
  ismounted_c

findfs_sources = files(
  'findfs.c',
)

wipefs_sources = files(
  'wipefs.c',
)

findmnt_sources = files(
  'findmnt.c',
  'findmnt-verify.c',
  'findmnt.h',
)

kill_sources = files(
  'kill.c',
)

rename_sources = files(
  'rename.c',
)

getopt_sources = files(
  'getopt.c',
)

install_data(
  'getopt-example.bash',
  'getopt-example.tcsh',
  install_dir : docdir,
  install_mode: 'rwxr-xr-x')

fincore_sources = files(
  'fincore.c',
)

hardlink_sources = files(
  'hardlink.c',
) + \
  monotonic_c + \
  fileeq_c

cal_sources = files(
  'cal.c',
)