harfbuzz/test/fuzzing/Makefile.am

53 lines
874 B
Makefile
Raw Normal View History

2015-11-06 08:08:50 +01:00
# Process this file with automake to produce Makefile.in
NULL =
EXTRA_DIST =
CLEANFILES =
DISTCLEANFILES =
MAINTAINERCLEANFILES =
# Convenience targets:
lib:
@$(MAKE) $(AM_MAKEFLAGS) -C $(top_builddir)/src fuzzing
2015-11-06 08:08:50 +01:00
2015-11-19 01:37:59 +01:00
$(top_builddir)/src/libharfbuzz-fuzzing.la: lib
2015-11-06 08:08:50 +01:00
EXTRA_DIST += \
README \
$(NULL)
check_PROGRAMS = \
2015-11-06 08:08:50 +01:00
hb-fuzzer \
$(NULL)
AM_CPPFLAGS = \
-DHB_DISABLE_DEPRECATED \
-I$(top_srcdir)/src/ \
-I$(top_builddir)/src/ \
$(NULL)
LDADD = \
$(top_builddir)/src/libharfbuzz-fuzzing.la \
2015-11-06 08:08:50 +01:00
$(NULL)
hb_fuzzer_SOURCES = \
hb-fuzzer.cc \
$(NULL)
hb_fuzzer_LDADD = \
$(LDADD) \
$(NULL)
hb_fuzzer_CPPFLAGS = \
$(AM_CPPFLAGS) \
-DMAIN \
$(NULL)
hb_fuzzer_DEPENDENCIES = \
lib \
$(NULL)
2015-11-06 08:08:50 +01:00
check:
cat $(srcdir)/../shaping/tests/fuzzed.tests | \
cut -d: -f1 | while read x; do \
./hb-fuzzer $(srcdir)/../shaping/$$x; \
done
2015-11-06 08:08:50 +01:00
-include $(top_srcdir)/git.mk