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