• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# Process this file with automake to produce Makefile.in
2
3NULL =
4EXTRA_DIST =
5CLEANFILES =
6DISTCLEANFILES =
7MAINTAINERCLEANFILES =
8
9# Convenience targets:
10lib:
11	@$(MAKE) $(AM_MAKEFLAGS) -C $(top_builddir)/src lib
12libs:
13	@$(MAKE) $(AM_MAKEFLAGS) -C $(top_builddir)/src libs
14
15$(top_builddir)/src/libharfbuzz.la: lib
16$(top_builddir)/src/libharfbuzz-subset.la: libs
17
18EXTRA_DIST += \
19	README \
20	run-shape-fuzzer-tests.py \
21	run-subset-fuzzer-tests.py \
22	run-draw-fuzzer-tests.py \
23	meson.build \
24	fonts \
25	$(NULL)
26
27check_PROGRAMS = \
28	hb-shape-fuzzer \
29	hb-subset-fuzzer \
30	hb-set-fuzzer \
31	hb-draw-fuzzer \
32	$(NULL)
33
34AM_CPPFLAGS = \
35	-DHB_DISABLE_DEPRECATED \
36	-I$(top_srcdir)/src/ \
37	-I$(top_builddir)/src/ \
38	$(NULL)
39
40hb_shape_fuzzer_SOURCES = \
41	hb-fuzzer.hh \
42	hb-shape-fuzzer.cc \
43	main.cc \
44	$(NULL)
45hb_shape_fuzzer_LDADD = $(top_builddir)/src/libharfbuzz.la
46hb_shape_fuzzer_CPPFLAGS = $(AM_CPPFLAGS)
47hb_shape_fuzzer_DEPENDENCIES = $(top_builddir)/src/libharfbuzz.la
48
49hb_subset_fuzzer_SOURCES = \
50	hb-fuzzer.hh \
51	hb-subset-fuzzer.cc \
52	main.cc \
53	$(NULL)
54hb_subset_fuzzer_LDADD = \
55	$(top_builddir)/src/libharfbuzz.la \
56	$(top_builddir)/src/libharfbuzz-subset.la
57hb_subset_fuzzer_CPPFLAGS = $(AM_CPPFLAGS)
58hb_subset_fuzzer_DEPENDENCIES = $(top_builddir)/src/libharfbuzz-subset.la
59
60hb_set_fuzzer_SOURCES = \
61	hb-fuzzer.hh \
62	hb-set-fuzzer.cc \
63	main.cc \
64	$(NULL)
65hb_set_fuzzer_LDADD = $(top_builddir)/src/libharfbuzz.la
66hb_set_fuzzer_CPPFLAGS = $(AM_CPPFLAGS)
67hb_set_fuzzer_DEPENDENCIES = $(top_builddir)/src/libharfbuzz.la
68
69hb_draw_fuzzer_SOURCES = \
70	hb-fuzzer.hh \
71	hb-draw-fuzzer.cc \
72	main.cc \
73	$(NULL)
74hb_draw_fuzzer_LDADD = $(top_builddir)/src/libharfbuzz.la
75hb_draw_fuzzer_CPPFLAGS = $(AM_CPPFLAGS)
76hb_draw_fuzzer_DEPENDENCIES = $(top_builddir)/src/libharfbuzz.la
77
78
79check:
80	EXEEXT="$(EXEEXT)" srcdir="$(srcdir)" builddir="$(builddir)" LIBTOOL="$(LIBTOOL)" $(srcdir)/run-shape-fuzzer-tests.py
81	EXEEXT="$(EXEEXT)" srcdir="$(srcdir)" builddir="$(builddir)" LIBTOOL="$(LIBTOOL)" $(srcdir)/run-subset-fuzzer-tests.py
82	EXEEXT="$(EXEEXT)" srcdir="$(srcdir)" builddir="$(builddir)" LIBTOOL="$(LIBTOOL)" $(srcdir)/run-draw-fuzzer-tests.py
83check-valgrind:
84	$(AM_V_at)RUN_VALGRIND=1 $(MAKE) $(AM_MAKEFLGS) check
85
86-include $(top_srcdir)/git.mk
87