1186b8fceSApple OSS Distributionsexport MakeInc_cmd=${SRCROOT}/makedefs/MakeInc.cmd 2186b8fceSApple OSS Distributionsexport MakeInc_def=${SRCROOT}/makedefs/MakeInc.def 3186b8fceSApple OSS Distributionsexport MakeInc_rule=${SRCROOT}/makedefs/MakeInc.rule 4186b8fceSApple OSS Distributionsexport MakeInc_dir=${SRCROOT}/makedefs/MakeInc.dir 5186b8fceSApple OSS Distributions 6186b8fceSApple OSS Distributionsinclude $(MakeInc_cmd) 7186b8fceSApple OSS Distributionsinclude $(MakeInc_def) 8186b8fceSApple OSS Distributions 9bb611c8fSApple OSS DistributionsINSTALL_DTRACE_MI_SCRIPTS_LIST = \ 10186b8fceSApple OSS Distributions darwin.d \ 11186b8fceSApple OSS Distributions errno.d \ 12186b8fceSApple OSS Distributions io.d \ 13186b8fceSApple OSS Distributions ip.d \ 14186b8fceSApple OSS Distributions sched.d \ 15186b8fceSApple OSS Distributions signal.d \ 16186b8fceSApple OSS Distributions socket.d \ 17186b8fceSApple OSS Distributions tcp.d \ 18186b8fceSApple OSS Distributions unistd.d 19186b8fceSApple OSS Distributions 2088cc0b97SApple OSS DistributionsINSTALL_DTRACE_LIBEXEC_LIST = \ 2176e12aa3SApple OSS Distributions log_unnest_badness.d \ 22*5c2921b0SApple OSS Distributions suspicious_task_vm_info_count.d \ 23bb611c8fSApple OSS Distributions vm_map_delete_permanent.d \ 24*5c2921b0SApple OSS Distributions vm_map_delete_permanent_deny.d \ 25*5c2921b0SApple OSS Distributions vm_map_delete_permanent_prot_none.d \ 26bb611c8fSApple OSS Distributions vm_object_ownership.d 2788cc0b97SApple OSS Distributions 280f3703acSApple OSS Distributionsifneq ($(filter $(SUPPORTED_EMBEDDED_PLATFORMS),$(PLATFORM)),) 29bb611c8fSApple OSS DistributionsINSTALL_DTRACE_MI_SCRIPTS_LIST += mptcp.d 30186b8fceSApple OSS Distributionsendif 31186b8fceSApple OSS Distributions 3288cc0b97SApple OSS Distributions 3388cc0b97SApple OSS Distributionsifeq ($(CURRENT_ARCH_CONFIG),ARM64) 34bb611c8fSApple OSS DistributionsINSTALL_DTRACE_MD_SCRIPTS_LIST = regs_arm64.d ptrauth_arm64.d 35bb611c8fSApple OSS DistributionsINSTALL_DTRACE_MD_DIR = arm64 3688cc0b97SApple OSS Distributionselse ifeq ($(CURRENT_ARCH_CONFIG),ARM) 37bb611c8fSApple OSS DistributionsINSTALL_DTRACE_MD_SCRIPTS_LIST = regs_arm.d 38bb611c8fSApple OSS DistributionsINSTALL_DTRACE_MD_DIR = arm 3988cc0b97SApple OSS Distributionselse 40bb611c8fSApple OSS DistributionsINSTALL_DTRACE_MD_SCRIPTS_LIST = regs_x86_64.d vmx_compat.d 41bb611c8fSApple OSS DistributionsINSTALL_DTRACE_MD_DIR = x86_64 4288cc0b97SApple OSS Distributionsendif 4388cc0b97SApple OSS Distributions 44bb611c8fSApple OSS DistributionsINSTALL_DTRACE_MI_SCRIPTS_FILES = \ 45bb611c8fSApple OSS Distributions $(addprefix $(DSTROOT)/$(INSTALL_DTRACE_SCRIPTS_DIR)/, $(INSTALL_DTRACE_MI_SCRIPTS_LIST)) 46186b8fceSApple OSS Distributions 47bb611c8fSApple OSS DistributionsINSTALL_DTRACE_MD_SCRIPTS_FILES = \ 48bb611c8fSApple OSS Distributions $(addprefix $(DSTROOT)/$(INSTALL_DTRACE_SCRIPTS_DIR)/$(INSTALL_DTRACE_MD_DIR)/, $(INSTALL_DTRACE_MD_SCRIPTS_LIST)) 49bb611c8fSApple OSS Distributions 50bb611c8fSApple OSS Distributions$(INSTALL_DTRACE_MD_SCRIPTS_FILES): $(DSTROOT)/$(INSTALL_DTRACE_SCRIPTS_DIR)/$(INSTALL_DTRACE_MD_DIR)/% : % 51bb611c8fSApple OSS Distributions $(_v)$(MKDIR) $(DSTROOT)/$(INSTALL_DTRACE_SCRIPTS_DIR)/$(INSTALL_DTRACE_MD_DIR) 52e6231be0SApple OSS Distributions @$(LOG_INSTALL) $(@F) 53bb611c8fSApple OSS Distributions $(_v)$(INSTALL) $(DATA_INSTALL_FLAGS) $< $@ 54bb611c8fSApple OSS Distributions 55bb611c8fSApple OSS Distributions$(INSTALL_DTRACE_MI_SCRIPTS_FILES): $(DSTROOT)/$(INSTALL_DTRACE_SCRIPTS_DIR)/% : % 56186b8fceSApple OSS Distributions $(_v)$(MKDIR) $(DSTROOT)/$(INSTALL_DTRACE_SCRIPTS_DIR) 57e6231be0SApple OSS Distributions @$(LOG_INSTALL) $(@F) 58186b8fceSApple OSS Distributions $(_v)$(INSTALL) $(DATA_INSTALL_FLAGS) $< $@ 59186b8fceSApple OSS Distributions 6088cc0b97SApple OSS DistributionsINSTALL_DTRACE_LIBEXEC_FILES = \ 6188cc0b97SApple OSS Distributions $(addprefix $(DSTROOT)/$(INSTALL_DTRACE_LIBEXEC_DIR)/, $(INSTALL_DTRACE_LIBEXEC_LIST)) 6288cc0b97SApple OSS Distributions 6388cc0b97SApple OSS Distributions$(INSTALL_DTRACE_LIBEXEC_FILES): $(DSTROOT)/$(INSTALL_DTRACE_LIBEXEC_DIR)/% : % 6488cc0b97SApple OSS Distributions $(_v)$(MKDIR) $(DSTROOT)/$(INSTALL_DTRACE_LIBEXEC_DIR) 65e6231be0SApple OSS Distributions @$(LOG_INSTALL) $(@F) 6688cc0b97SApple OSS Distributions $(_v)$(INSTALL) $(EXEC_INSTALL_FLAGS) $< $@ 6788cc0b97SApple OSS Distributions 68bb611c8fSApple OSS Distributionsdo_textfiles_install_mi:: $(INSTALL_DTRACE_MI_SCRIPTS_FILES) $(INSTALL_DTRACE_LIBEXEC_FILES) 69bb611c8fSApple OSS Distributions 70bb611c8fSApple OSS Distributionsdo_textfiles_install_md:: $(INSTALL_DTRACE_MD_SCRIPTS_FILES) 71186b8fceSApple OSS Distributions 72186b8fceSApple OSS Distributionsinclude $(MakeInc_rule) 73186b8fceSApple OSS Distributionsinclude $(MakeInc_dir) 74