1# Process this file with automake to produce Makefile.in
2
3EXTRA_DIST =
4CLEANFILES =
5DISTCLEANFILES =
6MAINTAINERCLEANFILES =
7
8include Makefile.sources
9
10# Convenience targets:
11lib:
12	@$(MAKE) $(AM_MAKEFLAGS) -C $(top_builddir)/src lib
13
14bin_PROGRAMS =
15
16AM_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)
24LDADD = \
25	$(top_builddir)/src/libharfbuzz.la \
26	-lm \
27	$(GLIB_LIBS) \
28	$(FREETYPE_LIBS) \
29	$(NULL)
30
31if HAVE_GLIB
32
33if HAVE_FREETYPE
34if HAVE_CAIRO_FT
35hb_view_SOURCES = $(HB_VIEW_sources)
36hb_view_LDADD = \
37	$(LDADD) \
38	$(CAIRO_LIBS) \
39	$(CAIRO_FT_LIBS) \
40	$(NULL)
41bin_PROGRAMS += hb-view
42endif # HAVE_CAIRO_FT
43endif # HAVE_FREETYPE
44
45hb_shape_SOURCES = $(HB_SHAPE_sources)
46bin_PROGRAMS += hb-shape
47
48if HAVE_OT
49hb_ot_shape_closure_SOURCES = $(HB_OT_SHAPE_CLOSURE_sources)
50bin_PROGRAMS += hb-ot-shape-closure
51endif # HAVE_OT
52
53endif # 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