Home | History | Annotate | Download | only in linux-tools-perf

Lines Matching refs:OUTPUT

2 	OUTPUT := $(O)/
10 ifneq ($(OUTPUT),)
11 # check that the output directory actually exists
12 OUTDIR := $(shell cd $(OUTPUT) && /bin/pwd)
13 $(if $(OUTDIR),, $(error output directory "$(OUTPUT)" does not exist))
34 $(OUTPUT)PERF-VERSION-FILE: .FORCE-PERF-VERSION-FILE
35 @$(SHELL_PATH) util/PERF-VERSION-GEN $(OUTPUT)
36 -include $(OUTPUT)PERF-VERSION-FILE
182 $(OUTPUT)python/perf.so: $(PYRF_OBJS)
185 --build-lib='$(OUTPUT)python' \
186 --build-temp='$(OUTPUT)python/temp'
196 PROGRAMS += $(OUTPUT)perf
204 OTHER_PROGRAMS = $(OUTPUT)perf
216 LIB_FILE=$(OUTPUT)libperf.a
292 LIB_OBJS += $(OUTPUT)util/abspath.o
293 LIB_OBJS += $(OUTPUT)util/alias.o
294 LIB_OBJS += $(OUTPUT)util/annotate.o
295 LIB_OBJS += $(OUTPUT)util/build-id.o
296 LIB_OBJS += $(OUTPUT)util/config.o
297 LIB_OBJS += $(OUTPUT)util/ctype.o
298 LIB_OBJS += $(OUTPUT)util/debugfs.o
299 LIB_OBJS += $(OUTPUT)util/environment.o
300 LIB_OBJS += $(OUTPUT)util/event.o
301 LIB_OBJS += $(OUTPUT)util/evlist.o
302 LIB_OBJS += $(OUTPUT)util/evsel.o
303 LIB_OBJS += $(OUTPUT)util/exec_cmd.o
304 LIB_OBJS += $(OUTPUT)util/help.o
305 LIB_OBJS += $(OUTPUT)util/levenshtein.o
306 LIB_OBJS += $(OUTPUT)util/parse-options.o
307 LIB_OBJS += $(OUTPUT)util/parse-events.o
308 LIB_OBJS += $(OUTPUT)util/path.o
309 LIB_OBJS += $(OUTPUT)util/rbtree.o
310 LIB_OBJS += $(OUTPUT)util/bitmap.o
311 LIB_OBJS += $(OUTPUT)util/hweight.o
312 LIB_OBJS += $(OUTPUT)util/run-command.o
313 LIB_OBJS += $(OUTPUT)util/quote.o
314 LIB_OBJS += $(OUTPUT)util/strbuf.o
315 LIB_OBJS += $(OUTPUT)util/string.o
316 LIB_OBJS += $(OUTPUT)util/strlist.o
317 LIB_OBJS += $(OUTPUT)util/strfilter.o
318 LIB_OBJS += $(OUTPUT)util/top.o
319 LIB_OBJS += $(OUTPUT)util/usage.o
320 LIB_OBJS += $(OUTPUT)util/wrapper.o
321 LIB_OBJS += $(OUTPUT)util/sigchain.o
322 LIB_OBJS += $(OUTPUT)util/symbol.o
323 LIB_OBJS += $(OUTPUT)util/color.o
324 LIB_OBJS += $(OUTPUT)util/pager.o
325 LIB_OBJS += $(OUTPUT)util/header.o
326 LIB_OBJS += $(OUTPUT)util/callchain.o
327 LIB_OBJS += $(OUTPUT)util/values.o
328 LIB_OBJS += $(OUTPUT)util/debug.o
329 LIB_OBJS += $(OUTPUT)util/map.o
330 LIB_OBJS += $(OUTPUT)util/pstack.o
331 LIB_OBJS += $(OUTPUT)util/session.o
332 LIB_OBJS += $(OUTPUT)util/thread.o
333 LIB_OBJS += $(OUTPUT)util/thread_map.o
334 LIB_OBJS += $(OUTPUT)util/trace-event-parse.o
335 LIB_OBJS += $(OUTPUT)util/trace-event-read.o
336 LIB_OBJS += $(OUTPUT)util/trace-event-info.o
337 LIB_OBJS += $(OUTPUT)util/trace-event-scripting.o
338 LIB_OBJS += $(OUTPUT)util/svghelper.o
339 LIB_OBJS += $(OUTPUT)util/sort.o
340 LIB_OBJS += $(OUTPUT)util/hist.o
341 LIB_OBJS += $(OUTPUT)util/probe-event.o
342 LIB_OBJS += $(OUTPUT)util/util.o
343 LIB_OBJS += $(OUTPUT)util/xyarray.o
344 LIB_OBJS += $(OUTPUT)util/cpumap.o
345 LIB_OBJS += $(OUTPUT)util/cgroup.o
347 BUILTIN_OBJS += $(OUTPUT)builtin-annotate.o
349 BUILTIN_OBJS += $(OUTPUT)builtin-bench.o
352 BUILTIN_OBJS += $(OUTPUT)bench/sched-messaging.o
353 BUILTIN_OBJS += $(OUTPUT)bench/sched-pipe.o
355 BUILTIN_OBJS += $(OUTPUT)bench/mem-memcpy-x86-64-asm.o
357 BUILTIN_OBJS += $(OUTPUT)bench/mem-memcpy.o
359 BUILTIN_OBJS += $(OUTPUT)builtin-diff.o
360 BUILTIN_OBJS += $(OUTPUT)builtin-evlist.o
361 BUILTIN_OBJS += $(OUTPUT)builtin-help.o
362 BUILTIN_OBJS += $(OUTPUT)builtin-sched.o
363 BUILTIN_OBJS += $(OUTPUT)builtin-buildid-list.o
364 BUILTIN_OBJS += $(OUTPUT)builtin-buildid-cache.o
365 BUILTIN_OBJS += $(OUTPUT)builtin-list.o
366 BUILTIN_OBJS += $(OUTPUT)builtin-record.o
367 BUILTIN_OBJS += $(OUTPUT)builtin-report.o
368 BUILTIN_OBJS += $(OUTPUT)builtin-stat.o
369 BUILTIN_OBJS += $(OUTPUT)builtin-timechart.o
370 BUILTIN_OBJS += $(OUTPUT)builtin-top.o
371 BUILTIN_OBJS += $(OUTPUT)builtin-script.o
372 BUILTIN_OBJS += $(OUTPUT)builtin-probe.o
373 BUILTIN_OBJS += $(OUTPUT)builtin-kmem.o
374 BUILTIN_OBJS += $(OUTPUT)builtin-lock.o
375 BUILTIN_OBJS += $(OUTPUT)builtin-kvm.o
376 BUILTIN_OBJS += $(OUTPUT)builtin-test.o
377 BUILTIN_OBJS += $(OUTPUT)builtin-inject.o
386 PYRF_OBJS += $(OUTPUT)util/cpumap.o
387 PYRF_OBJS += $(OUTPUT)util/ctype.o
388 PYRF_OBJS += $(OUTPUT)util/evlist.o
389 PYRF_OBJS += $(OUTPUT)util/evsel.o
390 PYRF_OBJS += $(OUTPUT)util/python.o
391 PYRF_OBJS += $(OUTPUT)util/thread_map.o
392 PYRF_OBJS += $(OUTPUT)util/util.o
393 PYRF_OBJS += $(OUTPUT)util/xyarray.o
416 ifneq ($(OUTPUT),)
417 BASIC_CFLAGS += -I$(OUTPUT)
440 LIB_OBJS += $(OUTPUT)util/probe-finder.o
455 LIB_OBJS += $(OUTPUT)util/ui/setup.o
456 LIB_OBJS += $(OUTPUT)util/ui/browser.o
457 LIB_OBJS += $(OUTPUT)util/ui/browsers/annotate.o
458 LIB_OBJS += $(OUTPUT)util/ui/browsers/hists.o
459 LIB_OBJS += $(OUTPUT)util/ui/browsers/map.o
460 LIB_OBJS += $(OUTPUT)util/ui/browsers/top.o
461 LIB_OBJS += $(OUTPUT)util/ui/helpline.o
462 LIB_OBJS += $(OUTPUT)util/ui/progress.o
463 LIB_OBJS += $(OUTPUT)util/ui/util.o
488 LIB_OBJS += $(OUTPUT)util/scripting-engines/trace-event-perl.o
489 LIB_OBJS += $(OUTPUT)scripts/perl/Perf-Trace-Util/Context.o
511 --build-lib='$(OUTPUT)python' \
512 --build-temp='$(OUTPUT)python/temp'
553 LIB_OBJS += $(OUTPUT)util/scripting-engines/trace-event-python.o
554 LIB_OBJS += $(OUTPUT)scripts/python/Perf-Trace-Util/Context.o
555 LANG_BINDINGS += $(OUTPUT)python/perf.so
659 strip: $(PROGRAMS) $(OUTPUT)perf
660 $(STRIP) $(STRIP_OPTS) $(PROGRAMS) $(OUTPUT)perf
662 $(OUTPUT)perf.o: perf.c $(OUTPUT)common-cmds.h $(OUTPUT)PERF-CFLAGS
667 $(OUTPUT)perf: $(OUTPUT)perf.o $(BUILTIN_OBJS) $(PERFLIBS)
668 $(QUIET_LINK)$(CC) $(ALL_CFLAGS) $(ALL_LDFLAGS) $(OUTPUT)perf.o \
671 $(OUTPUT)builtin-help.o: builtin-help.c $(OUTPUT)common-cmds.h $(OUTPUT)PERF-CFLAGS
677 $(OUTPUT)builtin-timechart.o: builtin-timechart.c $(OUTPUT)common-cmds.h $(OUTPUT)PERF-CFLAGS
683 $(OUTPUT)common-cmds.h: util/generate-cmdlist.sh command-list.txt
685 $(OUTPUT)common-cmds.h: $(wildcard Documentation/perf-*.txt)
689 $(QUIET_GEN)$(INSTALL) '$@.sh' '$(OUTPUT)$@'
692 $(OUTPUT)perf.o perf.spec \
694 : $(OUTPUT)PERF-VERSION-FILE
696 $(OUTPUT)%.o: %.c $(OUTPUT)PERF-CFLAGS
698 $(OUTPUT)%.s: %.c $(OUTPUT)PERF-CFLAGS
700 $(OUTPUT)%.o: %.S
703 $(OUTPUT)util/exec_cmd.o: util/exec_cmd.c $(OUTPUT)PERF-CFLAGS
710 $(OUTPUT)util/config.o: util/config.c $(OUTPUT)PERF-CFLAGS
713 $(OUTPUT)util/ui/browser.o: util/ui/browser.c $(OUTPUT)PERF-CFLAGS
716 $(OUTPUT)util/ui/browsers/annotate.o: util/ui/browsers/annotate.c $(OUTPUT)PERF-CFLAGS
719 $(OUTPUT)util/ui/browsers/top.o: util/ui/browsers/top.c $(OUTPUT)PERF-CFLAGS
722 $(OUTPUT)util/ui/browsers/hists.o: util/ui/browsers/hists.c $(OUTPUT)PERF-CFLAGS
725 $(OUTPUT)util/ui/browsers/map.o: util/ui/browsers/map.c $(OUTPUT)PERF-CFLAGS
728 $(OUTPUT)util/rbtree.o: ../../lib/rbtree.c $(OUTPUT)PERF-CFLAGS
731 $(OUTPUT)util/scripting-engines/trace-event-perl.o: util/scripting-engines/trace-event-perl.c $(OUTPUT)PERF-CFLAGS
734 $(OUTPUT)scripts/perl/Perf-Trace-Util/Context.o: scripts/perl/Perf-Trace-Util/Context.c $(OUTPUT)PERF-CFLAGS
737 $(OUTPUT)util/scripting-engines/trace-event-python.o: util/scripting-engines/trace-event-python.c $(OUTPUT)PERF-CFLAGS
740 $(OUTPUT)scripts/python/Perf-Trace-Util/Context.o: scripts/python/Perf-Trace-Util/Context.c $(OUTPUT)PERF-CFLAGS
743 $(OUTPUT)perf-%: %.o $(PERFLIBS)
751 DIRECTORY_DEPS = $(LIB_OBJS) $(BUILTIN_OBJS) $(OUTPUT)PERF-VERSION-FILE $(OUTPUT)common-cmds.h
788 @echo ' clean - clean all binary objects and build output'
821 $(OUTPUT)PERF-CFLAGS: .FORCE-PERF-CFLAGS
823 if test x"$$FLAGS" != x"`cat $(OUTPUT)PERF-CFLAGS 2>/dev/null`" ; then \
825 echo "$$FLAGS" >$(OUTPUT)PERF-CFLAGS; \
834 check: $(OUTPUT)common-cmds.h
856 $(INSTALL) $(OUTPUT)perf '$(DESTDIR_SQ)$(bindir_SQ)'
859 $(INSTALL) $(OUTPUT)perf-archive -t '$(DESTDIR_SQ)$(perfexec_instdir_SQ)'
896 $(RM) $(OUTPUT){*.o,*/*.o,*/*/*.o,*/*/*/*.o,$(LIB_FILE),perf-archive}
898 $(RM) *.spec *.pyc *.pyo */*.pyc */*.pyo $(OUTPUT)common-cmds.h TAGS tags cscope*
900 $(RM) $(OUTPUT)PERF-VERSION-FILE $(OUTPUT)PERF-CFLAGS