|
Packit |
3ff832 |
# vim:set noet ts=4:
|
|
Packit |
3ff832 |
#
|
|
Packit |
3ff832 |
# ibus - The Input Bus
|
|
Packit |
3ff832 |
#
|
|
Packit |
3ff832 |
# Copyright (c) 2010, Google Inc. All rights reserved.
|
|
Packit |
3ff832 |
# Copyright (c) 2007-2010 Peng Huang <shawn.p.huang@gmail.com>
|
|
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 |
libibus = $(top_builddir)/src/libibus-@IBUS_API_VERSION@.la
|
|
Packit |
3ff832 |
|
|
Packit |
3ff832 |
memconf_programs = \
|
|
Packit |
3ff832 |
ibus-memconf \
|
|
Packit |
3ff832 |
$(NULL)
|
|
Packit |
3ff832 |
|
|
Packit |
3ff832 |
if ENABLE_MEMCONF
|
|
Packit |
3ff832 |
libexec_PROGRAMS = $(memconf_programs)
|
|
Packit |
3ff832 |
else
|
|
Packit |
3ff832 |
noinst_PROGRAMS = $(memconf_programs)
|
|
Packit |
3ff832 |
endif
|
|
Packit |
3ff832 |
|
|
Packit |
3ff832 |
ibus_memconf_SOURCES = \
|
|
Packit |
3ff832 |
main.c \
|
|
Packit |
3ff832 |
config.c \
|
|
Packit |
3ff832 |
config.h \
|
|
Packit |
3ff832 |
$(NULL)
|
|
Packit |
3ff832 |
ibus_memconf_CFLAGS = \
|
|
Packit |
3ff832 |
@GLIB2_CFLAGS@ \
|
|
Packit |
3ff832 |
@GIO2_CFLAGS@ \
|
|
Packit |
3ff832 |
-DG_LOG_DOMAIN=\"IBUS\" \
|
|
Packit |
3ff832 |
-I$(top_srcdir)/src \
|
|
Packit |
3ff832 |
-I$(top_builddir)/src \
|
|
Packit |
3ff832 |
$(NULL)
|
|
Packit |
3ff832 |
ibus_memconf_LDADD = \
|
|
Packit |
3ff832 |
@GOBJECT2_LIBS@ \
|
|
Packit |
3ff832 |
@GLIB2_LIBS@ \
|
|
Packit |
3ff832 |
@GIO2_LIBS@ \
|
|
Packit |
3ff832 |
$(libibus) \
|
|
Packit |
3ff832 |
$(NULL)
|
|
Packit |
3ff832 |
ibus_memconf_DEPENDENCIES = \
|
|
Packit |
3ff832 |
$(libibus) \
|
|
Packit |
3ff832 |
$(NULL)
|
|
Packit |
3ff832 |
|
|
Packit |
3ff832 |
if ENABLE_MEMCONF
|
|
Packit |
3ff832 |
component_DATA = \
|
|
Packit |
3ff832 |
memconf.xml \
|
|
Packit |
3ff832 |
$(NULL)
|
|
Packit |
3ff832 |
|
|
Packit |
3ff832 |
componentdir = $(pkgdatadir)/component
|
|
Packit |
3ff832 |
endif
|
|
Packit |
3ff832 |
|
|
Packit |
3ff832 |
CLEANFILES = \
|
|
Packit |
3ff832 |
memconf.xml \
|
|
Packit |
3ff832 |
$(NULL)
|
|
Packit |
3ff832 |
|
|
Packit |
3ff832 |
EXTRA_DIST = \
|
|
Packit |
3ff832 |
memconf.xml.in \
|
|
Packit |
3ff832 |
$(NULL)
|
|
Packit |
3ff832 |
|
|
Packit |
3ff832 |
memconf.xml: memconf.xml.in
|
|
Packit |
3ff832 |
$(AM_V_GEN) sed \
|
|
Packit |
3ff832 |
-e 's|@VERSION[@]|$(VERSION)|g' \
|
|
Packit |
3ff832 |
-e 's|@libexecdir[@]|$(libexecdir)|g' $< > $@.tmp && \
|
|
Packit |
3ff832 |
mv $@.tmp $@
|
|
Packit |
3ff832 |
|
|
Packit |
3ff832 |
$(libibus):
|
|
Packit |
3ff832 |
$(MAKE) -C $(top_builddir)/src
|
|
Packit |
3ff832 |
|
|
Packit |
3ff832 |
-include $(top_srcdir)/git.mk
|