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
,\
29 $(eval
$(call gb_Library_use_sdk_api
,vclplug_osx
))
31 $(eval
$(call gb_Library_use_custom_headers
,vclplug_osx
,\
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
,\
39 $(if
$(ENABLE_MACOSX_SANDBOX
),,\
40 -F
/System
/Library
/PrivateFrameworks \
46 $(eval
$(call gb_Library_add_cxxflags
,vclplug_osx
,\
50 $(eval
$(call gb_Library_use_libraries
,vclplug_osx
,\
62 $(eval
$(call gb_Library_use_externals
,vclplug_osx
,\
66 $(if
$(filter SKIA
,$(BUILD_TYPE
)), \
71 $(eval
$(call gb_Library_add_defs
,vclplug_osx
,\
72 -DMACOSX_BUNDLE_IDENTIFIER
=\"$(MACOSX_BUNDLE_IDENTIFIER
)\" \
76 $(eval
$(call gb_Library_add_objcxxobjects
,vclplug_osx
,\
77 vcl
/osx
/a11yactionwrapper \
78 vcl
/osx
/a11ycomponentwrapper \
80 vcl
/osx
/a11yrolehelper \
81 vcl
/osx
/a11yselectionwrapper \
82 vcl
/osx
/a11ytablewrapper \
83 vcl
/osx
/a11ytextattributeswrapper \
84 vcl
/osx
/a11ytextwrapper \
86 vcl
/osx
/a11yvaluewrapper \
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 \
105 vcl
/osx
/salframeview \
111 $(eval
$(call gb_Library_add_exception_objects
,vclplug_osx
,\
112 vcl
/osx
/DataFlavorMapping \
113 vcl
/osx
/DragActionConversion \
115 vcl
/osx
/DragSourceContext \
118 vcl
/osx
/OSXTransferable \
119 vcl
/osx
/PictToBmpFlt \
120 vcl
/osx
/a11yfocuslistener \
121 vcl
/osx
/a11yfocustracker \
122 vcl
/osx
/a11ylistener \
124 vcl
/osx
/documentfocuslistener \
127 vcl
/osx
/salgdiutils \
131 vcl
/osx
/salnativewidgets \
136 vcl
/osx
/service_entry \
137 vcl
/quartz
/CoreTextFont \
138 vcl
/quartz
/CoreTextFontFace \
139 vcl
/quartz
/SystemFontList \
142 vcl
/quartz
/salgdicommon \
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 \
159 ifneq ($(ENABLE_MACOSX_SANDBOX
),TRUE
)
160 $(eval
$(call gb_Library_use_libraries
,vclplug_osx
,\
165 # vim: set noet sw=4 ts=4: