Imported Upstream version 0.9.35
[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         -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)
19 LDADD = \
20         $(top_builddir)/src/libharfbuzz.la \
21         -lm \
22         $(GLIB_LIBS) \
23         $(FREETYPE_LIBS) \
24         $(NULL)
25
26 if HAVE_GLIB
27
28 if HAVE_FREETYPE
29 if HAVE_CAIRO_FT
30 hb_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)
45 hb_view_LDADD = \
46         $(LDADD) \
47         $(CAIRO_LIBS) \
48         $(CAIRO_FT_LIBS) \
49         $(NULL)
50 bin_PROGRAMS += hb-view
51 endif # HAVE_CAIRO_FT
52 endif # HAVE_FREETYPE
53
54 hb_shape_SOURCES = \
55         hb-shape.cc \
56         options.cc \
57         options.hh \
58         main-font-text.hh \
59         shape-consumer.hh \
60         $(NULL)
61 bin_PROGRAMS += hb-shape
62
63 if HAVE_OT
64 hb_ot_shape_closure_SOURCES = \
65         hb-ot-shape-closure.cc \
66         options.cc \
67         options.hh \
68         main-font-text.hh \
69         $(NULL)
70 bin_PROGRAMS += hb-ot-shape-closure
71 endif # HAVE_OT
72
73 endif # HAVE_GLIB
74
75 -include $(top_srcdir)/git.mk