Version 4.3.0.0.beta1, tag libreoffice-4.3.0.0.beta1
[LibreOffice.git] / vcl / Library_vclplug_gtk.mk
blobdb2dd21c3eb8bda3e01b371168cd852e799bdd47
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/inc \
29 $(eval $(call gb_Library_add_defs,vclplug_gtk,\
30 -DVCLPLUG_GTK_IMPLEMENTATION \
33 ifeq ($(ENABLE_DBUS),TRUE)
34 $(eval $(call gb_Library_add_defs,vclplug_gtk,\
35 -DENABLE_DBUS \
37 endif
39 $(eval $(call gb_Library_use_custom_headers,vclplug_gtk,\
40 officecfg/registry \
43 $(eval $(call gb_Library_use_sdk_api,vclplug_gtk))
45 $(eval $(call gb_Library_use_libraries,vclplug_gtk,\
46 vclplug_gen \
47 vcl \
48 tl \
49 utl \
50 sot \
51 ucbhelper \
52 basegfx \
53 comphelper \
54 cppuhelper \
55 i18nlangtag \
56 i18nutil \
57 $(if $(ENABLE_JAVA), \
58 jvmaccess) \
59 cppu \
60 sal \
63 $(eval $(call gb_Library_use_externals,vclplug_gtk,\
64 boost_headers \
65 cairo \
66 dbus \
67 gio \
68 gtk \
69 gthread \
70 icuuc \
73 $(eval $(call gb_Library_add_libs,vclplug_gtk,\
74 -lX11 \
75 -lXext \
76 -lSM \
77 -lICE \
80 $(eval $(call gb_Library_add_exception_objects,vclplug_gtk,\
81 vcl/unx/gtk/a11y/atkaction \
82 vcl/unx/gtk/a11y/atkbridge \
83 vcl/unx/gtk/a11y/atkcomponent \
84 vcl/unx/gtk/a11y/atkeditabletext \
85 vcl/unx/gtk/a11y/atkfactory \
86 vcl/unx/gtk/a11y/atkhypertext \
87 vcl/unx/gtk/a11y/atkimage \
88 vcl/unx/gtk/a11y/atklistener \
89 vcl/unx/gtk/a11y/atkregistry \
90 vcl/unx/gtk/a11y/atkselection \
91 vcl/unx/gtk/a11y/atktable \
92 vcl/unx/gtk/a11y/atktextattributes \
93 vcl/unx/gtk/a11y/atktext \
94 vcl/unx/gtk/a11y/atkutil \
95 vcl/unx/gtk/a11y/atkvalue \
96 vcl/unx/gtk/a11y/atkwindow \
97 vcl/unx/gtk/a11y/atkwrapper \
98 vcl/unx/gtk/app/gtkdata \
99 vcl/unx/gtk/app/gtkinst \
100 vcl/unx/gtk/app/gtksys \
101 vcl/unx/gtk/gdi/salnativewidgets-gtk \
102 vcl/unx/gtk/window/gtksalframe \
103 vcl/unx/gtk/window/gtkobject \
104 vcl/unx/gtk/fpicker/resourceprovider \
105 vcl/unx/gtk/fpicker/SalGtkPicker \
106 vcl/unx/gtk/fpicker/SalGtkFilePicker \
107 vcl/unx/gtk/fpicker/SalGtkFolderPicker \
110 ifneq ($(ENABLE_DBUS),)
111 ifneq ($(ENABLE_GIO),)
112 $(eval $(call gb_Library_add_exception_objects,vclplug_gtk,\
113 vcl/unx/gtk/window/gloactiongroup \
114 vcl/unx/gtk/window/gtksalmenu \
115 vcl/unx/gtk/window/glomenu \
116 vcl/unx/gtk/window/hudawareness \
118 endif
119 endif
121 ifeq ($(ENABLE_GTK_PRINT),TRUE)
122 $(eval $(call gb_Library_add_exception_objects,vclplug_gtk,\
123 vcl/unx/gtk/gdi/gtkprintwrapper \
124 vcl/unx/gtk/gdi/salprn-gtk \
126 endif
128 ifeq ($(OS),LINUX)
129 $(eval $(call gb_Library_add_libs,vclplug_gtk,\
130 -lm \
131 -ldl \
132 -lpthread \
134 endif
136 # vim: set noet sw=4 ts=4: