summaryrefslogtreecommitdiff
path: root/idl/Executable_svidl.mk
diff options
context:
space:
mode:
authorMathias Bauer <mba@openoffice.org>2011-02-22 10:23:41 +0100
committerBjoern Michaelsen <bjoern.michaelsen@canonical.com>2011-06-16 10:20:08 +0200
commit2151303db47b9dc6a262df884939db4240d291a5 (patch)
tree669af9ede4f4d28916732f51c7e321901ff02fa0 /idl/Executable_svidl.mk
parent86e7ed8c72184b7a04b836848743979aa3f5fd3d (diff)
CWS gnumake4: convert idl to new build system
Diffstat (limited to 'idl/Executable_svidl.mk')
-rw-r--r--idl/Executable_svidl.mk65
1 files changed, 65 insertions, 0 deletions
diff --git a/idl/Executable_svidl.mk b/idl/Executable_svidl.mk
new file mode 100644
index 000000000000..961f9c16626e
--- /dev/null
+++ b/idl/Executable_svidl.mk
@@ -0,0 +1,65 @@
+#*************************************************************************
+#
+# 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.
+#
+#*************************************************************************
+
+$(eval $(call gb_Executable_Executable,svidl))
+
+$(eval $(call gb_Executable_set_include,svidl,\
+ $$(INCLUDE) \
+ -I$(OUTDIR)/inc/ \
+ -I$(OUTDIR)/inc/offuh/ \
+ -I$(SRCDIR)/idl/inc/pch \
+ -I$(SRCDIR)/idl/inc \
+))
+
+$(eval $(call gb_Executable_set_cxxflags,svidl,\
+ $$(CXXFLAGS) \
+ -DIDL_COMPILER \
+))
+
+$(eval $(call gb_Executable_add_linked_libs,svidl,\
+ sal \
+ tl \
+ $(gb_STDLIBS) \
+))
+
+$(eval $(call gb_Executable_add_exception_objects,svidl,\
+ idl/source/cmptools/char \
+ idl/source/cmptools/hash \
+ idl/source/cmptools/lex \
+ idl/source/objects/basobj \
+ idl/source/objects/bastype \
+ idl/source/objects/module \
+ idl/source/objects/object \
+ idl/source/objects/slot \
+ idl/source/objects/types \
+ idl/source/prj/command \
+ idl/source/prj/database \
+ idl/source/prj/globals \
+ idl/source/prj/svidl \
+))
+
+# vim: set noet sw=4 ts=4: