Home | History | Annotate | Download | only in fuzzing
      1 # Process this file with automake to produce Makefile.in
      2 
      3 NULL =
      4 EXTRA_DIST =
      5 CLEANFILES =
      6 DISTCLEANFILES =
      7 MAINTAINERCLEANFILES =
      8 
      9 # Convenience targets:
     10 lib:
     11 	@$(MAKE) $(AM_MAKEFLAGS) -C $(top_builddir)/src lib
     12 libs:
     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 
     18 EXTRA_DIST += \
     19 	README \
     20 	run-shape-fuzzer-tests.py \
     21 	run-subset-fuzzer-tests.py \
     22 	CMakeLists.txt \
     23 	fonts \
     24 	$(NULL)
     25 
     26 check_PROGRAMS = \
     27 	hb-shape-fuzzer \
     28 	hb-subset-fuzzer \
     29 	$(NULL)
     30 
     31 AM_CPPFLAGS = \
     32 	-DHB_DISABLE_DEPRECATED \
     33 	-I$(top_srcdir)/src/ \
     34 	-I$(top_builddir)/src/ \
     35 	$(NULL)
     36 
     37 hb_shape_fuzzer_SOURCES = \
     38 	hb-fuzzer.hh \
     39 	hb-shape-fuzzer.cc \
     40 	main.cc \
     41 	$(NULL)
     42 hb_shape_fuzzer_LDADD = $(top_builddir)/src/libharfbuzz.la
     43 hb_shape_fuzzer_CPPFLAGS = $(AM_CPPFLAGS)
     44 hb_shape_fuzzer_DEPENDENCIES = $(top_builddir)/src/libharfbuzz.la
     45 
     46 hb_subset_fuzzer_SOURCES = \
     47 	hb-fuzzer.hh \
     48 	hb-subset-fuzzer.cc \
     49 	main.cc \
     50 	$(NULL)
     51 hb_subset_fuzzer_LDADD = \
     52 	$(top_builddir)/src/libharfbuzz.la \
     53 	$(top_builddir)/src/libharfbuzz-subset.la
     54 hb_subset_fuzzer_CPPFLAGS = $(AM_CPPFLAGS)
     55 hb_subset_fuzzer_DEPENDENCIES = $(top_builddir)/src/libharfbuzz-subset.la
     56 
     57 check:
     58 	EXEEXT="$(EXEEXT)" srcdir="$(srcdir)" builddir="$(builddir)" $(srcdir)/run-shape-fuzzer-tests.py
     59 	EXEEXT="$(EXEEXT)" srcdir="$(srcdir)" builddir="$(builddir)" $(srcdir)/run-subset-fuzzer-tests.py
     60 check-valgrind:
     61 	$(AM_V_at)RUN_VALGRIND=1 $(MAKE) $(AM_MAKEFLGS) check
     62 
     63 -include $(top_srcdir)/git.mk
     64