Fix gcc uninitialized warning in FreeBSD zio_crypt.c
[zfs.git] / cmd / zed / Makefile.am
blobc437ff51dd2b09e2f458c243fcd11d72c2bb7ecc
1 include $(srcdir)/%D%/zed.d/Makefile.am
3 zed_CFLAGS  = $(AM_CFLAGS)
4 zed_CFLAGS += $(LIBUDEV_CFLAGS) $(LIBUUID_CFLAGS)
6 sbin_PROGRAMS   += zed
7 CPPCHECKTARGETS += zed
9 zed_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
37 zed_LDADD = \
38         libzfs.la \
39         libzfs_core.la \
40         libnvpair.la \
41         libuutil.la
43 zed_LDADD += -lrt $(LIBATOMIC_LIBS) $(LIBUDEV_LIBS) $(LIBUUID_LIBS)
44 zed_LDFLAGS = -pthread
46 dist_noinst_DATA += %D%/agents/README.md