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 | bb3d06207441361da9a291668bb1b1d8effad795 (patch) | |
tree | fda448bb44fdc5b2cecd02044b6df6b12c379e4c /sw/Makefile | |
parent | 7e94829cb910f8c2d4419e541cd7754c7d86994a (diff) |
CWS gnumake2: refactoring
Diffstat (limited to 'sw/Makefile')
-rw-r--r-- | sw/Makefile | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/sw/Makefile b/sw/Makefile index d020b04dba7c..9ab4b8ba83f4 100644 --- a/sw/Makefile +++ b/sw/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: |