1# Process this file with automake to produce Makefile.in 2 3NULL = 4EXTRA_DIST = 5CLEANFILES = 6DISTCLEANFILES = 7MAINTAINERCLEANFILES = 8 9bin_PROGRAMS = 10 11AM_CPPFLAGS = \ 12 -DHB_DISABLE_DEPRECATED \ 13 -I$(top_srcdir)/src/ \ 14 -I$(top_builddir)/src/ \ 15 $(GLIB_CFLAGS) \ 16 $(FREETYPE_CFLAGS) \ 17 $(CAIRO_FT_CFLAGS) \ 18 $(NULL) 19LDADD = \ 20 $(top_builddir)/src/libharfbuzz.la \ 21 -lm \ 22 $(GLIB_LIBS) \ 23 $(FREETYPE_LIBS) \ 24 $(NULL) 25 26if HAVE_GLIB 27 28if HAVE_FREETYPE 29if HAVE_CAIRO_FT 30hb_view_SOURCES = \ 31 hb-view.cc \ 32 options.cc \ 33 options.hh \ 34 main-font-text.hh \ 35 shape-consumer.hh \ 36 ansi-print.cc \ 37 ansi-print.hh \ 38 helper-cairo.cc \ 39 helper-cairo.hh \ 40 helper-cairo-ansi.cc \ 41 helper-cairo-ansi.hh \ 42 view-cairo.cc \ 43 view-cairo.hh \ 44 $(NULL) 45hb_view_LDADD = \ 46 $(LDADD) \ 47 $(CAIRO_LIBS) \ 48 $(CAIRO_FT_LIBS) \ 49 $(NULL) 50bin_PROGRAMS += hb-view 51endif # HAVE_CAIRO_FT 52endif # HAVE_FREETYPE 53 54hb_shape_SOURCES = \ 55 hb-shape.cc \ 56 options.cc \ 57 options.hh \ 58 main-font-text.hh \ 59 shape-consumer.hh \ 60 $(NULL) 61bin_PROGRAMS += hb-shape 62 63if HAVE_OT 64hb_ot_shape_closure_SOURCES = \ 65 hb-ot-shape-closure.cc \ 66 options.cc \ 67 options.hh \ 68 main-font-text.hh \ 69 $(NULL) 70bin_PROGRAMS += hb-ot-shape-closure 71endif # HAVE_OT 72 73endif # HAVE_GLIB 74 75-include $(top_srcdir)/git.mk 76