tdf#116301: write correct content type for diagramDrawing
[LibreOffice.git] / vcl / Library_vclplug_gtk3_kde5.mk
blobeaff74cad35c4d7346c9a49661a10d63388daef1
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) \
40 $(eval $(call gb_Library_add_defs,vclplug_gtk3_kde5,\
41 -DVCLPLUG_GTK_IMPLEMENTATION -DVCLPLUG_GTK3_KDE5_IMPLEMENTATION \
44 $(eval $(call gb_Library_use_custom_headers,vclplug_gtk3_kde5,\
45 officecfg/registry \
48 $(eval $(call gb_Library_use_sdk_api,vclplug_gtk3_kde5))
50 $(eval $(call gb_Library_add_libs,vclplug_gtk3_kde5,\
51 $(GTK3_LIBS) \
52 $(GTHREAD_LIBS) \
53 -lX11 \
54 -lXext \
55 -lSM \
56 -lICE \
59 $(eval $(call gb_Library_use_libraries,vclplug_gtk3_kde5,\
60 vclplug_gen \
61 vcl \
62 tl \
63 utl \
64 sot \
65 ucbhelper \
66 basegfx \
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_kde5,\
78 boost_headers \
79 boost_filesystem \
80 epoxy \
81 dbus \
84 $(eval $(call gb_Library_add_exception_objects,vclplug_gtk3_kde5,\
85 vcl/unx/gtk3_kde5/a11y/gtk3_kde5_atkaction \
86 vcl/unx/gtk3_kde5/a11y/gtk3_kde5_atkbridge \
87 vcl/unx/gtk3_kde5/a11y/gtk3_kde5_atkcomponent \
88 vcl/unx/gtk3_kde5/a11y/gtk3_kde5_atkeditabletext \
89 vcl/unx/gtk3_kde5/a11y/gtk3_kde5_atkfactory \
90 vcl/unx/gtk3_kde5/a11y/gtk3_kde5_atkhypertext \
91 vcl/unx/gtk3_kde5/a11y/gtk3_kde5_atkimage \
92 vcl/unx/gtk3_kde5/a11y/gtk3_kde5_atklistener \
93 vcl/unx/gtk3_kde5/a11y/gtk3_kde5_atkregistry \
94 vcl/unx/gtk3_kde5/a11y/gtk3_kde5_atkselection \
95 vcl/unx/gtk3_kde5/a11y/gtk3_kde5_atktable \
96 vcl/unx/gtk3_kde5/a11y/gtk3_kde5_atktextattributes \
97 vcl/unx/gtk3_kde5/a11y/gtk3_kde5_atktext \
98 vcl/unx/gtk3_kde5/a11y/gtk3_kde5_atkutil \
99 vcl/unx/gtk3_kde5/a11y/gtk3_kde5_atkvalue \
100 vcl/unx/gtk3_kde5/a11y/gtk3_kde5_atkwindow \
101 vcl/unx/gtk3_kde5/a11y/gtk3_kde5_atkwrapper \
102 vcl/unx/gtk3_kde5/gtk3_kde5_gtkdata \
103 vcl/unx/gtk3_kde5/gtk3_kde5_gtkinst \
104 vcl/unx/gtk3_kde5/gtk3_kde5_gtksys \
105 vcl/unx/gtk3_kde5/gtk3_kde5_filepicker \
106 vcl/unx/gtk3_kde5/gtk3_kde5_filepicker_ipc \
107 vcl/unx/gtk3_kde5/gtk3_kde5_folderpicker \
108 vcl/unx/gtk3_kde5/gtk3_kde5_cairo \
109 vcl/unx/gtk3_kde5/gtk3_kde5_printwrapper \
110 vcl/unx/gtk3_kde5/gtk3_kde5_salnativewidgets-gtk \
111 vcl/unx/gtk3_kde5/gtk3_kde5_salprn-gtk \
112 vcl/unx/gtk3_kde5/gtk3_kde5_gtkframe \
113 vcl/unx/gtk3_kde5/gtk3_kde5_gtkobject \
114 vcl/unx/gtk3_kde5/gtk3_kde5_gtksalmenu \
115 vcl/unx/gtk3_kde5/gtk3_kde5_glomenu \
116 vcl/unx/gtk3_kde5/gtk3_kde5_gloactiongroup \
117 vcl/unx/gtk3_kde5/gtk3_kde5_hudawareness \
120 ifeq ($(OS),LINUX)
121 $(eval $(call gb_Library_add_libs,vclplug_gtk3_kde5,\
122 -lm \
123 -ldl \
124 -lpthread \
126 endif
128 # vim: set noet sw=4 ts=4: