diff options
author | Rémi Verschelde <rverschelde@gmail.com> | 2016-10-14 18:58:24 +0200 |
---|---|---|
committer | Rémi Verschelde <rverschelde@gmail.com> | 2016-10-15 12:20:47 +0200 |
commit | cbf52606f4928df46fc89d37d781bad782f0616e (patch) | |
tree | 6a2d1d2a597f17edb735e3b8201c1a3bf0efed7d /drivers/zlib | |
parent | 36738ddda4f732fff7bbfb7b4605a47a0bd7c045 (diff) |
zlib: Split thirdparty files, simplify scons option
Diffstat (limited to 'drivers/zlib')
-rw-r--r-- | drivers/zlib/SCsub | 24 |
1 files changed, 24 insertions, 0 deletions
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]) |