build.ck 728 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. /*++
  2. Copyright (c) 2012 Minoca Corp. All Rights Reserved
  3. Module Name:
  4. Image Library
  5. Abstract:
  6. This library contains the Image library used to parse executable
  7. binaries.
  8. Author:
  9. Evan Green 13-Oct-2012
  10. Environment:
  11. Any
  12. --*/
  13. function build() {
  14. sources = [
  15. "elf.c",
  16. "elf64.c",
  17. "elfcomm.c",
  18. "image.c",
  19. "pe.c"
  20. ];
  21. lib = {
  22. "label": "im",
  23. "inputs": sources,
  24. };
  25. build_lib = {
  26. "label": "build_im",
  27. "output": "im",
  28. "inputs": sources,
  29. "build": TRUE,
  30. "prefix": "build"
  31. };
  32. entries = static_library(lib);
  33. entries += static_library(build_lib);
  34. return entries;
  35. }
  36. return build();