bundle.mk 647 B

1234567891011121314151617181920
  1. BUNDLE_NAME := $(strip $(BUNDLE_NAME))
  2. ifeq ($(_THEOS_RULES_LOADED),)
  3. include $(THEOS_MAKE_PATH)/rules.mk
  4. endif
  5. internal-all:: $(BUNDLE_NAME:=.all.bundle.variables);
  6. internal-stage:: $(BUNDLE_NAME:=.stage.bundle.variables);
  7. BUNDLES_WITH_SUBPROJECTS = $(strip $(foreach bundle,$(BUNDLE_NAME),$(patsubst %,$(bundle),$(call __schema_var_all,$(bundle)_,SUBPROJECTS))))
  8. ifneq ($(BUNDLES_WITH_SUBPROJECTS),)
  9. internal-clean:: $(BUNDLES_WITH_SUBPROJECTS:=.clean.bundle.subprojects)
  10. endif
  11. $(BUNDLE_NAME):
  12. @$(MAKE) -f $(_THEOS_PROJECT_MAKEFILE_NAME) --no-print-directory --no-keep-going $@.all.bundle.variables
  13. $(eval $(call __mod,master/bundle.mk))