build.ck 908 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
  1. /*++
  2. Copyright (c) 2012 Minoca Corp. All Rights Reserved
  3. Module Name:
  4. Kernel Debugging Extensions
  5. Abstract:
  6. This module implements kernel debugger extensions.
  7. Author:
  8. Evan Green 10-Sep-2012
  9. Environment:
  10. Debug
  11. --*/
  12. function build() {
  13. sources = [
  14. "acpiext.c",
  15. "kexts.c",
  16. "memory.c",
  17. "objects.c",
  18. "reslist.c",
  19. "threads.c"
  20. ];
  21. target_libs = [
  22. "//debug/dbgext:dbgext"
  23. ];
  24. build_libs = [
  25. "//debug/dbgext:build_dbgext"
  26. ];
  27. lib = {
  28. "label": "kexts",
  29. "inputs": sources + target_libs,
  30. };
  31. build_lib = {
  32. "label": "build_kexts",
  33. "output": "kexts",
  34. "inputs": sources + build_libs,
  35. "build": TRUE,
  36. "prefix": "build"
  37. };
  38. entries = shared_library(lib);
  39. entries += shared_library(build_lib);
  40. return entries;
  41. }
  42. return build();