SCsub 603 B

123456789101112131415161718192021222324252627
  1. #!/usr/bin/env python
  2. Import('env')
  3. # Not cloning the env, the includes need to be accessible for core/
  4. # Thirdparty source files
  5. # No check here as already done in drivers/SCsub
  6. thirdparty_dir = "#thirdparty/zlib/"
  7. thirdparty_sources = [
  8. "adler32.c",
  9. "compress.c",
  10. "crc32.c",
  11. "deflate.c",
  12. "infback.c",
  13. "inffast.c",
  14. "inflate.c",
  15. "inftrees.c",
  16. "trees.c",
  17. "uncompr.c",
  18. "zutil.c",
  19. ]
  20. thirdparty_sources = [thirdparty_dir + file for file in thirdparty_sources]
  21. env.add_source_files(env.drivers_sources, thirdparty_sources)
  22. env.Append(CPPPATH=[thirdparty_dir])