mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2024-11-17 10:01:01 +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
55 lines
1.1 KiB
Makefile
55 lines
1.1 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)
|
|
SHELLCHECK_OPTS = --enable=all
|
|
|
|
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)/lib/libzfs/libzfs.la \
|
|
$(abs_top_builddir)/lib/libzfs_core/libzfs_core.la \
|
|
$(abs_top_builddir)/lib/libnvpair/libnvpair.la \
|
|
$(abs_top_builddir)/lib/libuutil/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
|