# vim:set noet ts=4:
#
# ibus - The Input Bus
#
# Copyright (c) 2007-2010 Peng Huang <shawn.p.huang@gmail.com>
# Copyright (c) 2007-2010 Red Hat, Inc.
#
# This library is free software; you can redistribute it and/or
# modify it under the terms of the GNU Lesser General Public
# License as published by the Free Software Foundation; either
# version 2.1 of the License, or (at your option) any later version.
#
# This library 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 for more details.
#
# You should have received a copy of the GNU Lesser General Public
# License along with this library; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301
# USA
libibus = $(top_builddir)/src/libibus-@IBUS_API_VERSION@.la
libexec_PROGRAMS = \
ibus-gconf \
$(NULL)
ibus_gconf_SOURCES = \
main.c \
config.c \
config.h \
$(NULL)
ibus_gconf_CFLAGS = \
@GLIB2_CFLAGS@ \
@GIO2_CFLAGS@ \
@GCONF_CFLAGS@ \
-DG_LOG_DOMAIN=\"IBUS\" \
-I$(top_srcdir)/src \
-I$(top_builddir)/src \
$(NULL)
ibus_gconf_LDADD = \
@GOBJECT2_LIBS@ \
@GLIB2_LIBS@ \
@GIO2_LIBS@ \
@GCONF_LIBS@ \
$(libibus) \
$(NULL)
ibus_gconf_DEPENDENCIES = \
$(libibus) \
$(NULL)
component_DATA = \
gconf.xml \
$(NULL)
componentdir = $(pkgdatadir)/component
CLEANFILES = \
gconf.xml \
*.pyc \
$(NULL)
EXTRA_DIST = \
gconf.xml.in \
$(NULL)
gconf.xml: gconf.xml.in
$(AM_V_GEN) sed \
-e 's|@VERSION[@]|$(VERSION)|g' \
-e 's|@libexecdir[@]|$(libexecdir)|g' $< > $@.tmp && \
mv $@.tmp $@
$(libibus):
$(MAKE) -C $(top_builddir)/src
-include $(top_srcdir)/git.mk