2021-05-08 16:04:48 +03:00
|
|
|
SUBDIRS = zfs zpool zdb zhack zinject zstream ztest
|
2020-05-20 20:05:33 +03:00
|
|
|
SUBDIRS += fsck_zfs vdev_id raidz_test zfs_ids_to_path
|
2020-10-09 19:29:21 +03:00
|
|
|
SUBDIRS += zpool_influxdb
|
2019-06-05 04:05:46 +03:00
|
|
|
|
2021-01-22 23:54:34 +03:00
|
|
|
CPPCHECKDIRS = zfs zpool zdb zhack zinject zstream ztest
|
|
|
|
CPPCHECKDIRS += raidz_test zfs_ids_to_path zpool_influxdb
|
|
|
|
|
2019-06-05 04:05:46 +03:00
|
|
|
if USING_PYTHON
|
|
|
|
SUBDIRS += arcstat arc_summary dbufstat
|
|
|
|
endif
|
|
|
|
|
2019-11-11 20:24:04 +03:00
|
|
|
if BUILD_LINUX
|
2020-04-14 21:36:28 +03:00
|
|
|
SUBDIRS += mount_zfs zed zgenhostid zvol_id zvol_wait
|
2021-01-22 23:54:34 +03:00
|
|
|
CPPCHECKDIRS += mount_zfs zed zgenhostid zvol_id
|
2019-11-11 20:24:04 +03:00
|
|
|
endif
|
2021-01-22 23:54:34 +03:00
|
|
|
|
|
|
|
PHONY = cppcheck
|
|
|
|
cppcheck: $(CPPCHECKDIRS)
|
|
|
|
set -e ; for dir in $(CPPCHECKDIRS) ; do \
|
|
|
|
$(MAKE) -C $$dir cppcheck ; \
|
|
|
|
done
|