• 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	CMakeLists.txt \
23	fonts \
24	$(NULL)
25
26check_PROGRAMS = \
27	hb-shape-fuzzer \
28	hb-subset-fuzzer \
29	$(NULL)
30
31AM_CPPFLAGS = \
32	-DHB_DISABLE_DEPRECATED \
33	-I$(top_srcdir)/src/ \
34	-I$(top_builddir)/src/ \
35	$(NULL)
36
37hb_shape_fuzzer_SOURCES = \
38	hb-fuzzer.hh \
39	hb-shape-fuzzer.cc \
40	main.cc \
41	$(NULL)
42hb_shape_fuzzer_LDADD = $(top_builddir)/src/libharfbuzz.la
43hb_shape_fuzzer_CPPFLAGS = $(AM_CPPFLAGS)
44hb_shape_fuzzer_DEPENDENCIES = $(top_builddir)/src/libharfbuzz.la
45
46hb_subset_fuzzer_SOURCES = \
47	hb-fuzzer.hh \
48	hb-subset-fuzzer.cc \
49	main.cc \
50	$(NULL)
51hb_subset_fuzzer_LDADD = \
52	$(top_builddir)/src/libharfbuzz.la \
53	$(top_builddir)/src/libharfbuzz-subset.la
54hb_subset_fuzzer_CPPFLAGS = $(AM_CPPFLAGS)
55hb_subset_fuzzer_DEPENDENCIES = $(top_builddir)/src/libharfbuzz-subset.la
56
57check:
58	EXEEXT="$(EXEEXT)" srcdir="$(srcdir)" builddir="$(builddir)" LIBTOOL="$(LIBTOOL)" $(srcdir)/run-shape-fuzzer-tests.py
59	EXEEXT="$(EXEEXT)" srcdir="$(srcdir)" builddir="$(builddir)" LIBTOOL="$(LIBTOOL)" $(srcdir)/run-subset-fuzzer-tests.py
60check-valgrind:
61	$(AM_V_at)RUN_VALGRIND=1 $(MAKE) $(AM_MAKEFLGS) check
62
63-include $(top_srcdir)/git.mk
64