From 7a7fc09339cf93dfe7b29d6601d7417e840ba1ca Mon Sep 17 00:00:00 2001 From: Behdad Esfahbod Date: Tue, 16 Jan 2007 11:06:33 +0000 Subject: Move into pango-view/ 2007-01-16 Behdad Esfahbod * examples/pango-view.c: * examples/pangocairo-view.c: * examples/pangoft2-view.c: * examples/pangox-view.c: * examples/pangoxft-view.c: * examples/renderdemo.c: * examples/renderdemo.h: * examples/test-arabic.txt: * examples/test-chinese.txt: * examples/test-devanagari.txt: * examples/test-gurmukhi.txt: * examples/test-hebrew.txt: * examples/test-ipa.txt: * examples/test-lao.txt: * examples/test-latin.txt: * examples/test-mixed.txt: * examples/test-syriac.txt: * examples/test-tamil.txt: * examples/test-thai.txt: * examples/test-tibetan.txt: * examples/viewer-cairo.c: * examples/viewer-cairo.h: * examples/viewer-main.c: * examples/viewer-pangocairo.c: * examples/viewer-pangoft2.c: * examples/viewer-pangox.c: * examples/viewer-pangoxft.c: * examples/viewer-win32.c: * examples/viewer-x.c: * examples/viewer-x.h: * examples/viewer.h: Move into pango-view/ * Makefile.am: * configure.in: * examples/Makefile.am: * pango-view/Makefile.am: Update. svn path=/trunk/; revision=2152 --- pango-view/Makefile.am | 188 +++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 188 insertions(+) create mode 100644 pango-view/Makefile.am (limited to 'pango-view/Makefile.am') diff --git a/pango-view/Makefile.am b/pango-view/Makefile.am new file mode 100644 index 00000000..ad06af85 --- /dev/null +++ b/pango-view/Makefile.am @@ -0,0 +1,188 @@ +## Process this file with automake to create Makefile.in. + +TEST_TEXTS = \ + test-arabic.txt \ + test-chinese.txt \ + test-devanagari.txt \ + test-gurmukhi.txt \ + test-hebrew.txt \ + test-ipa.txt \ + test-lao.txt \ + test-latin.txt \ + test-syriac.txt \ + test-tamil.txt \ + test-thai.txt \ + test-tibetan.txt \ + HELLO.utf8 \ + GLASS.utf8 + +EXTRA_DIST = \ + viewer-win32.c \ + $(TEST_TEXTS) + +CLEANFILES = pangorc + +INCLUDES = \ + -I$(top_srcdir) \ + $(PANGO_DEBUG_FLAGS) \ + $(GLIB_CFLAGS) \ + $(XFT_CFLAGS) \ + $(CAIRO_CFLAGS) \ + $(FREETYPE_CFLAGS) \ + $(X_CFLAGS) + +noinst_PROGRAMS = +bin_PROGRAMS = + +######################################################### +if HAVE_FREETYPE +noinst_PROGRAMS += pangoft2-view + +pangoft2_view_SOURCES = \ + renderdemo.h \ + renderdemo.c \ + viewer.h \ + viewer-main.c \ + viewer-pangoft2.c \ + pangoft2-view.c + +pangoft2_view_LDADD = \ + ../pango/libpango-$(PANGO_API_VERSION).la \ + ../pango/libpangoft2-$(PANGO_API_VERSION).la \ + $(GLIB_LIBS) \ + $(FREETYPE_LIBS) +endif +######################################################### + +######################################################### +if HAVE_X +noinst_PROGRAMS += pangox-view + +pangox_view_SOURCES = \ + renderdemo.h \ + renderdemo.c \ + viewer.h \ + viewer-x.h \ + viewer-x.c \ + viewer-main.c \ + viewer-pangox.c \ + pangox-view.c + +pangox_view_LDADD = \ + ../pango/libpango-$(PANGO_API_VERSION).la \ + ../pango/libpangox-$(PANGO_API_VERSION).la \ + $(GLIB_LIBS) \ + $(X_LIBS) +endif +######################################################### + +######################################################### +if HAVE_XFT +noinst_PROGRAMS += pangoxft-view + +pangoxft_view_SOURCES = \ + renderdemo.h \ + renderdemo.c \ + viewer.h \ + viewer-x.h \ + viewer-x.c \ + viewer-main.c \ + viewer-pangoxft.c \ + pangoxft-view.c + +pangoxft_view_LDADD = \ + ../pango/libpango-$(PANGO_API_VERSION).la \ + ../pango/libpangoft2-$(PANGO_API_VERSION).la \ + ../pango/libpangoxft-$(PANGO_API_VERSION).la \ + $(GLIB_LIBS) \ + $(XFT_LIBS) \ + $(X_LIBS) +endif +######################################################### + +######################################################### +if HAVE_CAIRO +if HAVE_X +if HAVE_CAIRO_XLIB +noinst_PROGRAMS += pangocairo-view + +pangocairo_view_SOURCES = \ + renderdemo.h \ + renderdemo.c \ + viewer.h \ + viewer-cairo.h \ + viewer-cairo.c \ + viewer-x.h \ + viewer-x.c \ + viewer-main.c \ + viewer-pangocairo.c \ + pangocairo-view.c + +pangocairo_view_LDADD = \ + ../pango/libpango-$(PANGO_API_VERSION).la \ + ../pango/libpangoft2-$(PANGO_API_VERSION).la \ + ../pango/libpangocairo-$(PANGO_API_VERSION).la \ + $(GLIB_LIBS) \ + $(CAIRO_LIBS) \ + $(X_LIBS) +endif +endif +endif +######################################################### + +######################################################### +if HAVE_X +bin_PROGRAMS += pango-view +pango_view_SOURCES = \ + renderdemo.h \ + renderdemo.c \ + viewer.h \ + viewer-x.h \ + viewer-x.c \ + viewer-main.c \ + pango-view.c +pango_view_LDADD = \ + ../pango/libpango-$(PANGO_API_VERSION).la \ + $(GLIB_LIBS) +if HAVE_X +pango_view_SOURCES += \ + viewer-pangox.c +pango_view_LDADD += \ + ../pango/libpangox-$(PANGO_API_VERSION).la +endif +if HAVE_FREETYPE +pango_view_SOURCES += \ + viewer-pangoft2.c +pango_view_LDADD += \ + ../pango/libpangoft2-$(PANGO_API_VERSION).la \ + $(FREETYPE_LIBS) +endif +if HAVE_XFT +pango_view_SOURCES += \ + viewer-pangoxft.c +pango_view_LDADD += \ + ../pango/libpangoft2-$(PANGO_API_VERSION).la \ + ../pango/libpangoxft-$(PANGO_API_VERSION).la \ + $(XFT_LIBS) +endif +if HAVE_CAIRO +if HAVE_CAIRO_XLIB +pango_view_SOURCES += \ + viewer-cairo.h \ + viewer-cairo.c \ + viewer-pangocairo.c +pango_view_LDADD += \ + ../pango/libpangoft2-$(PANGO_API_VERSION).la \ + ../pango/libpangocairo-$(PANGO_API_VERSION).la \ + $(CAIRO_LIBS) +endif +endif +pango_view_LDADD += \ + $(X_LIBS) +endif +######################################################### + +BUILT_SOURCES = pangorc + +pangorc: $(srcdir)/../modules/pangorc + cp $< $@ -- cgit v1.2.1