1 # -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*-
2 #*************************************************************************
4 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
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
,\
34 -I
$(SRCDIR
)/vcl
/inc
/pch \
35 -I
$(SRCDIR
)/solenv
/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
,\
48 $(filter -I
%,$(shell pkg-config
--cflags dbus-glib-1
)) \
50 $(eval
$(call gb_Library_add_defs
,vclplug_gtk
,\
53 $(eval
$(call gb_Library_add_libs
,vclplug_gtk
,\
54 $(shell pkg-config
--libs dbus-glib-1
)\
58 $(eval
$(call gb_Library_add_api
,vclplug_gtk
,\
63 $(eval
$(call gb_Library_add_linked_libs
,vclplug_gtk
,\
86 $(eval
$(call gb_Library_use_externals
,vclplug_gtk
,\
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 \
120 $(eval
$(call gb_Library_add_linked_libs
,vclplug_gtk
,\
126 # vim: set noet sw=4 ts=4: