blob: b12d5d1666e3c1502c66308e9c535679a3189b29 [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 Olsa7aef3bf2016-09-22 17:36:38 +020024perf-y += builtin-c2c.o
Jiri Olsa285ab8b2014-12-29 15:13:44 +010025
26perf-$(CONFIG_AUDIT) += builtin-trace.o
Jiri Olsa709e6792014-12-29 23:52:25 +010027perf-$(CONFIG_LIBELF) += builtin-probe.o
Jiri Olsa285ab8b2014-12-29 15:13:44 +010028
Jiri Olsa72965b82014-12-29 13:52:36 +010029perf-y += bench/
Jiri Olsaf39e0422014-12-29 15:03:09 +010030perf-y += tests/
Jiri Olsa285ab8b2014-12-29 15:13:44 +010031
Jiri Olsacb4e67f2014-12-30 17:09:15 +010032perf-y += perf.o
33
Jiri Olsa285ab8b2014-12-29 15:13:44 +010034paths += -DPERF_HTML_PATH="BUILD_STR($(htmldir_SQ))"
35paths += -DPERF_INFO_PATH="BUILD_STR($(infodir_SQ))"
36paths += -DPERF_MAN_PATH="BUILD_STR($(mandir_SQ))"
37
38CFLAGS_builtin-help.o += $(paths)
39CFLAGS_builtin-timechart.o += $(paths)
Josh Poimboeuf096d3552015-12-15 09:39:35 -060040CFLAGS_perf.o += -DPERF_HTML_PATH="BUILD_STR($(htmldir_SQ))" \
41 -DPERF_EXEC_PATH="BUILD_STR($(perfexecdir_SQ))" \
42 -DPREFIX="BUILD_STR($(prefix_SQ))" \
43 -include $(OUTPUT)PERF-VERSION-FILE
Arnaldo Carvalho de Melo005438a82015-07-20 12:02:09 -030044CFLAGS_builtin-trace.o += -DSTRACE_GROUPS_DIR="BUILD_STR($(STRACE_GROUPS_DIR_SQ))"
Namhyung Kim14cbfbe2016-01-07 20:41:53 +090045CFLAGS_builtin-report.o += -DTIPDIR="BUILD_STR($(tipdir_SQ))"
Namhyung Kim84cfac72016-01-09 19:16:28 +090046CFLAGS_builtin-report.o += -DDOCDIR="BUILD_STR($(srcdir_SQ)/Documentation)"
Jiri Olsa9352aab2014-12-29 17:42:46 +010047
48libperf-y += util/
49libperf-y += arch/
Jiri Olsa3b939a62014-12-30 00:16:01 +010050libperf-y += ui/
Jiri Olsac7355f82014-12-30 13:11:32 +010051libperf-y += scripts/
Jiri Olsa88aeea02014-12-30 00:34:23 +010052
53gtk-y += ui/gtk/