tdf#113448 fix PDF forms export
[LibreOffice.git] / vcl / Library_vclplug_gtk3.mk
blobcfb2f1b2d30ba32e25c357cecb41508a69e312d2
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 # Silence deprecation warnings wholesale as long as vcl/unx/gtk3/*.cxx just
23 # forward to vcl/unx/gtk/*.cxx:
24 $(eval $(call gb_Library_add_cxxflags,vclplug_gtk3, \
25 -Wno-deprecated-declarations \
28 $(eval $(call gb_Library_set_include,vclplug_gtk3,\
29 $$(INCLUDE) \
30 $$(GTK3_CFLAGS) \
31 -I$(SRCDIR)/vcl/inc \
32 -I$(SRCDIR)/vcl/unx \
33 -I$(SRCDIR)/vcl/unx/gtk3 \
36 $(eval $(call gb_Library_add_defs,vclplug_gtk3,\
37 -DVCLPLUG_GTK_IMPLEMENTATION \
40 $(eval $(call gb_Library_use_custom_headers,vclplug_gtk3,\
41 officecfg/registry \
44 $(eval $(call gb_Library_use_sdk_api,vclplug_gtk3))
46 $(eval $(call gb_Library_add_libs,vclplug_gtk3,\
47 $(GTK3_LIBS) \
48 $(GTHREAD_LIBS) \
49 -lX11 \
50 -lXext \
51 -lSM \
52 -lICE \
55 $(eval $(call gb_Library_use_libraries,vclplug_gtk3,\
56 vcl \
57 svl \
58 tl \
59 utl \
60 sot \
61 ucbhelper \
62 basegfx \
63 comphelper \
64 cppuhelper \
65 i18nlangtag \
66 i18nutil \
67 $(if $(ENABLE_JAVA), \
68 jvmaccess) \
69 cppu \
70 sal \
73 $(eval $(call gb_Library_use_externals,vclplug_gtk3,\
74 boost_headers \
75 epoxy \
76 dbus \
77 graphite \
78 harfbuzz \
81 $(eval $(call gb_Library_add_exception_objects,vclplug_gtk3,\
82 vcl/unx/gtk3/a11y/gtk3atkaction \
83 vcl/unx/gtk3/a11y/gtk3atkbridge \
84 vcl/unx/gtk3/a11y/gtk3atkcomponent \
85 vcl/unx/gtk3/a11y/gtk3atkeditabletext \
86 vcl/unx/gtk3/a11y/gtk3atkfactory \
87 vcl/unx/gtk3/a11y/gtk3atkhypertext \
88 vcl/unx/gtk3/a11y/gtk3atkimage \
89 vcl/unx/gtk3/a11y/gtk3atklistener \
90 vcl/unx/gtk3/a11y/gtk3atkregistry \
91 vcl/unx/gtk3/a11y/gtk3atkselection \
92 vcl/unx/gtk3/a11y/gtk3atktable \
93 vcl/unx/gtk3/a11y/gtk3atktextattributes \
94 vcl/unx/gtk3/a11y/gtk3atktext \
95 vcl/unx/gtk3/a11y/gtk3atkutil \
96 vcl/unx/gtk3/a11y/gtk3atkvalue \
97 vcl/unx/gtk3/a11y/gtk3atkwindow \
98 vcl/unx/gtk3/a11y/gtk3atkwrapper \
99 vcl/unx/gtk3/gtk3gtkdata \
100 vcl/unx/gtk3/gtk3gtkinst \
101 vcl/unx/gtk3/gtk3gtksys \
102 vcl/unx/gtk3/gtk3fpicker \
103 vcl/unx/gtk3/cairo_gtk3_cairo \
104 vcl/unx/gtk3/gtk3gtkprintwrapper \
105 vcl/unx/gtk3/gtk3salnativewidgets-gtk \
106 vcl/unx/gtk3/gtk3salprn-gtk \
107 vcl/unx/gtk3/gtk3gtkframe \
108 vcl/unx/gtk3/gtk3gtkobject \
109 vcl/unx/gtk3/gtk3gtksalmenu \
110 vcl/unx/gtk3/gtk3glomenu \
111 vcl/unx/gtk3/gtk3gloactiongroup \
112 vcl/unx/gtk3/gtk3hudawareness \
115 ifeq ($(OS),LINUX)
116 $(eval $(call gb_Library_add_libs,vclplug_gtk3,\
117 -lm \
118 -ldl \
119 -lpthread \
121 endif
123 # vim: set noet sw=4 ts=4: