prelim tdf#136472: remove implementation specific unit tests
[LibreOffice.git] / vcl / Library_vclplug_gtk3_kde5.mk
blobdbd5fbf53e8895457c25dc51ca5f5617f87b7e93
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_kde5))
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_kde5, \
25 -Wno-deprecated-declarations \
28 $(eval $(call gb_Library_set_include,vclplug_gtk3_kde5,\
29 $$(INCLUDE) \
30 -I$(SRCDIR)/vcl/inc \
31 -I$(SRCDIR)/vcl/unx \
32 -I$(SRCDIR)/vcl/unx/gtk3 \
35 $(eval $(call gb_Library_add_cxxflags,vclplug_gtk3_kde5,\
36 $$(INCLUDE) \
37 $$(GTK3_CFLAGS) \
38 $$(GSTREAMER_1_0_CFLAGS) \
41 $(eval $(call gb_Library_add_defs,vclplug_gtk3_kde5,\
42 -DVCLPLUG_GTK_IMPLEMENTATION -DVCLPLUG_GTK3_KDE5_IMPLEMENTATION \
43 -DVCL_INTERNALS \
46 $(eval $(call gb_Library_use_custom_headers,vclplug_gtk3_kde5,\
47 officecfg/registry \
50 $(eval $(call gb_Library_use_sdk_api,vclplug_gtk3_kde5))
52 $(eval $(call gb_Library_add_libs,vclplug_gtk3_kde5,\
53 $(GTK3_LIBS) \
54 -lX11 \
55 -lXext \
56 -lSM \
57 -lICE \
60 $(eval $(call gb_Library_use_libraries,vclplug_gtk3_kde5,\
61 svl \
62 vcl \
63 tl \
64 utl \
65 sot \
66 ucbhelper \
67 basegfx \
68 comphelper \
69 cppuhelper \
70 i18nlangtag \
71 i18nutil \
72 $(if $(ENABLE_JAVA), \
73 jvmaccess) \
74 cppu \
75 sal \
78 $(eval $(call gb_Library_use_externals,vclplug_gtk3_kde5,\
79 boost_headers \
80 boost_filesystem \
81 epoxy \
82 dbus \
83 graphite \
84 harfbuzz \
85 kf5 \
88 $(eval $(call gb_Library_add_exception_objects,vclplug_gtk3_kde5,\
89 vcl/unx/gtk3_kde5/a11y/gtk3_kde5_atkaction \
90 vcl/unx/gtk3_kde5/a11y/gtk3_kde5_atkbridge \
91 vcl/unx/gtk3_kde5/a11y/gtk3_kde5_atkcomponent \
92 vcl/unx/gtk3_kde5/a11y/gtk3_kde5_atkeditabletext \
93 vcl/unx/gtk3_kde5/a11y/gtk3_kde5_atkfactory \
94 vcl/unx/gtk3_kde5/a11y/gtk3_kde5_atkhypertext \
95 vcl/unx/gtk3_kde5/a11y/gtk3_kde5_atkimage \
96 vcl/unx/gtk3_kde5/a11y/gtk3_kde5_atklistener \
97 vcl/unx/gtk3_kde5/a11y/gtk3_kde5_atkregistry \
98 vcl/unx/gtk3_kde5/a11y/gtk3_kde5_atkselection \
99 vcl/unx/gtk3_kde5/a11y/gtk3_kde5_atktable \
100 vcl/unx/gtk3_kde5/a11y/gtk3_kde5_atktextattributes \
101 vcl/unx/gtk3_kde5/a11y/gtk3_kde5_atktext \
102 vcl/unx/gtk3_kde5/a11y/gtk3_kde5_atkutil \
103 vcl/unx/gtk3_kde5/a11y/gtk3_kde5_atkvalue \
104 vcl/unx/gtk3_kde5/a11y/gtk3_kde5_atkwrapper \
105 vcl/unx/gtk3_kde5/gtk3_kde5_customcellrenderer \
106 vcl/unx/gtk3_kde5/gtk3_kde5_gtkdata \
107 vcl/unx/gtk3_kde5/gtk3_kde5_gtkinst \
108 vcl/unx/gtk3_kde5/gtk3_kde5_gtksys \
109 vcl/unx/gtk3_kde5/gtk3_kde5_filepicker \
110 vcl/unx/gtk3_kde5/gtk3_kde5_filepicker_ipc \
111 vcl/unx/gtk3_kde5/gtk3_kde5_folderpicker \
112 vcl/unx/gtk3_kde5/gtk3_kde5_cairo \
113 vcl/unx/gtk3_kde5/gtk3_kde5_salnativewidgets-gtk \
114 vcl/unx/gtk3_kde5/gtk3_kde5_gtkframe \
115 vcl/unx/gtk3_kde5/gtk3_kde5_gtkobject \
116 vcl/unx/gtk3_kde5/gtk3_kde5_gtksalmenu \
117 vcl/unx/gtk3_kde5/gtk3_kde5_glomenu \
118 vcl/unx/gtk3_kde5/gtk3_kde5_gloactiongroup \
119 vcl/unx/gtk3_kde5/gtk3_kde5_hudawareness \
122 ifeq ($(OS),LINUX)
123 $(eval $(call gb_Library_add_libs,vclplug_gtk3_kde5,\
124 -lm \
125 -ldl \
127 endif
129 # vim: set noet sw=4 ts=4: