2011-08-10 02:12:48 +09:00
|
|
|
# -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*-
|
2011-01-25 17:35:20 +01:00
|
|
|
#
|
2012-11-06 12:12:33 +00:00
|
|
|
# This file is part of the LibreOffice project.
|
2011-01-25 17:35:20 +01:00
|
|
|
#
|
2012-11-06 12:12:33 +00:00
|
|
|
# This Source Code Form is subject to the terms of the Mozilla Public
|
|
|
|
# License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
|
|
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
2011-01-25 17:35:20 +01:00
|
|
|
#
|
2012-11-06 12:12:33 +00:00
|
|
|
# This file incorporates work covered by the following license notice:
|
2011-01-25 17:35:20 +01:00
|
|
|
#
|
2012-11-06 12:12:33 +00:00
|
|
|
# Licensed to the Apache Software Foundation (ASF) under one or more
|
|
|
|
# contributor license agreements. See the NOTICE file distributed
|
|
|
|
# with this work for additional information regarding copyright
|
|
|
|
# ownership. The ASF licenses this file to you under the Apache
|
|
|
|
# License, Version 2.0 (the "License"); you may not use this file
|
|
|
|
# except in compliance with the License. You may obtain a copy of
|
|
|
|
# the License at http://www.apache.org/licenses/LICENSE-2.0 .
|
2011-01-25 17:35:20 +01:00
|
|
|
#
|
|
|
|
|
|
|
|
$(eval $(call gb_Library_Library,vclplug_gtk))
|
|
|
|
|
|
|
|
$(eval $(call gb_Library_set_include,vclplug_gtk,\
|
|
|
|
$$(INCLUDE) \
|
|
|
|
-I$(SRCDIR)/vcl/inc \
|
2011-11-04 14:40:18 +00:00
|
|
|
-I$(SRCDIR)/vcl/unx \
|
2011-12-01 07:09:27 +01:00
|
|
|
-I$(SRCDIR)/vcl/unx/gtk/inc \
|
2011-01-25 17:35:20 +01:00
|
|
|
))
|
|
|
|
|
2011-04-13 16:11:41 +00:00
|
|
|
$(eval $(call gb_Library_add_defs,vclplug_gtk,\
|
2011-01-25 17:35:20 +01:00
|
|
|
-DVCLPLUG_GTK_IMPLEMENTATION \
|
|
|
|
))
|
|
|
|
|
2012-11-14 23:38:42 +01:00
|
|
|
ifeq ($(ENABLE_DBUS),TRUE)
|
|
|
|
$(eval $(call gb_Library_add_defs,vclplug_gtk,\
|
|
|
|
-DENABLE_DBUS \
|
|
|
|
))
|
|
|
|
endif
|
|
|
|
|
2013-05-07 14:23:10 +02:00
|
|
|
$(eval $(call gb_Library_use_custom_headers,vclplug_gtk,\
|
|
|
|
officecfg/registry \
|
|
|
|
))
|
|
|
|
|
2012-07-02 13:00:50 +01:00
|
|
|
$(eval $(call gb_Library_use_sdk_api,vclplug_gtk))
|
2011-05-30 18:47:58 +02:00
|
|
|
|
2012-04-07 23:22:08 +02:00
|
|
|
$(eval $(call gb_Library_use_libraries,vclplug_gtk,\
|
2011-01-25 17:35:20 +01:00
|
|
|
vclplug_gen \
|
|
|
|
vcl \
|
|
|
|
tl \
|
|
|
|
utl \
|
|
|
|
sot \
|
|
|
|
ucbhelper \
|
|
|
|
basegfx \
|
|
|
|
comphelper \
|
|
|
|
cppuhelper \
|
2013-04-05 18:40:39 +02:00
|
|
|
i18nlangtag \
|
2011-01-25 17:35:20 +01:00
|
|
|
i18nutil \
|
2013-08-19 00:41:12 +03:00
|
|
|
$(if $(ENABLE_JAVA), \
|
2013-04-11 00:38:55 +03:00
|
|
|
jvmaccess) \
|
2011-01-25 17:35:20 +01:00
|
|
|
cppu \
|
|
|
|
sal \
|
|
|
|
))
|
|
|
|
|
2011-07-23 15:23:24 +02:00
|
|
|
$(eval $(call gb_Library_use_externals,vclplug_gtk,\
|
2013-01-26 21:19:13 +01:00
|
|
|
boost_headers \
|
2012-11-10 22:14:42 +01:00
|
|
|
cairo \
|
2011-11-02 13:04:19 +01:00
|
|
|
dbus \
|
2012-11-14 11:39:53 +00:00
|
|
|
gio \
|
2014-11-11 16:16:57 -05:00
|
|
|
glew \
|
2011-07-26 15:18:07 +02:00
|
|
|
gtk \
|
|
|
|
gthread \
|
2011-04-13 16:11:40 +00:00
|
|
|
icuuc \
|
2011-07-23 15:23:24 +02:00
|
|
|
))
|
2011-04-13 16:11:40 +00:00
|
|
|
|
2012-09-28 12:25:50 +02:00
|
|
|
$(eval $(call gb_Library_add_libs,vclplug_gtk,\
|
|
|
|
-lX11 \
|
|
|
|
-lXext \
|
|
|
|
-lSM \
|
|
|
|
-lICE \
|
|
|
|
))
|
|
|
|
|
2011-01-25 17:35:20 +01:00
|
|
|
$(eval $(call gb_Library_add_exception_objects,vclplug_gtk,\
|
|
|
|
vcl/unx/gtk/a11y/atkaction \
|
|
|
|
vcl/unx/gtk/a11y/atkbridge \
|
|
|
|
vcl/unx/gtk/a11y/atkcomponent \
|
|
|
|
vcl/unx/gtk/a11y/atkeditabletext \
|
|
|
|
vcl/unx/gtk/a11y/atkfactory \
|
|
|
|
vcl/unx/gtk/a11y/atkhypertext \
|
|
|
|
vcl/unx/gtk/a11y/atkimage \
|
|
|
|
vcl/unx/gtk/a11y/atklistener \
|
|
|
|
vcl/unx/gtk/a11y/atkregistry \
|
|
|
|
vcl/unx/gtk/a11y/atkselection \
|
|
|
|
vcl/unx/gtk/a11y/atktable \
|
|
|
|
vcl/unx/gtk/a11y/atktextattributes \
|
|
|
|
vcl/unx/gtk/a11y/atktext \
|
|
|
|
vcl/unx/gtk/a11y/atkutil \
|
|
|
|
vcl/unx/gtk/a11y/atkvalue \
|
|
|
|
vcl/unx/gtk/a11y/atkwindow \
|
|
|
|
vcl/unx/gtk/a11y/atkwrapper \
|
|
|
|
vcl/unx/gtk/app/gtkdata \
|
|
|
|
vcl/unx/gtk/app/gtkinst \
|
|
|
|
vcl/unx/gtk/app/gtksys \
|
|
|
|
vcl/unx/gtk/gdi/salnativewidgets-gtk \
|
2013-04-05 13:45:48 +02:00
|
|
|
vcl/unx/gtk/window/gtksalframe \
|
2011-01-25 17:35:20 +01:00
|
|
|
vcl/unx/gtk/window/gtkobject \
|
2012-07-30 13:11:09 +01:00
|
|
|
vcl/unx/gtk/fpicker/resourceprovider \
|
|
|
|
vcl/unx/gtk/fpicker/SalGtkPicker \
|
|
|
|
vcl/unx/gtk/fpicker/SalGtkFilePicker \
|
|
|
|
vcl/unx/gtk/fpicker/SalGtkFolderPicker \
|
2011-01-25 17:35:20 +01:00
|
|
|
))
|
|
|
|
|
2012-11-14 09:40:46 +01:00
|
|
|
ifneq ($(ENABLE_DBUS),)
|
|
|
|
ifneq ($(ENABLE_GIO),)
|
|
|
|
$(eval $(call gb_Library_add_exception_objects,vclplug_gtk,\
|
|
|
|
vcl/unx/gtk/window/gloactiongroup \
|
|
|
|
vcl/unx/gtk/window/gtksalmenu \
|
|
|
|
vcl/unx/gtk/window/glomenu \
|
|
|
|
vcl/unx/gtk/window/hudawareness \
|
|
|
|
))
|
|
|
|
endif
|
|
|
|
endif
|
|
|
|
|
2011-12-01 13:39:09 +01:00
|
|
|
ifeq ($(ENABLE_GTK_PRINT),TRUE)
|
|
|
|
$(eval $(call gb_Library_add_exception_objects,vclplug_gtk,\
|
|
|
|
vcl/unx/gtk/gdi/gtkprintwrapper \
|
|
|
|
vcl/unx/gtk/gdi/salprn-gtk \
|
|
|
|
))
|
|
|
|
endif
|
|
|
|
|
2011-01-25 17:35:20 +01:00
|
|
|
ifeq ($(OS),LINUX)
|
2012-09-28 00:54:49 +02:00
|
|
|
$(eval $(call gb_Library_add_libs,vclplug_gtk,\
|
|
|
|
-lm \
|
|
|
|
-ldl \
|
|
|
|
-lpthread \
|
2011-01-25 17:35:20 +01:00
|
|
|
))
|
|
|
|
endif
|
2012-09-28 00:54:49 +02:00
|
|
|
|
2011-01-25 17:35:20 +01:00
|
|
|
# vim: set noet sw=4 ts=4:
|