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 SUFFIXES = .moc.cpp .h
16 $(MOC) $(QT_CPPFLAGS) $(EXTRA_CPPFLAGS) $< -o $@
18 DISTCLEANFILES = $(BUILT_SOURCES)
21 AM_CXXFLAGS = $(QT_CXXFLAGS)
22 AM_CPPFLAGS = -I$(top_srcdir)/lib \
23 -I$(top_builddir)/gnulib/src \
24 -I$(top_srcdir)/gnulib/src \
27 AM_LDFLAGS = $(top_builddir)/lib/libttfautohint.a \
28 $(top_builddir)/gnulib/src/libgnu.la \
34 bin_PROGRAMS = ttfautohint
35 ttfautohint_SOURCES = main.cpp \
40 BUILT_SOURCES = maingui.moc.cpp
42 dist_man_MANS = ttfautohint.1
44 ttfautohint.1: $(top_srcdir)/frontend/main.cpp $(top_srcdir)/configure.ac
45 $(MAKE) $(AM_MAKEFLAGS) ttfautohint$(EXEEXT)
46 $(HELP2MAN) --output=$@ \
48 --name="add new auto-generated hints to a TrueType font" \
49 --help-option=--help-all \
50 ./ttfautohint$(EXEEXT)