5 # Copyright (c) 2007-2010 Peng Huang <shawn.p.huang@gmail.com>
6 # Copyright (c) 2007-2010 Red Hat, Inc.
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 of the License, or (at your option) any later version.
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
16 # GNU Lesser General Public License for more details.
18 # You should have received a copy of the GNU Lesser General Public
19 # License along with this program; if not, write to the
20 # Free Software Foundation, Inc., 59 Temple Place, Suite 330,
21 # Boston, MA 02111-1307 USA
25 libibus = $(top_builddir)/src/libibus-@IBUS_API_VERSION@.la
30 componentdir = $(pkgdatadir)/component
32 gtkpanel.xml: gtkpanel.xml.in
34 -e 's|@VERSION[@]|$(VERSION)|g' \
35 -e 's|@libexecdir[@]|$(libexecdir)|g' $< > $@.tmp && \
40 -I$(top_builddir)/src \
43 USE_SYMBOL_ICON = FALSE
45 # force include config.h before gi18n.h.
46 AM_CPPFLAGS = -include $(CONFIG_HEADER)
55 -DG_LOG_DOMAIN=\"IBUS\" \
56 -DBINDIR=\"$(bindir)\" \
57 -DIBUS_DISABLE_DEPRECATED \
58 -DSWITCHER_USE_SYMBOL_ICON=$(USE_SYMBOL_ICON) \
59 -Wno-unused-variable \
60 -Wno-unused-but-set-variable \
61 -Wno-unused-function \
76 --vapidir=$(top_builddir)/bindings/vala \
77 --vapidir=$(top_srcdir)/bindings/vala \
86 libexec_PROGRAMS = ibus-ui-gtk3
88 ibus_ui_gtk3_SOURCES = \
94 keybindingmanager.vala \
102 ibus_ui_gtk3_LDADD = \
115 -include $(top_srcdir)/git.mk