mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2024-12-27 03:19:35 +03:00
c8970f52ed
As a bonus, this also adds zfs-mount-generator (previously undescended down) and libzstd (not included) to CppCheck As a bonus bonus, abigail rules work out-of-tree, too Against current trunk: $ diff -U0 ./destdir.listing ~/store/code/zfs/destdir.listing -destdir/usr/local/include/libspl/sscanf.h $ diff --color -U0 ./zfs-2.1.99.tar.gz.listing ../oot/zfs-2.1.99.tar.gz.listing | grep -v @@ | grep -v /Makefile -zfs-2.1.99/config/Abigail.am -zfs-2.1.99/lib/libspl/include/util/ -zfs-2.1.99/lib/libspl/include/util/sscanf.h $ diff --color -U0 ./zfs-2.1.99.tar.gz.listing ../oot/zfs-2.1.99.tar.gz.listing | grep -v @@ | grep /Makefile -zfs-2.1.99/lib/libavl/Makefile.in -zfs-2.1.99/lib/libefi/Makefile.in -zfs-2.1.99/lib/libicp/Makefile.in -zfs-2.1.99/lib/libnvpair/Makefile.in -zfs-2.1.99/lib/libshare/Makefile.in -zfs-2.1.99/lib/libspl/include/Makefile.in -zfs-2.1.99/lib/libspl/include/os/freebsd/Makefile.am -zfs-2.1.99/lib/libspl/include/os/freebsd/Makefile.in -zfs-2.1.99/lib/libspl/include/os/freebsd/sys/Makefile.am -zfs-2.1.99/lib/libspl/include/os/freebsd/sys/Makefile.in -zfs-2.1.99/lib/libspl/include/os/linux/Makefile.am -zfs-2.1.99/lib/libspl/include/os/linux/Makefile.in -zfs-2.1.99/lib/libspl/include/os/linux/sys/Makefile.am -zfs-2.1.99/lib/libspl/include/os/linux/sys/Makefile.in -zfs-2.1.99/lib/libspl/include/os/Makefile.am -zfs-2.1.99/lib/libspl/include/os/Makefile.in -zfs-2.1.99/lib/libspl/include/rpc/Makefile.am -zfs-2.1.99/lib/libspl/include/rpc/Makefile.in -zfs-2.1.99/lib/libspl/include/sys/dktp/Makefile.am -zfs-2.1.99/lib/libspl/include/sys/dktp/Makefile.in -zfs-2.1.99/lib/libspl/include/sys/Makefile.am -zfs-2.1.99/lib/libspl/include/sys/Makefile.in -zfs-2.1.99/lib/libspl/include/util/Makefile.am -zfs-2.1.99/lib/libspl/include/util/Makefile.in -zfs-2.1.99/lib/libspl/Makefile.in -zfs-2.1.99/lib/libtpool/Makefile.in -zfs-2.1.99/lib/libunicode/Makefile.in -zfs-2.1.99/lib/libuutil/Makefile.in -zfs-2.1.99/lib/libzfsbootenv/Makefile.in -zfs-2.1.99/lib/libzfs_core/Makefile.in -zfs-2.1.99/lib/libzfs/Makefile.in -zfs-2.1.99/lib/libzpool/Makefile.in -zfs-2.1.99/lib/libzstd/Makefile.in -zfs-2.1.99/lib/libzutil/Makefile.in -zfs-2.1.99/lib/Makefile.in Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov> Signed-off-by: Ahelenia Ziemiańska <nabijaczleweli@nabijaczleweli.xyz> Closes #13316
55 lines
1.0 KiB
Makefile
55 lines
1.0 KiB
Makefile
include $(top_srcdir)/config/Rules.am
|
|
include $(top_srcdir)/config/Shellcheck.am
|
|
|
|
AM_CFLAGS += $(LIBUDEV_CFLAGS) $(LIBUUID_CFLAGS)
|
|
|
|
SUBDIRS = zed.d
|
|
SHELLCHECKDIRS = $(SUBDIRS)
|
|
|
|
sbin_PROGRAMS = zed
|
|
|
|
ZED_SRC = \
|
|
zed.c \
|
|
zed.h \
|
|
zed_conf.c \
|
|
zed_conf.h \
|
|
zed_disk_event.c \
|
|
zed_disk_event.h \
|
|
zed_event.c \
|
|
zed_event.h \
|
|
zed_exec.c \
|
|
zed_exec.h \
|
|
zed_file.c \
|
|
zed_file.h \
|
|
zed_log.c \
|
|
zed_log.h \
|
|
zed_strings.c \
|
|
zed_strings.h
|
|
|
|
FMA_SRC = \
|
|
agents/zfs_agents.c \
|
|
agents/zfs_agents.h \
|
|
agents/zfs_diagnosis.c \
|
|
agents/zfs_mod.c \
|
|
agents/zfs_retire.c \
|
|
agents/fmd_api.c \
|
|
agents/fmd_api.h \
|
|
agents/fmd_serd.c \
|
|
agents/fmd_serd.h
|
|
|
|
zed_SOURCES = $(ZED_SRC) $(FMA_SRC)
|
|
|
|
zed_LDADD = \
|
|
$(abs_top_builddir)/libzfs.la \
|
|
$(abs_top_builddir)/libzfs_core.la \
|
|
$(abs_top_builddir)/libnvpair.la \
|
|
$(abs_top_builddir)/libuutil.la
|
|
|
|
zed_LDADD += -lrt $(LIBATOMIC_LIBS) $(LIBUDEV_LIBS) $(LIBUUID_LIBS)
|
|
zed_LDFLAGS = -pthread
|
|
|
|
EXTRA_DIST = agents/README.md
|
|
|
|
include $(top_srcdir)/config/CppCheck.am
|
|
CPPCHECKTARGETS += zed
|