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 9186b8fceSApple OSS DistributionsINSTALL_DTRACE_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 = \ 21*76e12aa3SApple OSS Distributions log_unnest_badness.d \ 22*76e12aa3SApple OSS Distributions vm_map_delete_permanent.d 2388cc0b97SApple OSS Distributions 240f3703acSApple OSS Distributionsifneq ($(filter $(SUPPORTED_EMBEDDED_PLATFORMS),$(PLATFORM)),) 25186b8fceSApple OSS DistributionsINSTALL_DTRACE_SCRIPTS_LIST += mptcp.d 26186b8fceSApple OSS Distributionsendif 27186b8fceSApple OSS Distributions 2888cc0b97SApple OSS Distributions 2988cc0b97SApple OSS Distributionsifeq ($(CURRENT_ARCH_CONFIG),ARM64) 3088cc0b97SApple OSS DistributionsINSTALL_DTRACE_SCRIPTS_LIST += regs_arm64.d 3188cc0b97SApple OSS Distributionselse ifeq ($(CURRENT_ARCH_CONFIG),ARM) 3288cc0b97SApple OSS DistributionsINSTALL_DTRACE_SCRIPTS_LIST += regs_arm.d 3388cc0b97SApple OSS Distributionselse 3488cc0b97SApple OSS DistributionsINSTALL_DTRACE_SCRIPTS_LIST += regs_x86_64.d 3588cc0b97SApple OSS Distributionsendif 3688cc0b97SApple OSS Distributions 37186b8fceSApple OSS DistributionsINSTALL_DTRACE_SCRIPTS_FILES = \ 38186b8fceSApple OSS Distributions $(addprefix $(DSTROOT)/$(INSTALL_DTRACE_SCRIPTS_DIR)/, $(INSTALL_DTRACE_SCRIPTS_LIST)) 39186b8fceSApple OSS Distributions 40186b8fceSApple OSS Distributions$(INSTALL_DTRACE_SCRIPTS_FILES): $(DSTROOT)/$(INSTALL_DTRACE_SCRIPTS_DIR)/% : % 41186b8fceSApple OSS Distributions $(_v)$(MKDIR) $(DSTROOT)/$(INSTALL_DTRACE_SCRIPTS_DIR) 42186b8fceSApple OSS Distributions @echo INSTALL $(@F) 43186b8fceSApple OSS Distributions $(_v)$(INSTALL) $(DATA_INSTALL_FLAGS) $< $@ 44186b8fceSApple OSS Distributions 4588cc0b97SApple OSS DistributionsINSTALL_DTRACE_LIBEXEC_FILES = \ 4688cc0b97SApple OSS Distributions $(addprefix $(DSTROOT)/$(INSTALL_DTRACE_LIBEXEC_DIR)/, $(INSTALL_DTRACE_LIBEXEC_LIST)) 4788cc0b97SApple OSS Distributions 4888cc0b97SApple OSS Distributions$(INSTALL_DTRACE_LIBEXEC_FILES): $(DSTROOT)/$(INSTALL_DTRACE_LIBEXEC_DIR)/% : % 4988cc0b97SApple OSS Distributions $(_v)$(MKDIR) $(DSTROOT)/$(INSTALL_DTRACE_LIBEXEC_DIR) 5088cc0b97SApple OSS Distributions @echo INSTALL $(@F) 5188cc0b97SApple OSS Distributions $(_v)$(INSTALL) $(EXEC_INSTALL_FLAGS) $< $@ 5288cc0b97SApple OSS Distributions 5388cc0b97SApple OSS Distributionsdo_textfiles_install:: $(INSTALL_DTRACE_SCRIPTS_FILES) $(INSTALL_DTRACE_LIBEXEC_FILES) 54186b8fceSApple OSS Distributions 55186b8fceSApple OSS Distributionsinclude $(MakeInc_rule) 56186b8fceSApple OSS Distributionsinclude $(MakeInc_dir) 57