Blame engine/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) 2010-2016, Google Inc. All rights reserved.
Packit Service 1d8f1c
# Copyright (c) 2007-2016 Peng Huang <shawn.p.huang@gmail.com>
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
AM_CFLAGS = \
Packit Service 1d8f1c
	@GLIB2_CFLAGS@ \
Packit Service 1d8f1c
	@GIO2_CFLAGS@ \
Packit Service 1d8f1c
	@GTHREAD2_CFLAGS@ \
Packit Service 1d8f1c
	-DG_LOG_DOMAIN=\"IBUS\" \
Packit Service 1d8f1c
	-DPKGDATADIR=\"$(pkgdatadir)\" \
Packit Service 1d8f1c
	-DLIBEXECDIR=\"$(libexecdir)\" \
Packit Service 1d8f1c
	-DBINDIR=\"@bindir@\" \
Packit Service 1d8f1c
    -DIBUS_DISABLE_DEPRECATED \
Packit Service 1d8f1c
	-Wno-unused-variable \
Packit Service 1d8f1c
	-Wno-unused-but-set-variable \
Packit Service 1d8f1c
	-Wno-unused-function \
Packit Service 1d8f1c
	$(NULL)
Packit Service 1d8f1c
Packit Service 1d8f1c
AM_LDADD = \
Packit Service 1d8f1c
	@GOBJECT2_LIBS@ \
Packit Service 1d8f1c
	@GLIB2_LIBS@ \
Packit Service 1d8f1c
	@GIO2_LIBS@ \
Packit Service 1d8f1c
	@GTHREAD2_LIBS@ \
Packit Service 1d8f1c
	$(libibus) \
Packit Service 1d8f1c
	$(NULL)
Packit Service 1d8f1c
Packit Service 1d8f1c
AM_VALAFLAGS = \
Packit Service 1d8f1c
	--vapidir=$(top_builddir)/bindings/vala \
Packit Service 1d8f1c
	--pkg=ibus-1.0 \
Packit Service 1d8f1c
	--target-glib="$(VALA_TARGET_GLIB_VERSION)" \
Packit Service 1d8f1c
	$(NULL)
Packit Service 1d8f1c
Packit Service 1d8f1c
libexec_PROGRAMS = \
Packit Service 1d8f1c
	ibus-engine-simple \
Packit Service 1d8f1c
	$(NULL)
Packit Service 1d8f1c
Packit Service 1d8f1c
ibus_engine_simple_SOURCES = \
Packit Service 1d8f1c
	main.vala \
Packit Service 1d8f1c
	$(NULL)
Packit Service 1d8f1c
ibus_engine_simple_CFLAGS = \
Packit Service 1d8f1c
	$(AM_CFLAGS) \
Packit Service 1d8f1c
	$(NULL)
Packit Service 1d8f1c
ibus_engine_simple_LDADD = \
Packit Service 1d8f1c
	$(AM_LDADD) \
Packit Service 1d8f1c
	$(NULL)
Packit Service 1d8f1c
ibus_engine_simple_DEPENDENCIES = \
Packit Service 1d8f1c
	$(libibus) \
Packit Service 1d8f1c
	$(NULL)
Packit Service 1d8f1c
Packit Service 1d8f1c
component_DATA = \
Packit Service 1d8f1c
	simple.xml \
Packit Service 1d8f1c
	$(NULL)
Packit Service 1d8f1c
Packit Service 1d8f1c
componentdir = $(pkgdatadir)/component
Packit Service 1d8f1c
Packit Service 1d8f1c
CLEANFILES = \
Packit Service 1d8f1c
	simple.xml \
Packit Service 1d8f1c
	$(NULL)
Packit Service 1d8f1c
Packit Service 1d8f1c
EXTRA_DIST = \
Packit Service 1d8f1c
	iso639converter.py \
Packit Service 1d8f1c
	simple.xml.in \
Packit Service 1d8f1c
	$(NULL)
Packit Service 1d8f1c
Packit Service 1d8f1c
simple.xml: simple.xml.in
Packit Service 1d8f1c
	$(AM_V_GEN) sed \
Packit Service 1d8f1c
		-e 's|@VERSION[@]|$(VERSION)|g' \
Packit Service 1d8f1c
		-e 's|@libexecdir[@]|$(libexecdir)|g' $< > $@.tmp && \
Packit Service 1d8f1c
		mv $@.tmp $@
Packit Service 1d8f1c
Packit Service 1d8f1c
$(libibus):
Packit Service 1d8f1c
	$(MAKE) -C $(top_builddir)/src
Packit Service 1d8f1c
Packit Service 1d8f1c
-include $(top_srcdir)/git.mk