diff options
Diffstat (limited to 'pango-view/Makefile.am')
-rw-r--r-- | pango-view/Makefile.am | 188 |
1 files changed, 188 insertions, 0 deletions
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 $< $@ |