xref: /openbmc/linux/tools/perf/Build (revision 4bce6fce)
1perf-y += builtin-bench.o
2perf-y += builtin-annotate.o
3perf-y += builtin-diff.o
4perf-y += builtin-evlist.o
5perf-y += builtin-help.o
6perf-y += builtin-sched.o
7perf-y += builtin-buildid-list.o
8perf-y += builtin-buildid-cache.o
9perf-y += builtin-list.o
10perf-y += builtin-record.o
11perf-y += builtin-report.o
12perf-y += builtin-stat.o
13perf-y += builtin-timechart.o
14perf-y += builtin-top.o
15perf-y += builtin-script.o
16perf-y += builtin-kmem.o
17perf-y += builtin-lock.o
18perf-y += builtin-kvm.o
19perf-y += builtin-inject.o
20perf-y += builtin-mem.o
21perf-y += builtin-data.o
22
23perf-$(CONFIG_AUDIT) += builtin-trace.o
24perf-$(CONFIG_LIBELF) += builtin-probe.o
25
26perf-y += bench/
27perf-y += tests/
28
29perf-y += perf.o
30
31paths += -DPERF_HTML_PATH="BUILD_STR($(htmldir_SQ))"
32paths += -DPERF_INFO_PATH="BUILD_STR($(infodir_SQ))"
33paths += -DPERF_MAN_PATH="BUILD_STR($(mandir_SQ))"
34
35CFLAGS_builtin-help.o      += $(paths)
36CFLAGS_builtin-timechart.o += $(paths)
37CFLAGS_perf.o              += -DPERF_HTML_PATH="BUILD_STR($(htmldir_SQ))" -include $(OUTPUT)PERF-VERSION-FILE
38
39libperf-y += util/
40libperf-y += arch/
41libperf-y += ui/
42libperf-y += scripts/
43
44gtk-y += ui/gtk/
45