summaryrefslogtreecommitdiff
path: root/dtrans/Library_sysdtrans.mk
diff options
context:
space:
mode:
authorMatúš Kukan <matus.kukan@gmail.com>2011-07-31 16:53:30 +0200
committerMatúš Kukan <matus.kukan@gmail.com>2011-08-08 23:48:43 +0200
commitc39a2440ea2cce75154fea544ace879c25c7e5aa (patch)
tree9d2ce52daf9a02b542c5800b2af0ac3510fb02f8 /dtrans/Library_sysdtrans.mk
parentf6d8dfb5c49d7c844e43a37be76034835afbe54d (diff)
convert dtrans to gbuilb
Diffstat (limited to 'dtrans/Library_sysdtrans.mk')
-rw-r--r--dtrans/Library_sysdtrans.mk81
1 files changed, 81 insertions, 0 deletions
diff --git a/dtrans/Library_sysdtrans.mk b/dtrans/Library_sysdtrans.mk
new file mode 100644
index 000000000000..bb3b15bae0bb
--- /dev/null
+++ b/dtrans/Library_sysdtrans.mk
@@ -0,0 +1,81 @@
+# -*- 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.
+#
+#*************************************************************************
+
+$(eval $(call gb_Library_Library,sysdtrans))
+
+$(eval $(call gb_Library_add_precompiled_header,sysdtrans,$(SRCDIR)/dtrans/inc/pch/precompiled_dtrans))
+
+$(eval $(call gb_Library_set_componentfile,sysdtrans,dtrans/util/sysdtrans))
+
+$(eval $(call gb_Library_set_include,sysdtrans,\
+ $$(INCLUDE) \
+ -I$(realpath $(SRCDIR)/dtrans/inc/pch) \
+))
+
+$(eval $(call gb_Library_add_api,sysdtrans,\
+ udkapi \
+ offapi \
+))
+
+$(eval $(call gb_Library_add_defs,sysdtrans,\
+ -D_UNICODE \
+ -DUNICODE \
+))
+
+$(eval $(call gb_Library_add_linked_libs,sysdtrans,\
+ advapi32 \
+ cppu \
+ cppuhelper \
+ gdi32 \
+ ole32 \
+ oleaut32 \
+ sal \
+ shell32 \
+ uuid \
+ uwinapi \
+ $(gb_STDLIBS) \
+))
+
+$(eval $(call gb_Library_add_linked_static_libs,sysdtrans,\
+ dtobj \
+))
+
+$(eval $(call gb_Library_add_exception_objects,sysdtrans,\
+ dtrans/source/win32/clipb/WinClipbImpl \
+ dtrans/source/win32/clipb/WinClipboard \
+ dtrans/source/win32/clipb/wcbentry \
+ dtrans/source/win32/mtaole/MtaOleClipb \
+))
+
+ifeq ($(COM),GCC)
+$(eval $(call gb_Library_add_exception_objects,sysdtrans,\
+ source/win32/dtobj/XNotifyingDataObject \
+))
+endif
+
+# vim: set noet sw=4 ts=4: