summaryrefslogtreecommitdiff
path: root/extensions/Library_oleautobridge.mk
diff options
context:
space:
mode:
authorMichael Stahl <mstahl@redhat.com>2011-12-14 20:10:08 +0100
committerMichael Stahl <mstahl@redhat.com>2011-12-14 20:10:08 +0100
commitec0240cffc35ca74fa874f7b57b4eee787a66f4e (patch)
treef5f0dad618f3927e4c54e9e1c44eca5caba3031c /extensions/Library_oleautobridge.mk
parentba1f609d0dd77c5adc2504e90e341c306b5ee8f5 (diff)
extensions: convert ole automation bridge to gbuild
Of course not tested at all (WNT only)
Diffstat (limited to 'extensions/Library_oleautobridge.mk')
-rw-r--r--extensions/Library_oleautobridge.mk67
1 files changed, 67 insertions, 0 deletions
diff --git a/extensions/Library_oleautobridge.mk b/extensions/Library_oleautobridge.mk
new file mode 100644
index 000000000000..0fda05a62854
--- /dev/null
+++ b/extensions/Library_oleautobridge.mk
@@ -0,0 +1,67 @@
+# -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*-
+#
+# Version: MPL 1.1 / GPLv3+ / LGPLv3+
+#
+# The contents of this file are subject to the Mozilla Public License Version
+# 1.1 (the "License"); you may not use this file except in compliance with
+# the License or as specified alternatively below. You may obtain a copy of
+# the License at http://www.mozilla.org/MPL/
+#
+# Software distributed under the License is distributed on an "AS IS" basis,
+# WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
+# for the specific language governing rights and limitations under the
+# License.
+#
+# Major Contributor(s):
+# [ Copyright (C) 2011 Red Hat, Inc., Michael Stahl <mstahl@redhat.com> (initial developer) ]
+#
+# All Rights Reserved.
+#
+# For minor contributions see the git repository.
+#
+# Alternatively, the contents of this file may be used under the terms of
+# either the GNU General Public License Version 3 or later (the "GPLv3+"), or
+# the GNU Lesser General Public License Version 3 or later (the "LGPLv3+"),
+# in which case the provisions of the GPLv3+ or the LGPLv3+ are applicable
+# instead of those above.
+#
+
+$(eval $(call gb_Library_Library,oleautobridge))
+
+$(eval $(call gb_Library_set_componentfile,oleautobridge,extensions/source/ole/oleautobridge))
+
+$(eval $(call gb_Library_add_api,oleautobridge,\
+ udkapi \
+ offapi \
+))
+
+$(eval $(call gb_Library_set_include,oleautobridge,\
+ $(foreach inc,$(ATL_INCLUDE),-I$(inc)) \
+ $$(INCLUDE) \
+))
+
+$(eval $(call gb_Library_add_linked_libs,oleautobridge,\
+ cppuhelper \
+ cppu \
+ sal \
+ advapi32 \
+ $(if $(USE_DEBUG_RUNTIME),atlsd,atls)
+ ole32 \
+ oleaut32 \
+ uuid \
+))
+
+$(eval $(call gb_Library_add_exception_objects,oleautobridge,\
+ extensions/source/ole/jscriptclasses \
+ extensions/source/ole/ole2uno \
+ extensions/source/ole/oledll \
+ extensions/source/ole/oleobjw \
+ extensions/source/ole/olethread \
+ extensions/source/ole/servprov \
+ extensions/source/ole/servreg \
+ extensions/source/ole/unoobjw \
+ extensions/source/ole/unotypewrapper \
+ extensions/source/ole/windata \
+))
+
+# vim:set shiftwidth=4 softtabstop=4 expandtab: