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 fuzzing 12 13$(top_builddir)/src/libharfbuzz-fuzzing.la: lib 14 15EXTRA_DIST += \ 16 README \ 17 $(NULL) 18 19check_PROGRAMS = \ 20 hb-fuzzer \ 21 $(NULL) 22 23AM_CPPFLAGS = \ 24 -DHB_DISABLE_DEPRECATED \ 25 -I$(top_srcdir)/src/ \ 26 -I$(top_builddir)/src/ \ 27 $(NULL) 28LDADD = \ 29 $(top_builddir)/src/libharfbuzz-fuzzing.la \ 30 $(NULL) 31 32hb_fuzzer_SOURCES = \ 33 hb-fuzzer.hh \ 34 hb-fuzzer.cc \ 35 main.cc \ 36 $(NULL) 37hb_fuzzer_LDADD = \ 38 $(LDADD) \ 39 $(NULL) 40hb_fuzzer_CPPFLAGS = \ 41 $(AM_CPPFLAGS) \ 42 $(NULL) 43hb_fuzzer_DEPENDENCIES = \ 44 lib \ 45 $(NULL) 46 47check: 48 cat $(srcdir)/../shaping/tests/fuzzed.tests | \ 49 cut -d: -f1 | while read x; do \ 50 ./hb-fuzzer $(srcdir)/../shaping/$$x; \ 51 done 52 53-include $(top_srcdir)/git.mk 54