summaryrefslogtreecommitdiff
path: root/svx/Makefile
diff options
context:
space:
mode:
authorMathias Bauer <mba@openoffice.org>2011-01-12 12:05:07 +0100
committerMathias Bauer <mba@openoffice.org>2011-01-12 12:05:07 +0100
commit1dca51dbbb12bf2655fe701ac856e3808f300a5c (patch)
treeee46d04e39f7a32d8ca2297acde37c4188f570f1 /svx/Makefile
parent9b73b029b91f96922c055206ee820ea6b42647d6 (diff)
CWS gnumake3: #i116422#: convert svx to new build system
Diffstat (limited to 'svx/Makefile')
-rw-r--r--svx/Makefile12
1 files changed, 7 insertions, 5 deletions
diff --git a/svx/Makefile b/svx/Makefile
index 963c7870d955..5002d3f122a1 100644
--- a/svx/Makefile
+++ b/svx/Makefile
@@ -25,12 +25,14 @@
#
#*************************************************************************
+ifeq ($(strip $(SOLARENV)),)
+$(error No environment set!)
+endif
+
+gb_PARTIALBUILD := T
GBUILDDIR := $(SOLARENV)/gbuild
include $(GBUILDDIR)/gbuild.mk
+$(eval $(call gb_Module_make_global_targets,$(shell ls $(dir $(realpath $(firstword $(MAKEFILE_LIST))))/Module*.mk)))
-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: