1include $(top_srcdir)/config/Shellcheck.am 2 3SUBDIRS = zfs zpool zdb zhack zinject zstream ztest 4SUBDIRS += fsck_zfs vdev_id raidz_test zfs_ids_to_path 5SUBDIRS += zpool_influxdb 6 7CPPCHECKDIRS = zfs zpool zdb zhack zinject zstream ztest 8CPPCHECKDIRS += raidz_test zfs_ids_to_path zpool_influxdb 9 10# TODO: #12084: SHELLCHECKDIRS = fsck_zfs vdev_id zpool 11SHELLCHECKDIRS = fsck_zfs zpool 12 13if USING_PYTHON 14SUBDIRS += arcstat arc_summary dbufstat 15endif 16 17if BUILD_LINUX 18SUBDIRS += mount_zfs zed zgenhostid zvol_id zvol_wait 19CPPCHECKDIRS += mount_zfs zed zgenhostid zvol_id 20SHELLCHECKDIRS += zed 21endif 22 23PHONY = cppcheck 24cppcheck: $(CPPCHECKDIRS) 25 set -e ; for dir in $(CPPCHECKDIRS) ; do \ 26 $(MAKE) -C $$dir cppcheck ; \ 27 done 28