build.ck 988 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  1. /*++
  2. Copyright (c) 2014 Minoca Corp.
  3. This file is licensed under the terms of the GNU General Public License
  4. version 3. Alternative licensing terms are available. Contact
  5. info@minocacorp.com for details. See the LICENSE file at the root of this
  6. project for complete licensing information.
  7. Module Name:
  8. Terminal Library
  9. Abstract:
  10. This library contains the terminal support library.
  11. Author:
  12. Evan Green 28-Jul-2014
  13. Environment:
  14. Any
  15. --*/
  16. from menv import kernelLibrary, staticLibrary;
  17. function build() {
  18. var buildLib;
  19. var entries;
  20. var lib;
  21. var sources;
  22. sources = [
  23. "term.c"
  24. ];
  25. lib = {
  26. "label": "termlib",
  27. "inputs": sources,
  28. };
  29. buildLib = {
  30. "label": "build_termlib",
  31. "output": "termlib",
  32. "inputs": sources,
  33. "build": true,
  34. "prefix": "build"
  35. };
  36. entries = kernelLibrary(lib);
  37. entries += staticLibrary(buildLib);
  38. return entries;
  39. }