Update git submodules
[LibreOffice.git] / vcl / Library_vclplug_gtk3.mk
blob0809edd770a741434b5c1b2cb76c9d156d44365a
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_gtk3))
22 $(eval $(call gb_Library_set_plugin_for,vclplug_gtk3,vcl))
24 # Silence deprecation warnings wholesale as long as vcl/unx/gtk3/*.cxx just
25 # forward to vcl/unx/gtk/*.cxx:
26 $(eval $(call gb_Library_add_cxxflags,vclplug_gtk3, \
27 -Wno-deprecated-declarations \
30 $(eval $(call gb_Library_set_include,vclplug_gtk3,\
31 $$(INCLUDE) \
32 $$(GTK3_CFLAGS) \
33 $$(GSTREAMER_1_0_CFLAGS) \
34 -I$(SRCDIR)/vcl/inc \
35 -I$(SRCDIR)/vcl/unx \
36 -I$(SRCDIR)/vcl/unx/gtk3 \
39 $(eval $(call gb_Library_add_defs,vclplug_gtk3,\
40 -DVCLPLUG_GTK_IMPLEMENTATION \
41 -DVCL_INTERNALS \
44 $(eval $(call gb_Library_use_custom_headers,vclplug_gtk3,\
45 officecfg/registry \
48 $(eval $(call gb_Library_use_sdk_api,vclplug_gtk3))
50 $(eval $(call gb_Library_add_libs,vclplug_gtk3,\
51 $(GTK3_LIBS) \
52 -lX11 \
53 -lXext \
54 -lSM \
55 -lICE \
58 $(eval $(call gb_Library_use_libraries,vclplug_gtk3,\
59 svl \
60 tl \
61 utl \
62 sot \
63 ucbhelper \
64 basegfx \
65 comphelper \
66 cppuhelper \
67 i18nlangtag \
68 i18nutil \
69 $(if $(ENABLE_JAVA), \
70 jvmaccess) \
71 cppu \
72 sal \
75 $(eval $(call gb_Library_use_externals,vclplug_gtk3,\
76 boost_headers \
77 epoxy \
78 dbus \
79 graphite \
80 harfbuzz \
83 $(eval $(call gb_Library_add_exception_objects,vclplug_gtk3,\
84 vcl/unx/gtk3/a11y/atkaction \
85 vcl/unx/gtk3/a11y/atkbridge \
86 vcl/unx/gtk3/a11y/atkcomponent \
87 vcl/unx/gtk3/a11y/atkeditabletext \
88 vcl/unx/gtk3/a11y/atkfactory \
89 vcl/unx/gtk3/a11y/atkhypertext \
90 vcl/unx/gtk3/a11y/atkimage \
91 vcl/unx/gtk3/a11y/atklistener \
92 vcl/unx/gtk3/a11y/atkregistry \
93 vcl/unx/gtk3/a11y/atkselection \
94 vcl/unx/gtk3/a11y/atktable \
95 vcl/unx/gtk3/a11y/atktablecell \
96 vcl/unx/gtk3/a11y/atktextattributes \
97 vcl/unx/gtk3/a11y/atktext \
98 vcl/unx/gtk3/a11y/atkutil \
99 vcl/unx/gtk3/a11y/atkvalue \
100 vcl/unx/gtk3/a11y/atkwrapper \
101 vcl/unx/gtk3/fpicker/resourceprovider \
102 vcl/unx/gtk3/fpicker/SalGtkFilePicker \
103 vcl/unx/gtk3/fpicker/SalGtkFolderPicker \
104 vcl/unx/gtk3/fpicker/SalGtkPicker \
105 vcl/unx/gtk3/customcellrenderer \
106 vcl/unx/gtk3/gtkdata \
107 vcl/unx/gtk3/gtkinst \
108 vcl/unx/gtk3/gtksys \
109 vcl/unx/gtk3/gtkcairo \
110 vcl/unx/gtk3/salnativewidgets-gtk \
111 vcl/unx/gtk3/gtkframe \
112 vcl/unx/gtk3/gtkobject \
113 vcl/unx/gtk3/gtksalmenu \
114 vcl/unx/gtk3/glomenu \
115 vcl/unx/gtk3/gloactiongroup \
116 vcl/unx/gtk3/hudawareness \
119 ifeq ($(OS),LINUX)
120 $(eval $(call gb_Library_add_libs,vclplug_gtk3,\
121 -lm \
122 -ldl \
124 endif
126 # vim: set noet sw=4 ts=4: