office-gobmx/vcl/Library_vclplug_gtk3.mk

131 lines
3.6 KiB
Makefile
Raw Normal View History

# -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*-
2011-06-14 08:07:28 -05:00
#*************************************************************************
#
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# Copyright 2000, 2010 Oracle and/or its affiliates.
#
# OpenOffice.org - a multi-platform office productivity suite
#
# This file is part of OpenOffice.org.
#
# OpenOffice.org is free software: you can redistribute it and/or modify
# it under the terms of the GNU Lesser General Public License version 3
# only, as published by the Free Software Foundation.
#
# OpenOffice.org is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU Lesser General Public License version 3 for more details
# (a copy is included in the LICENSE file that accompanied this code).
#
# You should have received a copy of the GNU Lesser General Public License
# version 3 along with OpenOffice.org. If not, see
# <http://www.openoffice.org/license.html>
# for a copy of the LGPLv3 License.
#
#*************************************************************************
$(eval $(call gb_Library_Library,vclplug_gtk3))
$(eval $(call gb_Library_set_include,vclplug_gtk3,\
$$(INCLUDE) \
-I$(SRCDIR)/vcl/inc \
-I$(SRCDIR)/vcl/unx \
2011-12-01 03:40:05 -06:00
-I$(SRCDIR)/vcl/unx/gtk3/inc \
2011-06-14 08:07:28 -05:00
-I$(SRCDIR)/solenv/inc \
-I$(OUTDIR)/inc \
))
2011-07-25 08:10:55 -05:00
$(eval $(call gb_Library_add_cxxflags,vclplug_gtk3,\
$$(INCLUDE) \
2011-06-14 08:07:28 -05:00
$$(GTK3_CFLAGS) \
))
2011-07-25 08:10:55 -05:00
$(eval $(call gb_Library_add_defs,vclplug_gtk3,\
2011-06-14 08:07:28 -05:00
-DVCLPLUG_GTK_IMPLEMENTATION \
-DLIBO_VERSION=\"$(UPD)$(LAST_MINOR)\" \
2011-06-14 08:07:28 -05:00
))
$(eval $(call gb_Library_add_api,vclplug_gtk3,\
offapi \
udkapi \
))
2011-07-25 08:10:55 -05:00
$(eval $(call gb_Library_add_libs,vclplug_gtk3,\
2011-06-14 08:07:28 -05:00
$$(GTK3_LIBS) \
$$(GTHREAD_LIBS) \
))
$(eval $(call gb_Library_add_linked_libs,vclplug_gtk3,\
vcl \
tl \
utl \
sot \
ucbhelper \
basegfx \
2011-07-25 08:10:55 -05:00
basebmp \
2011-06-14 08:07:28 -05:00
comphelper \
cppuhelper \
i18nisolang1 \
i18npaper \
i18nutil \
jvmaccess \
cppu \
sal \
X11 \
Xext \
SM \
ICE \
$(gb_STDLIBS) \
))
2011-11-02 12:12:33 -05:00
$(eval $(call gb_Library_use_externals,vclplug_gtk3,\
2011-11-02 07:04:19 -05:00
dbus \
))
2011-06-14 08:07:28 -05:00
$(eval $(call gb_Library_add_exception_objects,vclplug_gtk3,\
vcl/unx/gtk3/a11y/gtk3atkaction \
vcl/unx/gtk3/a11y/gtk3atkbridge \
vcl/unx/gtk3/a11y/gtk3atkcomponent \
vcl/unx/gtk3/a11y/gtk3atkeditabletext \
vcl/unx/gtk3/a11y/gtk3atkfactory \
vcl/unx/gtk3/a11y/gtk3atkhypertext \
vcl/unx/gtk3/a11y/gtk3atkimage \
vcl/unx/gtk3/a11y/gtk3atklistener \
vcl/unx/gtk3/a11y/gtk3atkregistry \
vcl/unx/gtk3/a11y/gtk3atkselection \
vcl/unx/gtk3/a11y/gtk3atktable \
vcl/unx/gtk3/a11y/gtk3atktextattributes \
vcl/unx/gtk3/a11y/gtk3atktext \
vcl/unx/gtk3/a11y/gtk3atkutil \
vcl/unx/gtk3/a11y/gtk3atkvalue \
vcl/unx/gtk3/a11y/gtk3atkwindow \
vcl/unx/gtk3/a11y/gtk3atkwrapper \
vcl/unx/gtk3/app/gtk3gtkdata \
vcl/unx/gtk3/app/gtk3gtkinst \
vcl/unx/gtk3/app/gtk3gtksys \
vcl/unx/gtk3/app/gtk3fpicker \
vcl/unx/gtk3/gdi/gtk3gtkprintwrapper \
vcl/unx/gtk3/gdi/gtk3salnativewidgets-gtk \
vcl/unx/gtk3/gdi/gtk3salprn-gtk \
2011-06-14 08:07:28 -05:00
vcl/unx/gtk3/window/gtk3gtkframe \
vcl/unx/gtk3/window/gtk3gtkobject \
vcl/headless/svpbmp \
vcl/headless/svpdummies \
vcl/headless/svpelement \
vcl/headless/svpframe \
vcl/headless/svpprn \
vcl/headless/svptext \
vcl/headless/svpvd \
2011-06-14 08:07:28 -05:00
))
ifeq ($(OS),LINUX)
$(eval $(call gb_Library_add_linked_libs,vclplug_gtk3,\
dl \
m \
pthread \
))
endif
# vim: set noet sw=4 ts=4: