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 20*88cc0b97SApple OSS DistributionsINSTALL_DTRACE_LIBEXEC_LIST = \ 21*88cc0b97SApple OSS Distributions log_unnest_badness.d 22*88cc0b97SApple OSS Distributions 230f3703acSApple OSS Distributionsifneq ($(filter $(SUPPORTED_EMBEDDED_PLATFORMS),$(PLATFORM)),) 24186b8fceSApple OSS DistributionsINSTALL_DTRACE_SCRIPTS_LIST += mptcp.d 25186b8fceSApple OSS Distributionsendif 26186b8fceSApple OSS Distributions 27*88cc0b97SApple OSS Distributions 28*88cc0b97SApple OSS Distributionsifeq ($(CURRENT_ARCH_CONFIG),ARM64) 29*88cc0b97SApple OSS DistributionsINSTALL_DTRACE_SCRIPTS_LIST += regs_arm64.d 30*88cc0b97SApple OSS Distributionselse ifeq ($(CURRENT_ARCH_CONFIG),ARM) 31*88cc0b97SApple OSS DistributionsINSTALL_DTRACE_SCRIPTS_LIST += regs_arm.d 32*88cc0b97SApple OSS Distributionselse 33*88cc0b97SApple OSS DistributionsINSTALL_DTRACE_SCRIPTS_LIST += regs_x86_64.d 34*88cc0b97SApple OSS Distributionsendif 35*88cc0b97SApple OSS Distributions 36186b8fceSApple OSS DistributionsINSTALL_DTRACE_SCRIPTS_FILES = \ 37186b8fceSApple OSS Distributions $(addprefix $(DSTROOT)/$(INSTALL_DTRACE_SCRIPTS_DIR)/, $(INSTALL_DTRACE_SCRIPTS_LIST)) 38186b8fceSApple OSS Distributions 39186b8fceSApple OSS Distributions$(INSTALL_DTRACE_SCRIPTS_FILES): $(DSTROOT)/$(INSTALL_DTRACE_SCRIPTS_DIR)/% : % 40186b8fceSApple OSS Distributions $(_v)$(MKDIR) $(DSTROOT)/$(INSTALL_DTRACE_SCRIPTS_DIR) 41186b8fceSApple OSS Distributions @echo INSTALL $(@F) 42186b8fceSApple OSS Distributions $(_v)$(INSTALL) $(DATA_INSTALL_FLAGS) $< $@ 43186b8fceSApple OSS Distributions 44*88cc0b97SApple OSS DistributionsINSTALL_DTRACE_LIBEXEC_FILES = \ 45*88cc0b97SApple OSS Distributions $(addprefix $(DSTROOT)/$(INSTALL_DTRACE_LIBEXEC_DIR)/, $(INSTALL_DTRACE_LIBEXEC_LIST)) 46*88cc0b97SApple OSS Distributions 47*88cc0b97SApple OSS Distributions$(INSTALL_DTRACE_LIBEXEC_FILES): $(DSTROOT)/$(INSTALL_DTRACE_LIBEXEC_DIR)/% : % 48*88cc0b97SApple OSS Distributions $(_v)$(MKDIR) $(DSTROOT)/$(INSTALL_DTRACE_LIBEXEC_DIR) 49*88cc0b97SApple OSS Distributions @echo INSTALL $(@F) 50*88cc0b97SApple OSS Distributions $(_v)$(INSTALL) $(EXEC_INSTALL_FLAGS) $< $@ 51*88cc0b97SApple OSS Distributions 52*88cc0b97SApple OSS Distributionsdo_textfiles_install:: $(INSTALL_DTRACE_SCRIPTS_FILES) $(INSTALL_DTRACE_LIBEXEC_FILES) 53186b8fceSApple OSS Distributions 54186b8fceSApple OSS Distributionsinclude $(MakeInc_rule) 55186b8fceSApple OSS Distributionsinclude $(MakeInc_dir) 56