# Free Software Foundation, Inc., 59 Temple Place, Suite 330,
# Boston, MA 02111-1307 USA
-SUBDIRS = \
- src \
- util \
- client \
- bus \
- data \
- m4 \
- po \
- docs \
- ibus \
- ui \
- setup \
- gconf \
+SUBDIRS = \
+ src \
+ util \
+ bus \
+ data \
+ m4 \
+ po \
+ docs \
+ ui \
$(NULL)
+if ENABLE_CLIENT
+SUBDIRS += \
+ client \
+ $(NULL)
+endif
+
+if ENABLE_PYTHON
+SUBDIRS += \
+ ibus \
+ setup \
+ $(NULL)
+endif
+
+if ENABLE_GCONF
+SUBDIRS += \
+ gconf \
+ $(NULL)
+endif
+
ACLOCAL_AMFLAGS = -I m4
pkgconfigdir = $(libdir)/pkgconfig
# Free Software Foundation, Inc., 59 Temple Place, Suite 330,
# Boston, MA 02111-1307 USA
-if ENABLE_CLIENTS
SUBDIRS = \
gtk2 \
x11 \
$(NULL)
-endif
gthread-2.0 >= 2.18
])
-AC_ARG_ENABLE(clients,
- AS_HELP_STRING([--disable-clients],
+AC_ARG_ENABLE(client,
+ AS_HELP_STRING([--disable-client],
[Do not build gtk im module and ibux-x11]),
- [enable_clients=$enableval],
- [enable_clients=yes]
+ [enable_client=$enableval],
+ [enable_client=yes]
)
-AM_CONDITIONAL([ENABLE_CLIENTS], [test x"$enable_clients" = x"yes"])
+AM_CONDITIONAL([ENABLE_CLIENT], [test x"$enable_client" = x"yes"])
-if test x"$enable_clients" != x"no"; then
+if test x"$enable_client" != x"no"; then
# check for gtk, gdk
PKG_CHECK_MODULES(GTK2, [
gtk+-2.0
Build shared libs $enable_shared
Build static libs $enable_static
Gtk immodule dir $GTK_IM_MODULEDIR
- Build gtk, x11 clients $enable_clients
+ Build gtk, x11 clients $enable_client
Build python modules $enable_python
Build gconf modules $enable_gconf
Build document $enable_gtk_doc
libibus = $(top_builddir)/src/libibus.la
-if ENABLE_GCONF
libexec_PROGRAMS = \
ibus-gconf \
$(NULL)
-endif
ibus_gconf_SOURCES = \
main.c \
interface \
$(NULL)
-if ENABLE_PYTHON
ibus_PYTHON = \
ascii.py \
application.py \
$(NULL)
ibusdir = @pkgpythondir@
-endif
EXTRA_DIST = \
_config.py.in \
# Free Software Foundation, Inc., 59 Temple Place, Suite 330,
# Boston, MA 02111-1307 USA
-if ENABLE_PYTHON
ibus_interface_PYTHON = \
iconfig.py \
ienginefactory.py \
$(NULL)
ibus_interfacedir = @pkgpythondir@/interface
-endif
CLEANFILES = \
*.pyc \
# Free Software Foundation, Inc., 59 Temple Place, Suite 330,
# Boston, MA 02111-1307 USA
-if ENABLE_PYTHON
ibussetup_PYTHON = \
main.py \
icon.py \
desktop_DATA = $(desktop_in_files:.desktop.in=.desktop)
desktopdir = $(datadir)/applications
@INTLTOOL_DESKTOP_RULE@
-endif
CLEANFILES = \
*.pyc \
# Free Software Foundation, Inc., 59 Temple Place, Suite 330,
# Boston, MA 02111-1307 USA
+if ENABLE_PYTHON
SUBDIRS = \
gtk \
$(NULL)
+endif
# Free Software Foundation, Inc., 59 Temple Place, Suite 330,
# Boston, MA 02111-1307 USA
-if ENABLE_PYTHON
ui_gtk_PYTHON = \
candidatepanel.py \
handle.py \
gtkpanel.xml \
$(NULL)
componentdir = $(pkgdatadir)/component
-endif
CLEANFILES = \
gtkpanel.xml \
# Free Software Foundation, Inc., 59 Temple Place, Suite 330,
# Boston, MA 02111-1307 USA
+if ENABLE_CLIENT
SUBDIRS = \
IMdkit \
$(NULL)
+endif