summaryrefslogtreecommitdiff
path: root/scripting/Makefile
diff options
context:
space:
mode:
authorMatúš Kukan <matus.kukan@gmail.com>2011-09-19 11:01:15 +0200
committerMatúš Kukan <matus.kukan@gmail.com>2011-10-01 17:16:42 +0200
commit3250c79071dedbfd1bef1a6417d62fab76328a42 (patch)
treee1cc5d19b821bf2d874cfee8c519526bc948c1bf /scripting/Makefile
parentb7ca8f369658a446fb5dc1222f16df98f8d8165d (diff)
convert scripting to gbuild - first step
There are java and extensions missing.
Diffstat (limited to 'scripting/Makefile')
-rw-r--r--scripting/Makefile39
1 files changed, 39 insertions, 0 deletions
diff --git a/scripting/Makefile b/scripting/Makefile
new file mode 100644
index 000000000000..a1b344d72564
--- /dev/null
+++ b/scripting/Makefile
@@ -0,0 +1,39 @@
+# -*- Mode: makefile; tab-width: 4; indent-tabs-mode: t -*-
+#*************************************************************************
+#
+# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+#
+# Copyright 2000, 2011 Oracle and/or its affiliates.
+#
+# OpenOffice.org - a multi-platform office productivity suite
+#
+# This file is part of OpenOffice.org.
+#
+# OpenOffice.org is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Lesser General Public License version 3
+# only, as published by the Free Software Foundation.
+#
+# OpenOffice.org is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU Lesser General Public License version 3 for more details
+# (a copy is included in the LICENSE file that accompanied this code).
+#
+# You should have received a copy of the GNU Lesser General Public License
+# version 3 along with OpenOffice.org. If not, see
+# <http://www.openoffice.org/license.html>
+# for a copy of the LGPLv3 License.
+#
+#*************************************************************************
+
+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)))
+
+# vim: set noet sw=4 ts=4: