|
Packit Service |
1d8f1c |
# vim:set noet ts=4:
|
|
Packit Service |
1d8f1c |
#
|
|
Packit Service |
1d8f1c |
# ibus - The Input Bus
|
|
Packit Service |
1d8f1c |
#
|
|
Packit Service |
1d8f1c |
# Copyright (c) 2007-2013 Peng Huang <shawn.p.huang@gmail.com>
|
|
Packit Service |
1d8f1c |
# Copyright (c) 2007-2013 Red Hat, Inc.
|
|
Packit Service |
1d8f1c |
#
|
|
Packit Service |
1d8f1c |
# This library is free software; you can redistribute it and/or
|
|
Packit Service |
1d8f1c |
# modify it under the terms of the GNU Lesser General Public
|
|
Packit Service |
1d8f1c |
# License as published by the Free Software Foundation; either
|
|
Packit Service |
1d8f1c |
# version 2.1 of the License, or (at your option) any later version.
|
|
Packit Service |
1d8f1c |
#
|
|
Packit Service |
1d8f1c |
# This library is distributed in the hope that it will be useful,
|
|
Packit Service |
1d8f1c |
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
Packit Service |
1d8f1c |
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
Packit Service |
1d8f1c |
# Lesser General Public License for more details.
|
|
Packit Service |
1d8f1c |
#
|
|
Packit Service |
1d8f1c |
# You should have received a copy of the GNU Lesser General Public
|
|
Packit Service |
1d8f1c |
# License along with this library; if not, write to the Free Software
|
|
Packit Service |
1d8f1c |
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301
|
|
Packit Service |
1d8f1c |
# USA
|
|
Packit Service |
1d8f1c |
|
|
Packit Service |
1d8f1c |
NULL =
|
|
Packit Service |
1d8f1c |
|
|
Packit Service |
1d8f1c |
libibus = $(top_builddir)/src/libibus-@IBUS_API_VERSION@.la
|
|
Packit Service |
1d8f1c |
|
|
Packit Service |
1d8f1c |
AM_CPPFLAGS = \
|
|
Packit Service |
1d8f1c |
-I$(top_srcdir)/src \
|
|
Packit Service |
1d8f1c |
-I$(top_builddir)/src \
|
|
Packit Service |
1d8f1c |
$(NULL)
|
|
Packit Service |
1d8f1c |
|
|
Packit Service |
1d8f1c |
AM_CFLAGS = \
|
|
Packit Service |
1d8f1c |
@GLIB2_CFLAGS@ \
|
|
Packit Service |
1d8f1c |
@GIO2_CFLAGS@ \
|
|
Packit Service |
1d8f1c |
@GTHREAD2_CFLAGS@ \
|
|
Packit Service |
1d8f1c |
-DG_LOG_DOMAIN=\"IBUS\" \
|
|
Packit Service |
1d8f1c |
-DPKGDATADIR=\"$(pkgdatadir)\" \
|
|
Packit Service |
1d8f1c |
-DLIBEXECDIR=\"$(libexecdir)\" \
|
|
Packit Service |
1d8f1c |
-DBINDIR=\"@bindir@\" \
|
|
Packit Service |
1d8f1c |
-DIBUS_DISABLE_DEPRECATED \
|
|
Packit Service |
1d8f1c |
$(NULL)
|
|
Packit Service |
1d8f1c |
AM_LDADD = \
|
|
Packit Service |
1d8f1c |
@GOBJECT2_LIBS@ \
|
|
Packit Service |
1d8f1c |
@GLIB2_LIBS@ \
|
|
Packit Service |
1d8f1c |
@GIO2_LIBS@ \
|
|
Packit Service |
1d8f1c |
@GTHREAD2_LIBS@ \
|
|
Packit Service |
1d8f1c |
$(libibus) \
|
|
Packit Service |
1d8f1c |
$(NULL)
|
|
Packit Service |
1d8f1c |
|
|
Packit Service |
1d8f1c |
ibus_dbus_built_sources = ibus-portal-dbus.c ibus-portal-dbus.h
|
|
Packit Service |
1d8f1c |
BUILT_SOURCES = $(ibus_dbus_built_sources)
|
|
Packit Service |
1d8f1c |
|
|
Packit Service |
1d8f1c |
libexec_PROGRAMS = ibus-portal
|
|
Packit Service |
1d8f1c |
ibus_portal_DEPENDENCIES = \
|
|
Packit Service |
1d8f1c |
$(libibus) \
|
|
Packit Service |
1d8f1c |
$(NULL)
|
|
Packit Service |
1d8f1c |
ibus_portal_SOURCES = \
|
|
Packit Service |
1d8f1c |
portal.c \
|
|
Packit Service |
1d8f1c |
$(ibus_dbus_built_sources) \
|
|
Packit Service |
1d8f1c |
$(NULL)
|
|
Packit Service |
1d8f1c |
ibus_portal_CFLAGS = \
|
|
Packit Service |
1d8f1c |
$(AM_CFLAGS) \
|
|
Packit Service |
1d8f1c |
$(NULL)
|
|
Packit Service |
1d8f1c |
ibus_portal_LDADD = \
|
|
Packit Service |
1d8f1c |
$(AM_LDADD) \
|
|
Packit Service |
1d8f1c |
$(NULL)
|
|
Packit Service |
1d8f1c |
|
|
Packit Service |
1d8f1c |
$(libibus):
|
|
Packit Service |
1d8f1c |
$(MAKE) -C $(top_builddir)/src
|
|
Packit Service |
1d8f1c |
|
|
Packit Service |
1d8f1c |
dbusservice_in_files = org.freedesktop.portal.IBus.service.in
|
|
Packit Service |
1d8f1c |
dbusservice_DATA = $(dbusservice_in_files:.service.in=.service)
|
|
Packit Service |
1d8f1c |
dbusservicedir=${datadir}/dbus-1/services
|
|
Packit Service |
1d8f1c |
|
|
Packit Service |
1d8f1c |
org.freedesktop.portal.IBus.service: org.freedesktop.portal.IBus.service.in
|
|
Packit Service |
1d8f1c |
$(AM_V_GEN) sed -e "s|\@libexecdir\@|$(libexecdir)|" $< > $@.tmp && mv $@.tmp $@
|
|
Packit Service |
1d8f1c |
|
|
Packit Service |
1d8f1c |
$(ibus_dbus_built_sources) : org.freedesktop.IBus.Portal.xml
|
|
Packit Service |
1d8f1c |
$(AM_V_GEN) $(GDBUS_CODEGEN) \
|
|
Packit Service |
1d8f1c |
--interface-prefix org.freedesktop.IBus. \
|
|
Packit Service |
1d8f1c |
--c-namespace IBusDbus \
|
|
Packit Service |
1d8f1c |
--generate-c-code $(builddir)/ibus-portal-dbus \
|
|
Packit Service |
1d8f1c |
$^ \
|
|
Packit Service |
1d8f1c |
$(NULL)
|
|
Packit Service |
1d8f1c |
|
|
Packit Service |
1d8f1c |
EXTRA_DIST = \
|
|
Packit Service |
1d8f1c |
$(dbusservice_in_files) \
|
|
Packit Service |
1d8f1c |
org.freedesktop.IBus.Portal.xml \
|
|
Packit Service |
1d8f1c |
$(NULL)
|
|
Packit Service |
1d8f1c |
|
|
Packit Service |
1d8f1c |
CLEANFILES = \
|
|
Packit Service |
1d8f1c |
$(dbusservice_DATA) \
|
|
Packit Service |
1d8f1c |
$(NULL)
|
|
Packit Service |
1d8f1c |
|
|
Packit Service |
1d8f1c |
|
|
Packit Service |
1d8f1c |
-include $(top_srcdir)/git.mk
|