summaryrefslogtreecommitdiff
path: root/drivers/zlib/SCsub
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/zlib/SCsub')
-rw-r--r--drivers/zlib/SCsub26
1 files changed, 26 insertions, 0 deletions
diff --git a/drivers/zlib/SCsub b/drivers/zlib/SCsub
new file mode 100644
index 0000000000..6a099aff52
--- /dev/null
+++ b/drivers/zlib/SCsub
@@ -0,0 +1,26 @@
+#!/usr/bin/env python
+
+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])