Makefile.perf (8d2932dd0634ebeb0a42df896976772bdb569bfe) Makefile.perf (85e0d509654c2e2e58b29e50a883acd4c4e8807d)
1include ../scripts/Makefile.include
2
3# The default target of this Makefile is...
4all:
5
6include ../scripts/utilities.mak
7
8# Define V to have a more verbose compile.

--- 647 unchanged lines hidden (view full) ---

656 $(INSTALL) $(OUTPUT)perf-read-vdso32 '$(DESTDIR_SQ)$(bindir_SQ)';
657endif
658ifndef NO_PERF_READ_VDSOX32
659 $(call QUIET_INSTALL, perf-read-vdsox32) \
660 $(INSTALL) $(OUTPUT)perf-read-vdsox32 '$(DESTDIR_SQ)$(bindir_SQ)';
661endif
662ifndef NO_JVMTI
663 $(call QUIET_INSTALL, $(LIBJVMTI)) \
1include ../scripts/Makefile.include
2
3# The default target of this Makefile is...
4all:
5
6include ../scripts/utilities.mak
7
8# Define V to have a more verbose compile.

--- 647 unchanged lines hidden (view full) ---

656 $(INSTALL) $(OUTPUT)perf-read-vdso32 '$(DESTDIR_SQ)$(bindir_SQ)';
657endif
658ifndef NO_PERF_READ_VDSOX32
659 $(call QUIET_INSTALL, perf-read-vdsox32) \
660 $(INSTALL) $(OUTPUT)perf-read-vdsox32 '$(DESTDIR_SQ)$(bindir_SQ)';
661endif
662ifndef NO_JVMTI
663 $(call QUIET_INSTALL, $(LIBJVMTI)) \
664 $(INSTALL) -d -m 755 '$(DESTDIR_SQ)$(libdir_SQ)'; \
664 $(INSTALL) $(OUTPUT)$(LIBJVMTI) '$(DESTDIR_SQ)$(libdir_SQ)';
665endif
666 $(call QUIET_INSTALL, libexec) \
667 $(INSTALL) -d -m 755 '$(DESTDIR_SQ)$(perfexec_instdir_SQ)'
668 $(call QUIET_INSTALL, perf-archive) \
669 $(INSTALL) $(OUTPUT)perf-archive -t '$(DESTDIR_SQ)$(perfexec_instdir_SQ)'
670 $(call QUIET_INSTALL, perf-with-kcore) \
671 $(INSTALL) $(OUTPUT)perf-with-kcore -t '$(DESTDIR_SQ)$(perfexec_instdir_SQ)'

--- 48 unchanged lines hidden (view full) ---

720#
721# This is here, not in Makefile.config, because Makefile.config does
722# not get included for the clean target:
723#
724config-clean:
725 $(call QUIET_CLEAN, config)
726 $(Q)$(MAKE) -C $(srctree)/tools/build/feature/ $(if $(OUTPUT),OUTPUT=$(OUTPUT)feature/,) clean >/dev/null
727
665 $(INSTALL) $(OUTPUT)$(LIBJVMTI) '$(DESTDIR_SQ)$(libdir_SQ)';
666endif
667 $(call QUIET_INSTALL, libexec) \
668 $(INSTALL) -d -m 755 '$(DESTDIR_SQ)$(perfexec_instdir_SQ)'
669 $(call QUIET_INSTALL, perf-archive) \
670 $(INSTALL) $(OUTPUT)perf-archive -t '$(DESTDIR_SQ)$(perfexec_instdir_SQ)'
671 $(call QUIET_INSTALL, perf-with-kcore) \
672 $(INSTALL) $(OUTPUT)perf-with-kcore -t '$(DESTDIR_SQ)$(perfexec_instdir_SQ)'

--- 48 unchanged lines hidden (view full) ---

721#
722# This is here, not in Makefile.config, because Makefile.config does
723# not get included for the clean target:
724#
725config-clean:
726 $(call QUIET_CLEAN, config)
727 $(Q)$(MAKE) -C $(srctree)/tools/build/feature/ $(if $(OUTPUT),OUTPUT=$(OUTPUT)feature/,) clean >/dev/null
728
728clean:: $(LIBTRACEEVENT)-clean $(LIBAPI)-clean $(LIBBPF)-clean $(LIBSUBCMD)-clean config-clean
729clean:: $(LIBTRACEEVENT)-clean $(LIBAPI)-clean $(LIBBPF)-clean $(LIBSUBCMD)-clean config-clean fixdep-clean
729 $(call QUIET_CLEAN, core-objs) $(RM) $(LIB_FILE) $(OUTPUT)perf-archive $(OUTPUT)perf-with-kcore $(LANG_BINDINGS)
730 $(Q)find $(if $(OUTPUT),$(OUTPUT),.) -name '*.o' -delete -o -name '\.*.cmd' -delete -o -name '\.*.d' -delete
731 $(Q)$(RM) $(OUTPUT).config-detected
732 $(call QUIET_CLEAN, core-progs) $(RM) $(ALL_PROGRAMS) perf perf-read-vdso32 perf-read-vdsox32 $(OUTPUT)pmu-events/jevents $(OUTPUT)$(LIBJVMTI).so
733 $(call QUIET_CLEAN, core-gen) $(RM) *.spec *.pyc *.pyo */*.pyc */*.pyo $(OUTPUT)common-cmds.h TAGS tags cscope* $(OUTPUT)PERF-VERSION-FILE $(OUTPUT)FEATURE-DUMP $(OUTPUT)util/*-bison* $(OUTPUT)util/*-flex* \
730 $(call QUIET_CLEAN, core-objs) $(RM) $(LIB_FILE) $(OUTPUT)perf-archive $(OUTPUT)perf-with-kcore $(LANG_BINDINGS)
731 $(Q)find $(if $(OUTPUT),$(OUTPUT),.) -name '*.o' -delete -o -name '\.*.cmd' -delete -o -name '\.*.d' -delete
732 $(Q)$(RM) $(OUTPUT).config-detected
733 $(call QUIET_CLEAN, core-progs) $(RM) $(ALL_PROGRAMS) perf perf-read-vdso32 perf-read-vdsox32 $(OUTPUT)pmu-events/jevents $(OUTPUT)$(LIBJVMTI).so
734 $(call QUIET_CLEAN, core-gen) $(RM) *.spec *.pyc *.pyo */*.pyc */*.pyo $(OUTPUT)common-cmds.h TAGS tags cscope* $(OUTPUT)PERF-VERSION-FILE $(OUTPUT)FEATURE-DUMP $(OUTPUT)util/*-bison* $(OUTPUT)util/*-flex* \
734 $(OUTPUT)util/intel-pt-decoder/inat-tables.c $(OUTPUT)fixdep \
735 $(OUTPUT)util/intel-pt-decoder/inat-tables.c \
735 $(OUTPUT)tests/llvm-src-{base,kbuild,prologue,relocation}.c \
736 $(OUTPUT)pmu-events/pmu-events.c
737 $(QUIET_SUBDIR0)Documentation $(QUIET_SUBDIR1) clean
738 $(python-clean)
739
740#
741# To provide FEATURE-DUMP into $(FEATURE_DUMP_COPY)
742# file if defined, with no further action.

--- 26 unchanged lines hidden ---
736 $(OUTPUT)tests/llvm-src-{base,kbuild,prologue,relocation}.c \
737 $(OUTPUT)pmu-events/pmu-events.c
738 $(QUIET_SUBDIR0)Documentation $(QUIET_SUBDIR1) clean
739 $(python-clean)
740
741#
742# To provide FEATURE-DUMP into $(FEATURE_DUMP_COPY)
743# file if defined, with no further action.

--- 26 unchanged lines hidden ---