|
Packit |
3ff832 |
# vim:set noet ts=4:
|
|
Packit |
3ff832 |
#
|
|
Packit |
3ff832 |
# ibus - The Input Bus
|
|
Packit |
3ff832 |
#
|
|
Packit |
3ff832 |
# Copyright (c) 2007-2013 Peng Huang <shawn.p.huang@gmail.com>
|
|
Packit |
3ff832 |
# Copyright (c) 2015-2017 Takao Fujiwara <takao.fujiwara1@gmail.com>
|
|
Packit |
3ff832 |
# Copyright (c) 2007-2017 Red Hat, Inc.
|
|
Packit |
3ff832 |
#
|
|
Packit |
3ff832 |
# This library is free software; you can redistribute it and/or
|
|
Packit |
3ff832 |
# modify it under the terms of the GNU Lesser General Public
|
|
Packit |
3ff832 |
# License as published by the Free Software Foundation; either
|
|
Packit |
3ff832 |
# version 2.1 of the License, or (at your option) any later version.
|
|
Packit |
3ff832 |
#
|
|
Packit |
3ff832 |
# This library is distributed in the hope that it will be useful,
|
|
Packit |
3ff832 |
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
Packit |
3ff832 |
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
Packit |
3ff832 |
# Lesser General Public License for more details.
|
|
Packit |
3ff832 |
#
|
|
Packit |
3ff832 |
# You should have received a copy of the GNU Lesser General Public
|
|
Packit |
3ff832 |
# License along with this library; if not, write to the Free Software
|
|
Packit |
3ff832 |
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301
|
|
Packit |
3ff832 |
# USA
|
|
Packit |
3ff832 |
|
|
Packit |
3ff832 |
NULL =
|
|
Packit |
3ff832 |
|
|
Packit |
3ff832 |
libibus = $(top_builddir)/src/libibus-@IBUS_API_VERSION@.la
|
|
Packit |
3ff832 |
libibus_emoji_dialog = \
|
|
Packit |
3ff832 |
$(top_builddir)/ui/gtk3/libibus-emoji-dialog-@IBUS_API_VERSION@.la
|
|
Packit |
3ff832 |
|
|
Packit |
3ff832 |
# force include config.h before gi18n.h.
|
|
Packit |
3ff832 |
AM_CPPFLAGS = \
|
|
Packit |
3ff832 |
-I$(top_srcdir)/src \
|
|
Packit |
3ff832 |
-I$(top_builddir)/src \
|
|
Packit |
3ff832 |
-include $(CONFIG_HEADER) \
|
|
Packit |
3ff832 |
$(NULL)
|
|
Packit |
3ff832 |
|
|
Packit |
3ff832 |
AM_CFLAGS = \
|
|
Packit |
3ff832 |
@GLIB2_CFLAGS@ \
|
|
Packit |
3ff832 |
@GIO2_CFLAGS@ \
|
|
Packit |
3ff832 |
@GTHREAD2_CFLAGS@ \
|
|
Packit |
3ff832 |
-DG_LOG_DOMAIN=\"IBUS\" \
|
|
Packit |
3ff832 |
-DLIBEXECDIR=\"$(libexecdir)\" \
|
|
Packit |
3ff832 |
-DIBUS_DISABLE_DEPRECATED \
|
|
Packit |
3ff832 |
-Wno-unused-variable \
|
|
Packit |
3ff832 |
-Wno-unused-but-set-variable \
|
|
Packit |
3ff832 |
-Wno-unused-function \
|
|
Packit |
3ff832 |
$(NULL)
|
|
Packit |
3ff832 |
|
|
Packit |
3ff832 |
AM_LDADD = \
|
|
Packit |
3ff832 |
@GOBJECT2_LIBS@ \
|
|
Packit |
3ff832 |
@GLIB2_LIBS@ \
|
|
Packit |
3ff832 |
@GIO2_LIBS@ \
|
|
Packit |
3ff832 |
@GTHREAD2_LIBS@ \
|
|
Packit |
3ff832 |
$(libibus) \
|
|
Packit |
3ff832 |
$(NULL)
|
|
Packit |
3ff832 |
|
|
Packit |
3ff832 |
AM_VALAFLAGS = \
|
|
Packit |
3ff832 |
--vapidir=$(top_builddir)/bindings/vala \
|
|
Packit |
3ff832 |
--vapidir=$(top_srcdir)/bindings/vala \
|
|
Packit |
3ff832 |
--pkg=ibus-1.0 \
|
|
Packit |
3ff832 |
--pkg=posix \
|
|
Packit |
3ff832 |
--pkg=config \
|
|
Packit |
3ff832 |
--target-glib="$(VALA_TARGET_GLIB_VERSION)" \
|
|
Packit |
3ff832 |
$(NULL)
|
|
Packit |
3ff832 |
|
|
Packit |
3ff832 |
bin_PROGRAMS = ibus
|
|
Packit |
3ff832 |
|
|
Packit |
3ff832 |
ibus_SOURCES = \
|
|
Packit |
3ff832 |
main.vala \
|
|
Packit |
3ff832 |
$(NULL)
|
|
Packit |
3ff832 |
|
|
Packit |
3ff832 |
ibus_LDADD = \
|
|
Packit |
3ff832 |
$(AM_LDADD) \
|
|
Packit |
3ff832 |
$(NULL)
|
|
Packit |
3ff832 |
|
|
Packit |
3ff832 |
bash_completion_DATA= \
|
|
Packit |
3ff832 |
ibus.bash \
|
|
Packit |
3ff832 |
$(NULL)
|
|
Packit |
3ff832 |
bash_completiondir=@datadir@/bash-completion/completions
|
|
Packit |
3ff832 |
|
|
Packit |
3ff832 |
man_one_in_files = ibus.1.in
|
|
Packit |
3ff832 |
man_one_files = $(man_one_in_files:.1.in=.1)
|
|
Packit |
3ff832 |
man_one_DATA =$(man_one_files:.1=.1.gz)
|
|
Packit |
3ff832 |
man_onedir = $(mandir)/man1
|
|
Packit |
3ff832 |
%.1: %.1.in
|
|
Packit |
3ff832 |
$(AM_V_GEN) sed \
|
|
Packit |
3ff832 |
-e 's|@VERSION[@]|$(VERSION)|g' $< > $@.tmp && \
|
|
Packit |
3ff832 |
mv $@.tmp $@
|
|
Packit |
3ff832 |
%.1.gz: %.1
|
|
Packit |
3ff832 |
$(AM_V_GEN) gzip -c $< > $@.tmp && mv $@.tmp $@
|
|
Packit |
3ff832 |
|
|
Packit |
3ff832 |
EXTRA_DIST = \
|
|
Packit |
3ff832 |
$(man_one_in_files) \
|
|
Packit |
3ff832 |
ibus.bash \
|
|
Packit |
3ff832 |
$(NULL)
|
|
Packit |
3ff832 |
|
|
Packit |
3ff832 |
CLEANFILES = \
|
|
Packit |
3ff832 |
$(man_one_DATA) \
|
|
Packit |
3ff832 |
$(man_one_files) \
|
|
Packit |
3ff832 |
$(NULL)
|
|
Packit |
3ff832 |
|
|
Packit |
3ff832 |
if ENABLE_EMOJI_DICT
|
|
Packit |
3ff832 |
if ENABLE_UI
|
|
Packit |
3ff832 |
AM_VALAFLAGS += \
|
|
Packit |
3ff832 |
--define=EMOJI_DICT \
|
|
Packit |
3ff832 |
$(NULL)
|
|
Packit |
3ff832 |
endif
|
|
Packit |
3ff832 |
endif
|
|
Packit |
3ff832 |
|
|
Packit |
3ff832 |
-include $(top_srcdir)/git.mk
|