summaryrefslogtreecommitdiff
path: root/sw/Makefile
diff options
context:
space:
mode:
authorBjoern Michaelsen <b_michaelsen@openoffice.org>2010-07-07 18:09:58 +0200
committerBjoern Michaelsen <b_michaelsen@openoffice.org>2010-07-07 18:09:58 +0200
commitba51d183a02556d78a822a95908f7bd6fe05ccdb (patch)
tree453afea0816ce2dad50bc5da539203fd176e9fda /sw/Makefile
parentad8fe1ccb3d5ca8613c63a2d9c3ba9adf7304eb1 (diff)
CWS gnumake2: fixing all module makefiles (copy from tools)
Diffstat (limited to 'sw/Makefile')
-rw-r--r--sw/Makefile7
1 files changed, 2 insertions, 5 deletions
diff --git a/sw/Makefile b/sw/Makefile
index 60d34122e271..b198cc3d4c32 100644
--- a/sw/Makefile
+++ b/sw/Makefile
@@ -25,13 +25,10 @@
#
#*************************************************************************
-ifeq ($(strip $(SOLARENV)),)
-$(error No environment set)
-endif
-
+include $(dir $(firstword $(MAKEFILE_LIST)))/../SourcePath.mk
GBUILDDIR := $(SOLARENV)/gbuild
include $(GBUILDDIR)/gbuild.mk
-$(eval $(call gb_Module_make_global_targets))
+$(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: