Revert "sw_redlinehide_3: apparently a live SwNodeNum always has a parent"
[LibreOffice.git] / vcl / Library_vclplug_gtk.mk
blob67d405d4c8fa9b7e64db5b6e7908e7b75374e9eb
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_gtk))
22 $(eval $(call gb_Library_set_include,vclplug_gtk,\
23 $$(INCLUDE) \
24 -I$(SRCDIR)/vcl/inc \
25 -I$(SRCDIR)/vcl/unx \
26 -I$(SRCDIR)/vcl/unx/gtk \
29 $(eval $(call gb_Library_add_defs,vclplug_gtk,\
30 -DVCLPLUG_GTK_IMPLEMENTATION \
33 $(eval $(call gb_Library_use_custom_headers,vclplug_gtk,\
34 officecfg/registry \
37 $(eval $(call gb_Library_use_sdk_api,vclplug_gtk))
39 $(eval $(call gb_Library_use_libraries,vclplug_gtk,\
40 vclplug_gen \
41 vcl \
42 tl \
43 utl \
44 sot \
45 ucbhelper \
46 basegfx \
47 comphelper \
48 cppuhelper \
49 i18nlangtag \
50 i18nutil \
51 $(if $(ENABLE_JAVA), \
52 jvmaccess) \
53 cppu \
54 sal \
57 $(eval $(call gb_Library_use_externals,vclplug_gtk,\
58 boost_headers \
59 cairo \
60 dbus \
61 epoxy \
62 gio \
63 graphite \
64 gthread \
65 gtk \
66 harfbuzz \
67 icuuc \
70 $(eval $(call gb_Library_add_libs,vclplug_gtk,\
71 -lX11 \
72 -lXext \
73 -lSM \
74 -lICE \
77 $(eval $(call gb_Library_add_exception_objects,vclplug_gtk,\
78 vcl/unx/gtk/a11y/atkaction \
79 vcl/unx/gtk/a11y/atkbridge \
80 vcl/unx/gtk/a11y/atkcomponent \
81 vcl/unx/gtk/a11y/atkeditabletext \
82 vcl/unx/gtk/a11y/atkfactory \
83 vcl/unx/gtk/a11y/atkhypertext \
84 vcl/unx/gtk/a11y/atkimage \
85 vcl/unx/gtk/a11y/atklistener \
86 vcl/unx/gtk/a11y/atkregistry \
87 vcl/unx/gtk/a11y/atkselection \
88 vcl/unx/gtk/a11y/atktable \
89 vcl/unx/gtk/a11y/atktextattributes \
90 vcl/unx/gtk/a11y/atktext \
91 vcl/unx/gtk/a11y/atkutil \
92 vcl/unx/gtk/a11y/atkvalue \
93 vcl/unx/gtk/a11y/atkwindow \
94 vcl/unx/gtk/a11y/atkwrapper \
95 vcl/unx/gtk/gtkdata \
96 vcl/unx/gtk/gtkinst \
97 vcl/unx/gtk/gtksys \
98 vcl/unx/gtk/salnativewidgets-gtk \
99 vcl/unx/gtk/gtksalframe \
100 vcl/unx/gtk/gtkobject \
101 vcl/unx/gtk/fpicker/resourceprovider \
102 vcl/unx/gtk/fpicker/SalGtkPicker \
103 vcl/unx/gtk/fpicker/SalGtkFilePicker \
104 vcl/unx/gtk/fpicker/SalGtkFolderPicker \
107 ifneq ($(ENABLE_DBUS),)
108 ifneq ($(ENABLE_GIO),)
109 $(eval $(call gb_Library_add_exception_objects,vclplug_gtk,\
110 vcl/unx/gtk/gloactiongroup \
111 vcl/unx/gtk/gtksalmenu \
112 vcl/unx/gtk/glomenu \
113 vcl/unx/gtk/hudawareness \
115 endif
116 endif
118 ifeq ($(ENABLE_GTK_PRINT),TRUE)
119 $(eval $(call gb_Library_add_exception_objects,vclplug_gtk,\
120 vcl/unx/gtk/gtkprintwrapper \
121 vcl/unx/gtk/salprn-gtk \
123 endif
125 ifeq ($(OS),LINUX)
126 $(eval $(call gb_Library_add_libs,vclplug_gtk,\
127 -lm \
128 -ldl \
129 -lpthread \
131 endif
133 # vim: set noet sw=4 ts=4: