Debian Codegraph @

client/gtk2/Makefile.am

raw
1 # vim:set noet ts=4:
2 #
3 # ibus - The Input Bus
4 #
5 # Copyright (c) 2007-2010 Peng Huang <[email protected]>
6 # Copyright (c) 2007-2025 Red Hat, Inc.
7 #
8 # This library is free software; you can redistribute it and/or
9 # modify it under the terms of the GNU Lesser General Public
10 # License as published by the Free Software Foundation; either
11 # version 2.1 of the License, or (at your option) any later version.
12 #
13 # This library is distributed in the hope that it will be useful,
14 # but WITHOUT ANY WARRANTY; without even the implied warranty of
15 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
16 # Lesser General Public License for more details.
17 #
18 # You should have received a copy of the GNU Lesser General Public
19 # License along with this library; if not, write to the Free Software
20 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301
21 # USA
22
23 libibus = $(top_builddir)/src/libibus-@[email protected]
24
25 AM_CPPFLAGS = \
26 -I$(top_srcdir)/src \
27 -I$(top_builddir)/src \
28 $(NULL)
29
30 immoduledir = @GTK2_IM_MODULEDIR@
31 immodule_LTLIBRARIES = im-ibus.la
32
33 im_ibus_la_SOURCES = \
34 ibusim.c \
35 ibusimcontext.c \
36 ibusimcontext.h \
37 iconwidget.c \
38 iconwidget.h \
39 $(NULL)
40
41 im_ibus_la_DEPENDENCIES = $(libibus)
42
43 im_ibus_la_CFLAGS = \
44 @GTK2_CFLAGS@ \
45 @DBUS_CFLAGS@ \
46 -DG_LOG_DOMAIN=\"IBUS\" \
47 $(NULL)
48
49 im_ibus_la_LIBADD = \
50 @GTK2_LIBS@ \
51 @DBUS_LIBS@ \
52 $(libibus) \
53 $(NULL)
54 im_ibus_la_LDFLAGS = \
55 -avoid-version \
56 -module \
57 $(NULL)
58
59 $(libibus):
60 (cd $(top_builddir)/src; make )
61
62 EXTRA_DIST = \
63 $(NULL)
64
65 test: all
66 GTK_IM_MODULE=ibus gedit
67
68 -include $(top_srcdir)/git.mk