diff options
Diffstat (limited to 'modules/thai')
-rw-r--r-- | modules/thai/Makefile.am | 14 |
1 files changed, 11 insertions, 3 deletions
diff --git a/modules/thai/Makefile.am b/modules/thai/Makefile.am index 3b22ed78..fc4e4a98 100644 --- a/modules/thai/Makefile.am +++ b/modules/thai/Makefile.am @@ -2,6 +2,11 @@ sources = thai-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_THAI_X noinst_LTLIBRARIES = libpango-thai-x.la @@ -9,15 +14,18 @@ moddefine = -DX_MODULE_PREFIX else moduledir = $(libdir)/pango/modules module_LTLIBRARIES = pango-thai-x.la -moduleflags=-rpath $(libdir) +thai_x_libadd=$(pangoxlibs) endif endif INCLUDES = -I$(top_srcdir) -I$(top_srcdir)/pango/ $(moddefine) $(X_CFLAGS) -pango_thai_x_la_LDFLAGS = $(moduleflags) -export-dynamic -avoid-version -module -pango_thai_x_la_LIBADD = +pango_thai_x_la_LDFLAGS = -export-dynamic -avoid-version -module +pango_thai_x_la_LIBADD = $(thai_x_libadd) pango_thai_x_la_SOURCES = $(sources) libpango_thai_x_la_SOURCES = $(sources) +included-modules: $(noinst_LTLIBRARIES) + +.PHONY: included-modules |