1include $(top_srcdir)/config/Rules.am 2 3VPATH = $(top_srcdir)/module/zstd 4 5# -fno-tree-vectorize is set for gcc in zstd/common/compiler.h 6# Set it for other compilers, too. 7AM_CFLAGS += -fno-tree-vectorize 8 9noinst_LTLIBRARIES = libzstd.la 10 11KERNEL_C = \ 12 lib/zstd.c \ 13 zfs_zstd.c 14 15nodist_libzstd_la_SOURCES = $(KERNEL_C) 16 17lib/zstd.$(OBJEXT): CFLAGS += -fno-tree-vectorize -include $(top_srcdir)/module/zstd/include/zstd_compat_wrapper.h -Wp,-w 18lib/zstd.l$(OBJEXT): CFLAGS += -fno-tree-vectorize -include $(top_srcdir)/module/zstd/include/zstd_compat_wrapper.h -Wp,-w 19 20zfs_zstd.$(OBJEXT): CFLAGS += -include $(top_srcdir)/module/zstd/include/zstd_compat_wrapper.h 21zfs_zstd.l$(OBJEXT): CFLAGS += -include $(top_srcdir)/module/zstd/include/zstd_compat_wrapper.h 22 23include $(top_srcdir)/config/CppCheck.am 24