blob: a43fae7f439a50b2bdbd59f78b60a0cc6a0768de [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
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
Jiri Olsa2245bf12015-02-20 23:16:59 +010022perf-y += builtin-data.o
Josh Poimboeuf0a4bb5d2015-12-07 22:21:48 -060023perf-y += builtin-version.o
Jiri Olsa285ab8b2014-12-29 15:13:44 +010024
25perf-$(CONFIG_AUDIT) += builtin-trace.o
Jiri Olsa709e6792014-12-29 23:52:25 +010026perf-$(CONFIG_LIBELF) += builtin-probe.o
Jiri Olsa285ab8b2014-12-29 15:13:44 +010027
Jiri Olsa72965b82014-12-29 13:52:36 +010028perf-y += bench/
Jiri Olsaf39e0422014-12-29 15:03:09 +010029perf-y += tests/
Jiri Olsa285ab8b2014-12-29 15:13:44 +010030
Jiri Olsacb4e67f2014-12-30 17:09:15 +010031perf-y += perf.o
32
Jiri Olsa285ab8b2014-12-29 15:13:44 +010033paths += -DPERF_HTML_PATH="BUILD_STR($(htmldir_SQ))"
34paths += -DPERF_INFO_PATH="BUILD_STR($(infodir_SQ))"
35paths += -DPERF_MAN_PATH="BUILD_STR($(mandir_SQ))"
36
37CFLAGS_builtin-help.o += $(paths)
38CFLAGS_builtin-timechart.o += $(paths)
Josh Poimboeuf096d3552015-12-15 09:39:35 -060039CFLAGS_perf.o += -DPERF_HTML_PATH="BUILD_STR($(htmldir_SQ))" \
40 -DPERF_EXEC_PATH="BUILD_STR($(perfexecdir_SQ))" \
41 -DPREFIX="BUILD_STR($(prefix_SQ))" \
42 -include $(OUTPUT)PERF-VERSION-FILE
Arnaldo Carvalho de Melo005438a2015-07-20 12:02:09 -030043CFLAGS_builtin-trace.o += -DSTRACE_GROUPS_DIR="BUILD_STR($(STRACE_GROUPS_DIR_SQ))"
Namhyung Kim14cbfbeb2016-01-07 20:41:53 +090044CFLAGS_builtin-report.o += -DTIPDIR="BUILD_STR($(tipdir_SQ))"
Namhyung Kim84cfac72016-01-09 19:16:28 +090045CFLAGS_builtin-report.o += -DDOCDIR="BUILD_STR($(srcdir_SQ)/Documentation)"
Jiri Olsa9352aab2014-12-29 17:42:46 +010046
47libperf-y += util/
48libperf-y += arch/
Jiri Olsa3b939a62014-12-30 00:16:01 +010049libperf-y += ui/
Jiri Olsac7355f82014-12-30 13:11:32 +010050libperf-y += scripts/
Jiri Olsa88aeea02014-12-30 00:34:23 +010051
52gtk-y += ui/gtk/