summaryrefslogtreecommitdiffstats
path: root/misc-utils/meson.build
diff options
context:
space:
mode:
Diffstat (limited to 'misc-utils/meson.build')
-rw-r--r--misc-utils/meson.build167
1 files changed, 167 insertions, 0 deletions
diff --git a/misc-utils/meson.build b/misc-utils/meson.build
new file mode 100644
index 0000000..7d21d02
--- /dev/null
+++ b/misc-utils/meson.build
@@ -0,0 +1,167 @@
+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-decode-file-flags.c',
+ 'lsfd-file.c',
+ 'lsfd-cdev.c',
+ 'lsfd-bdev.c',
+ 'lsfd-sock.c',
+ 'lsfd-sock.h',
+ 'lsfd-sock-xinfo.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
+if build_uuidd and sysvinit
+ uuidd_rc = configure_file(
+ input : 'uuidd.rc.in',
+ output : 'uuidd.rc',
+ configuration : conf)
+ install_data(
+ uuidd_rc,
+ install_mode : 'rwxr-xr-x',
+ install_dir : sysvinitrcdir)
+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',
+)
+
+pipesz_sources = files(
+ 'pipesz.c',
+)
+
+fadvise_sources = files(
+ 'fadvise.c',
+)
+
+waitpid_sources = files(
+ 'waitpid.c',
+)