msxbuild/lib/make/𓃬𓍄𓋹𓀭/mb_flow_clone.mk

22 lines
973 B
Makefile
Raw Normal View History

2024-07-12 15:59:26 +00:00
define __mb-flow-clone-deps
2024-07-12 15:59:26 +00:00
.RECIPEPREFIX := $(MB_@RECIPE)
$(1)/%: $(2)/% $(1)/@prepare
$(MB_@RECIPE)$$(call mb-make-call,mb-os-file-copy,$$<,$$@)
2024-07-12 15:59:26 +00:00
$(1)/@@process-deps:: $(4)
$(MB_@RECIPE)$$(call mb-make-call,mb-os-echo-remark,$(MB_I18N_FLOW_CLONE_REPORT) $$(words $$^))
2024-07-12 15:59:26 +00:00
.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))))
2024-07-12 15:59:26 +00:00
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])
2024-07-12 15:59:26 +00:00