summaryrefslogtreecommitdiff
path: root/modules/arabic/Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to 'modules/arabic/Makefile.am')
-rw-r--r--modules/arabic/Makefile.am12
1 files changed, 7 insertions, 5 deletions
diff --git a/modules/arabic/Makefile.am b/modules/arabic/Makefile.am
index 3aeafb90..683ac140 100644
--- a/modules/arabic/Makefile.am
+++ b/modules/arabic/Makefile.am
@@ -26,7 +26,6 @@ if HAVE_X
INCLUDES += $(X_CFLAGS)
if INCLUDE_ARABIC_X
noinst_LTLIBRARIES += libpango-arabic-x.la
-INCLUDES += -DX_MODULE_PREFIX
else
module_LTLIBRARIES += pango-arabic-x.la
endif
@@ -47,48 +46,51 @@ pango_arabic_x_la_LDFLAGS = -export-dynamic -avoid-version -module
pango_arabic_x_la_LIBADD = $(pangoxlibs)
pango_arabic_x_la_SOURCES = $(x_sources)
libpango_arabic_x_la_SOURCES = $(x_sources)
+libpango_arabic_x_la_CFLAGS = -DPANGO_MODULE_PREFIX=_pango_arabic_x
if HAVE_XFT
INCLUDES += $(XFT_CFLAGS)
if INCLUDE_ARABIC_XFT
noinst_LTLIBRARIES += libpango-arabic-xft.la
-INCLUDES += -DXFT_MODULE_PREFIX
else
module_LTLIBRARIES += pango-arabic-xft.la
endif
endif
xft_sources = \
- arabic-xft.c \
+ arabic-fc.c \
arabic-ot.c \
arabic-ot.h
pango_arabic_xft_la_LDFLAGS = -export-dynamic -avoid-version -module
pango_arabic_xft_la_LIBADD = $(pangoxftlibs)
pango_arabic_xft_la_SOURCES = $(xft_sources)
+pango_arabic_xft_la_CFLAGS = -DBUILD_XFT
libpango_arabic_xft_la_SOURCES = $(xft_sources)
+libpango_arabic_xft_la_CFLAGS = -DBUILD_XFT -DPANGO_MODULE_PREFIX=_pango_arabic_xft
if HAVE_FREETYPE
INCLUDES += $(FREETYPE_CFLAGS)
if INCLUDE_ARABIC_FT2
noinst_LTLIBRARIES += libpango-arabic-ft2.la
-INCLUDES += -DFT2_MODULE_PREFIX
else
module_LTLIBRARIES += pango-arabic-ft2.la
endif
endif
ft2_sources = \
- arabic-ft2.c \
+ arabic-fc.c \
arabic-ot.c \
arabic-ot.h
pango_arabic_ft2_la_LDFLAGS = -export-dynamic -avoid-version -module $(no_undefined)
pango_arabic_ft2_la_LIBADD = $(pangoft2libs)
pango_arabic_ft2_la_SOURCES = $(ft2_sources)
+pango_arabic_ft2_la_CFLAGS = -DBUILD_FT2
libpango_arabic_ft2_la_SOURCES = $(ft2_sources)
+libpango_arabic_ft2_la_CFLAGS = -DBUILD_FT2 -DPANGO_MODULE_PREFIX=_pango_arabic_ft2
included-modules: $(noinst_LTLIBRARIES)