summaryrefslogtreecommitdiff
path: root/svl/Makefile
diff options
context:
space:
mode:
authorBjoern Michaelsen <b_michaelsen@openoffice.org>2010-07-23 12:48:45 +0200
committerBjoern Michaelsen <b_michaelsen@openoffice.org>2010-07-23 12:48:45 +0200
commit93a3eed87acd6581f851ff92a3332de8e0ff8c29 (patch)
tree2b689e3c563fb786b38263a4c14eb3be9412c35d /svl/Makefile
parent74284c8e763f19cd9f7891c5c836e0a53abf06b3 (diff)
gnumake2: some more checks for module makefiles
Diffstat (limited to 'svl/Makefile')
-rw-r--r--svl/Makefile10
1 files changed, 9 insertions, 1 deletions
diff --git a/svl/Makefile b/svl/Makefile
index b198cc3d4c32..3225bc97e12c 100644
--- a/svl/Makefile
+++ b/svl/Makefile
@@ -25,7 +25,15 @@
#
#*************************************************************************
-include $(dir $(firstword $(MAKEFILE_LIST)))/../SourcePath.mk
+ifneq ($(MAKE_VERSION),3.81)
+$(error You need at least GNU Make 3.81!)
+endif
+
+ifeq ($(strip $(SOLARENV)),)
+$(error No environment set!)
+endif
+
+include $(dir $(realpath $(firstword $(MAKEFILE_LIST))))/../SourcePath.mk
GBUILDDIR := $(SOLARENV)/gbuild
include $(GBUILDDIR)/gbuild.mk