blob: b48ca40fccf9640eab3c7b650214ae662370c0cc [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 Olsa285ab8b2014-12-29 15:13:44 +010027
28perf-$(CONFIG_AUDIT) += builtin-trace.o
Jiri Olsa709e6792014-12-29 23:52:25 +010029perf-$(CONFIG_LIBELF) += builtin-probe.o
Jiri Olsa285ab8b2014-12-29 15:13:44 +010030
Jiri Olsa72965b82014-12-29 13:52:36 +010031perf-y += bench/
Jiri Olsaf39e0422014-12-29 15:03:09 +010032perf-y += tests/
Jiri Olsa285ab8b2014-12-29 15:13:44 +010033
Jiri Olsacb4e67f2014-12-30 17:09:15 +010034perf-y += perf.o
35
Jiri Olsa285ab8b2014-12-29 15:13:44 +010036paths += -DPERF_HTML_PATH="BUILD_STR($(htmldir_SQ))"
37paths += -DPERF_INFO_PATH="BUILD_STR($(infodir_SQ))"
38paths += -DPERF_MAN_PATH="BUILD_STR($(mandir_SQ))"
39
40CFLAGS_builtin-help.o += $(paths)
41CFLAGS_builtin-timechart.o += $(paths)
Josh Poimboeuf096d3552015-12-15 09:39:35 -060042CFLAGS_perf.o += -DPERF_HTML_PATH="BUILD_STR($(htmldir_SQ))" \
43 -DPERF_EXEC_PATH="BUILD_STR($(perfexecdir_SQ))" \
Soramichi AKIYAMAd25ed5d2017-01-17 00:22:37 +090044 -DPREFIX="BUILD_STR($(prefix_SQ))"
Arnaldo Carvalho de Melo005438a82015-07-20 12:02:09 -030045CFLAGS_builtin-trace.o += -DSTRACE_GROUPS_DIR="BUILD_STR($(STRACE_GROUPS_DIR_SQ))"
Namhyung Kim14cbfbe2016-01-07 20:41:53 +090046CFLAGS_builtin-report.o += -DTIPDIR="BUILD_STR($(tipdir_SQ))"
Namhyung Kim84cfac72016-01-09 19:16:28 +090047CFLAGS_builtin-report.o += -DDOCDIR="BUILD_STR($(srcdir_SQ)/Documentation)"
Jiri Olsa9352aab2014-12-29 17:42:46 +010048
49libperf-y += util/
50libperf-y += arch/
Jiri Olsa3b939a62014-12-30 00:16:01 +010051libperf-y += ui/
Jiri Olsac7355f82014-12-30 13:11:32 +010052libperf-y += scripts/
Arnaldo Carvalho de Melo5ca55ab2017-07-14 16:25:35 -030053libperf-$(CONFIG_AUDIT) += trace/beauty/
Jiri Olsa88aeea02014-12-30 00:34:23 +010054
55gtk-y += ui/gtk/