Branch libreoffice-5-0-4
[LibreOffice.git] / winaccessibility / Library_uacccom.mk
blob5dd86b03ba57787c60df0e777614a811888e045b
1 # -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*-
4 # This file is part of the LibreOffice project.
6 # This Source Code Form is subject to the terms of the Mozilla Public
7 # License, v. 2.0. If a copy of the MPL was not distributed with this
8 # file, You can obtain one at http://mozilla.org/MPL/2.0/.
12 $(eval $(call gb_Library_Library,UAccCOM))
14 $(eval $(call gb_Library_use_custom_headers,UAccCOM,winaccessibility/ia2/idl))
16 $(eval $(call gb_Library_set_include,UAccCOM,\
17 $$(INCLUDE) \
18 -I$(SRCDIR)/winaccessibility/inc \
19 $(foreach i,$(ATL_INCLUDE), -I$(i)) \
22 $(eval $(call gb_Library_add_defs,UAccCOM,\
23 -DUACCCOM_DLLIMPLEMENTATION \
24 -D_UNICODE \
25 -DUNICODE \
28 $(eval $(call gb_Library_use_sdk_api,UAccCOM))
30 $(eval $(call gb_Library_add_nativeres,UAccCOM,UAccCOM))
32 $(eval $(call gb_Library_add_exception_objects,UAccCOM,\
33 winaccessibility/source/UAccCOM/AccAction \
34 winaccessibility/source/UAccCOM/AccActionBase \
35 winaccessibility/source/UAccCOM/AccComponent \
36 winaccessibility/source/UAccCOM/AccComponentBase \
37 winaccessibility/source/UAccCOM/AccEditableText \
38 winaccessibility/source/UAccCOM/AccHyperLink \
39 winaccessibility/source/UAccCOM/AccHypertext \
40 winaccessibility/source/UAccCOM/AccImage \
41 winaccessibility/source/UAccCOM/AccRelation \
42 winaccessibility/source/UAccCOM/AccTable \
43 winaccessibility/source/UAccCOM/AccText \
44 winaccessibility/source/UAccCOM/AccTextBase \
45 winaccessibility/source/UAccCOM/AccValue \
46 winaccessibility/source/UAccCOM/EnumVariant \
47 winaccessibility/source/UAccCOM/MAccessible \
48 winaccessibility/source/UAccCOM/StdAfx \
49 winaccessibility/source/UAccCOM/UAccCOM \
50 winaccessibility/source/UAccCOM/UNOXWrapper \
53 $(eval $(call gb_Library_add_ldflags,UAccCOM,\
54 /DEF:$(SRCDIR)/winaccessibility/source/UAccCOM/UAccCOM.def \
57 $(eval $(call gb_Library_use_libraries,UAccCOM,\
58 vcl \
59 cppu \
60 sal \
63 $(eval $(call gb_Library_use_externals,UAccCOM,\
64 boost_headers \
67 $(eval $(call gb_Library_use_system_win32_libs,UAccCOM,\
68 oleacc \
69 advapi32 \
70 delayimp \
71 kernel32 \
72 ole32 \
73 oleaut32 \
74 shlwapi \
75 user32 \
76 uuid \
79 $(eval $(call gb_Library_add_libs,UAccCOM,\
80 $(ATL_LIB)/$(if $(filter 120,$(VCVER)),atls.lib,$(if $(MSVC_USE_DEBUG_RUNTIME),atlsd.lib,atls.lib)) \
83 # vim:set noet sw=4 ts=4: