1*5e3eaea3SApple OSS Distributionsexport MakeInc_cmd=${SRCROOT}/makedefs/MakeInc.cmd 2*5e3eaea3SApple OSS Distributionsexport MakeInc_def=${SRCROOT}/makedefs/MakeInc.def 3*5e3eaea3SApple OSS Distributionsexport MakeInc_rule=${SRCROOT}/makedefs/MakeInc.rule 4*5e3eaea3SApple OSS Distributionsexport MakeInc_dir=${SRCROOT}/makedefs/MakeInc.dir 5*5e3eaea3SApple OSS Distributions 6*5e3eaea3SApple OSS Distributionsinclude $(MakeInc_cmd) 7*5e3eaea3SApple OSS Distributionsinclude $(MakeInc_def) 8*5e3eaea3SApple OSS Distributions 9*5e3eaea3SApple OSS DistributionsINSTALL_DTRACE_MI_SCRIPTS_LIST = \ 10*5e3eaea3SApple OSS Distributions darwin.d \ 11*5e3eaea3SApple OSS Distributions errno.d \ 12*5e3eaea3SApple OSS Distributions io.d \ 13*5e3eaea3SApple OSS Distributions ip.d \ 14*5e3eaea3SApple OSS Distributions sched.d \ 15*5e3eaea3SApple OSS Distributions signal.d \ 16*5e3eaea3SApple OSS Distributions socket.d \ 17*5e3eaea3SApple OSS Distributions tcp.d \ 18*5e3eaea3SApple OSS Distributions unistd.d 19*5e3eaea3SApple OSS Distributions 20*5e3eaea3SApple OSS DistributionsINSTALL_DTRACE_LIBEXEC_LIST = \ 21*5e3eaea3SApple OSS Distributions log_unnest_badness.d \ 22*5e3eaea3SApple OSS Distributions suspicious_task_vm_info_count.d \ 23*5e3eaea3SApple OSS Distributions vm_map_delete_permanent.d \ 24*5e3eaea3SApple OSS Distributions vm_map_delete_permanent_deny.d \ 25*5e3eaea3SApple OSS Distributions vm_map_delete_permanent_prot_none.d \ 26*5e3eaea3SApple OSS Distributions vm_object_ownership.d 27*5e3eaea3SApple OSS Distributions 28*5e3eaea3SApple OSS Distributionsifneq ($(filter $(SUPPORTED_EMBEDDED_PLATFORMS),$(PLATFORM)),) 29*5e3eaea3SApple OSS DistributionsINSTALL_DTRACE_MI_SCRIPTS_LIST += mptcp.d 30*5e3eaea3SApple OSS Distributionsendif 31*5e3eaea3SApple OSS Distributions 32*5e3eaea3SApple OSS Distributions 33*5e3eaea3SApple OSS Distributionsifeq ($(CURRENT_ARCH_CONFIG),ARM64) 34*5e3eaea3SApple OSS DistributionsINSTALL_DTRACE_MD_SCRIPTS_LIST = regs_arm64.d ptrauth_arm64.d 35*5e3eaea3SApple OSS DistributionsINSTALL_DTRACE_MD_DIR = arm64 36*5e3eaea3SApple OSS Distributionselse ifeq ($(CURRENT_ARCH_CONFIG),ARM) 37*5e3eaea3SApple OSS DistributionsINSTALL_DTRACE_MD_SCRIPTS_LIST = regs_arm.d 38*5e3eaea3SApple OSS DistributionsINSTALL_DTRACE_MD_DIR = arm 39*5e3eaea3SApple OSS Distributionselse 40*5e3eaea3SApple OSS DistributionsINSTALL_DTRACE_MD_SCRIPTS_LIST = regs_x86_64.d vmx_compat.d 41*5e3eaea3SApple OSS DistributionsINSTALL_DTRACE_MD_DIR = x86_64 42*5e3eaea3SApple OSS Distributionsendif 43*5e3eaea3SApple OSS Distributions 44*5e3eaea3SApple OSS DistributionsINSTALL_DTRACE_MI_SCRIPTS_FILES = \ 45*5e3eaea3SApple OSS Distributions $(addprefix $(DSTROOT)/$(INSTALL_DTRACE_SCRIPTS_DIR)/, $(INSTALL_DTRACE_MI_SCRIPTS_LIST)) 46*5e3eaea3SApple OSS Distributions 47*5e3eaea3SApple OSS DistributionsINSTALL_DTRACE_MD_SCRIPTS_FILES = \ 48*5e3eaea3SApple OSS Distributions $(addprefix $(DSTROOT)/$(INSTALL_DTRACE_SCRIPTS_DIR)/$(INSTALL_DTRACE_MD_DIR)/, $(INSTALL_DTRACE_MD_SCRIPTS_LIST)) 49*5e3eaea3SApple OSS Distributions 50*5e3eaea3SApple OSS Distributions$(INSTALL_DTRACE_MD_SCRIPTS_FILES): $(DSTROOT)/$(INSTALL_DTRACE_SCRIPTS_DIR)/$(INSTALL_DTRACE_MD_DIR)/% : % 51*5e3eaea3SApple OSS Distributions $(_v)$(MKDIR) $(DSTROOT)/$(INSTALL_DTRACE_SCRIPTS_DIR)/$(INSTALL_DTRACE_MD_DIR) 52*5e3eaea3SApple OSS Distributions @$(LOG_INSTALL) $(@F) 53*5e3eaea3SApple OSS Distributions $(_v)$(INSTALL) $(DATA_INSTALL_FLAGS) $< $@ 54*5e3eaea3SApple OSS Distributions 55*5e3eaea3SApple OSS Distributions$(INSTALL_DTRACE_MI_SCRIPTS_FILES): $(DSTROOT)/$(INSTALL_DTRACE_SCRIPTS_DIR)/% : % 56*5e3eaea3SApple OSS Distributions $(_v)$(MKDIR) $(DSTROOT)/$(INSTALL_DTRACE_SCRIPTS_DIR) 57*5e3eaea3SApple OSS Distributions @$(LOG_INSTALL) $(@F) 58*5e3eaea3SApple OSS Distributions $(_v)$(INSTALL) $(DATA_INSTALL_FLAGS) $< $@ 59*5e3eaea3SApple OSS Distributions 60*5e3eaea3SApple OSS DistributionsINSTALL_DTRACE_LIBEXEC_FILES = \ 61*5e3eaea3SApple OSS Distributions $(addprefix $(DSTROOT)/$(INSTALL_DTRACE_LIBEXEC_DIR)/, $(INSTALL_DTRACE_LIBEXEC_LIST)) 62*5e3eaea3SApple OSS Distributions 63*5e3eaea3SApple OSS Distributions$(INSTALL_DTRACE_LIBEXEC_FILES): $(DSTROOT)/$(INSTALL_DTRACE_LIBEXEC_DIR)/% : % 64*5e3eaea3SApple OSS Distributions $(_v)$(MKDIR) $(DSTROOT)/$(INSTALL_DTRACE_LIBEXEC_DIR) 65*5e3eaea3SApple OSS Distributions @$(LOG_INSTALL) $(@F) 66*5e3eaea3SApple OSS Distributions $(_v)$(INSTALL) $(EXEC_INSTALL_FLAGS) $< $@ 67*5e3eaea3SApple OSS Distributions 68*5e3eaea3SApple OSS Distributionsdo_textfiles_install_mi:: $(INSTALL_DTRACE_MI_SCRIPTS_FILES) $(INSTALL_DTRACE_LIBEXEC_FILES) 69*5e3eaea3SApple OSS Distributions 70*5e3eaea3SApple OSS Distributionsdo_textfiles_install_md:: $(INSTALL_DTRACE_MD_SCRIPTS_FILES) 71*5e3eaea3SApple OSS Distributions 72*5e3eaea3SApple OSS Distributionsinclude $(MakeInc_rule) 73*5e3eaea3SApple OSS Distributionsinclude $(MakeInc_dir) 74