summaryrefslogtreecommitdiff
path: root/winaccessibility
diff options
context:
space:
mode:
authorDavid Ostrovsky <david@ostrovsky.org>2013-11-02 15:44:00 +0100
committerMichael Meeks <michael.meeks@collabora.com>2013-11-19 00:01:33 +0000
commit6a954dd5b87446b965d06ff53db6466b0c4c35a2 (patch)
treee7a84aa29b784cc3901d87f78aa913cd55834bbe /winaccessibility
parenta30856befb527a2c1d9cecfcef76fc6b761fb6b3 (diff)
Gbuildify UAA to IA2 bridge
Change-Id: I1aae7ec50c3bb78ac1035d70eaf39c6efef465ab
Diffstat (limited to 'winaccessibility')
-rwxr-xr-xwinaccessibility/Library_uacccom.mk87
-rwxr-xr-xwinaccessibility/Module_winaccessibility.mk2
-rwxr-xr-xwinaccessibility/WinResTarget_uacccom.mk31
3 files changed, 120 insertions, 0 deletions
diff --git a/winaccessibility/Library_uacccom.mk b/winaccessibility/Library_uacccom.mk
new file mode 100755
index 000000000000..749be7c23597
--- /dev/null
+++ b/winaccessibility/Library_uacccom.mk
@@ -0,0 +1,87 @@
+# -*- Mode: makefile; tab-width: 4; indent-tabs-mode: t -*-
+#
+#
+# This file is part of the LibreOffice project.
+#
+# This Source Code Form is subject to the terms of the Mozilla Public
+# License, v. 2.0. If a copy of the MPL was not distributed with this
+# file, You can obtain one at http://mozilla.org/MPL/2.0/.
+#
+#
+
+$(eval $(call gb_Library_Library,UAccCOM))
+
+$(eval $(call gb_Library_use_custom_headers,UAccCOM,winaccessibility/ia2/idl))
+
+$(eval $(call gb_Library_set_include,UAccCOM,\
+ $$(INCLUDE) \
+ -I$(SRCDIR)/winaccessibility/inc \
+ $(foreach i,$(ATL_INCLUDE), -I$(i)) \
+))
+
+$(eval $(call gb_Library_add_defs,UAccCOM,\
+ -D_UNICODE=1 \
+))
+
+$(eval $(call gb_Library_use_sdk_api,UAccCOM))
+
+$(eval $(call gb_Library_add_nativeres,UAccCOM,UAccCOM))
+
+$(eval $(call gb_Library_add_exception_objects,UAccCOM,\
+ winaccessibility/source/UAccCOM/AccAction \
+ winaccessibility/source/UAccCOM/AccActionBase \
+ winaccessibility/source/UAccCOM/AccComponent \
+ winaccessibility/source/UAccCOM/AccComponentBase \
+ winaccessibility/source/UAccCOM/AccEditableText \
+ winaccessibility/source/UAccCOM/AccHyperLink \
+ winaccessibility/source/UAccCOM/AccHypertext \
+ winaccessibility/source/UAccCOM/AccImage \
+ winaccessibility/source/UAccCOM/AccRelation \
+ winaccessibility/source/UAccCOM/AccText \
+ winaccessibility/source/UAccCOM/AccValue \
+ winaccessibility/source/UAccCOM/EnumVariant \
+ winaccessibility/source/UAccCOM/StdAfx \
+ winaccessibility/source/UAccCOM/UAccCOM \
+ winaccessibility/source/UAccCOM/UNOXWrapper \
+))
+
+# winaccessibility/source/UAccCOM/AccTextBase \
+# winaccessibility/source/UAccCOM/AccTable \
+# winaccessibility/source/UAccCOM/MAccessible \
+
+# /DEF:$(SRCDIR)/winaccessibility/source/UAccCOM/UAccCOM.def \
+
+$(eval $(call gb_Library_add_ldflags,UAccCOM,\
+ -LIBPATH:$(ATL_LIB) \
+ -delayload:$(call gb_Library_get_filename,cppu) \
+ -delayload:$(call gb_Library_get_filename,sal) \
+))
+
+$(eval $(call gb_Library_use_libraries,UAccCOM,\
+ cppu \
+ vcl \
+ sal \
+))
+
+$(eval $(call gb_Library_use_externals,UAccCOM,\
+ icuuc \
+ icui18n \
+))
+
+$(eval $(call gb_Library_use_system_win32_libs,UAccCOM,\
+ oleacc \
+ advapi32 \
+ delayimp \
+ kernel32 \
+ ole32 \
+ oleaut32 \
+ shlwapi \
+ user32 \
+ uuid \
+))
+
+$(eval $(call gb_Library_add_libs,UAccCOM,\
+ $(ATL_LIB)/$(if $(MSVC_USE_DEBUG_RUNTIME),atlsd.lib,atls.lib) \
+))
+
+# vim:set noet sw=4 ts=4:
diff --git a/winaccessibility/Module_winaccessibility.mk b/winaccessibility/Module_winaccessibility.mk
index efd7b3e07fde..e96f9884d1e7 100755
--- a/winaccessibility/Module_winaccessibility.mk
+++ b/winaccessibility/Module_winaccessibility.mk
@@ -13,7 +13,9 @@ ifeq ($(OS),WNT)
ifeq ($(COM),MSC)
ifneq ($(ENABLE_IA2),)
$(eval $(call gb_Module_add_targets,winaccessibility,\
+ WinResTarget_uacccom \
CustomTarget_ia2_idl \
+ Library_uacccom \
))
endif # ENABLE_IA2
endif # COM=MSC
diff --git a/winaccessibility/WinResTarget_uacccom.mk b/winaccessibility/WinResTarget_uacccom.mk
new file mode 100755
index 000000000000..9da01e7828bd
--- /dev/null
+++ b/winaccessibility/WinResTarget_uacccom.mk
@@ -0,0 +1,31 @@
+# -*- Mode: makefile; tab-width: 4; indent-tabs-mode: t -*-
+#
+#
+# This file is part of the LibreOffice project.
+#
+# This Source Code Form is subject to the terms of the Mozilla Public
+# License, v. 2.0. If a copy of the MPL was not distributed with this
+# file, You can obtain one at http://mozilla.org/MPL/2.0/.
+#
+#
+
+$(eval $(call gb_WinResTarget_WinResTarget,UAccCOM))
+
+$(eval $(call gb_WinResTarget_use_custom_headers,UAccCOM,\
+ winaccessibility/ia2/idl \
+))
+
+ifneq ($(ENABLE_DBGUTIL),TRUE)
+$(eval $(call gb_WinResTarget_add_defs,UAccCOM,\
+ -DPRODUCT \
+))
+endif
+
+$(eval $(call gb_WinResTarget_set_include,UAccCOM,\
+ $$(INCLUDE) \
+ $(foreach i,$(ATL_INCLUDE), -I$(i)) \
+))
+
+$(eval $(call gb_WinResTarget_set_rcfile,UAccCOM,winaccessibility/source/UAccCOM/UAccCOM))
+
+# vim:set noet sw=4 ts=4: