Branch libreoffice-5-0-4
[LibreOffice.git] / vcl / Library_vclplug_gtk3.mk
blob515a81c1fdea5c340702649b1f4e129d254153e8
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 -I$(SRCDIR)/vcl/inc \
31 -I$(SRCDIR)/vcl/unx \
32 -I$(SRCDIR)/vcl/unx/gtk3/inc \
35 $(eval $(call gb_Library_add_cxxflags,vclplug_gtk3,\
36 $$(INCLUDE) \
37 $$(GTK3_CFLAGS) \
40 $(eval $(call gb_Library_add_defs,vclplug_gtk3,\
41 -DVCLPLUG_GTK_IMPLEMENTATION \
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 $(GTHREAD_LIBS) \
53 -lX11 \
54 -lXext \
55 -lSM \
56 -lICE \
59 $(eval $(call gb_Library_use_libraries,vclplug_gtk3,\
60 vcl \
61 tl \
62 utl \
63 sot \
64 ucbhelper \
65 basegfx \
66 basebmp \
67 comphelper \
68 cppuhelper \
69 i18nlangtag \
70 i18nutil \
71 $(if $(ENABLE_JAVA), \
72 jvmaccess) \
73 cppu \
74 sal \
77 $(eval $(call gb_Library_use_externals,vclplug_gtk3,\
78 boost_headers \
79 glew \
80 dbus \
83 $(eval $(call gb_Library_add_exception_objects,vclplug_gtk3,\
84 vcl/unx/gtk3/a11y/gtk3atkaction \
85 vcl/unx/gtk3/a11y/gtk3atkbridge \
86 vcl/unx/gtk3/a11y/gtk3atkcomponent \
87 vcl/unx/gtk3/a11y/gtk3atkeditabletext \
88 vcl/unx/gtk3/a11y/gtk3atkfactory \
89 vcl/unx/gtk3/a11y/gtk3atkhypertext \
90 vcl/unx/gtk3/a11y/gtk3atkimage \
91 vcl/unx/gtk3/a11y/gtk3atklistener \
92 vcl/unx/gtk3/a11y/gtk3atkregistry \
93 vcl/unx/gtk3/a11y/gtk3atkselection \
94 vcl/unx/gtk3/a11y/gtk3atktable \
95 vcl/unx/gtk3/a11y/gtk3atktextattributes \
96 vcl/unx/gtk3/a11y/gtk3atktext \
97 vcl/unx/gtk3/a11y/gtk3atkutil \
98 vcl/unx/gtk3/a11y/gtk3atkvalue \
99 vcl/unx/gtk3/a11y/gtk3atkwindow \
100 vcl/unx/gtk3/a11y/gtk3atkwrapper \
101 vcl/unx/gtk3/app/gtk3gtkdata \
102 vcl/unx/gtk3/app/gtk3gtkinst \
103 vcl/unx/gtk3/app/gtk3gtksys \
104 vcl/unx/gtk3/app/gtk3fpicker \
105 vcl/unx/gtk3/gdi/cairo_gtk3_cairo \
106 vcl/unx/gtk3/gdi/gtk3cairotextrender \
107 vcl/unx/gtk3/gdi/gtk3gtkprintwrapper \
108 vcl/unx/gtk3/gdi/gtk3salnativewidgets-gtk \
109 vcl/unx/gtk3/gdi/gtk3salprn-gtk \
110 vcl/unx/gtk3/window/gtk3gtkframe \
111 vcl/unx/gtk3/window/gtk3gtkobject \
112 vcl/unx/gtk3/window/gtk3gtksalmenu \
113 vcl/unx/gtk3/window/gtk3glomenu \
114 vcl/unx/gtk3/window/gtk3gloactiongroup \
115 vcl/unx/gtk3/window/gtk3hudawareness \
118 ifeq ($(OS),LINUX)
119 $(eval $(call gb_Library_add_libs,vclplug_gtk3,\
120 -lm \
121 -ldl \
122 -lpthread \
124 endif
126 # vim: set noet sw=4 ts=4: