CWS gnumake2: more multi-repo work

This commit is contained in:
Bjoern Michaelsen 2010-07-06 12:47:44 +02:00
parent 396a4b3141
commit 35d5e1b456

View file

@ -25,14 +25,9 @@
#
#*************************************************************************
ifeq ($(strip $(SOLARENV)),)
$(error No environment set)
endif
GBUILDDIR := $(SOLARENV)/gbuild
include $(dir $(firstword $(MAKEFILE_LIST)))/../SourcePaths.mk
include $(GBUILDDIR)/gbuild.mk
$(eval $(call gb_Module_set_current_repo,$(realpath $(gb_Module_CURRENTREPO)..)))
$(eval $(call gb_Module_make_global_targets,$(foreach module,$(lastword $(subst /, ,$(dir $(realpath $(firstword $(MAKEFILE_LIST)))))),$(module)/Module_$(module).mk)))
$(eval $(call gb_Module_make_global_targets,$(foreach module,$(lastword $(subst /, ,$(dir $(realpath $(firstword $(MAKEFILE_LIST)))))),$(CURRENTREPO)/$(module)/Module_$(module).mk)))
# vim: set noet sw=4 ts=4: