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