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 += vdev_id 11SHELLCHECKDIRS = fsck_zfs zed zpool zvol_wait 12SHELLCHECK_OPTS = --enable=all 13 14if USING_PYTHON 15SUBDIRS += arcstat arc_summary dbufstat 16endif 17 18if BUILD_LINUX 19SUBDIRS += mount_zfs zed zgenhostid zvol_id zvol_wait 20CPPCHECKDIRS += mount_zfs zed zgenhostid zvol_id 21SHELLCHECKDIRS += zed 22endif 23 24PHONY = cppcheck 25cppcheck: $(CPPCHECKDIRS) 26 set -e ; for dir in $(CPPCHECKDIRS) ; do \ 27 $(MAKE) -C $$dir cppcheck ; \ 28 done 29