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