1# Process this file with automake to produce Makefile.in 2 3NULL = 4EXTRA_DIST = 5CLEANFILES = 6DISTCLEANFILES = 7MAINTAINERCLEANFILES = 8 9EXTRA_DIST += meson.build 10 11include Makefile.sources 12 13# Convenience targets: 14lib: 15 @$(MAKE) $(AM_MAKEFLAGS) -C $(top_builddir)/src lib 16libs: 17 @$(MAKE) $(AM_MAKEFLAGS) -C $(top_builddir)/src libs 18 19bin_PROGRAMS = 20 21AM_CPPFLAGS = \ 22 -DHB_DISABLE_DEPRECATED \ 23 -I$(top_srcdir)/src/ \ 24 -I$(top_builddir)/src/ \ 25 $(GLIB_CFLAGS) \ 26 $(FREETYPE_CFLAGS) \ 27 $(CAIRO_FT_CFLAGS) \ 28 $(CHAFA_CFLAGS) \ 29 $(NULL) 30LDADD = \ 31 $(top_builddir)/src/libharfbuzz.la \ 32 -lm \ 33 $(GLIB_LIBS) \ 34 $(FREETYPE_LIBS) \ 35 $(NULL) 36 37if HAVE_GLIB 38 39if HAVE_FREETYPE 40if HAVE_CAIRO_FT 41hb_view_SOURCES = $(HB_VIEW_sources) 42hb_view_LDADD = \ 43 $(LDADD) \ 44 $(CAIRO_LIBS) \ 45 $(CAIRO_FT_LIBS) \ 46 $(CHAFA_LIBS) \ 47 $(NULL) 48bin_PROGRAMS += hb-view 49endif # HAVE_CAIRO_FT 50endif # HAVE_FREETYPE 51 52hb_shape_SOURCES = $(HB_SHAPE_sources) 53bin_PROGRAMS += hb-shape 54 55hb_subset_SOURCES = $(HB_SUBSET_CLI_sources) 56hb_subset_LDADD = \ 57 $(top_builddir)/src/libharfbuzz-subset.la \ 58 $(LDADD) 59 60bin_PROGRAMS += hb-subset 61 62hb_ot_shape_closure_SOURCES = $(HB_OT_SHAPE_CLOSURE_sources) 63bin_PROGRAMS += hb-ot-shape-closure 64 65endif # HAVE_GLIB 66 67#if HAVE_FONTCONFIG 68#hb_fc_list_SOURCES = \ 69# hb-fc.cc \ 70# hb-fc.h \ 71# hb-fc-list.c \ 72# $(NULL) 73#hb_fc_list_LDADD = \ 74# $(LDADD) \ 75# $(FONTCONFIG_LIBS) \ 76# $(NULL) 77#bin_PROGRAMS += hb-fc-list 78#endif # HAVE_FONTCONFIG 79 80-include $(top_srcdir)/git.mk 81