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 9*bb611c8fSApple 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*bb611c8fSApple OSS Distributions vm_map_delete_permanent.d \ 23*bb611c8fSApple OSS Distributions vm_object_ownership.d 2488cc0b97SApple OSS Distributions 250f3703acSApple OSS Distributionsifneq ($(filter $(SUPPORTED_EMBEDDED_PLATFORMS),$(PLATFORM)),) 26*bb611c8fSApple OSS DistributionsINSTALL_DTRACE_MI_SCRIPTS_LIST += mptcp.d 27186b8fceSApple OSS Distributionsendif 28186b8fceSApple OSS Distributions 2988cc0b97SApple OSS Distributions 3088cc0b97SApple OSS Distributionsifeq ($(CURRENT_ARCH_CONFIG),ARM64) 31*bb611c8fSApple OSS DistributionsINSTALL_DTRACE_MD_SCRIPTS_LIST = regs_arm64.d ptrauth_arm64.d 32*bb611c8fSApple OSS DistributionsINSTALL_DTRACE_MD_DIR = arm64 3388cc0b97SApple OSS Distributionselse ifeq ($(CURRENT_ARCH_CONFIG),ARM) 34*bb611c8fSApple OSS DistributionsINSTALL_DTRACE_MD_SCRIPTS_LIST = regs_arm.d 35*bb611c8fSApple OSS DistributionsINSTALL_DTRACE_MD_DIR = arm 3688cc0b97SApple OSS Distributionselse 37*bb611c8fSApple OSS DistributionsINSTALL_DTRACE_MD_SCRIPTS_LIST = regs_x86_64.d vmx_compat.d 38*bb611c8fSApple OSS DistributionsINSTALL_DTRACE_MD_DIR = x86_64 3988cc0b97SApple OSS Distributionsendif 4088cc0b97SApple OSS Distributions 41*bb611c8fSApple OSS DistributionsINSTALL_DTRACE_MI_SCRIPTS_FILES = \ 42*bb611c8fSApple OSS Distributions $(addprefix $(DSTROOT)/$(INSTALL_DTRACE_SCRIPTS_DIR)/, $(INSTALL_DTRACE_MI_SCRIPTS_LIST)) 43186b8fceSApple OSS Distributions 44*bb611c8fSApple OSS DistributionsINSTALL_DTRACE_MD_SCRIPTS_FILES = \ 45*bb611c8fSApple OSS Distributions $(addprefix $(DSTROOT)/$(INSTALL_DTRACE_SCRIPTS_DIR)/$(INSTALL_DTRACE_MD_DIR)/, $(INSTALL_DTRACE_MD_SCRIPTS_LIST)) 46*bb611c8fSApple OSS Distributions 47*bb611c8fSApple OSS Distributions$(INSTALL_DTRACE_MD_SCRIPTS_FILES): $(DSTROOT)/$(INSTALL_DTRACE_SCRIPTS_DIR)/$(INSTALL_DTRACE_MD_DIR)/% : % 48*bb611c8fSApple OSS Distributions $(_v)$(MKDIR) $(DSTROOT)/$(INSTALL_DTRACE_SCRIPTS_DIR)/$(INSTALL_DTRACE_MD_DIR) 49*bb611c8fSApple OSS Distributions @$(LOG) INSTALL $(@F) 50*bb611c8fSApple OSS Distributions $(_v)$(INSTALL) $(DATA_INSTALL_FLAGS) $< $@ 51*bb611c8fSApple OSS Distributions 52*bb611c8fSApple OSS Distributions$(INSTALL_DTRACE_MI_SCRIPTS_FILES): $(DSTROOT)/$(INSTALL_DTRACE_SCRIPTS_DIR)/% : % 53186b8fceSApple OSS Distributions $(_v)$(MKDIR) $(DSTROOT)/$(INSTALL_DTRACE_SCRIPTS_DIR) 54*bb611c8fSApple OSS Distributions @$(LOG) INSTALL $(@F) 55186b8fceSApple OSS Distributions $(_v)$(INSTALL) $(DATA_INSTALL_FLAGS) $< $@ 56186b8fceSApple OSS Distributions 5788cc0b97SApple OSS DistributionsINSTALL_DTRACE_LIBEXEC_FILES = \ 5888cc0b97SApple OSS Distributions $(addprefix $(DSTROOT)/$(INSTALL_DTRACE_LIBEXEC_DIR)/, $(INSTALL_DTRACE_LIBEXEC_LIST)) 5988cc0b97SApple OSS Distributions 6088cc0b97SApple OSS Distributions$(INSTALL_DTRACE_LIBEXEC_FILES): $(DSTROOT)/$(INSTALL_DTRACE_LIBEXEC_DIR)/% : % 6188cc0b97SApple OSS Distributions $(_v)$(MKDIR) $(DSTROOT)/$(INSTALL_DTRACE_LIBEXEC_DIR) 62*bb611c8fSApple OSS Distributions @$(LOG) INSTALL $(@F) 6388cc0b97SApple OSS Distributions $(_v)$(INSTALL) $(EXEC_INSTALL_FLAGS) $< $@ 6488cc0b97SApple OSS Distributions 65*bb611c8fSApple OSS Distributionsdo_textfiles_install_mi:: $(INSTALL_DTRACE_MI_SCRIPTS_FILES) $(INSTALL_DTRACE_LIBEXEC_FILES) 66*bb611c8fSApple OSS Distributions 67*bb611c8fSApple OSS Distributionsdo_textfiles_install_md:: $(INSTALL_DTRACE_MD_SCRIPTS_FILES) 68186b8fceSApple OSS Distributions 69186b8fceSApple OSS Distributionsinclude $(MakeInc_rule) 70186b8fceSApple OSS Distributionsinclude $(MakeInc_dir) 71