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