From eec700a3b764e137bdec9546dda21c576fa5f724 Mon Sep 17 00:00:00 2001 From: Przemyslaw Skibinski Date: Mon, 21 Nov 2016 14:34:03 +0100 Subject: [PATCH] exclude zbuff_compress.c and zbuff_decompress.c --- build/VS2008/fullbench/fullbench.vcproj | 12 ------------ build/VS2008/fuzzer/fuzzer.vcproj | 4 ---- build/VS2008/zstd/zstd.vcproj | 16 ---------------- build/VS2008/zstdlib/zstdlib.vcproj | 16 ---------------- lib/Makefile | 5 ++++- 5 files changed, 4 insertions(+), 49 deletions(-) diff --git a/build/VS2008/fullbench/fullbench.vcproj b/build/VS2008/fullbench/fullbench.vcproj index 8fe4f109..0734219b 100644 --- a/build/VS2008/fullbench/fullbench.vcproj +++ b/build/VS2008/fullbench/fullbench.vcproj @@ -364,14 +364,6 @@ RelativePath="..\..\..\lib\decompress\huf_decompress.c" > - - - - @@ -426,10 +418,6 @@ RelativePath="..\..\..\lib\common\mem.h" > - - diff --git a/build/VS2008/fuzzer/fuzzer.vcproj b/build/VS2008/fuzzer/fuzzer.vcproj index 3644b8c7..311b7990 100644 --- a/build/VS2008/fuzzer/fuzzer.vcproj +++ b/build/VS2008/fuzzer/fuzzer.vcproj @@ -430,10 +430,6 @@ RelativePath="..\..\..\lib\common\xxhash.h" > - - diff --git a/build/VS2008/zstd/zstd.vcproj b/build/VS2008/zstd/zstd.vcproj index 1d51f51c..ad64f869 100644 --- a/build/VS2008/zstd/zstd.vcproj +++ b/build/VS2008/zstd/zstd.vcproj @@ -380,14 +380,6 @@ RelativePath="..\..\..\lib\common\xxhash.c" > - - - - @@ -482,14 +474,6 @@ RelativePath="..\..\..\lib\common\xxhash.h" > - - - - diff --git a/build/VS2008/zstdlib/zstdlib.vcproj b/build/VS2008/zstdlib/zstdlib.vcproj index 9c61e949..b1c103e3 100644 --- a/build/VS2008/zstdlib/zstdlib.vcproj +++ b/build/VS2008/zstdlib/zstdlib.vcproj @@ -360,14 +360,6 @@ RelativePath="..\..\..\lib\common\xxhash.c" > - - - - @@ -458,14 +450,6 @@ RelativePath="..\..\..\lib\common\xxhash.h" > - - - - diff --git a/lib/Makefile b/lib/Makefile index 681c048c..8f316aa6 100644 --- a/lib/Makefile +++ b/lib/Makefile @@ -31,7 +31,10 @@ CFLAGS += -Wall -Wextra -Wcast-qual -Wcast-align -Wshadow -Wstrict-aliasing=1 \ FLAGS = $(CPPFLAGS) $(CFLAGS) $(MOREFLAGS) -ZSTD_FILES := common/*.c compress/*.c decompress/*.c dictBuilder/*.c +ZSTD_FILES := $(wildcard common/*.c compress/*.c decompress/*.c dictBuilder/*.c) +ZSTD_EXCLUDE := compress/zbuff_compress.c decompress/zbuff_decompress.c +ZSTD_FILES := $(filter-out $(ZSTD_EXCLUDE), $(ZSTD_FILES)) + ifeq ($(ZSTD_LEGACY_SUPPORT), 0) CPPFLAGS += -DZSTD_LEGACY_SUPPORT=0