forked from AuroraMiddleware/gtk
1d15be1599
2001-11-03 Tor Lillqvist <tml@iki.fi> * modules/input/Makefile.am: Use -no-undefined on Windows. Look for .dll or .so as appropriate as module suffix. * gtk-zip.sh.in: Use correct import library names. * gtk/gtk.def: Add a couple of missing entry points. (#63585) 2001-11-02 Tor Lillqvist <tml@iki.fi> * gtk/gtkrc.c (gtk_rc_make_default_dir): Fix typo: extraneous comma. Include gtkprivate.h for GTK_LIBDIR etc definitions on Windows. 2001-10-30 Tor Lillqvist <tml@iki.fi> * Makefile (install-data-hook): Use cp, not $(LN_S) on the .pc files. Configure on Win32 (running on Cygwin) thinks symlinks exist, but pkg-config is not necesarily a Cygwin program, and doesn't understand them.
79 lines
2.3 KiB
Makefile
79 lines
2.3 KiB
Makefile
## Makefile.am for gtk+/modules/input
|
|
|
|
if PLATFORM_WIN32
|
|
no_undefined = -no-undefined
|
|
SOSUFFIX=dll
|
|
else
|
|
SOSUFFIX=so
|
|
endif
|
|
|
|
INCLUDES = @STRIP_BEGIN@ \
|
|
-I$(top_srcdir) \
|
|
-I$(top_srcdir)/gdk \
|
|
-I$(top_builddir)/gdk \
|
|
-DGTK_LOCALEDIR=\"$(gtklocaledir)\" \
|
|
@GTK_DEBUG_FLAGS@ \
|
|
@GTK_XIM_FLAGS@ \
|
|
@GTK_DEP_CFLAGS@ \
|
|
@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@ \
|
|
@GTK_DEP_LIBS@ \
|
|
@STRIP_END@
|
|
|
|
moduledir = $(libdir)/gtk-2.0/immodules/$(GTK_BINARY_VERSION)
|
|
|
|
im_xim_la_LDFLAGS = -rpath $(moduledir) -avoid-version -module $(no_undefined)
|
|
im_xim_la_SOURCES = \
|
|
gtkimcontextxim.c \
|
|
gtkimcontextxim.h \
|
|
imxim.c
|
|
im_xim_la_LIBADD = $(LDADDS)
|
|
if USE_X11
|
|
IM_XIM_MODULE=im-xim.la
|
|
endif
|
|
|
|
im_cyrillic_translit_la_LDFLAGS = -rpath $(moduledir) -avoid-version -module $(no_undefined)
|
|
im_cyrillic_translit_la_SOURCES = imcyrillic-translit.c
|
|
im_cyrillic_translit_la_LIBADD = $(LDADDS)
|
|
|
|
im_thai_broken_la_LDFLAGS = -rpath $(moduledir) -avoid-version -module $(no_undefined)
|
|
im_thai_broken_la_SOURCES = imthai-broken.c
|
|
im_thai_broken_la_LIBADD = $(LDADDS)
|
|
|
|
im_viqr_la_LDFLAGS = -rpath $(moduledir) -avoid-version -module $(no_undefined)
|
|
im_viqr_la_SOURCES = imviqr.c
|
|
im_viqr_la_LIBADD = $(LDADDS)
|
|
|
|
im_inuktitut_la_LDFLAGS = -rpath $(moduledir) -avoid-version -module $(no_undefined)
|
|
im_inuktitut_la_SOURCES = iminuktitut.c
|
|
im_inuktitut_la_LIBADD = $(LDADDS)
|
|
|
|
im_ipa_la_LDFLAGS = -rpath $(moduledir) -avoid-version -module $(no_undefined)
|
|
im_ipa_la_SOURCES = imipa.c
|
|
im_ipa_la_LIBADD = $(LDADDS)
|
|
|
|
# Running this if DESTDIR is set is going to not work at all, so
|
|
# skip it.
|
|
install-data-local:
|
|
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
|
|
|
|
module_LTLIBRARIES = im-cyrillic-translit.la $(IM_XIM_MODULE) im-viqr.la im-thai-broken.la \
|
|
im-inuktitut.la im-ipa.la
|
|
|
|
gtk.immodules: Makefile.am $(module_LTLIBRARIES)
|
|
$(top_builddir)/gtk/gtk-query-immodules-2.0 .libs/*.$(SOSUFFIX) > gtk.immodules
|
|
|
|
all-local: gtk.immodules
|