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) $(FORCEDEBUG_CPPFLAGS)
29 sbin_PROGRAMS += zhack
30 CPPCHECKTARGETS += zhack
41 ztest_CFLAGS = $(AM_CFLAGS) $(KERNEL_CFLAGS)
42 # Get rid of compiler warning for unchecked truncating snprintfs on gcc 7.1.1
43 ztest_CFLAGS += $(NO_FORMAT_TRUNCATION)
44 ztest_CPPFLAGS = $(AM_CPPFLAGS) $(FORCEDEBUG_CPPFLAGS)
46 sbin_PROGRAMS += ztest
47 CPPCHECKTARGETS += ztest
58 ztest_LDFLAGS = -pthread
61 include $(srcdir)/%D%/raidz_test/Makefile.am
62 include $(srcdir)/%D%/zdb/Makefile.am
63 include $(srcdir)/%D%/zfs/Makefile.am
64 include $(srcdir)/%D%/zinject/Makefile.am
65 include $(srcdir)/%D%/zpool/Makefile.am
66 include $(srcdir)/%D%/zpool_influxdb/Makefile.am
67 include $(srcdir)/%D%/zstream/Makefile.am
71 mounthelper_PROGRAMS += mount.zfs
72 CPPCHECKTARGETS += mount.zfs
82 mount_zfs_LDADD += $(LTLIBINTL)
84 CPPCHECKTARGETS += raidz_test
87 sbin_PROGRAMS += zgenhostid
88 CPPCHECKTARGETS += zgenhostid
90 zgenhostid_SOURCES = \
94 dist_bin_SCRIPTS += %D%/zvol_wait
95 SHELLCHECKSCRIPTS += %D%/zvol_wait
98 include $(srcdir)/%D%/zed/Makefile.am
103 bin_SCRIPTS += arc_summary arcstat dbufstat zilstat
104 CLEANFILES += arc_summary arcstat dbufstat zilstat
105 dist_noinst_DATA += %D%/arc_summary %D%/arcstat.in %D%/dbufstat.in %D%/zilstat.in
107 $(call SUBST,arcstat,%D%/)
108 $(call SUBST,dbufstat,%D%/)
109 $(call SUBST,zilstat,%D%/)
110 arc_summary: %D%/arc_summary
116 cmd: $(bin_SCRIPTS) $(bin_PROGRAMS) $(sbin_SCRIPTS) $(sbin_PROGRAMS) $(dist_bin_SCRIPTS) $(zfsexec_PROGRAMS) $(mounthelper_PROGRAMS)