1 # Process this file with automake to produce Makefile.in 2 3 NULL = 4 5 # Convenience targets: 6 lib: 7 @$(MAKE) $(AM_MAKEFLAGS) -C $(top_builddir)/src lib 8 9 EXTRA_DIST = \ 10 COPYING \ 11 fonts \ 12 $(TESTS) \ 13 $(NULL) 14 15 TEST_EXTENSIONS = .tests 16 TESTS_LOG_COMPILER = $(srcdir)/../../run-tests.py $(top_builddir)/util/hb-shape$(EXEEXT) 17 18 init-aots: 19 git clone https://github.com/adobe-type-tools/aots $(srcdir)/aots 20 make -C$(srcdir)/aots 21 make -C$(srcdir)/aots/harfbuzz 22 touch $(srcdir)/init-aots 23 24 update-tests: init-aots lib 25 cp $(srcdir)/hb-aots-tester.cpp $(srcdir)/aots/harfbuzz/hb-aots-tester.cpp 26 $(CXX) -Wno-narrowing $(srcdir)/aots/harfbuzz/hb-aots-tester.cpp \ 27 -I$(top_srcdir)/src/ -o $(srcdir)/aots/harfbuzz/aots \ 28 -L$(top_builddir)/src/.libs -lharfbuzz 29 rm -rf $(srcdir)/tests/ 30 mkdir $(srcdir)/tests/ 31 export LD_LIBRARY_PATH=$(realpath $(top_builddir)/src/.libs); cd $(srcdir)/aots/harfbuzz; ./aots 32 33 .PHONY: update-tests 34 35 include Makefile.sources 36 37 -include $(top_srcdir)/git.mk 38