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# See https://debbugs.gnu.org/cgi/bugreport.cgi?bug=54020 9AM_CFLAGS += -no-suppress 10 11noinst_LTLIBRARIES = libzstd.la 12 13KERNEL_C = \ 14 lib/zstd.c \ 15 zfs_zstd.c 16 17nodist_libzstd_la_SOURCES = $(KERNEL_C) 18 19lib/zstd.$(OBJEXT): CFLAGS += -fno-tree-vectorize -include $(top_srcdir)/module/zstd/include/zstd_compat_wrapper.h -Wp,-w 20lib/zstd.l$(OBJEXT): CFLAGS += -fno-tree-vectorize -include $(top_srcdir)/module/zstd/include/zstd_compat_wrapper.h -Wp,-w 21 22zfs_zstd.$(OBJEXT): CFLAGS += -include $(top_srcdir)/module/zstd/include/zstd_compat_wrapper.h 23zfs_zstd.l$(OBJEXT): CFLAGS += -include $(top_srcdir)/module/zstd/include/zstd_compat_wrapper.h 24 25include $(top_srcdir)/config/CppCheck.am 26