summaryrefslogtreecommitdiffstats
path: root/client/gtk2/Makefile.am
blob: 2a4eb8b4f49dbaf8f5e9331172c533c56b5effd6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
# vim:set noet ts=4:
#
# ibus - The Input Bus
#
# Copyright (c) 2007-2008 Huang Peng <shawn.p.huang@gmail.com>
#
# 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 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 program; if not, write to the
# Free Software Foundation, Inc., 59 Temple Place, Suite 330,
# Boston, MA  02111-1307  USA

libibus = $(top_builddir)/src/libibus.la

INCLUDES = \
	-I$(top_srcdir)/src \
	$(NULL)

immoduledir = @GTK_IM_MODULEDIR@
immodule_LTLIBRARIES = im-ibus.la

im_ibus_la_SOURCES = \
	ibusim.c \
	ibusimcontext.c \
	ibusimcontext.h \
	$(NULL)

im_ibus_la_DEPENDENCIES = $(libibus)
im_ibus_la_LIBADD = $(libibus)

im_ibus_la_CFLAGS = \
	@GTK2_CFLAGS@ \
	@DBUS_CFLAGS@ \
	-DG_LOG_DOMAIN=\"IBUS\" \
	$(NULL)

im_ibus_la_LDFLAGS = \
	@GTK2_LIBS@ \
	@DBUS_LIBS@ \
	-avoid-version \
	-module \
	$(NULL)

$(libibus):
	(cd $(top_builddir)/src; make )

EXTRA_DIST = \
	$(NULL)

test: all
	GTK_IM_MODULE=ibus gedit