msxbuild/lib/make/𓃬𓍄𓋹𓀭/mb_flow_clone.mk
Willem Cazander c13a26d6b5
All checks were successful
Run test asserts / Test-Asserts (push) Successful in -13s
Auto setup module flow and packages as targets.
2024-07-14 03:46:29 +02:00

22 lines
977 B
Makefile
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

define __mb_flow_clone_deps
.RECIPEPREFIX := $(MB_@RECIPE)
$(1)/%: $(2)/% $(1)/@prepare
$(MB_@RECIPE)$$(call mb_make_call,mb_os_file_copy,$$<,$$@)
$(1)/@@process-deps:: $(4)
$(MB_@RECIPE)$$(call mb_make_call,mb_os_echo_remark,$(MB_I18N_FLOW_CLONE_REPORT) $$(words $$^))
.RECIPEPREFIX := $(MB_@RECIPEPREFIX)
endef
define mb_flow_clone_deps
$(MB_   )$(call mb_make_call,mb_make_check_arg3,$(0),$(1),$(2),$(3))
$(MB_   )$(call mb_make_call,mb_flow_proj_setup,$(1),@init,$(1))
$(MB_   )$(call mb_make_call,mb_flow_proj_module_run,$(1),$(5))
$(MB_   )$(if $(4),$(call mb_make_call,mb_flow_proj_prepare_packages,$(1),$(4)))
$(MB_   )$(eval $(call mb_make_call,__$(0),$(1),$(2),$(3),$(call mb_make_call,mb_make_module_local_deps,$(1),$(3))))
endef
$(call mb_make_call,mb_doc_function_flow,mb_flow_clone_deps,"Inject flow of file copy toolchain module.","<bin-to> <bin-from> <deps> [packages] [machine]")