Blame client/gtk2/Makefile.am

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-2010 Peng Huang <shawn.p.huang@gmail.com>
Packit Service 1d8f1c
# Copyright (c) 2007-2010 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
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
immoduledir = @GTK2_IM_MODULEDIR@
Packit Service 1d8f1c
immodule_LTLIBRARIES = im-ibus.la
Packit Service 1d8f1c
Packit Service 1d8f1c
im_ibus_la_SOURCES = \
Packit Service 1d8f1c
	ibusim.c \
Packit Service 1d8f1c
	ibusimcontext.c \
Packit Service 1d8f1c
	ibusimcontext.h \
Packit Service 1d8f1c
	$(NULL)
Packit Service 1d8f1c
Packit Service 1d8f1c
im_ibus_la_DEPENDENCIES = $(libibus)
Packit Service 1d8f1c
Packit Service 1d8f1c
im_ibus_la_CFLAGS = \
Packit Service 1d8f1c
	@GTK2_CFLAGS@ \
Packit Service 1d8f1c
	@DBUS_CFLAGS@ \
Packit Service 1d8f1c
	-DG_LOG_DOMAIN=\"IBUS\" \
Packit Service 1d8f1c
	$(NULL)
Packit Service 1d8f1c
Packit Service 1d8f1c
im_ibus_la_LIBADD = \
Packit Service 1d8f1c
	@GTK2_LIBS@ \
Packit Service 1d8f1c
	@DBUS_LIBS@ \
Packit Service 1d8f1c
	$(libibus) \
Packit Service 1d8f1c
	$(NULL)
Packit Service 1d8f1c
im_ibus_la_LDFLAGS = \
Packit Service 1d8f1c
	-avoid-version \
Packit Service 1d8f1c
	-module \
Packit Service 1d8f1c
	$(NULL)
Packit Service 1d8f1c
Packit Service 1d8f1c
$(libibus):
Packit Service 1d8f1c
	(cd $(top_builddir)/src; make )
Packit Service 1d8f1c
Packit Service 1d8f1c
EXTRA_DIST = \
Packit Service 1d8f1c
	$(NULL)
Packit Service 1d8f1c
Packit Service 1d8f1c
test: all
Packit Service 1d8f1c
	GTK_IM_MODULE=ibus gedit
Packit Service 1d8f1c
Packit Service 1d8f1c
-include $(top_srcdir)/git.mk