Version 4.0.0.1, tag libreoffice-4.0.0.1
[LibreOffice.git] / vcl / Library_vclplug_gtk3.mk
blob1523b90e9f0d1f737f7d7cf7d0d3b8efdc1a0508
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))
22 $(eval $(call gb_Library_set_warnings_not_errors,vclplug_gtk3))
24 $(eval $(call gb_Library_set_include,vclplug_gtk3,\
25 $$(INCLUDE) \
26 -I$(SRCDIR)/vcl/inc \
27 -I$(SRCDIR)/vcl/unx \
28 -I$(SRCDIR)/vcl/unx/gtk3/inc \
31 $(eval $(call gb_Library_add_cxxflags,vclplug_gtk3,\
32 $$(INCLUDE) \
33 $$(GTK3_CFLAGS) \
36 $(eval $(call gb_Library_add_defs,vclplug_gtk3,\
37 -DVCLPLUG_GTK_IMPLEMENTATION \
38 -DLIBO_VERSION=\"$(UPD)$(LAST_MINOR)\" \
41 $(eval $(call gb_Library_use_sdk_api,vclplug_gtk3))
43 $(eval $(call gb_Library_add_libs,vclplug_gtk3,\
44 $(GTK3_LIBS) \
45 $(GTHREAD_LIBS) \
46 -lX11 \
47 -lXext \
48 -lSM \
49 -lICE \
52 $(eval $(call gb_Library_use_libraries,vclplug_gtk3,\
53 vcl \
54 tl \
55 utl \
56 sot \
57 ucbhelper \
58 basegfx \
59 basebmp \
60 comphelper \
61 cppuhelper \
62 i18nisolang1 \
63 i18nutil \
64 jvmaccess \
65 cppu \
66 sal \
69 $(eval $(call gb_Library_use_externals,vclplug_gtk3,\
70 dbus \
73 $(eval $(call gb_Library_add_exception_objects,vclplug_gtk3,\
74 vcl/unx/gtk3/a11y/gtk3atkaction \
75 vcl/unx/gtk3/a11y/gtk3atkbridge \
76 vcl/unx/gtk3/a11y/gtk3atkcomponent \
77 vcl/unx/gtk3/a11y/gtk3atkeditabletext \
78 vcl/unx/gtk3/a11y/gtk3atkfactory \
79 vcl/unx/gtk3/a11y/gtk3atkhypertext \
80 vcl/unx/gtk3/a11y/gtk3atkimage \
81 vcl/unx/gtk3/a11y/gtk3atklistener \
82 vcl/unx/gtk3/a11y/gtk3atkregistry \
83 vcl/unx/gtk3/a11y/gtk3atkselection \
84 vcl/unx/gtk3/a11y/gtk3atktable \
85 vcl/unx/gtk3/a11y/gtk3atktextattributes \
86 vcl/unx/gtk3/a11y/gtk3atktext \
87 vcl/unx/gtk3/a11y/gtk3atkutil \
88 vcl/unx/gtk3/a11y/gtk3atkvalue \
89 vcl/unx/gtk3/a11y/gtk3atkwindow \
90 vcl/unx/gtk3/a11y/gtk3atkwrapper \
91 vcl/unx/gtk3/app/gtk3gtkdata \
92 vcl/unx/gtk3/app/gtk3gtkinst \
93 vcl/unx/gtk3/app/gtk3gtksys \
94 vcl/unx/gtk3/app/gtk3fpicker \
95 vcl/unx/gtk3/gdi/gtk3gtkprintwrapper \
96 vcl/unx/gtk3/gdi/gtk3salnativewidgets-gtk \
97 vcl/unx/gtk3/gdi/gtk3salprn-gtk \
98 vcl/unx/gtk3/window/gtk3gtkframe \
99 vcl/unx/gtk3/window/gtk3gtkobject \
100 vcl/unx/gtk3/window/gtk3gtksalmenu \
101 vcl/unx/gtk3/window/gtk3glomenu \
102 vcl/unx/gtk3/window/gtk3gloactiongroup \
103 vcl/unx/gtk3/window/gtk3hudawareness \
106 $(eval $(call gb_Library_use_static_libraries,vclplug_gtk3,\
107 headless \
110 ifeq ($(OS),LINUX)
111 $(eval $(call gb_Library_add_libs,vclplug_gtk3,\
112 -lm \
113 -ldl \
114 -lpthread \
116 endif
118 # vim: set noet sw=4 ts=4: