1 include $(top_srcdir)/config/Rules.am
4 -I$(top_srcdir)/include \
5 -I$(top_srcdir)/lib/libspl/include
7 EXTRA_DIST = zed.d/README
31 agents/zfs_diagnosis.c \
35 zed_SOURCES = $(ZED_SRC) $(FMA_SRC)
38 $(top_builddir)/lib/libavl/libavl.la \
39 $(top_builddir)/lib/libnvpair/libnvpair.la \
40 $(top_builddir)/lib/libspl/libspl.la \
41 $(top_builddir)/lib/libzpool/libzpool.la \
42 $(top_builddir)/lib/libzfs/libzfs.la \
43 $(top_builddir)/lib/libzfs_core/libzfs_core.la
45 zedconfdir = $(sysconfdir)/zfs/zed.d
48 zed.d/zed-functions.sh \
51 zedexecdir = $(libexecdir)/zfs/zed.d
53 dist_zedexec_SCRIPTS = \
56 zed.d/checksum-notify.sh \
57 zed.d/checksum-spare.sh \
58 zed.d/data-notify.sh \
59 zed.d/generic-notify.sh \
62 zed.d/resilver_finish-notify.sh \
63 zed.d/scrub_finish-notify.sh \
64 zed.d/statechange-led.sh \
65 zed.d/vdev_clear-led.sh
74 resilver_finish-notify.sh \
75 scrub_finish-notify.sh \
76 statechange-blinkled.sh \
77 vdev_clear-blinkled.sh
80 $(MKDIR_P) "$(DESTDIR)$(zedconfdir)"
81 for f in $(zedconfdefaults); do \
82 test -f "$(DESTDIR)$(zedconfdir)/$${f}" -o \
83 -L "$(DESTDIR)$(zedconfdir)/$${f}" || \
84 ln -s "$(zedexecdir)/$${f}" "$(DESTDIR)$(zedconfdir)"; \
86 chmod 0600 "$(DESTDIR)$(zedconfdir)/zed.rc"