build.ck 1.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  1. /*++
  2. Copyright (c) 2013 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. mount
  9. Abstract:
  10. This executable implements the mount application. It is used to mount
  11. block devices, directories, devices, and files onto other directories
  12. or files.
  13. Author:
  14. Chris Stevens 30-Jul-2013
  15. Environment:
  16. User
  17. --*/
  18. from menv import application;
  19. function build() {
  20. var app;
  21. var dynlibs;
  22. var entries;
  23. var includes;
  24. var sources;
  25. sources = [
  26. "mount.c"
  27. ];
  28. dynlibs = [
  29. "apps/osbase:libminocaos"
  30. ];
  31. includes = [
  32. "$S/apps/libc/include"
  33. ];
  34. app = {
  35. "label": "mount",
  36. "inputs": sources + dynlibs,
  37. "includes": includes
  38. };
  39. entries = application(app);
  40. return entries;
  41. }