1include $(srcdir)/%D%/zed.d/Makefile.am 2 3zed_CFLAGS = $(AM_CFLAGS) 4zed_CFLAGS += $(LIBUDEV_CFLAGS) $(LIBUUID_CFLAGS) 5 6sbin_PROGRAMS += zed 7CPPCHECKTARGETS += zed 8 9zed_SOURCES = \ 10 %D%/zed.c \ 11 %D%/zed.h \ 12 %D%/zed_conf.c \ 13 %D%/zed_conf.h \ 14 %D%/zed_disk_event.c \ 15 %D%/zed_disk_event.h \ 16 %D%/zed_event.c \ 17 %D%/zed_event.h \ 18 %D%/zed_exec.c \ 19 %D%/zed_exec.h \ 20 %D%/zed_file.c \ 21 %D%/zed_file.h \ 22 %D%/zed_log.c \ 23 %D%/zed_log.h \ 24 %D%/zed_strings.c \ 25 %D%/zed_strings.h \ 26 \ 27 %D%/agents/fmd_api.c \ 28 %D%/agents/fmd_api.h \ 29 %D%/agents/fmd_serd.c \ 30 %D%/agents/fmd_serd.h \ 31 %D%/agents/zfs_agents.c \ 32 %D%/agents/zfs_agents.h \ 33 %D%/agents/zfs_diagnosis.c \ 34 %D%/agents/zfs_mod.c \ 35 %D%/agents/zfs_retire.c 36 37zed_LDADD = \ 38 libzfs.la \ 39 libzfs_core.la \ 40 libnvpair.la \ 41 libuutil.la 42 43zed_LDADD += -lrt $(LIBATOMIC_LIBS) $(LIBUDEV_LIBS) $(LIBUUID_LIBS) 44zed_LDFLAGS = -pthread 45 46dist_noinst_DATA += %D%/agents/README.md 47