framework.mk 698 B

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