Fix CppunitTest_sc_subsequent_filters_test2 on non-default DPI
[LibreOffice.git] / vcl / Library_vclplug_osx.mk
blobfbb0e68ec904fa439a89d6e2dfd61945479842be
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/ctfonts \
138 vcl/quartz/salbmp \
139 vcl/quartz/salgdi \
140 vcl/quartz/salgdicommon \
141 vcl/quartz/salvd \
142 vcl/quartz/utils \
143 vcl/quartz/AquaGraphicsBackend \
144 $(if $(filter SKIA,$(BUILD_TYPE)), \
145 vcl/skia/osx/bitmap \
146 vcl/skia/osx/gdiimpl \
150 $(eval $(call gb_Library_use_system_darwin_frameworks,vclplug_osx,\
151 ApplicationServices \
152 Cocoa \
153 Carbon \
154 CoreFoundation \
157 ifneq ($(ENABLE_MACOSX_SANDBOX),TRUE)
158 $(eval $(call gb_Library_use_libraries,vclplug_osx,\
159 AppleRemote \
161 endif
163 # vim: set noet sw=4 ts=4: