1 include $(top_srcdir)/config/Rules.am
4 $(top_srcdir)/module/icp \
5 $(top_srcdir)/module/zcommon \
6 $(top_srcdir)/lib/libzfs
8 # Suppress unused but set variable warnings often due to ASSERTs
9 AM_CFLAGS += $(NO_UNUSED_BUT_SET_VARIABLE)
10 AM_CFLAGS += $(LIBCRYPTO_CFLAGS) $(ZLIB_CFLAGS)
12 pkgconfig_DATA = libzfs.pc
14 lib_LTLIBRARIES = libzfs.la
16 include $(top_srcdir)/config/Abigail.am
36 os/freebsd/libzfs_compat.c \
37 os/freebsd/libzfs_ioctl_compat.c \
38 os/freebsd/libzfs_zmount.c
43 os/linux/libzfs_mount_os.c \
44 os/linux/libzfs_pool_os.c \
45 os/linux/libzfs_sendrecv_os.c \
46 os/linux/libzfs_util_os.c
56 zfs_fletcher_aarch64_neon.c \
57 zfs_fletcher_avx512.c \
58 zfs_fletcher_intel.c \
60 zfs_fletcher_superscalar.c \
61 zfs_fletcher_superscalar4.c \
67 dist_libzfs_la_SOURCES = \
70 nodist_libzfs_la_SOURCES = \
74 $(abs_top_builddir)/lib/libshare/libshare.la \
75 $(abs_top_builddir)/lib/libzfs_core/libzfs_core.la \
76 $(abs_top_builddir)/lib/libnvpair/libnvpair.la \
77 $(abs_top_builddir)/lib/libuutil/libuutil.la
79 libzfs_la_LIBADD += -lm $(LIBCRYPTO_LIBS) $(ZLIB_LIBS) $(LIBFETCH_LIBS) $(LTLIBINTL)
81 libzfs_la_LDFLAGS = -pthread
84 libzfs_la_LDFLAGS += -Wl,-z,defs
88 libzfs_la_LIBADD += -lutil -lgeom
91 libzfs_la_LDFLAGS += -version-info 5:0:1
93 include $(top_srcdir)/config/CppCheck.am
96 EXTRA_DIST = libzfs.abi libzfs.suppr
99 EXTRA_DIST += THIRDPARTYLICENSE.openssl THIRDPARTYLICENSE.openssl.descrip