Kaydet (Commit) 2ee838d7 authored tarafından Michael Stahl's avatar Michael Stahl

rename Module_tail_build to RepositoryModule

Change-Id: I06783d26f10efabd1aca06a7a1e0647d8ed58b69
üst 117700c2
......@@ -14,6 +14,6 @@ endif
gb_Side := host
include $(SOLARENV)/gbuild/gbuild.mk
$(eval $(call gb_Module_make_global_targets,$(SRCDIR)/Module_tail_build.mk))
$(eval $(call gb_Module_make_global_targets,$(SRCDIR)/RepositoryModule.mk))
# vim: set noet sw=4 ts=4:
......@@ -22,9 +22,9 @@
# instead of those above.
$(eval $(call gb_Module_Module,tail_build))
$(eval $(call gb_Module_Module,libreoffice))
$(eval $(call gb_Module_add_moduledirs,tail_build,\
$(eval $(call gb_Module_add_moduledirs,libreoffice,\
accessibility \
$(call gb_Helper_optional,AFMS,afms) \
android \
......@@ -235,7 +235,7 @@ $(eval $(call gb_Module_add_moduledirs,tail_build,\
))
ifeq ($(MERGELIBS),TRUE)
$(eval $(call gb_Module_add_targets,tail_build,\
$(eval $(call gb_Module_add_targets,libreoffice,\
Library_merged \
))
endif
......@@ -244,20 +244,20 @@ endif
# libraries takes enormous amounts of RAM. To prevent annoying OOM situations
# etc., try to prevent linking these in parallel by adding artificial build
# order dependencies here.
define tailbuild_serialize1
define repositorymodule_serialize1
$(call gb_LinkTarget_get_target,$(call gb_Library_get_linktargetname,$(1))) \
:| $(foreach lib,$(2),$(call gb_Library_get_target,$(lib)))
endef
define tailbuild_serialize
define repositorymodule_serialize
$(if $(filter-out 0 1,$(words $(1))),\
$(call tailbuild_serialize1,$(firstword $(1)),$(wordlist 2,$(words $(1)),$(1))))
$(call repositorymodule_serialize1,$(firstword $(1)),$(wordlist 2,$(words $(1)),$(1))))
$(if $(strip $(1)),\
$(call tailbuild_serialize,$(wordlist 2,$(words $(1)),$(1))))
$(call repositorymodule_serialize,$(wordlist 2,$(words $(1)),$(1))))
endef
ifeq (all,$(filter all,$(MAKECMDGOALS)))
$(eval $(call tailbuild_serialize,\
$(eval $(call repositorymodule_serialize,\
scfilt \
$(if $(filter SCRIPTING,$(BUILD_TYPE)),vbaobj) \
sc msword swui sw sd \
......
......@@ -154,7 +154,7 @@ gb_Module__debug_enabled = \
$(filter all $(1)/,$(ENABLE_DEBUGINFO_FOR)))
define gb_Module_Module
$(if $(filter-out tail_build instsetoo_native android ios,$(1)),$(call gb_Postprocess_get_target,AllModulesButInstsetNative) : $(call gb_Module_get_target,$(1)))
$(if $(filter-out libreoffice instsetoo_native android ios,$(1)),$(call gb_Postprocess_get_target,AllModulesButInstsetNative) : $(call gb_Module_get_target,$(1)))
gb_Module_ALLMODULES += $(1)
gb_Module_MODULELOCATIONS += $(1):$(dir $(realpath $(lastword $(MAKEFILE_LIST))))
gb_Module_TARGETSTACK := $(call gb_Module_get_target,$(1)) $(gb_Module_TARGETSTACK)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment