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_MI_SCRIPTS_LIST = \
20 INSTALL_DTRACE_LIBEXEC_LIST = \
21 log_unnest_badness.d \
22 vm_map_delete_permanent.d \
25 ifneq ($(filter $(SUPPORTED_EMBEDDED_PLATFORMS),$(PLATFORM)),)
26 INSTALL_DTRACE_MI_SCRIPTS_LIST += mptcp.d
30 ifeq ($(CURRENT_ARCH_CONFIG),ARM64)
31 INSTALL_DTRACE_MD_SCRIPTS_LIST = regs_arm64.d ptrauth_arm64.d
32 INSTALL_DTRACE_MD_DIR = arm64
33 else ifeq ($(CURRENT_ARCH_CONFIG),ARM)
34 INSTALL_DTRACE_MD_SCRIPTS_LIST = regs_arm.d
35 INSTALL_DTRACE_MD_DIR = arm
37 INSTALL_DTRACE_MD_SCRIPTS_LIST = regs_x86_64.d vmx_compat.d
38 INSTALL_DTRACE_MD_DIR = x86_64
41 INSTALL_DTRACE_MI_SCRIPTS_FILES = \
42 $(addprefix $(DSTROOT)/$(INSTALL_DTRACE_SCRIPTS_DIR)/, $(INSTALL_DTRACE_MI_SCRIPTS_LIST))
44 INSTALL_DTRACE_MD_SCRIPTS_FILES = \
45 $(addprefix $(DSTROOT)/$(INSTALL_DTRACE_SCRIPTS_DIR)/$(INSTALL_DTRACE_MD_DIR)/, $(INSTALL_DTRACE_MD_SCRIPTS_LIST))
47 $(INSTALL_DTRACE_MD_SCRIPTS_FILES): $(DSTROOT)/$(INSTALL_DTRACE_SCRIPTS_DIR)/$(INSTALL_DTRACE_MD_DIR)/% : %
48 $(_v)$(MKDIR) $(DSTROOT)/$(INSTALL_DTRACE_SCRIPTS_DIR)/$(INSTALL_DTRACE_MD_DIR)
50 $(_v)$(INSTALL) $(DATA_INSTALL_FLAGS) $< $@
52 $(INSTALL_DTRACE_MI_SCRIPTS_FILES): $(DSTROOT)/$(INSTALL_DTRACE_SCRIPTS_DIR)/% : %
53 $(_v)$(MKDIR) $(DSTROOT)/$(INSTALL_DTRACE_SCRIPTS_DIR)
55 $(_v)$(INSTALL) $(DATA_INSTALL_FLAGS) $< $@
57 INSTALL_DTRACE_LIBEXEC_FILES = \
58 $(addprefix $(DSTROOT)/$(INSTALL_DTRACE_LIBEXEC_DIR)/, $(INSTALL_DTRACE_LIBEXEC_LIST))
60 $(INSTALL_DTRACE_LIBEXEC_FILES): $(DSTROOT)/$(INSTALL_DTRACE_LIBEXEC_DIR)/% : %
61 $(_v)$(MKDIR) $(DSTROOT)/$(INSTALL_DTRACE_LIBEXEC_DIR)
63 $(_v)$(INSTALL) $(EXEC_INSTALL_FLAGS) $< $@
65 do_textfiles_install_mi:: $(INSTALL_DTRACE_MI_SCRIPTS_FILES) $(INSTALL_DTRACE_LIBEXEC_FILES)
67 do_textfiles_install_md:: $(INSTALL_DTRACE_MD_SCRIPTS_FILES)
69 include $(MakeInc_rule)
70 include $(MakeInc_dir)