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_include
,vclplug_osx
,\
27 $(eval
$(call gb_Library_use_sdk_api
,vclplug_osx
))
29 $(eval
$(call gb_Library_use_custom_headers
,vclplug_osx
,\
33 # TODO: arguably the private CoreUI framework should never be used, no matter whether building
34 # a sandboxed version or a "regular" desktop version
35 $(eval
$(call gb_Library_add_libs
,vclplug_osx
,\
37 $(if
$(ENABLE_MACOSX_SANDBOX
),,\
38 -F
/System
/Library
/PrivateFrameworks \
44 $(eval
$(call gb_Library_add_cxxflags
,vclplug_osx
,\
48 $(eval
$(call gb_Library_use_libraries
,vclplug_osx
,\
61 $(eval
$(call gb_Library_use_externals
,vclplug_osx
,\
64 $(if
$(filter SKIA
,$(BUILD_TYPE
)), \
69 ifeq ($(DISABLE_GUI
),)
70 $(eval
$(call gb_Library_use_externals
,vclplug_osx
,\
75 $(eval
$(call gb_Library_add_defs
,vclplug_osx
,\
76 -DMACOSX_BUNDLE_IDENTIFIER
=\"$(MACOSX_BUNDLE_IDENTIFIER
)\" \
80 $(eval
$(call gb_Library_add_objcxxobjects
,vclplug_osx
,\
81 vcl
/osx
/a11yactionwrapper \
82 vcl
/osx
/a11ycomponentwrapper \
84 vcl
/osx
/a11yrolehelper \
85 vcl
/osx
/a11yselectionwrapper \
86 vcl
/osx
/a11ytablewrapper \
87 vcl
/osx
/a11ytextattributeswrapper \
88 vcl
/osx
/a11ytextwrapper \
90 vcl
/osx
/a11yvaluewrapper \
92 vcl
/osx
/a11ywrapperbutton \
93 vcl
/osx
/a11ywrappercheckbox \
94 vcl
/osx
/a11ywrappercombobox \
95 vcl
/osx
/a11ywrappergroup \
96 vcl
/osx
/a11ywrapperlist \
97 vcl
/osx
/a11ywrapperradiobutton \
98 vcl
/osx
/a11ywrapperradiogroup \
99 vcl
/osx
/a11ywrapperrow \
100 vcl
/osx
/a11ywrapperscrollarea \
101 vcl
/osx
/a11ywrapperscrollbar \
102 vcl
/osx
/a11ywrappersplitter \
103 vcl
/osx
/a11ywrapperstatictext \
104 vcl
/osx
/a11ywrappertabgroup \
105 vcl
/osx
/a11ywrappertextarea \
106 vcl
/osx
/a11ywrappertoolbar \
107 vcl
/osx
/printaccessoryview \
109 vcl
/osx
/salframeview \
115 $(eval
$(call gb_Library_add_exception_objects
,vclplug_osx
,\
116 vcl
/osx
/DataFlavorMapping \
117 vcl
/osx
/DragActionConversion \
119 vcl
/osx
/DragSourceContext \
122 vcl
/osx
/OSXTransferable \
123 vcl
/osx
/PictToBmpFlt \
124 vcl
/osx
/a11yfocuslistener \
125 vcl
/osx
/a11yfocustracker \
126 vcl
/osx
/a11ylistener \
128 vcl
/osx
/documentfocuslistener \
131 vcl
/osx
/salgdiutils \
135 vcl
/osx
/salnativewidgets \
140 vcl
/osx
/service_entry \
144 vcl
/quartz
/salgdicommon \
147 vcl
/quartz
/AquaGraphicsBackend \
148 $(if
$(filter SKIA
,$(BUILD_TYPE
)), \
149 vcl
/skia
/osx
/bitmap \
150 vcl
/skia
/osx
/gdiimpl \
154 $(eval
$(call gb_Library_use_system_darwin_frameworks
,vclplug_osx
,\
155 ApplicationServices \
161 ifneq ($(ENABLE_MACOSX_SANDBOX
),TRUE
)
162 $(eval
$(call gb_Library_use_libraries
,vclplug_osx
,\
167 # vim: set noet sw=4 ts=4: