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