Improve the comment
[LibreOffice.git] / vcl / Library_vclplug_gtk.mk
blob67247b73d6425ceb14c5a2fd0bde3b7932e37dcc
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 gio \
62 epoxy \
63 gtk \
64 gthread \
65 icuuc \
68 $(eval $(call gb_Library_add_libs,vclplug_gtk,\
69 -lX11 \
70 -lXext \
71 -lSM \
72 -lICE \
75 $(eval $(call gb_Library_add_exception_objects,vclplug_gtk,\
76 vcl/unx/gtk/a11y/atkaction \
77 vcl/unx/gtk/a11y/atkbridge \
78 vcl/unx/gtk/a11y/atkcomponent \
79 vcl/unx/gtk/a11y/atkeditabletext \
80 vcl/unx/gtk/a11y/atkfactory \
81 vcl/unx/gtk/a11y/atkhypertext \
82 vcl/unx/gtk/a11y/atkimage \
83 vcl/unx/gtk/a11y/atklistener \
84 vcl/unx/gtk/a11y/atkregistry \
85 vcl/unx/gtk/a11y/atkselection \
86 vcl/unx/gtk/a11y/atktable \
87 vcl/unx/gtk/a11y/atktextattributes \
88 vcl/unx/gtk/a11y/atktext \
89 vcl/unx/gtk/a11y/atkutil \
90 vcl/unx/gtk/a11y/atkvalue \
91 vcl/unx/gtk/a11y/atkwindow \
92 vcl/unx/gtk/a11y/atkwrapper \
93 vcl/unx/gtk/gtkdata \
94 vcl/unx/gtk/gtkinst \
95 vcl/unx/gtk/gtksys \
96 vcl/unx/gtk/salnativewidgets-gtk \
97 vcl/unx/gtk/gtksalframe \
98 vcl/unx/gtk/gtkobject \
99 vcl/unx/gtk/fpicker/resourceprovider \
100 vcl/unx/gtk/fpicker/SalGtkPicker \
101 vcl/unx/gtk/fpicker/SalGtkFilePicker \
102 vcl/unx/gtk/fpicker/SalGtkFolderPicker \
105 ifneq ($(ENABLE_DBUS),)
106 ifneq ($(ENABLE_GIO),)
107 $(eval $(call gb_Library_add_exception_objects,vclplug_gtk,\
108 vcl/unx/gtk/gloactiongroup \
109 vcl/unx/gtk/gtksalmenu \
110 vcl/unx/gtk/glomenu \
111 vcl/unx/gtk/hudawareness \
113 endif
114 endif
116 ifeq ($(ENABLE_GTK_PRINT),TRUE)
117 $(eval $(call gb_Library_add_exception_objects,vclplug_gtk,\
118 vcl/unx/gtk/gtkprintwrapper \
119 vcl/unx/gtk/salprn-gtk \
121 endif
123 ifeq ($(OS),LINUX)
124 $(eval $(call gb_Library_add_libs,vclplug_gtk,\
125 -lm \
126 -ldl \
127 -lpthread \
129 endif
131 # vim: set noet sw=4 ts=4: