summaryrefslogtreecommitdiff
path: root/framework/Makefile
diff options
context:
space:
mode:
authorBjoern Michaelsen <b_michaelsen@openoffice.org>2010-04-27 11:39:42 +0200
committerBjoern Michaelsen <b_michaelsen@openoffice.org>2010-04-27 11:39:42 +0200
commit847276934a43760b2cc9822a37b6ca00ec20469f (patch)
treecb7d29777d463b0087b040857bb606a3d5fe1614 /framework/Makefile
parent661e2cc1a5a7bb3d679d57538878c79aab311b2f (diff)
CWS gnumake2: refactoring
Diffstat (limited to 'framework/Makefile')
-rw-r--r--framework/Makefile10
1 files changed, 8 insertions, 2 deletions
diff --git a/framework/Makefile b/framework/Makefile
index d020b04dba7c..9ab4b8ba83f4 100644
--- a/framework/Makefile
+++ b/framework/Makefile
@@ -25,6 +25,12 @@
#
#*************************************************************************
-include ../solenv/inc/gbuild.mk
+GBUILDDIR := $(SOLARENV)/gbuild
+include $(GBUILDDIR)/gbuild.mk
-$(eval $(call gb_Module_make_global_targets,$(notdir $(shell pwd))))
+
+gb_CURRENT_MODULE := $(lastword $(subst /, ,$(dir $(realpath $(firstword $(MAKEFILE_LIST))))))
+
+$(eval $(call gb_Module_make_global_targets,$(gb_CURRENT_MODULE)))
+
+# vim: set noet sw=4 ts=4: