Avoid potential negative array index access to cached text.
[LibreOffice.git] / vcl / Library_vclplug_osx.mk
blob0545af8dd33a7281cff0a99723b42dbb7c9c9834
1 # -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*-
3 # This file is part of the LibreOffice project.
5 # This Source Code Form is subject to the terms of the Mozilla Public
6 # License, v. 2.0. If a copy of the MPL was not distributed with this
7 # file, You can obtain one at http://mozilla.org/MPL/2.0/.
9 # This file incorporates work covered by the following license notice:
11 # Licensed to the Apache Software Foundation (ASF) under one or more
12 # contributor license agreements. See the NOTICE file distributed
13 # with this work for additional information regarding copyright
14 # ownership. The ASF licenses this file to you under the Apache
15 # License, Version 2.0 (the "License"); you may not use this file
16 # except in compliance with the License. You may obtain a copy of
17 # the License at http://www.apache.org/licenses/LICENSE-2.0 .
20 $(eval $(call gb_Library_Library,vclplug_osx))
22 $(eval $(call gb_Library_set_plugin_for,vclplug_osx,vcl))
24 $(eval $(call gb_Library_set_include,vclplug_osx,\
25 $$(INCLUDE) \
26 -I$(SRCDIR)/vcl/inc \
29 $(eval $(call gb_Library_use_sdk_api,vclplug_osx))
31 $(eval $(call gb_Library_use_custom_headers,vclplug_osx,\
32 officecfg/registry \
35 # TODO: arguably the private CoreUI framework should never be used, no matter whether building
36 # a sandboxed version or a "regular" desktop version
37 $(eval $(call gb_Library_add_libs,vclplug_osx,\
38 -framework IOKit \
39 $(if $(ENABLE_MACOSX_SANDBOX),,\
40 -F/System/Library/PrivateFrameworks \
41 -framework CoreUI \
42 ) \
43 -lobjc \
46 $(eval $(call gb_Library_add_cxxflags,vclplug_osx,\
47 $(gb_OBJCXXFLAGS) \
50 $(eval $(call gb_Library_use_libraries,vclplug_osx,\
51 basegfx \
52 comphelper \
53 cppu \
54 cppuhelper \
55 i18nlangtag \
56 i18nutil \
57 sal \
58 salhelper \
59 tl \
62 $(eval $(call gb_Library_use_externals,vclplug_osx,\
63 boost_headers \
64 epoxy \
65 harfbuzz \
66 $(if $(filter SKIA,$(BUILD_TYPE)), \
67 skia \
68 ) \
71 $(eval $(call gb_Library_add_defs,vclplug_osx,\
72 -DMACOSX_BUNDLE_IDENTIFIER=\"$(MACOSX_BUNDLE_IDENTIFIER)\" \
73 -DVCL_INTERNALS \
76 $(eval $(call gb_Library_add_objcxxobjects,vclplug_osx,\
77 vcl/osx/a11yactionwrapper \
78 vcl/osx/a11ycomponentwrapper \
79 vcl/osx/a11yfactory \
80 vcl/osx/a11yrolehelper \
81 vcl/osx/a11yselectionwrapper \
82 vcl/osx/a11ytablewrapper \
83 vcl/osx/a11ytextattributeswrapper \
84 vcl/osx/a11ytextwrapper \
85 vcl/osx/a11yutil \
86 vcl/osx/a11yvaluewrapper \
87 vcl/osx/a11ywrapper \
88 vcl/osx/a11ywrapperbutton \
89 vcl/osx/a11ywrappercheckbox \
90 vcl/osx/a11ywrappercombobox \
91 vcl/osx/a11ywrappergroup \
92 vcl/osx/a11ywrapperlist \
93 vcl/osx/a11ywrapperradiobutton \
94 vcl/osx/a11ywrapperradiogroup \
95 vcl/osx/a11ywrapperrow \
96 vcl/osx/a11ywrapperscrollarea \
97 vcl/osx/a11ywrapperscrollbar \
98 vcl/osx/a11ywrappersplitter \
99 vcl/osx/a11ywrapperstatictext \
100 vcl/osx/a11ywrappertabgroup \
101 vcl/osx/a11ywrappertextarea \
102 vcl/osx/a11ywrappertoolbar \
103 vcl/osx/printaccessoryview \
104 vcl/osx/printview \
105 vcl/osx/salframeview \
106 vcl/osx/salnsmenu \
107 vcl/osx/salnstimer \
108 vcl/osx/vclnsapp \
111 $(eval $(call gb_Library_add_exception_objects,vclplug_osx,\
112 vcl/osx/DataFlavorMapping \
113 vcl/osx/DragActionConversion \
114 vcl/osx/DragSource \
115 vcl/osx/DragSourceContext \
116 vcl/osx/DropTarget \
117 vcl/osx/HtmlFmtFlt \
118 vcl/osx/OSXTransferable \
119 vcl/osx/PictToBmpFlt \
120 vcl/osx/a11yfocuslistener \
121 vcl/osx/a11yfocustracker \
122 vcl/osx/a11ylistener \
123 vcl/osx/clipboard \
124 vcl/osx/documentfocuslistener \
125 vcl/osx/saldata \
126 vcl/osx/salframe \
127 vcl/osx/salgdiutils \
128 vcl/osx/salinst \
129 vcl/osx/salmacos \
130 vcl/osx/salmenu \
131 vcl/osx/salnativewidgets \
132 vcl/osx/salobj \
133 vcl/osx/salprn \
134 vcl/osx/salsys \
135 vcl/osx/saltimer \
136 vcl/osx/service_entry \
137 vcl/quartz/CoreTextFont \
138 vcl/quartz/CoreTextFontFace \
139 vcl/quartz/SystemFontList \
140 vcl/quartz/salbmp \
141 vcl/quartz/salgdi \
142 vcl/quartz/salgdicommon \
143 vcl/quartz/salvd \
144 vcl/quartz/utils \
145 vcl/quartz/AquaGraphicsBackend \
146 $(if $(filter SKIA,$(BUILD_TYPE)), \
147 vcl/skia/osx/bitmap \
148 vcl/skia/osx/gdiimpl \
152 $(eval $(call gb_Library_use_system_darwin_frameworks,vclplug_osx,\
153 ApplicationServices \
154 Cocoa \
155 Carbon \
156 CoreFoundation \
159 ifneq ($(ENABLE_MACOSX_SANDBOX),TRUE)
160 $(eval $(call gb_Library_use_libraries,vclplug_osx,\
161 AppleRemote \
163 endif
165 # vim: set noet sw=4 ts=4: