application.mk 824 B

123456789101112131415161718192021222324
  1. APPLICATION_NAME := $(strip $(APPLICATION_NAME))
  2. ifeq ($(_THEOS_RULES_LOADED),)
  3. include $(THEOS_MAKE_PATH)/rules.mk
  4. endif
  5. internal-all:: $(APPLICATION_NAME:=.all.application.variables);
  6. internal-stage:: $(APPLICATION_NAME:=.stage.application.variables);
  7. # Maybe, disabled for further discussion
  8. # install.exec "uicache"
  9. internal-after-install::
  10. APPLICATIONS_WITH_SUBPROJECTS = $(strip $(foreach application,$(APPLICATION_NAME),$(patsubst %,$(application),$(call __schema_var_all,$(application)_,SUBPROJECTS))))
  11. ifneq ($(APPLICATIONS_WITH_SUBPROJECTS),)
  12. internal-clean:: $(APPLICATIONS_WITH_SUBPROJECTS:=.clean.application.subprojects)
  13. endif
  14. $(APPLICATION_NAME):
  15. @$(MAKE) -f $(_THEOS_PROJECT_MAKEFILE_NAME) --no-print-directory --no-keep-going $@.all.application.variables
  16. $(eval $(call __mod,master/application.mk))