2001-11-02 22:56:59 +00:00
|
|
|
## Makefile.am for gtk+/modules/input
|
|
|
|
|
|
|
|
if PLATFORM_WIN32
|
|
|
|
no_undefined = -no-undefined
|
|
|
|
SOSUFFIX=dll
|
|
|
|
else
|
|
|
|
SOSUFFIX=so
|
|
|
|
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 = \
|
|
|
|
$(top_builddir)/gdk-pixbuf/libgdk_pixbuf-1.3.la \
|
|
|
|
$(top_builddir)/gdk/@gdktargetlib@ \
|
|
|
|
$(top_builddir)/gtk/@gtktargetlib@
|
|
|
|
|
|
|
|
LDADDS = @STRIP_BEGIN@ \
|
|
|
|
$(top_builddir)/gdk-pixbuf/libgdk_pixbuf-1.3.la \
|
|
|
|
$(top_builddir)/gdk/@gdktargetlib@ \
|
|
|
|
$(top_builddir)/gtk/@gtktargetlib@ \
|
2001-05-03 20:11:14 +00:00
|
|
|
@GTK_DEP_LIBS@ \
|
2000-11-12 03:40:47 +00:00
|
|
|
@STRIP_END@
|
|
|
|
|
2001-09-11 20:24:40 +00:00
|
|
|
moduledir = $(libdir)/gtk-2.0/immodules/$(GTK_BINARY_VERSION)
|
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
|
|
|
|
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
|
|
|
|
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
|
|
|
|
2001-09-04 16:07:05 +00:00
|
|
|
# Running this 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:
|
2001-09-04 16:07:05 +00:00
|
|
|
if [ -z "$(DESTDIR)" ] ; then \
|
|
|
|
$(mkinstalldirs) $(DESTDIR)$(sysconfdir)/gtk-2.0 ; \
|
|
|
|
$(top_builddir)/gtk/gtk-query-immodules-2.0 > $(DESTDIR)$(sysconfdir)/gtk-2.0/gtk.immodules ; \
|
|
|
|
fi
|
2001-04-03 18:48:46 +00:00
|
|
|
|
2000-11-28 18:46:11 +00:00
|
|
|
module_LTLIBRARIES = im-cyrillic-translit.la $(IM_XIM_MODULE) im-viqr.la im-thai-broken.la \
|
2001-03-03 19:57:54 +00:00
|
|
|
im-inuktitut.la im-ipa.la
|
2001-04-03 18:48:46 +00:00
|
|
|
|
|
|
|
gtk.immodules: Makefile.am $(module_LTLIBRARIES)
|
2001-11-02 22:56:59 +00:00
|
|
|
$(top_builddir)/gtk/gtk-query-immodules-2.0 .libs/*.$(SOSUFFIX) > gtk.immodules
|
2001-04-03 18:48:46 +00:00
|
|
|
|
|
|
|
all-local: gtk.immodules
|