summaryrefslogtreecommitdiff
path: root/solenv/gbuild/templates/Makefile
diff options
context:
space:
mode:
authorMathias Bauer <mba@openoffice.org>2011-01-20 19:37:27 +0100
committerMathias Bauer <mba@openoffice.org>2011-01-20 19:37:27 +0100
commitf8d6d56e854145cc7752597eb22c5cdf488e7d2b (patch)
tree27d778675ec9eca58d9ada1b430e6c52cfea9e23 /solenv/gbuild/templates/Makefile
parent368bae76622cc0e8ea357d6e90492db6ab46a735 (diff)
CWS gnumake3: first draft of new makefile templates
Diffstat (limited to 'solenv/gbuild/templates/Makefile')
-rwxr-xr-xsolenv/gbuild/templates/Makefile38
1 files changed, 38 insertions, 0 deletions
diff --git a/solenv/gbuild/templates/Makefile b/solenv/gbuild/templates/Makefile
new file mode 100755
index 000000000000..a79aff831024
--- /dev/null
+++ b/solenv/gbuild/templates/Makefile
@@ -0,0 +1,38 @@
+#*************************************************************************
+#
+# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+#
+# Copyright 2000, 2010 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: