Kaydet (Commit) 60c64b43 authored tarafından Bjoern Michaelsen's avatar Bjoern Michaelsen

some namespacing

Change-Id: I7f4fc456d7e9690443d94175e94b69db50c3e2b5
üst 00e9a7a5
...@@ -73,7 +73,7 @@ endif ...@@ -73,7 +73,7 @@ endif
# #
# Partial Build # Partial Build
# #
define gbuild_module_rules define gb_Top_GbuildModuleRules
.PHONY: $(1) $(1).all $(1).build $(1).check $(1).clean $(1).showdeliverables $(1).subsequentcheck .PHONY: $(1) $(1).all $(1).build $(1).check $(1).clean $(1).showdeliverables $(1).subsequentcheck
$(1): bootstrap fetch $(1): bootstrap fetch
...@@ -87,13 +87,13 @@ $(1).all: bootstrap fetch ...@@ -87,13 +87,13 @@ $(1).all: bootstrap fetch
endef endef
define gbuild_modules_rules define gb_Top_GbuildModulesRules
$(foreach m,$(1),$(call gbuild_module_rules,$(notdir $(m)),$(m))) $(foreach m,$(1),$(call gb_Top_GbuildModuleRules,$(notdir $(m)),$(m)))
endef endef
gbuild_modules := $(patsubst $(SRCDIR)/%/,%,$(dir $(wildcard $(SRCDIR)/*/Module_*.mk $(SRCDIR)/external/*/Module_*.mk))) gbuild_modules := $(patsubst $(SRCDIR)/%/,%,$(dir $(wildcard $(SRCDIR)/*/Module_*.mk $(SRCDIR)/external/*/Module_*.mk)))
$(eval $(call gbuild_modules_rules,$(gbuild_modules))) $(eval $(call gb_Top_GbuildModulesRules,$(gbuild_modules)))
gbuild_TARGETS := AllLangHelp \ gbuild_TARGETS := AllLangHelp \
AllLangPackage \ AllLangPackage \
...@@ -388,7 +388,7 @@ dump-deps: ...@@ -388,7 +388,7 @@ dump-deps:
dump-deps-png: dump-deps-png:
@$(SRCDIR)/bin/module-deps.pl $(GNUMAKE) $(SRCDIR)/Makefile.gbuild | dot -Tpng -o lo.png @$(SRCDIR)/bin/module-deps.pl $(GNUMAKE) $(SRCDIR)/Makefile.gbuild | dot -Tpng -o lo.png
define GbuildToIdeIntegration define gb_Top_GbuildToIdeIntegration
$(1)-ide-integration: $(1)-ide-integration:
cd $(SRCDIR) && (make cmd -npf Makefile.gbuild all || true) | $(SRCDIR)/bin/gbuild-to-ide --ide $(1) cd $(SRCDIR) && (make cmd -npf Makefile.gbuild all || true) | $(SRCDIR)/bin/gbuild-to-ide --ide $(1)
...@@ -396,7 +396,7 @@ endef ...@@ -396,7 +396,7 @@ endef
$(foreach ide,\ $(foreach ide,\
kdevelop, \ kdevelop, \
$(eval $(call GbuildToIdeIntegration,$(ide)))) $(eval $(call gb_Top_GbuildToIdeIntegration,$(ide))))
endif # MAKE_RESTARTS endif # MAKE_RESTARTS
......
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