build.ck 790 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  1. /*++
  2. Copyright (c) 2015 Minoca Corp. All Rights Reserved
  3. Module Name:
  4. Crypto Library
  5. Abstract:
  6. This library contains the Cryptographic Library functions used
  7. throughout Minoca OS.
  8. Author:
  9. Evan Green 13-Jan-2015
  10. Environment:
  11. Any
  12. --*/
  13. function build() {
  14. sources = [
  15. "aes.c",
  16. "fortuna.c",
  17. "hmac.c",
  18. "md5.c",
  19. "sha1.c",
  20. "sha256.c",
  21. "sha512.c"
  22. ];
  23. lib = {
  24. "label": "crypto",
  25. "inputs": sources,
  26. };
  27. build_lib = {
  28. "label": "build_crypto",
  29. "output": "crypto",
  30. "inputs": sources,
  31. "build": TRUE,
  32. "prefix": "build"
  33. };
  34. entries = static_library(lib);
  35. entries += static_library(build_lib);
  36. return entries;
  37. }
  38. return build();