summaryrefslogtreecommitdiff
path: root/modules/hebrew/Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to 'modules/hebrew/Makefile.am')
-rw-r--r--modules/hebrew/Makefile.am14
1 files changed, 11 insertions, 3 deletions
diff --git a/modules/hebrew/Makefile.am b/modules/hebrew/Makefile.am
index ce925aec..0aad3db7 100644
--- a/modules/hebrew/Makefile.am
+++ b/modules/hebrew/Makefile.am
@@ -2,6 +2,11 @@
sources = hebrew-x.c
+pangolibs = $(top_builddir)/pango/libpango.la $(FRIBIDI_LIBS) $(GLIB_LIBS)
+pangoxlibs = $(top_builddir)/pango/libpangox.la $(X_LIBS) $(pangolibs)
+pangoxftlibs = $(top_builddir)/pango/libpangoxft.la $(XFT_LIBS) $(pangolibs)
+pangoft2libs = $(top_builddir)/pango/libpangoft2.la $(FREETYPE_LIBS) $(pangolibs)
+
if HAVE_X
if INCLUDE_HEBREW_X
noinst_LTLIBRARIES = libpango-hebrew-x.la
@@ -9,15 +14,18 @@ moddefine = -DX_MODULE_PREFIX
else
moduledir = $(libdir)/pango/modules
module_LTLIBRARIES = pango-hebrew-x.la
-moduleflags=-rpath $(libdir)
+hebrew_x_libadd=$(pangoxlibs)
endif
endif
INCLUDES = -I$(top_srcdir) -I$(top_srcdir)/pango/ $(moddefine) $(X_CFLAGS)
-pango_hebrew_x_la_LDFLAGS = $(moduleflags) -export-dynamic -avoid-version -module
-pango_hebrew_x_la_LIBADD =
+pango_hebrew_x_la_LDFLAGS = -export-dynamic -avoid-version -module
+pango_hebrew_x_la_LIBADD = $(hebrew_x_libadd)
pango_hebrew_x_la_SOURCES = $(sources)
libpango_hebrew_x_la_SOURCES = $(sources)
+included-modules: $(noinst_LTLIBRARIES)
+
+.PHONY: included-modules