Build 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  1. perf-y += builtin-bench.o
  2. perf-y += builtin-annotate.o
  3. perf-y += builtin-config.o
  4. perf-y += builtin-diff.o
  5. perf-y += builtin-evlist.o
  6. perf-y += builtin-ftrace.o
  7. perf-y += builtin-help.o
  8. perf-y += builtin-sched.o
  9. perf-y += builtin-buildid-list.o
  10. perf-y += builtin-buildid-cache.o
  11. perf-y += builtin-kallsyms.o
  12. perf-y += builtin-list.o
  13. perf-y += builtin-record.o
  14. perf-y += builtin-report.o
  15. perf-y += builtin-stat.o
  16. perf-y += builtin-timechart.o
  17. perf-y += builtin-top.o
  18. perf-y += builtin-script.o
  19. perf-y += builtin-kmem.o
  20. perf-y += builtin-lock.o
  21. perf-y += builtin-kvm.o
  22. perf-y += builtin-inject.o
  23. perf-y += builtin-mem.o
  24. perf-y += builtin-data.o
  25. perf-y += builtin-version.o
  26. perf-y += builtin-c2c.o
  27. perf-$(CONFIG_TRACE) += builtin-trace.o
  28. perf-$(CONFIG_LIBELF) += builtin-probe.o
  29. perf-y += bench/
  30. perf-y += tests/
  31. perf-y += perf.o
  32. paths += -DPERF_HTML_PATH="BUILD_STR($(htmldir_SQ))"
  33. paths += -DPERF_INFO_PATH="BUILD_STR($(infodir_SQ))"
  34. paths += -DPERF_MAN_PATH="BUILD_STR($(mandir_SQ))"
  35. CFLAGS_builtin-help.o += $(paths)
  36. CFLAGS_builtin-timechart.o += $(paths)
  37. CFLAGS_perf.o += -DPERF_HTML_PATH="BUILD_STR($(htmldir_SQ))" \
  38. -DPERF_EXEC_PATH="BUILD_STR($(perfexecdir_SQ))" \
  39. -DPREFIX="BUILD_STR($(prefix_SQ))"
  40. CFLAGS_builtin-trace.o += -DSTRACE_GROUPS_DIR="BUILD_STR($(STRACE_GROUPS_DIR_SQ))"
  41. CFLAGS_builtin-report.o += -DTIPDIR="BUILD_STR($(tipdir_SQ))"
  42. CFLAGS_builtin-report.o += -DDOCDIR="BUILD_STR($(srcdir_SQ)/Documentation)"
  43. libperf-y += util/
  44. libperf-y += arch/
  45. libperf-y += ui/
  46. libperf-y += scripts/
  47. libperf-$(CONFIG_TRACE) += trace/beauty/
  48. gtk-y += ui/gtk/