1 export MakeInc_cmd=${SRCROOT}/makedefs/MakeInc.cmd
2 export MakeInc_def=${SRCROOT}/makedefs/MakeInc.def
3 export MakeInc_rule=${SRCROOT}/makedefs/MakeInc.rule
4 export MakeInc_dir=${SRCROOT}/makedefs/MakeInc.dir
9 INSTALL_DTRACE_SCRIPTS_LIST = \
20 INSTALL_DTRACE_LIBEXEC_LIST = \
21 log_unnest_badness.d \
22 vm_map_delete_permanent.d
24 ifneq ($(filter $(SUPPORTED_EMBEDDED_PLATFORMS),$(PLATFORM)),)
25 INSTALL_DTRACE_SCRIPTS_LIST += mptcp.d
29 ifeq ($(CURRENT_ARCH_CONFIG),ARM64)
30 INSTALL_DTRACE_SCRIPTS_LIST += regs_arm64.d
31 else ifeq ($(CURRENT_ARCH_CONFIG),ARM)
32 INSTALL_DTRACE_SCRIPTS_LIST += regs_arm.d
34 INSTALL_DTRACE_SCRIPTS_LIST += regs_x86_64.d
37 INSTALL_DTRACE_SCRIPTS_FILES = \
38 $(addprefix $(DSTROOT)/$(INSTALL_DTRACE_SCRIPTS_DIR)/, $(INSTALL_DTRACE_SCRIPTS_LIST))
40 $(INSTALL_DTRACE_SCRIPTS_FILES): $(DSTROOT)/$(INSTALL_DTRACE_SCRIPTS_DIR)/% : %
41 $(_v)$(MKDIR) $(DSTROOT)/$(INSTALL_DTRACE_SCRIPTS_DIR)
43 $(_v)$(INSTALL) $(DATA_INSTALL_FLAGS) $< $@
45 INSTALL_DTRACE_LIBEXEC_FILES = \
46 $(addprefix $(DSTROOT)/$(INSTALL_DTRACE_LIBEXEC_DIR)/, $(INSTALL_DTRACE_LIBEXEC_LIST))
48 $(INSTALL_DTRACE_LIBEXEC_FILES): $(DSTROOT)/$(INSTALL_DTRACE_LIBEXEC_DIR)/% : %
49 $(_v)$(MKDIR) $(DSTROOT)/$(INSTALL_DTRACE_LIBEXEC_DIR)
51 $(_v)$(INSTALL) $(EXEC_INSTALL_FLAGS) $< $@
53 do_textfiles_install:: $(INSTALL_DTRACE_SCRIPTS_FILES) $(INSTALL_DTRACE_LIBEXEC_FILES)
55 include $(MakeInc_rule)
56 include $(MakeInc_dir)