10 sbin_SCRIPTS += fsck.zfs
11 SHELLCHECKSCRIPTS += fsck.zfs
12 CLEANFILES += fsck.zfs
13 dist_noinst_DATA += %D%/fsck.zfs.in
14 $(call SUBST,fsck.zfs,%D%/)
17 sbin_PROGRAMS += zfs_ids_to_path
18 CPPCHECKTARGETS += zfs_ids_to_path
20 zfs_ids_to_path_SOURCES = \
23 zfs_ids_to_path_LDADD = \
27 zhack_CPPFLAGS = $(AM_CPPFLAGS) $(LIBZPOOL_CPPFLAGS)
29 sbin_PROGRAMS += zhack
30 CPPCHECKTARGETS += zhack
41 ztest_CFLAGS = $(AM_CFLAGS) $(KERNEL_CFLAGS)
42 ztest_CPPFLAGS = $(AM_CPPFLAGS) $(LIBZPOOL_CPPFLAGS)
44 sbin_PROGRAMS += ztest
45 CPPCHECKTARGETS += ztest
56 ztest_LDFLAGS = -pthread
59 include $(srcdir)/%D%/raidz_test/Makefile.am
60 include $(srcdir)/%D%/zdb/Makefile.am
61 include $(srcdir)/%D%/zfs/Makefile.am
62 include $(srcdir)/%D%/zinject/Makefile.am
63 include $(srcdir)/%D%/zpool/Makefile.am
64 include $(srcdir)/%D%/zpool_influxdb/Makefile.am
65 include $(srcdir)/%D%/zstream/Makefile.am
69 mounthelper_PROGRAMS += mount.zfs
70 CPPCHECKTARGETS += mount.zfs
80 mount_zfs_LDADD += $(LTLIBINTL)
82 CPPCHECKTARGETS += raidz_test
85 sbin_PROGRAMS += zgenhostid
86 CPPCHECKTARGETS += zgenhostid
88 zgenhostid_SOURCES = \
92 dist_bin_SCRIPTS += %D%/zvol_wait
93 SHELLCHECKSCRIPTS += %D%/zvol_wait
96 include $(srcdir)/%D%/zed/Makefile.am
101 bin_SCRIPTS += arc_summary arcstat dbufstat zilstat
102 CLEANFILES += arc_summary arcstat dbufstat zilstat
103 dist_noinst_DATA += %D%/arc_summary %D%/arcstat.in %D%/dbufstat.in %D%/zilstat.in
105 $(call SUBST,arcstat,%D%/)
106 $(call SUBST,dbufstat,%D%/)
107 $(call SUBST,zilstat,%D%/)
108 arc_summary: %D%/arc_summary
114 cmd: $(bin_SCRIPTS) $(bin_PROGRAMS) $(sbin_SCRIPTS) $(sbin_PROGRAMS) $(dist_bin_SCRIPTS) $(zfsexec_PROGRAMS) $(mounthelper_PROGRAMS)