2021-05-21 21:43:38 +00:00
|
|
|
include $(top_srcdir)/config/Shellcheck.am
|
|
|
|
|
2021-05-08 13:04:48 +00:00
|
|
|
SUBDIRS = zfs zpool zdb zhack zinject zstream ztest
|
2020-05-20 17:05:33 +00:00
|
|
|
SUBDIRS += fsck_zfs vdev_id raidz_test zfs_ids_to_path
|
2020-10-09 16:29:21 +00:00
|
|
|
SUBDIRS += zpool_influxdb
|
2019-06-05 01:05:46 +00:00
|
|
|
|
2021-01-22 20:54:34 +00:00
|
|
|
CPPCHECKDIRS = zfs zpool zdb zhack zinject zstream ztest
|
|
|
|
CPPCHECKDIRS += raidz_test zfs_ids_to_path zpool_influxdb
|
|
|
|
|
2022-01-07 00:07:54 +00:00
|
|
|
# TODO: #12084: SHELLCHECKDIRS += vdev_id
|
|
|
|
SHELLCHECKDIRS = fsck_zfs zed zpool zvol_wait
|
2021-05-21 21:43:38 +00:00
|
|
|
|
2019-06-05 01:05:46 +00:00
|
|
|
if USING_PYTHON
|
|
|
|
SUBDIRS += arcstat arc_summary dbufstat
|
|
|
|
endif
|
|
|
|
|
2019-11-11 17:24:04 +00:00
|
|
|
if BUILD_LINUX
|
2020-04-14 18:36:28 +00:00
|
|
|
SUBDIRS += mount_zfs zed zgenhostid zvol_id zvol_wait
|
2021-01-22 20:54:34 +00:00
|
|
|
CPPCHECKDIRS += mount_zfs zed zgenhostid zvol_id
|
2021-05-21 21:43:38 +00:00
|
|
|
SHELLCHECKDIRS += zed
|
2019-11-11 17:24:04 +00:00
|
|
|
endif
|
2021-01-22 20:54:34 +00:00
|
|
|
|
|
|
|
PHONY = cppcheck
|
|
|
|
cppcheck: $(CPPCHECKDIRS)
|
|
|
|
set -e ; for dir in $(CPPCHECKDIRS) ; do \
|
|
|
|
$(MAKE) -C $$dir cppcheck ; \
|
|
|
|
done
|