summaryrefslogtreecommitdiff
path: root/avmedia/Library_avmediawin.mk
diff options
context:
space:
mode:
authorMatúš Kukan <matus.kukan@gmail.com>2011-08-03 15:08:56 +0200
committerMatúš Kukan <matus.kukan@gmail.com>2011-08-22 15:18:52 +0200
commite85875b9018cc7c286ff9d40789d15e003ca9845 (patch)
tree246bf578e28c6c760e6544d22c001b9d7e9667a4 /avmedia/Library_avmediawin.mk
parentfee5ca25dcb18cbdcfb9406905ece5d65d21b88e (diff)
convert avmedia to gbuild
Diffstat (limited to 'avmedia/Library_avmediawin.mk')
-rw-r--r--avmedia/Library_avmediawin.mk70
1 files changed, 70 insertions, 0 deletions
diff --git a/avmedia/Library_avmediawin.mk b/avmedia/Library_avmediawin.mk
new file mode 100644
index 000000000000..bf09a03721ee
--- /dev/null
+++ b/avmedia/Library_avmediawin.mk
@@ -0,0 +1,70 @@
+# -*- Mode: makefile; tab-width: 4; indent-tabs-mode: t -*-
+# 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.
+#
+# The Initial Developer of the Original Code is
+# Matúš Kukan <matus.kukan@gmail.com>
+# Portions created by the Initial Developer are Copyright (C) 2011 the
+# Initial Developer. All Rights Reserved.
+#
+# Major Contributor(s):
+#
+# 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,avmediawin))
+
+$(eval $(call gb_Library_set_componentfile,avmediawin,avmedia/source/win/avmediawin))
+
+$(eval $(call gb_Library_set_include,avmediawin,\
+ $$(INCLUDE) \
+ -I$(realpath $(SRCDIR)/avmedia/source/inc) \
+))
+
+$(eval $(call gb_Library_add_api,avmediawin,\
+ udkapi \
+ offapi \
+))
+
+$(eval $(call gb_Library_add_linked_libs,avmediawin,\
+ comphelper \
+ cppu \
+ cppuhelper \
+ gdi32 \
+ ole32 \
+ oleaut32 \
+ sal \
+ tl \
+ utl \
+ vcl \
+ $(gb_STDLIBS) \
+))
+
+$(eval $(call gb_Library_add_libs,avmediawin,\
+ strmiids.lib \
+ dxguid.lib \
+))
+
+$(eval $(call gb_Library_add_exception_objects,avmediawin,\
+ avmedia/source/win/framegrabber \
+ avmedia/source/win/manager \
+ avmedia/source/win/player \
+ avmedia/source/win/window \
+ avmedia/source/win/winuno \
+))
+
+# vim: set noet sw=4 ts=4: