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

kill multi repo support: BuildDirs and gbuild.mk, GNUmakefile.mk

üst 35653695
...@@ -33,6 +33,6 @@ endif ...@@ -33,6 +33,6 @@ endif
GBUILDDIR := $(SOLARENV)/gbuild GBUILDDIR := $(SOLARENV)/gbuild
include $(GBUILDDIR)/gbuild.mk include $(GBUILDDIR)/gbuild.mk
$(foreach repo,$(gb_REPOS),$(eval $(call gb_Module_make_global_targets,$(wildcard $(repo)/RepositoryModule_*.mk)))) $(eval $(call gb_Module_make_global_targets,$(wildcard $(SRCDIR)/RepositoryModule_*.mk)))
# vim: set noet sw=4 ts=4: # vim: set noet sw=4 ts=4:
...@@ -40,8 +40,7 @@ ifneq ($(and $(gb_LOCALBUILDDIR),$(wildcard $(gb_LOCALBUILDDIR)/SetupLocal.mk)), ...@@ -40,8 +40,7 @@ ifneq ($(and $(gb_LOCALBUILDDIR),$(wildcard $(gb_LOCALBUILDDIR)/SetupLocal.mk)),
include $(gb_LOCALBUILDDIR)/SetupLocal.mk include $(gb_LOCALBUILDDIR)/SetupLocal.mk
endif endif
ifeq ($(strip $(gb_REPOS)),) SRCDIR := $(SOLARSRC)
gb_REPOS := $(SOLARSRC)
endif endif
# HACK # HACK
...@@ -50,15 +49,9 @@ ifeq ($(OS_FOR_BUILD),WNT) ...@@ -50,15 +49,9 @@ ifeq ($(OS_FOR_BUILD),WNT)
override WORKDIR := $(shell cygpath -u $(WORKDIR)) override WORKDIR := $(shell cygpath -u $(WORKDIR))
override OUTDIR := $(shell cygpath -u $(OUTDIR)) override OUTDIR := $(shell cygpath -u $(OUTDIR))
override OUTDIR_FOR_BUILD := $(shell cygpath -u $(OUTDIR_FOR_BUILD)) override OUTDIR_FOR_BUILD := $(shell cygpath -u $(OUTDIR_FOR_BUILD))
override gb_REPOS := $(shell cygpath -u $(gb_REPOS)) override SRCDIR := $(shell cygpath -u $(SRCDIR))
endif endif
REPODIR := $(patsubst %/,%,$(dir $(firstword $(gb_REPOS)))) REPODIR := $(patsubst %/,%,$(dir $(SRCDIR)))
ifeq ($(filter setuplocal removelocal,$(MAKECMDGOALS)),)
ifneq ($(filter-out $(foreach repo,$(gb_REPOS),$(realpath $(repo))/%),$(realpath $(firstword $(MAKEFILE_LIST)))),)
$(eval $(call gb_Output_error,The initial makefile $(realpath $(firstword $(MAKEFILE_LIST))) is not in the repositories $(foreach repo,$(gb_REPOS),$(realpath $(repo))).,ALL))
endif
endif
# vim: set noet sw=4: # vim: set noet sw=4:
...@@ -152,7 +152,7 @@ include $(GBUILDDIR)/Helper.mk ...@@ -152,7 +152,7 @@ include $(GBUILDDIR)/Helper.mk
include $(GBUILDDIR)/TargetLocations.mk include $(GBUILDDIR)/TargetLocations.mk
$(eval $(call gb_Helper_init_registries)) $(eval $(call gb_Helper_init_registries))
$(eval $(call gb_Helper_add_repositories,$(gb_REPOS))) $(eval $(call gb_Helper_add_repositories,$(SOLARSRC)))
$(eval $(call gb_Helper_collect_libtargets)) $(eval $(call gb_Helper_collect_libtargets))
gb_Library_DLLPOSTFIX := lo gb_Library_DLLPOSTFIX := lo
...@@ -194,7 +194,7 @@ endif ...@@ -194,7 +194,7 @@ endif
include $(GBUILDDIR)/Tempfile.mk include $(GBUILDDIR)/Tempfile.mk
include $(foreach repo,$(gb_REPOS),$(repo)/RepositoryFixes.mk) include $(SOLARSRC)/RepositoryFixes.mk
$(eval $(call gb_Helper_collect_knownlibs)) $(eval $(call gb_Helper_collect_knownlibs))
......
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