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