blob: db61dbe2b5439a270799962c13cb46273657ce4a [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
Taeung Song30862f22015-11-17 22:53:21 +09003perf-y += builtin-config.o
Jiri Olsa285ab8b2014-12-29 15:13:44 +01004perf-y += builtin-diff.o
5perf-y += builtin-evlist.o
Namhyung Kimd01f4e82013-03-07 21:45:20 +09006perf-y += builtin-ftrace.o
Jiri Olsa285ab8b2014-12-29 15:13:44 +01007perf-y += builtin-help.o
8perf-y += builtin-sched.o
9perf-y += builtin-buildid-list.o
10perf-y += builtin-buildid-cache.o
Arnaldo Carvalho de Melo35563772017-01-05 15:33:32 -030011perf-y += builtin-kallsyms.o
Jiri Olsa285ab8b2014-12-29 15:13:44 +010012perf-y += builtin-list.o
13perf-y += builtin-record.o
14perf-y += builtin-report.o
15perf-y += builtin-stat.o
16perf-y += builtin-timechart.o
17perf-y += builtin-top.o
18perf-y += builtin-script.o
19perf-y += builtin-kmem.o
20perf-y += builtin-lock.o
21perf-y += builtin-kvm.o
22perf-y += builtin-inject.o
23perf-y += builtin-mem.o
Jiri Olsa2245bf12015-02-20 23:16:59 +010024perf-y += builtin-data.o
Josh Poimboeuf0a4bb5d2015-12-07 22:21:48 -060025perf-y += builtin-version.o
Jiri Olsa7aef3bf2016-09-22 17:36:38 +020026perf-y += builtin-c2c.o
Jiri Olsad450bc52021-02-08 21:08:45 +010027perf-y += builtin-daemon.o
Jiri Olsa285ab8b2014-12-29 15:13:44 +010028
Hendrik Bruecknerb3fa3892018-01-19 09:56:17 +010029perf-$(CONFIG_TRACE) += builtin-trace.o
Jiri Olsa709e6792014-12-29 23:52:25 +010030perf-$(CONFIG_LIBELF) += builtin-probe.o
Jiri Olsa285ab8b2014-12-29 15:13:44 +010031
Jiri Olsa72965b82014-12-29 13:52:36 +010032perf-y += bench/
Jiri Olsaf39e0422014-12-29 15:03:09 +010033perf-y += tests/
Jiri Olsa285ab8b2014-12-29 15:13:44 +010034
Jiri Olsacb4e67f2014-12-30 17:09:15 +010035perf-y += perf.o
36
Jiri Olsa285ab8b2014-12-29 15:13:44 +010037paths += -DPERF_HTML_PATH="BUILD_STR($(htmldir_SQ))"
38paths += -DPERF_INFO_PATH="BUILD_STR($(infodir_SQ))"
39paths += -DPERF_MAN_PATH="BUILD_STR($(mandir_SQ))"
40
41CFLAGS_builtin-help.o += $(paths)
42CFLAGS_builtin-timechart.o += $(paths)
Josh Poimboeuf096d3552015-12-15 09:39:35 -060043CFLAGS_perf.o += -DPERF_HTML_PATH="BUILD_STR($(htmldir_SQ))" \
44 -DPERF_EXEC_PATH="BUILD_STR($(perfexecdir_SQ))" \
Soramichi AKIYAMAd25ed5d2017-01-17 00:22:37 +090045 -DPREFIX="BUILD_STR($(prefix_SQ))"
Arnaldo Carvalho de Melo005438a82015-07-20 12:02:09 -030046CFLAGS_builtin-trace.o += -DSTRACE_GROUPS_DIR="BUILD_STR($(STRACE_GROUPS_DIR_SQ))"
Namhyung Kim14cbfbe2016-01-07 20:41:53 +090047CFLAGS_builtin-report.o += -DTIPDIR="BUILD_STR($(tipdir_SQ))"
Namhyung Kim84cfac72016-01-09 19:16:28 +090048CFLAGS_builtin-report.o += -DDOCDIR="BUILD_STR($(srcdir_SQ)/Documentation)"
Jiri Olsa9352aab2014-12-29 17:42:46 +010049
Jiri Olsa5ff32882019-02-13 13:32:39 +010050perf-y += util/
51perf-y += arch/
52perf-y += ui/
53perf-y += scripts/
54perf-$(CONFIG_TRACE) += trace/beauty/
Jiri Olsa88aeea02014-12-30 00:34:23 +010055
56gtk-y += ui/gtk/