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