2001-11-02 22:56:59 +00:00
|
|
|
## Makefile.am for gtk+/modules/input
|
|
|
|
|
|
|
|
if PLATFORM_WIN32
|
|
|
|
no_undefined = -no-undefined
|
|
|
|
endif
|
2000-11-12 03:40:47 +00:00
|
|
|
|
|
|
|
INCLUDES = @STRIP_BEGIN@ \
|
|
|
|
-I$(top_srcdir) \
|
2000-11-14 16:38:04 +00:00
|
|
|
-I$(top_srcdir)/gdk \
|
2000-11-12 03:40:47 +00:00
|
|
|
-I$(top_builddir)/gdk \
|
|
|
|
-DGTK_LOCALEDIR=\"$(gtklocaledir)\" \
|
|
|
|
@GTK_DEBUG_FLAGS@ \
|
|
|
|
@GTK_XIM_FLAGS@ \
|
2001-05-03 20:11:14 +00:00
|
|
|
@GTK_DEP_CFLAGS@ \
|
2000-11-12 03:40:47 +00:00
|
|
|
@STRIP_END@
|
|
|
|
|
|
|
|
DEPS = \
|
2002-03-05 21:04:09 +00:00
|
|
|
$(top_builddir)/gdk-pixbuf/libgdk_pixbuf-$(GTK_API_VERSION).la \
|
|
|
|
$(top_builddir)/gdk/@gdktargetlib@ \
|
2000-11-12 03:40:47 +00:00
|
|
|
$(top_builddir)/gtk/@gtktargetlib@
|
|
|
|
|
2002-03-05 21:04:09 +00:00
|
|
|
LDADDS = @STRIP_BEGIN@ \
|
|
|
|
$(top_builddir)/gdk-pixbuf/libgdk_pixbuf-$(GTK_API_VERSION).la \
|
|
|
|
$(top_builddir)/gdk/@gdktargetlib@ \
|
|
|
|
$(top_builddir)/gtk/@gtktargetlib@ \
|
|
|
|
@GTK_DEP_LIBS@ \
|
2000-11-12 03:40:47 +00:00
|
|
|
@STRIP_END@
|
|
|
|
|
2002-03-03 16:07:53 +00:00
|
|
|
moduledir = $(libdir)/gtk-2.0/$(GTK_BINARY_VERSION)/immodules
|
2000-11-28 18:46:11 +00:00
|
|
|
|
2001-11-02 22:56:59 +00:00
|
|
|
im_xim_la_LDFLAGS = -rpath $(moduledir) -avoid-version -module $(no_undefined)
|
2000-11-28 18:46:11 +00:00
|
|
|
im_xim_la_SOURCES = \
|
|
|
|
gtkimcontextxim.c \
|
|
|
|
gtkimcontextxim.h \
|
|
|
|
imxim.c
|
2001-05-16 18:51:28 +00:00
|
|
|
im_xim_la_LIBADD = $(LDADDS)
|
2000-11-28 18:46:11 +00:00
|
|
|
if USE_X11
|
|
|
|
IM_XIM_MODULE=im-xim.la
|
|
|
|
endif
|
2000-11-12 03:40:47 +00:00
|
|
|
|
2002-02-10 17:46:08 +00:00
|
|
|
im_am_et_la_LDFLAGS = -rpath $(moduledir) -avoid-version -module $(no_undefined)
|
|
|
|
im_am_et_la_SOURCES = imam-et.c
|
|
|
|
im_am_et_la_LIBADD = $(LDADDS)
|
|
|
|
|
2001-11-02 22:56:59 +00:00
|
|
|
im_cyrillic_translit_la_LDFLAGS = -rpath $(moduledir) -avoid-version -module $(no_undefined)
|
2000-11-12 03:40:47 +00:00
|
|
|
im_cyrillic_translit_la_SOURCES = imcyrillic-translit.c
|
2001-05-16 18:51:28 +00:00
|
|
|
im_cyrillic_translit_la_LIBADD = $(LDADDS)
|
2000-11-12 03:40:47 +00:00
|
|
|
|
2002-02-10 17:46:08 +00:00
|
|
|
im_ti_er_la_LDFLAGS = -rpath $(moduledir) -avoid-version -module $(no_undefined)
|
|
|
|
im_ti_er_la_SOURCES = imti-er.c
|
|
|
|
im_ti_er_la_LIBADD = $(LDADDS)
|
|
|
|
|
|
|
|
im_ti_et_la_LDFLAGS = -rpath $(moduledir) -avoid-version -module $(no_undefined)
|
|
|
|
im_ti_et_la_SOURCES = imti-et.c
|
|
|
|
im_ti_et_la_LIBADD = $(LDADDS)
|
|
|
|
|
2001-11-02 22:56:59 +00:00
|
|
|
im_thai_broken_la_LDFLAGS = -rpath $(moduledir) -avoid-version -module $(no_undefined)
|
2000-11-12 22:59:39 +00:00
|
|
|
im_thai_broken_la_SOURCES = imthai-broken.c
|
2001-05-16 18:51:28 +00:00
|
|
|
im_thai_broken_la_LIBADD = $(LDADDS)
|
2000-11-12 22:59:39 +00:00
|
|
|
|
2001-11-02 22:56:59 +00:00
|
|
|
im_viqr_la_LDFLAGS = -rpath $(moduledir) -avoid-version -module $(no_undefined)
|
2000-11-12 22:59:39 +00:00
|
|
|
im_viqr_la_SOURCES = imviqr.c
|
2001-05-16 18:51:28 +00:00
|
|
|
im_viqr_la_LIBADD = $(LDADDS)
|
2000-11-12 22:59:39 +00:00
|
|
|
|
2001-11-02 22:56:59 +00:00
|
|
|
im_inuktitut_la_LDFLAGS = -rpath $(moduledir) -avoid-version -module $(no_undefined)
|
2000-11-15 02:45:55 +00:00
|
|
|
im_inuktitut_la_SOURCES = iminuktitut.c
|
2001-05-16 18:51:28 +00:00
|
|
|
im_inuktitut_la_LIBADD = $(LDADDS)
|
2000-11-15 02:45:55 +00:00
|
|
|
|
2001-11-02 22:56:59 +00:00
|
|
|
im_ipa_la_LDFLAGS = -rpath $(moduledir) -avoid-version -module $(no_undefined)
|
2001-03-03 19:57:54 +00:00
|
|
|
im_ipa_la_SOURCES = imipa.c
|
2001-05-16 18:51:28 +00:00
|
|
|
im_ipa_la_LIBADD = $(LDADDS)
|
2001-03-03 19:57:54 +00:00
|
|
|
|
2002-01-29 01:36:05 +00:00
|
|
|
im_hangul_la_LDFLAGS = -rpath $(moduledir) -avoid-version -module $(no_undefined)
|
|
|
|
im_hangul_la_SOURCES = imhangul.c imhangul-defs.h
|
|
|
|
im_hangul_la_LIBADD = $(LDADDS)
|
|
|
|
|
2002-09-27 22:10:55 +00:00
|
|
|
if CROSS_COMPILING
|
|
|
|
RUN_QUERY_IMMODULES_TEST=false
|
|
|
|
else
|
|
|
|
RUN_QUERY_IMMODULES_TEST=test -z "$(DESTDIR)"
|
|
|
|
endif
|
|
|
|
|
|
|
|
# Running this if cross compiling or if DESTDIR is set is going to
|
|
|
|
# not work at all, so skip it.
|
2001-04-03 18:48:46 +00:00
|
|
|
install-data-local:
|
2002-09-27 22:10:55 +00:00
|
|
|
@if $(RUN_QUERY_IMMODULES_TEST) ; then \
|
|
|
|
echo $(mkinstalldirs) $(DESTDIR)$(sysconfdir)/gtk-2.0 ; \
|
2001-09-04 16:07:05 +00:00
|
|
|
$(mkinstalldirs) $(DESTDIR)$(sysconfdir)/gtk-2.0 ; \
|
2002-09-27 22:10:55 +00:00
|
|
|
echo "$(top_builddir)/gtk/gtk-query-immodules-2.0 > $(DESTDIR)$(sysconfdir)/gtk-2.0/gtk.immodules" ; \
|
2001-09-04 16:07:05 +00:00
|
|
|
$(top_builddir)/gtk/gtk-query-immodules-2.0 > $(DESTDIR)$(sysconfdir)/gtk-2.0/gtk.immodules ; \
|
2002-09-27 22:10:55 +00:00
|
|
|
else \
|
|
|
|
echo "***" ; \
|
|
|
|
echo "*** Warning: gtk.immodules not built" ; \
|
|
|
|
echo "***" ; \
|
|
|
|
echo "*** Generate this file manually on host" ; \
|
|
|
|
echo "*** system using gtk-query-immodules-2.0" ; \
|
|
|
|
echo "***" ; \
|
2001-09-04 16:07:05 +00:00
|
|
|
fi
|
2001-04-03 18:48:46 +00:00
|
|
|
|
2002-02-10 17:46:08 +00:00
|
|
|
module_LTLIBRARIES = \
|
|
|
|
$(IM_XIM_MODULE) \
|
|
|
|
im-am-et.la \
|
|
|
|
im-cyrillic-translit.la \
|
|
|
|
im-hangul.la \
|
|
|
|
im-inuktitut.la \
|
|
|
|
im-ipa.la \
|
|
|
|
im-thai-broken.la \
|
|
|
|
im-ti-er.la \
|
|
|
|
im-ti-et.la \
|
|
|
|
im-viqr.la
|
2001-04-03 18:48:46 +00:00
|
|
|
|
|
|
|
gtk.immodules: Makefile.am $(module_LTLIBRARIES)
|
2002-03-03 04:16:30 +00:00
|
|
|
$(top_builddir)/gtk/gtk-query-immodules-2.0 *.la > gtk.immodules
|
2001-04-03 18:48:46 +00:00
|
|
|
|
2002-09-27 22:10:55 +00:00
|
|
|
if CROSS_COMPILING
|
|
|
|
else
|
2001-04-03 18:48:46 +00:00
|
|
|
all-local: gtk.immodules
|
2002-09-27 22:10:55 +00:00
|
|
|
endif
|