xref: /linux/tools/perf/Build (revision 5e8c0fb6a95728b852d56c0a9244425d474670c0)
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
21
22perf-$(CONFIG_AUDIT) += builtin-trace.o
23perf-$(CONFIG_LIBELF) += builtin-probe.o
24
25perf-y += bench/
26perf-y += tests/
27
28perf-y += perf.o
29
30paths += -DPERF_HTML_PATH="BUILD_STR($(htmldir_SQ))"
31paths += -DPERF_INFO_PATH="BUILD_STR($(infodir_SQ))"
32paths += -DPERF_MAN_PATH="BUILD_STR($(mandir_SQ))"
33
34CFLAGS_builtin-help.o      += $(paths)
35CFLAGS_builtin-timechart.o += $(paths)
36CFLAGS_perf.o              += -DPERF_HTML_PATH="BUILD_STR($(htmldir_SQ))" -include $(OUTPUT)PERF-VERSION-FILE
37
38libperf-y += util/
39libperf-y += arch/
40libperf-y += ui/
41libperf-y += scripts/
42
43gtk-y += ui/gtk/
44