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