build.ck 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  1. /*++
  2. Copyright (c) 2012 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. Disassembler Test
  9. Abstract:
  10. This program is used to test the debugger's disassembler.
  11. Author:
  12. Evan Green 26-Jul-2012
  13. Environment:
  14. Test
  15. --*/
  16. from menv import application;
  17. function build() {
  18. var buildApp;
  19. var buildLibs;
  20. var entries;
  21. var sources;
  22. sources = [
  23. "testdisa.c",
  24. "apps/debug/client:build/x86dis.o",
  25. "apps/debug/client:build/armdis.o",
  26. "apps/debug/client:build/disasm.o",
  27. "apps/debug/client:build/thmdis.o",
  28. "apps/debug/client:build/thm32dis.o",
  29. ];
  30. buildLibs = [
  31. "lib/im:build_imu",
  32. "lib/rtl/base:build_basertl",
  33. "lib/rtl/urtl:build_rtlc",
  34. ];
  35. buildApp = {
  36. "label": "build_testdisa",
  37. "output": "testdisa",
  38. "inputs": sources + buildLibs,
  39. "build": true
  40. };
  41. entries = application(buildApp);
  42. return entries;
  43. }