summaryrefslogtreecommitdiff
path: root/pango/Makefile.am
diff options
context:
space:
mode:
authorOwen Taylor <otaylor@redhat.com>2000-12-15 01:10:13 +0000
committerOwen Taylor <otaylor@src.gnome.org>2000-12-15 01:10:13 +0000
commitf2bb9b92d5cebe5594e73e2eeea8a1a606da9005 (patch)
tree0eb5ddbd7f3c77b799603fcc21e444f6d9941d6c /pango/Makefile.am
parent016c4d7047fd3ac2f76667f4ffe3b3a22ad0b902 (diff)
downloadpango-f2bb9b92d5cebe5594e73e2eeea8a1a606da9005.tar.gz
Fix macro breakage.
Thu Dec 14 19:00:46 2000 Owen Taylor <otaylor@redhat.com> * modules/indic/pango-indic-script.h: Fix macro breakage. * modules/basic/tables-big.i: Remove extra copy of basic_ranges. * modules/thai/thai.c: Fix various warnings. * configure.in Makefile.am pangoxft.pc.in pango-config.in modules/basic/Makefile.am modules/basic/basic-xft.c pango/Makefile.am pango/pangoxft-font.[ch] pango/pangoxft-fontmap.c pango/pangoxft.h pango/pangoxft-private.h: Initial support for rendering via Xft and the Xrender extension.
Diffstat (limited to 'pango/Makefile.am')
-rw-r--r--pango/Makefile.am41
1 files changed, 25 insertions, 16 deletions
diff --git a/pango/Makefile.am b/pango/Makefile.am
index 4df0d880..7ffb4114 100644
--- a/pango/Makefile.am
+++ b/pango/Makefile.am
@@ -8,9 +8,19 @@ endif
INCLUDES = \
-DSYSCONFDIR=\"$(sysconfdir)\" \
-DLIBDIR=\"$(libdir)\" \
+ $(X_CFLAGS) \
-I$(top_srcdir)
-lib_LTLIBRARIES = libpango.la libpangox.la
+if HAVE_XFT
+XFT_HFILES=pangoxft.h
+XFT_BUILD_LIBS=libpangoxft.la
+else
+XFT_HFILES=
+XFT_BUILD_LIBS=
+endif
+
+lib_LTLIBRARIES = libpango.la libpangox.la $(XFT_BUILD_LIBS)
+
bin_PROGRAMS = pango-querymodules
libpango_la_SOURCES = \
@@ -53,7 +63,14 @@ libpango_la_LIBADD = mini-fribidi/libmini-fribidi.la
endif
libpangox_la_LDFLAGS = -release $(VERSION)
-libpangox_la_LIBADD = $(INCLUDED_MODULES)
+libpangox_la_LIBADD = $(INCLUDED_MODULES) $(X_LIBS)
+
+libpangoxft_la_SOURCES = \
+ pangoxft-font.c \
+ pangoxft-fontmap.c
+
+libpangoxft_la_LIBADD = $(INCLUDED_MODULES) $(XFT_LIBS)
+libpangoxft_la_LDFLAGS = -release $(VERSION)
pangoincludedir=$(includedir)/pango-1.0/pango
@@ -73,14 +90,19 @@ pangoinclude_HEADERS = \
pango-tabs.h \
pango-types.h \
pango-utils.h \
- pangox.h
+ pangox.h \
+ $(XFT_HFILES)
#
# As a temporary hack, we pull in libpangox here so that we can link
#
pango_querymodules_SOURCES = \
querymodules.c
+if HAVE_XFT
+pango_querymodules_LDADD = libpangox.la libpangoxft.la libpango.la $(GLIB_LIBS) $(FRIBIDI_LIBS) $(XFT_LIBS)
+else
pango_querymodules_LDADD = libpangox.la libpango.la $(GLIB_LIBS) $(FRIBIDI_LIBS) $(X_LIBS)
+endif
EXTRA_DIST = \
module-defs.c.win32 \
@@ -105,16 +127,3 @@ EXTRA_DIST = \
pangoft2.rc.in \
pangowin32.rc \
pangowin32.rc.in
-
-
-makefile.mingw: $(top_builddir)/config.status $(top_srcdir)/pango/makefile.mingw.in
- cd $(top_builddir) && CONFIG_FILES=pango/$@ CONFIG_HEADERS= $(SHELL) ./config.status
-
-pango2.rc: $(top_builddir)/config.status $(top_srcdir)/pango/pango.rc.in
- cd $(top_builddir) && CONFIG_FILES=pango/$@ CONFIG_HEADERS= $(SHELL) ./config.status
-
-pangoft2.rc: $(top_builddir)/config.status $(top_srcdir)/pango/pangoft2.rc.in
- cd $(top_builddir) && CONFIG_FILES=pango/$@ CONFIG_HEADERS= $(SHELL) ./config.status
-
-pangowin32.rc: $(top_builddir)/config.status $(top_srcdir)/pango/pangowin32.rc.in
- cd $(top_builddir) && CONFIG_FILES=pango/$@ CONFIG_HEADERS= $(SHELL) ./config.status