diff options
author | Bjoern Michaelsen <b_michaelsen@openoffice.org> | 2010-04-27 11:39:42 +0200 |
---|---|---|
committer | Bjoern Michaelsen <b_michaelsen@openoffice.org> | 2010-04-27 11:39:42 +0200 |
commit | 1c4f220b470e3887ef3f04974b805c7641e593e2 (patch) | |
tree | 8ef0771ef7998e3cbda84dd302ab1475e0b13e10 /tools/Makefile | |
parent | CWS gnumake2: small error in makefil (diff) | |
download | core-1c4f220b470e3887ef3f04974b805c7641e593e2.tar.gz core-1c4f220b470e3887ef3f04974b805c7641e593e2.zip |
CWS gnumake2: refactoring
Diffstat (limited to 'tools/Makefile')
-rw-r--r-- | tools/Makefile | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/tools/Makefile b/tools/Makefile index d020b04dba7c..9ab4b8ba83f4 100644 --- a/tools/Makefile +++ b/tools/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: |