2014-01-21 21:30:03 +00:00
|
|
|
include $(top_srcdir)/config/Rules.am
|
|
|
|
|
2019-10-02 17:39:48 +00:00
|
|
|
SUBDIRS = zed.d
|
2014-01-21 21:30:03 +00:00
|
|
|
|
|
|
|
sbin_PROGRAMS = zed
|
|
|
|
|
2016-08-31 21:46:58 +00:00
|
|
|
ZED_SRC = \
|
2014-06-09 21:55:31 +00:00
|
|
|
zed.c \
|
|
|
|
zed.h \
|
|
|
|
zed_conf.c \
|
|
|
|
zed_conf.h \
|
2016-08-31 21:46:58 +00:00
|
|
|
zed_disk_event.c \
|
|
|
|
zed_disk_event.h \
|
2014-06-09 21:55:31 +00:00
|
|
|
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
|
2014-01-21 21:30:03 +00:00
|
|
|
|
2016-08-31 21:46:58 +00:00
|
|
|
FMA_SRC = \
|
2016-11-07 23:01:38 +00:00
|
|
|
agents/zfs_agents.c \
|
2016-08-31 21:46:58 +00:00
|
|
|
agents/zfs_agents.h \
|
|
|
|
agents/zfs_diagnosis.c \
|
|
|
|
agents/zfs_mod.c \
|
2016-11-07 23:01:38 +00:00
|
|
|
agents/zfs_retire.c \
|
|
|
|
agents/fmd_api.c \
|
|
|
|
agents/fmd_api.h \
|
|
|
|
agents/fmd_serd.c \
|
|
|
|
agents/fmd_serd.h
|
2016-08-31 21:46:58 +00:00
|
|
|
|
|
|
|
zed_SOURCES = $(ZED_SRC) $(FMA_SRC)
|
|
|
|
|
2014-01-21 21:30:03 +00:00
|
|
|
zed_LDADD = \
|
|
|
|
$(top_builddir)/lib/libnvpair/libnvpair.la \
|
2016-11-07 23:01:38 +00:00
|
|
|
$(top_builddir)/lib/libuutil/libuutil.la \
|
2020-05-09 17:17:08 +00:00
|
|
|
$(top_builddir)/lib/libzfs_core/libzfs_core.la \
|
2017-08-09 22:31:08 +00:00
|
|
|
$(top_builddir)/lib/libzfs/libzfs.la
|
2014-01-21 21:30:03 +00:00
|
|
|
|
2017-08-09 22:31:08 +00:00
|
|
|
zed_LDADD += -lrt
|
|
|
|
zed_LDFLAGS = -pthread
|