blob: 72237455b4003aeb72fccf3afdf40f2f5588f1d2 [file] [log] [blame]
Jiri Olsa72965b82014-12-29 13:52:36 +01001perf-y += builtin-bench.o
Jiri Olsa285ab8b2014-12-29 15:13:44 +01002perf-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
Jiri Olsa2245bf12015-02-20 23:16:59 +010021perf-y += builtin-data.o
Jiri Olsa285ab8b2014-12-29 15:13:44 +010022
23perf-$(CONFIG_AUDIT) += builtin-trace.o
Jiri Olsa709e6792014-12-29 23:52:25 +010024perf-$(CONFIG_LIBELF) += builtin-probe.o
Jiri Olsa285ab8b2014-12-29 15:13:44 +010025
Jiri Olsa72965b82014-12-29 13:52:36 +010026perf-y += bench/
Jiri Olsaf39e0422014-12-29 15:03:09 +010027perf-y += tests/
Jiri Olsa285ab8b2014-12-29 15:13:44 +010028
Jiri Olsacb4e67f2014-12-30 17:09:15 +010029perf-y += perf.o
30
Jiri Olsa285ab8b2014-12-29 15:13:44 +010031paths += -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)
Jiri Olsacb4e67f2014-12-30 17:09:15 +010037CFLAGS_perf.o += -DPERF_HTML_PATH="BUILD_STR($(htmldir_SQ))" -include $(OUTPUT)PERF-VERSION-FILE
Arnaldo Carvalho de Melo005438a2015-07-20 12:02:09 -030038CFLAGS_builtin-trace.o += -DSTRACE_GROUPS_DIR="BUILD_STR($(STRACE_GROUPS_DIR_SQ))"
Jiri Olsa9352aab2014-12-29 17:42:46 +010039
40libperf-y += util/
41libperf-y += arch/
Jiri Olsa3b939a62014-12-30 00:16:01 +010042libperf-y += ui/
Jiri Olsac7355f82014-12-30 13:11:32 +010043libperf-y += scripts/
Jiri Olsa88aeea02014-12-30 00:34:23 +010044
45gtk-y += ui/gtk/