Build 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  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-help.o
  7. perf-y += builtin-sched.o
  8. perf-y += builtin-buildid-list.o
  9. perf-y += builtin-buildid-cache.o
  10. perf-y += builtin-list.o
  11. perf-y += builtin-record.o
  12. perf-y += builtin-report.o
  13. perf-y += builtin-stat.o
  14. perf-y += builtin-timechart.o
  15. perf-y += builtin-top.o
  16. perf-y += builtin-script.o
  17. perf-y += builtin-kmem.o
  18. perf-y += builtin-lock.o
  19. perf-y += builtin-kvm.o
  20. perf-y += builtin-inject.o
  21. perf-y += builtin-mem.o
  22. perf-y += builtin-data.o
  23. perf-y += builtin-version.o
  24. perf-$(CONFIG_AUDIT) += builtin-trace.o
  25. perf-$(CONFIG_LIBELF) += builtin-probe.o
  26. perf-y += bench/
  27. perf-y += tests/
  28. perf-y += perf.o
  29. paths += -DPERF_HTML_PATH="BUILD_STR($(htmldir_SQ))"
  30. paths += -DPERF_INFO_PATH="BUILD_STR($(infodir_SQ))"
  31. paths += -DPERF_MAN_PATH="BUILD_STR($(mandir_SQ))"
  32. CFLAGS_builtin-help.o += $(paths)
  33. CFLAGS_builtin-timechart.o += $(paths)
  34. CFLAGS_perf.o += -DPERF_HTML_PATH="BUILD_STR($(htmldir_SQ))" \
  35. -DPERF_EXEC_PATH="BUILD_STR($(perfexecdir_SQ))" \
  36. -DPREFIX="BUILD_STR($(prefix_SQ))" \
  37. -include $(OUTPUT)PERF-VERSION-FILE
  38. CFLAGS_builtin-trace.o += -DSTRACE_GROUPS_DIR="BUILD_STR($(STRACE_GROUPS_DIR_SQ))"
  39. CFLAGS_builtin-report.o += -DTIPDIR="BUILD_STR($(tipdir_SQ))"
  40. CFLAGS_builtin-report.o += -DDOCDIR="BUILD_STR($(srcdir_SQ)/Documentation)"
  41. libperf-y += util/
  42. libperf-y += arch/
  43. libperf-y += ui/
  44. libperf-y += scripts/
  45. gtk-y += ui/gtk/