make install and dev-install build-depend on all
[LibreOffice.git] / vcl / Library_vclplug_gtk.mk
blob2e1983ecdb84cd2709dcbeb5e9f2d18af7d1cb66
1 # -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*-
2 #*************************************************************************
4 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
5 #
6 # Copyright 2000, 2010 Oracle and/or its affiliates.
8 # OpenOffice.org - a multi-platform office productivity suite
10 # This file is part of OpenOffice.org.
12 # OpenOffice.org is free software: you can redistribute it and/or modify
13 # it under the terms of the GNU Lesser General Public License version 3
14 # only, as published by the Free Software Foundation.
16 # OpenOffice.org is distributed in the hope that it will be useful,
17 # but WITHOUT ANY WARRANTY; without even the implied warranty of
18 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19 # GNU Lesser General Public License version 3 for more details
20 # (a copy is included in the LICENSE file that accompanied this code).
22 # You should have received a copy of the GNU Lesser General Public License
23 # version 3 along with OpenOffice.org. If not, see
24 # <http://www.openoffice.org/license.html>
25 # for a copy of the LGPLv3 License.
27 #*************************************************************************
29 $(eval $(call gb_Library_Library,vclplug_gtk))
31 $(eval $(call gb_Library_set_include,vclplug_gtk,\
32 $$(INCLUDE) \
33 -I$(SRCDIR)/vcl/inc \
34 -I$(SRCDIR)/vcl/inc/pch \
35 -I$(SRCDIR)/solenv/inc \
36 -I$(OUTDIR)/inc \
39 $(eval $(call gb_Library_add_defs,vclplug_gtk,\
40 -DVCLPLUG_GTK_IMPLEMENTATION \
41 -DVERSION=\"$(UPD)$(LAST_MINOR)\" \
44 ifneq ($(ENABLE_DBUS),)
45 # FIXME: pkg-config calls should be done in configure, and this should be _use_external
46 $(eval $(call gb_Library_set_include,vclplug_gtk,\
47 $$(INCLUDE) \
48 $(filter -I%,$(shell pkg-config --cflags dbus-glib-1)) \
50 $(eval $(call gb_Library_add_defs,vclplug_gtk,\
51 -DENABLE_DBUS \
53 $(eval $(call gb_Library_add_libs,vclplug_gtk,\
54 $(shell pkg-config --libs dbus-glib-1)\
56 endif
58 $(eval $(call gb_Library_add_api,vclplug_gtk,\
59 offapi \
60 udkapi \
63 $(eval $(call gb_Library_add_linked_libs,vclplug_gtk,\
64 vclplug_gen \
65 vcl \
66 tl \
67 utl \
68 sot \
69 ucbhelper \
70 basegfx \
71 comphelper \
72 cppuhelper \
73 i18nisolang1 \
74 i18npaper \
75 i18nutil \
76 jvmaccess \
77 cppu \
78 sal \
79 X11 \
80 Xext \
81 SM \
82 ICE \
83 $(gb_STDLIBS) \
86 $(eval $(call gb_Library_use_externals,vclplug_gtk,\
87 gtk \
88 gthread \
89 icule \
90 icuuc \
93 $(eval $(call gb_Library_add_exception_objects,vclplug_gtk,\
94 vcl/unx/gtk/a11y/atkaction \
95 vcl/unx/gtk/a11y/atkbridge \
96 vcl/unx/gtk/a11y/atkcomponent \
97 vcl/unx/gtk/a11y/atkeditabletext \
98 vcl/unx/gtk/a11y/atkfactory \
99 vcl/unx/gtk/a11y/atkhypertext \
100 vcl/unx/gtk/a11y/atkimage \
101 vcl/unx/gtk/a11y/atklistener \
102 vcl/unx/gtk/a11y/atkregistry \
103 vcl/unx/gtk/a11y/atkselection \
104 vcl/unx/gtk/a11y/atktable \
105 vcl/unx/gtk/a11y/atktextattributes \
106 vcl/unx/gtk/a11y/atktext \
107 vcl/unx/gtk/a11y/atkutil \
108 vcl/unx/gtk/a11y/atkvalue \
109 vcl/unx/gtk/a11y/atkwindow \
110 vcl/unx/gtk/a11y/atkwrapper \
111 vcl/unx/gtk/app/gtkdata \
112 vcl/unx/gtk/app/gtkinst \
113 vcl/unx/gtk/app/gtksys \
114 vcl/unx/gtk/gdi/salnativewidgets-gtk \
115 vcl/unx/gtk/window/gtkframe \
116 vcl/unx/gtk/window/gtkobject \
119 ifeq ($(OS),LINUX)
120 $(eval $(call gb_Library_add_linked_libs,vclplug_gtk,\
121 dl \
123 pthread \
125 endif
126 # vim: set noet sw=4 ts=4: