3 # Copyright (C) 2011 by Werner Lemberg.
5 # This file is part of the ttfautohint library, and may only be used,
6 # modified, and distributed under the terms given in `COPYING'. By
7 # continuing to use, modify, or distribute this file you indicate that you
8 # have read `COPYING' and understand and accept it fully.
10 # The file `COPYING' mentioned in the previous paragraph is distributed
11 # with the ttfautohint library.
13 AM_CPPFLAGS = $(FREETYPE_CPPFLAGS)
14 AM_LDFLAGS = $(FREETYPE_LDFLAGS)
16 noinst_LIBRARIES = libttfautohint.a
17 libttfautohint_a_SOURCES = ta.h \
18 tabytecode.c tabytecode.h \
27 tagloadr.c tagloadr.h \
28 taglobal.c taglobal.h \
32 taloader.c taloader.h \
38 tatables.c tatables.h \
43 ttfautohint.c ttfautohint.h ttfautohint-errors.h
45 bin_PROGRAMS = ttfautohint
46 ttfautohint_SOURCES = hint.c \
48 ttfautohint_LDADD = libttfautohint.a \
51 dist_man_MANS = ttfautohint.1
53 ttfautohint.1: $(top_srcdir)/src/hint.c $(top_srcdir)/configure.ac
54 $(MAKE) $(AM_MAKEFLAGS) ttfautohint$(EXEEXT)
55 $(HELP2MAN) --output=$@ \
57 --name="add new auto-generated hints to a TrueType font" \
58 ./ttfautohint$(EXEEXT)