diff options
author | Owen Taylor <otaylor@redhat.com> | 2003-04-14 23:48:34 +0000 |
---|---|---|
committer | Owen Taylor <otaylor@src.gnome.org> | 2003-04-14 23:48:34 +0000 |
commit | 402f2625c2c779df20470ed0f758999db494e4dc (patch) | |
tree | 6667e384ed0c39a22a6e3f731c062311fa7b3e9a /modules/hangul/Makefile.am | |
parent | f6fdd34661bd9fe23452b5eb98ece8488a12ce8f (diff) | |
download | pango-402f2625c2c779df20470ed0f758999db494e4dc.tar.gz |
Switch over the way that module entry points work, taking advantage of the
Mon Apr 14 06:02:34 2003 Owen Taylor <otaylor@redhat.com>
* modules/thai/{thai-fc.c,thai-shaper.c,thai-x.c}:
* modules/*/*-{xft,x,win32.c} pango/pango-engine.h
modules/*/Makefile.am: Switch over the way that
module entry points work, taking advantage of the
new automake capability for per-target CFLAGS for
shared sources.
* pango/pangofc-font.[ch] pango/pangoxft-font.c
pango/pangoft2.c: Add a base class for
PangoXft and PangoFT2 font classes so code can
be shared between FT2 and Xft backends.
* configure.in modules/*/Makefile.am
modules/{arabic,basic,hangul,hebrew,indic,thai}: Move
*-xft.c to *-fc.c and share between Xft and FT2 backends;
adds FT2 backend capabilities for hangul/indic/thai.
* pango/pangoxft.h pango/pangoft2.h: Deprecate
APIs that moved into PangoFcFont
* modules/basic/basic-fc.c (set_glyph): Add kerning
handling from FT2 backend.
Diffstat (limited to 'modules/hangul/Makefile.am')
-rw-r--r-- | modules/hangul/Makefile.am | 26 |
1 files changed, 23 insertions, 3 deletions
diff --git a/modules/hangul/Makefile.am b/modules/hangul/Makefile.am index c90b9e0a..a4047f3b 100644 --- a/modules/hangul/Makefile.am +++ b/modules/hangul/Makefile.am @@ -21,7 +21,6 @@ if HAVE_X INCLUDES += $(X_CFLAGS) if INCLUDE_HANGUL_X noinst_LTLIBRARIES += libpango-hangul-x.la -INCLUDES += -DX_MODULE_PREFIX else module_LTLIBRARIES += pango-hangul-x.la endif @@ -33,24 +32,45 @@ pango_hangul_x_la_LDFLAGS = -export-dynamic -avoid-version -module pango_hangul_x_la_LIBADD = $(pangoxlibs) pango_hangul_x_la_SOURCES = $(x_sources) libpango_hangul_x_la_SOURCES = $(x_sources) +libpango_hangul_x_la_CFLAGS = -DPANGO_MODULE_PREFIX=_pango_hangul_x if HAVE_XFT INCLUDES += $(XFT_CFLAGS) if INCLUDE_HANGUL_XFT noinst_LTLIBRARIES += libpango-hangul-xft.la -INCLUDES += -DXFT_MODULE_PREFIX else module_LTLIBRARIES += pango-hangul-xft.la endif endif -xft_sources = hangul-xft.c hangul-defs.h +xft_sources = hangul-fc.c hangul-defs.h pango_hangul_xft_la_LDFLAGS = -export-dynamic -avoid-version -module pango_hangul_xft_la_LIBADD = $(pangoxftlibs) pango_hangul_xft_la_SOURCES = $(xft_sources) +pango_hangul_xft_la_CFLAGS = -DBUILD_XFT libpango_hangul_xft_la_SOURCES = $(xft_sources) +libpango_hangul_xft_la_CFLAGS = -DBUILD_XFT -DPANGO_MODULE_PREFIX=_pango_hangul_xft + + +if HAVE_FREETYPE +INCLUDES += $(FREETYPE_CFLAGS) +if INCLUDE_HANGUL_FT2 +noinst_LTLIBRARIES += libpango-hangul-ft2.la +else +module_LTLIBRARIES += pango-hangul-ft2.la +endif +endif + +ft2_sources = hangul-fc.c hangul-defs.h + +pango_hangul_ft2_la_LDFLAGS = -export-dynamic -avoid-version -module +pango_hangul_ft2_la_LIBADD = $(pangoft2libs) +pango_hangul_ft2_la_SOURCES = $(ft2_sources) +pango_hangul_ft2_la_CFLAGS = -DBUILD_FT2 +libpango_hangul_ft2_la_SOURCES = $(ft2_sources) +libpango_hangul_ft2_la_CFLAGS = -DBUILD_FT2 -DPANGO_MODULE_PREFIX=_pango_hangul_ft2 EXTRA_DIST = \ |