2001-11-02 22:56:59 +00:00
|
|
|
## Makefile.am for gtk+/modules/input
|
call g_test_init() from gtk_test_init().
2007-11-22 15:39:40 Tim Janik <timj@imendio.com>
* gtk/gtktestutils.c: call g_test_init() from gtk_test_init().
* gtk/tests/testing.c: use g_test_add_func() to register tests and use
g_test_run() to run the tests to integrate with the testing framework.
* gtk/tests/Makefile.am: removed exemplary testing rules.
* Makefile.am, gtk/tests/Makefile.am, gtk/Makefile.am:
* gtk/xdgmime/Makefile.am, gtk/theme-bits/Makefile.am:
* tests/Makefile.am, docs/reference/gdk-pixbuf/Makefile.am:
* docs/reference/gdk/Makefile.am, docs/reference/gtk/Makefile.am:
* docs/reference/Makefile.am, docs/tools/Makefile.am:
* docs/tutorial/Makefile.am, docs/faq/Makefile.am, docs/Makefile.am:
* gdk-pixbuf/pixops/Makefile.am, gdk-pixbuf/Makefile.am:
* demos/gtk-demo/Makefile.am, demos/Makefile.am:
* modules/input/Makefile.am, modules/printbackends/file/Makefile.am:
* modules/printbackends/test/Makefile.am, modules/printbackends/Makefile.am:
* modules/printbackends/cups/Makefile.am, modules/printbackends/lpr/Makefile.am:
* modules/engines/ms-windows/Theme/gtk-2.0/Makefile.am:
* modules/engines/ms-windows/Theme/Makefile.am:
* modules/engines/ms-windows/Makefile.am:
* modules/engines/Makefile.am, modules/engines/pixbuf/Makefile.am:
* modules/Makefile.am, m4macros/Makefile.am, perf/Makefile.am:
* contrib/Makefile.am, contrib/gdk-pixbuf-xlib/Makefile.am:
* gdk/directfb/Makefile.am, gdk/linux-fb/Makefile.am:
* gdk/quartz/Makefile.am, gdk/win32/rc/Makefile.am:
* gdk/win32/Makefile.am, gdk/x11/Makefile.am, gdk/Makefile.am:
include $(top_srcdir)/Makefile.decl, adapted EXTRA_DIST assignments.
svn path=/trunk/; revision=19033
2007-11-22 14:38:26 +00:00
|
|
|
include $(top_srcdir)/Makefile.decl
|
2001-11-02 22:56:59 +00:00
|
|
|
|
|
|
|
if PLATFORM_WIN32
|
|
|
|
no_undefined = -no-undefined
|
|
|
|
endif
|
2000-11-12 03:40:47 +00:00
|
|
|
|
2011-11-02 02:52:56 +00:00
|
|
|
AM_CPPFLAGS = \
|
2008-08-12 15:04:55 +00:00
|
|
|
-I$(top_srcdir) \
|
|
|
|
-I$(top_srcdir)/gdk \
|
|
|
|
-I$(top_builddir)/gdk \
|
|
|
|
$(GTK_DEBUG_FLAGS) \
|
|
|
|
$(GTK_XIM_FLAGS) \
|
|
|
|
$(GTK_DEP_CFLAGS) \
|
2012-07-30 08:37:32 +00:00
|
|
|
-DGTK_COMPILATION \
|
2008-03-17 23:53:18 +00:00
|
|
|
$(INCLUDED_IMMODULE_DEFINE)
|
2000-11-12 03:40:47 +00:00
|
|
|
|
|
|
|
DEPS = \
|
2011-02-10 19:41:02 +00:00
|
|
|
$(top_builddir)/gtk/libgtk-3.la
|
2000-11-12 03:40:47 +00:00
|
|
|
|
2003-05-06 21:55:41 +00:00
|
|
|
LDADDS = \
|
2011-02-10 19:41:02 +00:00
|
|
|
$(top_builddir)/gtk/libgtk-3.la \
|
2003-05-06 21:55:41 +00:00
|
|
|
$(GTK_DEP_LIBS)
|
2000-11-12 03:40:47 +00:00
|
|
|
|
2010-05-08 05:18:53 +00:00
|
|
|
moduledir = $(libdir)/gtk-3.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
|
2008-03-17 23:53:18 +00:00
|
|
|
libstatic_im_xim_la_SOURCES = $(im_xim_la_SOURCES)
|
2001-05-16 18:51:28 +00:00
|
|
|
im_xim_la_LIBADD = $(LDADDS)
|
2012-03-16 09:32:06 +00:00
|
|
|
if USE_X11
|
2008-03-17 23:53:18 +00:00
|
|
|
if INCLUDE_IM_XIM
|
|
|
|
STATIC_XIM_MODULE = libstatic-im-xim.la
|
|
|
|
else
|
2010-05-08 05:18:53 +00:00
|
|
|
XIM_MODULE=im-xim.la
|
2008-03-17 23:53:18 +00:00
|
|
|
endif
|
2012-03-16 09:32:06 +00:00
|
|
|
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
|
2008-03-17 23:53:18 +00:00
|
|
|
libstatic_im_am_et_la_SOURCES = $(im_am_et_la_SOURCES)
|
2002-02-10 17:46:08 +00:00
|
|
|
im_am_et_la_LIBADD = $(LDADDS)
|
2008-03-17 23:53:18 +00:00
|
|
|
if INCLUDE_IM_AM_ET
|
|
|
|
STATIC_AM_ET_MODULE = libstatic-im-am-et.la
|
|
|
|
else
|
|
|
|
AM_ET_MODULE = im-am-et.la
|
|
|
|
endif
|
2002-02-10 17:46:08 +00:00
|
|
|
|
2003-08-15 21:30:44 +00:00
|
|
|
im_cedilla_la_LDFLAGS = -rpath $(moduledir) -avoid-version -module $(no_undefined)
|
|
|
|
im_cedilla_la_SOURCES = imcedilla.c
|
2008-03-17 23:53:18 +00:00
|
|
|
libstatic_im_cedilla_la_SOURCES = $(im_cedilla_la_SOURCES)
|
2003-08-15 21:30:44 +00:00
|
|
|
im_cedilla_la_LIBADD = $(LDADDS)
|
2008-03-17 23:53:18 +00:00
|
|
|
if INCLUDE_IM_CEDILLA
|
|
|
|
STATIC_CEDILLA_MODULE = libstatic-im-cedilla.la
|
|
|
|
else
|
|
|
|
CEDILLA_MODULE = im-cedilla.la
|
|
|
|
endif
|
2003-08-15 21:30:44 +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
|
2008-03-17 23:53:18 +00:00
|
|
|
libstatic_im_cyrillic_translit_la_SOURCES = $(im_cyrillic_translit_la_SOURCES)
|
2001-05-16 18:51:28 +00:00
|
|
|
im_cyrillic_translit_la_LIBADD = $(LDADDS)
|
2008-03-17 23:53:18 +00:00
|
|
|
if INCLUDE_IM_CYRILLIC_TRANSLIT
|
|
|
|
STATIC_CYRILLIC_TRANSLIT_MODULE = libstatic-im-cyrillic-translit.la
|
|
|
|
else
|
|
|
|
CYRILLIC_TRANSLIT_MODULE = im-cyrillic-translit.la
|
|
|
|
endif
|
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
|
2008-03-17 23:53:18 +00:00
|
|
|
libstatic_im_ti_er_la_SOURCES = $(im_ti_er_la_SOURCES)
|
2002-02-10 17:46:08 +00:00
|
|
|
im_ti_er_la_LIBADD = $(LDADDS)
|
2008-03-17 23:53:18 +00:00
|
|
|
if INCLUDE_IM_TI_ER
|
|
|
|
STATIC_TI_ER_MODULE = libstatic-im-ti-er.la
|
|
|
|
else
|
|
|
|
TI_ER_MODULE = im-ti-er.la
|
|
|
|
endif
|
2002-02-10 17:46:08 +00:00
|
|
|
|
|
|
|
im_ti_et_la_LDFLAGS = -rpath $(moduledir) -avoid-version -module $(no_undefined)
|
|
|
|
im_ti_et_la_SOURCES = imti-et.c
|
2008-03-17 23:53:18 +00:00
|
|
|
libstatic_im_ti_et_la_SOURCES = $(im_ti_et_la_SOURCES)
|
2002-02-10 17:46:08 +00:00
|
|
|
im_ti_et_la_LIBADD = $(LDADDS)
|
2008-03-17 23:53:18 +00:00
|
|
|
if INCLUDE_IM_TI_ET
|
|
|
|
STATIC_TI_ET_MODULE = libstatic-im-ti-et.la
|
|
|
|
else
|
|
|
|
TI_ET_MODULE = im-ti-et.la
|
|
|
|
endif
|
2002-02-10 17:46:08 +00:00
|
|
|
|
2006-11-29 01:14:04 +00:00
|
|
|
im_thai_la_LDFLAGS = -rpath $(moduledir) -avoid-version -module $(no_undefined)
|
|
|
|
im_thai_la_SOURCES = \
|
|
|
|
thai-charprop.c \
|
|
|
|
thai-charprop.h \
|
|
|
|
gtkimcontextthai.c \
|
|
|
|
gtkimcontextthai.h \
|
|
|
|
imthai.c
|
2008-03-17 23:53:18 +00:00
|
|
|
libstatic_im_thai_la_SOURCES = $(im_thai_la_SOURCES)
|
2006-11-29 01:14:04 +00:00
|
|
|
im_thai_la_LIBADD = $(LDADDS)
|
2008-03-17 23:53:18 +00:00
|
|
|
if INCLUDE_IM_THAI
|
|
|
|
STATIC_THAI_MODULE = libstatic-im-thai.la
|
|
|
|
else
|
|
|
|
THAI_MODULE = im-thai.la
|
|
|
|
endif
|
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
|
2008-03-17 23:53:18 +00:00
|
|
|
libstatic_im_viqr_la_SOURCES = $(im_viqr_la_SOURCES)
|
2001-05-16 18:51:28 +00:00
|
|
|
im_viqr_la_LIBADD = $(LDADDS)
|
2008-03-17 23:53:18 +00:00
|
|
|
if INCLUDE_IM_VIQR
|
|
|
|
STATIC_VIQR_MODULE = libstatic-im-viqr.la
|
|
|
|
else
|
|
|
|
VIQR_MODULE = im-viqr.la
|
|
|
|
endif
|
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
|
2008-03-17 23:53:18 +00:00
|
|
|
libstatic_im_inuktitut_la_SOURCES = $(im_inuktitut_la_SOURCES)
|
2001-05-16 18:51:28 +00:00
|
|
|
im_inuktitut_la_LIBADD = $(LDADDS)
|
2008-03-17 23:53:18 +00:00
|
|
|
if INCLUDE_IM_INUKTITUT
|
|
|
|
STATIC_INUKTITUT_MODULE = libstatic-im-inuktitut.la
|
|
|
|
else
|
|
|
|
INUKTITUT_MODULE = im-inuktitut.la
|
|
|
|
endif
|
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
|
2008-03-17 23:53:18 +00:00
|
|
|
libstatic_im_ipa_la_SOURCES = $(im_ipa_la_SOURCES)
|
2001-05-16 18:51:28 +00:00
|
|
|
im_ipa_la_LIBADD = $(LDADDS)
|
2008-03-17 23:53:18 +00:00
|
|
|
if INCLUDE_IM_IPA
|
|
|
|
STATIC_IPA_MODULE = libstatic-im-ipa.la
|
|
|
|
else
|
|
|
|
IPA_MODULE = im-ipa.la
|
|
|
|
endif
|
2004-08-26 14:29:25 +00:00
|
|
|
|
|
|
|
im_ime_la_LDFLAGS = -rpath $(moduledir) -avoid-version -module $(no_undefined)
|
|
|
|
im_ime_la_SOURCES = \
|
|
|
|
gtkimcontextime.c \
|
|
|
|
gtkimcontextime.h \
|
|
|
|
imime.c \
|
|
|
|
imm-extra.h
|
2008-03-17 23:53:18 +00:00
|
|
|
libstatic_im_ime_la_SOURCES = $(im_ime_la_SOURCES)
|
2004-08-30 04:53:23 +00:00
|
|
|
im_ime_la_LIBADD = -limm32 $(LDADDS)
|
2008-03-17 23:53:18 +00:00
|
|
|
libstatic_im_ime_la_LIBADD = -limm32
|
2005-06-04 22:08:50 +00:00
|
|
|
if USE_WIN32
|
2008-03-17 23:53:18 +00:00
|
|
|
if INCLUDE_IM_IME
|
|
|
|
STATIC_IME_MODULE = libstatic-im-ime.la
|
|
|
|
else
|
2010-05-08 05:18:53 +00:00
|
|
|
IME_MODULE=im-ime.la
|
2008-03-17 23:53:18 +00:00
|
|
|
endif
|
2004-08-26 14:29:25 +00:00
|
|
|
endif
|
|
|
|
|
2013-05-20 17:48:32 +00:00
|
|
|
im_quartz_la_CPPFLAGS = $(AM_CPPFLAGS) -xobjective-c
|
|
|
|
im_quartz_la_LDFLAGS = -rpath $(moduledir) -avoid-version -module $(no_undefined)
|
|
|
|
im_quartz_la_SOURCES = imquartz.c
|
|
|
|
libstatic_im_quartz_la_SOURCES = $(im_quartz_la_SOURCES)
|
|
|
|
im_quartz_la_LIBADD = $(LDADDS)
|
|
|
|
if INCLUDE_IM_QUARTZ
|
|
|
|
STATIC_QUARTZ_MODULE = libstatic-im-quartz.la
|
|
|
|
else
|
2013-05-20 18:06:32 +00:00
|
|
|
if USE_QUARTZ
|
2013-05-20 17:48:32 +00:00
|
|
|
QUARTZ_MODULE = im-quartz.la
|
|
|
|
endif
|
2013-05-20 18:06:32 +00:00
|
|
|
endif
|
2013-05-20 17:48:32 +00:00
|
|
|
|
2007-05-24 19:43:05 +00:00
|
|
|
multipress_defs = -DMULTIPRESS_LOCALEDIR=\""$(mplocaledir)"\" -DMULTIPRESS_CONFDIR=\""$(sysconfdir)/gtk-2.0"\"
|
2011-11-02 02:52:56 +00:00
|
|
|
im_multipress_la_CPPFLAGS = $(AM_CPPFLAGS) $(multipress_defs)
|
2008-03-17 23:53:18 +00:00
|
|
|
libstatic_im_multipress_la_CPPFLAGS = $(im_multipress_la_CPPFLAGS)
|
2007-03-18 05:34:24 +00:00
|
|
|
im_multipress_la_LDFLAGS = -rpath $(moduledir) -avoid-version -module $(no_undefined)
|
|
|
|
im_multipress_la_SOURCES = \
|
|
|
|
gtkimcontextmultipress.c \
|
|
|
|
gtkimcontextmultipress.h \
|
|
|
|
immultipress.c
|
2008-03-17 23:53:18 +00:00
|
|
|
libstatic_im_multipress_la_SOURCES = $(im_multipress_la_SOURCES)
|
2007-03-27 22:11:38 +00:00
|
|
|
im_multipress_la_LIBADD = $(LDADDS)
|
2008-03-17 23:53:18 +00:00
|
|
|
if INCLUDE_IM_MULTIPRESS
|
|
|
|
STATIC_MULTIPRESS_MODULE = libstatic-im-multipress.la
|
|
|
|
else
|
|
|
|
MULTIPRESS_MODULE = im-multipress.la
|
|
|
|
endif
|
2007-03-18 05:34:24 +00:00
|
|
|
|
2010-05-08 05:18:53 +00:00
|
|
|
imconffiledir = $(sysconfdir)/gtk-3.0
|
2007-03-18 05:34:24 +00:00
|
|
|
dist_imconffile_DATA = im-multipress.conf
|
|
|
|
|
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.
|
2003-11-18 00:26:51 +00:00
|
|
|
# We use install-data-hook here to workaround a bug in automake and/or libtool
|
|
|
|
# that makes the install target for the loader libraries a dependency on
|
|
|
|
# install-data-am, and not install-exec-am. We need to ensure this gets run
|
|
|
|
# after the libraries are installed in their final locations.
|
|
|
|
install-data-hook:
|
2011-01-04 02:31:55 +00:00
|
|
|
$(AM_V_GEN) if $(RUN_QUERY_IMMODULES_TEST) ; then \
|
2010-05-18 23:23:06 +00:00
|
|
|
echo $(mkinstalldirs) $(DESTDIR)$(libdir)/gtk-3.0/3.0.0 ; \
|
|
|
|
$(mkinstalldirs) $(DESTDIR)$(libdir)/gtk-3.0/3.0.0 ; \
|
2013-01-19 13:30:02 +00:00
|
|
|
echo "$(top_builddir)/gtk/gtk-query-immodules-3.0$(EXEEXT) > $(DESTDIR)$(libdir)/gtk-3.0/3.0.0/immodules.cache" ; \
|
|
|
|
$(top_builddir)/gtk/gtk-query-immodules-3.0$(EXEEXT) > $(DESTDIR)$(libdir)/gtk-3.0/3.0.0/immodules.cache ; \
|
2002-09-27 22:10:55 +00:00
|
|
|
else \
|
|
|
|
echo "***" ; \
|
2010-05-18 23:23:06 +00:00
|
|
|
echo "*** Warning: immodules.cache not built" ; \
|
2002-09-27 22:10:55 +00:00
|
|
|
echo "***" ; \
|
|
|
|
echo "*** Generate this file manually on host" ; \
|
2010-05-08 05:18:53 +00:00
|
|
|
echo "*** system using gtk-query-immodules-3.0" ; \
|
2002-09-27 22:10:55 +00:00
|
|
|
echo "***" ; \
|
2001-09-04 16:07:05 +00:00
|
|
|
fi
|
2001-04-03 18:48:46 +00:00
|
|
|
|
2003-05-06 21:55:41 +00:00
|
|
|
uninstall-local:
|
2010-05-18 23:23:06 +00:00
|
|
|
rm -f $(DESTDIR)$(libdir)/gtk-3.0/3.0.0/immodules.cache
|
2003-05-06 21:55:41 +00:00
|
|
|
|
2008-03-17 23:53:18 +00:00
|
|
|
if BUILD_DYNAMIC_MODULES
|
|
|
|
|
|
|
|
module_LTLIBRARIES = \
|
|
|
|
$(AM_ET_MODULE) \
|
|
|
|
$(CEDILLA_MODULE) \
|
|
|
|
$(CYRILLIC_TRANSLIT_MODULE) \
|
|
|
|
$(IME_MODULE) \
|
|
|
|
$(INUKTITUT_MODULE) \
|
|
|
|
$(IPA_MODULE) \
|
|
|
|
$(MULTIPRESS_MODULE) \
|
2013-05-20 17:48:32 +00:00
|
|
|
$(QUARTZ_MODULE) \
|
2008-03-17 23:53:18 +00:00
|
|
|
$(THAI_MODULE) \
|
|
|
|
$(TI_ER_MODULE) \
|
|
|
|
$(TI_ET_MODULE) \
|
|
|
|
$(VIQR_MODULE) \
|
|
|
|
$(XIM_MODULE)
|
|
|
|
|
|
|
|
endif
|
|
|
|
|
|
|
|
noinst_LTLIBRARIES = \
|
|
|
|
$(STATIC_AM_ET_MODULE) \
|
|
|
|
$(STATIC_CEDILLA_MODULE) \
|
|
|
|
$(STATIC_CYRILLIC_TRANSLIT_MODULE) \
|
|
|
|
$(STATIC_IME_MODULE) \
|
|
|
|
$(STATIC_INUKTITUT_MODULE) \
|
|
|
|
$(STATIC_IPA_MODULE) \
|
|
|
|
$(STATIC_MULTIPRESS_MODULE) \
|
2013-05-20 17:48:32 +00:00
|
|
|
$(STATIC_QUARTZ_MODULE) \
|
2008-03-17 23:53:18 +00:00
|
|
|
$(STATIC_THAI_MODULE) \
|
|
|
|
$(STATIC_TI_ER_MODULE) \
|
|
|
|
$(STATIC_TI_ET_MODULE) \
|
|
|
|
$(STATIC_VIQR_MODULE) \
|
|
|
|
$(STATIC_XIM_MODULE)
|
|
|
|
|
|
|
|
included-modules: $(noinst_LTLIBRARIES)
|
2001-04-03 18:48:46 +00:00
|
|
|
|
2010-05-18 23:23:06 +00:00
|
|
|
immodules.cache: Makefile.am $(module_LTLIBRARIES)
|
2013-01-19 13:30:02 +00:00
|
|
|
$(AM_V_GEN) $(top_builddir)/gtk/gtk-query-immodules-3.0$(EXEEXT) $(module_LTLIBRARIES) > immodules.cache
|
2001-04-03 18:48:46 +00:00
|
|
|
|
2010-10-11 11:59:06 +00:00
|
|
|
EXTRA_DIST += README.multipress
|
|
|
|
|
2010-05-18 23:23:06 +00:00
|
|
|
CLEANFILES = immodules.cache
|
2003-05-06 21:55:41 +00:00
|
|
|
|
2002-09-27 22:10:55 +00:00
|
|
|
if CROSS_COMPILING
|
|
|
|
else
|
2010-05-18 23:23:06 +00:00
|
|
|
all-local: immodules.cache
|
2002-09-27 22:10:55 +00:00
|
|
|
endif
|
2009-05-04 00:08:11 +00:00
|
|
|
|
|
|
|
-include $(top_srcdir)/git.mk
|