Use GetModuleHandleExW instead of GetModuleHandleW
[LibreOffice.git] / vcl / Library_vclplug_osx.mk
blob5e0cfd2e8d3d2011fa9d068ecc9b3db8127797dd
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 $(eval $(call gb_Library_add_libs,vclplug_osx,\
36 -framework IOKit \
37 -F/System/Library/PrivateFrameworks \
38 -framework CoreUI \
39 -lobjc \
42 $(eval $(call gb_Library_add_cxxflags,vclplug_osx,\
43 $(gb_OBJCXXFLAGS) \
46 $(eval $(call gb_Library_use_libraries,vclplug_osx,\
47 basegfx \
48 comphelper \
49 cppu \
50 cppuhelper \
51 i18nlangtag \
52 i18nutil \
53 sal \
54 salhelper \
55 tl \
58 $(eval $(call gb_Library_use_externals,vclplug_osx,\
59 boost_headers \
60 epoxy \
61 harfbuzz \
62 $(if $(filter SKIA,$(BUILD_TYPE)), \
63 skia \
64 ) \
67 $(eval $(call gb_Library_add_defs,vclplug_osx,\
68 -DMACOSX_BUNDLE_IDENTIFIER=\"$(MACOSX_BUNDLE_IDENTIFIER)\" \
69 -DVCL_INTERNALS \
72 $(eval $(call gb_Library_add_objcxxobjects,vclplug_osx,\
73 vcl/osx/a11yactionwrapper \
74 vcl/osx/a11ycomponentwrapper \
75 vcl/osx/a11yfactory \
76 vcl/osx/a11yrolehelper \
77 vcl/osx/a11yselectionwrapper \
78 vcl/osx/a11ytablewrapper \
79 vcl/osx/a11ytextattributeswrapper \
80 vcl/osx/a11ytextwrapper \
81 vcl/osx/a11yutil \
82 vcl/osx/a11yvaluewrapper \
83 vcl/osx/a11ywrapper \
84 vcl/osx/a11ywrapperbutton \
85 vcl/osx/a11ywrappercheckbox \
86 vcl/osx/a11ywrappercombobox \
87 vcl/osx/a11ywrappergroup \
88 vcl/osx/a11ywrapperlist \
89 vcl/osx/a11ywrapperradiobutton \
90 vcl/osx/a11ywrapperradiogroup \
91 vcl/osx/a11ywrapperrow \
92 vcl/osx/a11ywrapperscrollarea \
93 vcl/osx/a11ywrapperscrollbar \
94 vcl/osx/a11ywrappersplitter \
95 vcl/osx/a11ywrapperstatictext \
96 vcl/osx/a11ywrappertabgroup \
97 vcl/osx/a11ywrappertextarea \
98 vcl/osx/a11ywrappertoolbar \
99 vcl/osx/printaccessoryview \
100 vcl/osx/printview \
101 vcl/osx/salframeview \
102 vcl/osx/salnsmenu \
103 vcl/osx/salnstimer \
104 vcl/osx/vclnsapp \
107 $(eval $(call gb_Library_add_exception_objects,vclplug_osx,\
108 vcl/osx/DataFlavorMapping \
109 vcl/osx/DragActionConversion \
110 vcl/osx/DragSource \
111 vcl/osx/DragSourceContext \
112 vcl/osx/DropTarget \
113 vcl/osx/HtmlFmtFlt \
114 vcl/osx/OSXTransferable \
115 vcl/osx/PictToBmpFlt \
116 vcl/osx/a11yfocuslistener \
117 vcl/osx/a11yfocustracker \
118 vcl/osx/a11ylistener \
119 vcl/osx/clipboard \
120 vcl/osx/documentfocuslistener \
121 vcl/osx/saldata \
122 vcl/osx/salframe \
123 vcl/osx/salgdiutils \
124 vcl/osx/salinst \
125 vcl/osx/salmacos \
126 vcl/osx/salmenu \
127 vcl/osx/salnativewidgets \
128 vcl/osx/salobj \
129 vcl/osx/salprn \
130 vcl/osx/salsys \
131 vcl/osx/saltimer \
132 vcl/osx/service_entry \
133 vcl/quartz/ctfonts \
134 vcl/quartz/salbmp \
135 vcl/quartz/salgdi \
136 vcl/quartz/salgdicommon \
137 vcl/quartz/salvd \
138 vcl/quartz/utils \
139 vcl/quartz/AquaGraphicsBackend \
140 $(if $(filter SKIA,$(BUILD_TYPE)), \
141 vcl/skia/osx/bitmap \
142 vcl/skia/osx/gdiimpl \
146 $(eval $(call gb_Library_use_system_darwin_frameworks,vclplug_osx,\
147 ApplicationServices \
148 Cocoa \
149 Carbon \
150 CoreFoundation \
153 ifneq ($(ENABLE_MACOSX_SANDBOX),TRUE)
154 $(eval $(call gb_Library_use_libraries,vclplug_osx,\
155 AppleRemote \
157 endif
159 # vim: set noet sw=4 ts=4: