mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2024-12-26 19:19:32 +03:00
c1d3be19d7
The only exception is `cmd/vdev_id/vdev_id` which might be a subject of refactoring (see #12084) Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov> Reviewed-by: Ahelenia Ziemiańska <nabijaczleweli@nabijaczleweli.xyz> Signed-off-by: szubersk <szuberskidamian@gmail.com> Closes #12912
29 lines
751 B
Makefile
29 lines
751 B
Makefile
include $(top_srcdir)/config/Shellcheck.am
|
|
|
|
SUBDIRS = zfs zpool zdb zhack zinject zstream ztest
|
|
SUBDIRS += fsck_zfs vdev_id raidz_test zfs_ids_to_path
|
|
SUBDIRS += zpool_influxdb
|
|
|
|
CPPCHECKDIRS = zfs zpool zdb zhack zinject zstream ztest
|
|
CPPCHECKDIRS += raidz_test zfs_ids_to_path zpool_influxdb
|
|
|
|
# TODO: #12084: SHELLCHECKDIRS += vdev_id
|
|
SHELLCHECKDIRS = fsck_zfs zed zpool zvol_wait
|
|
SHELLCHECK_OPTS = --enable=all
|
|
|
|
if USING_PYTHON
|
|
SUBDIRS += arcstat arc_summary dbufstat
|
|
endif
|
|
|
|
if BUILD_LINUX
|
|
SUBDIRS += mount_zfs zed zgenhostid zvol_id zvol_wait
|
|
CPPCHECKDIRS += mount_zfs zed zgenhostid zvol_id
|
|
SHELLCHECKDIRS += zed
|
|
endif
|
|
|
|
PHONY = cppcheck
|
|
cppcheck: $(CPPCHECKDIRS)
|
|
set -e ; for dir in $(CPPCHECKDIRS) ; do \
|
|
$(MAKE) -C $$dir cppcheck ; \
|
|
done
|