From cbf52606f4928df46fc89d37d781bad782f0616e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9mi=20Verschelde?= Date: Fri, 14 Oct 2016 18:58:24 +0200 Subject: zlib: Split thirdparty files, simplify scons option --- drivers/zlib/SCsub | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 drivers/zlib/SCsub (limited to 'drivers/zlib') diff --git a/drivers/zlib/SCsub b/drivers/zlib/SCsub new file mode 100644 index 0000000000..d0bbcd452b --- /dev/null +++ b/drivers/zlib/SCsub @@ -0,0 +1,24 @@ +Import('env') + +# Not cloning the env, the includes need to be accessible for core/ + +# Thirdparty source files +# No check here as already done in drivers/SCsub +thirdparty_dir = "#thirdparty/zlib/" +thirdparty_sources = [ + "adler32.c", + "compress.c", + "crc32.c", + "deflate.c", + "infback.c", + "inffast.c", + "inflate.c", + "inftrees.c", + "trees.c", + "uncompr.c", + "zutil.c", +] +thirdparty_sources = [thirdparty_dir + file for file in thirdparty_sources] + +env.add_source_files(env.drivers_sources, thirdparty_sources) +env.Append(CPPPATH = [thirdparty_dir]) -- cgit v1.2.3