Create a new subdirectory for the frontend program.
[ttfautohint.git] / frontend / Makefile.am
blobeb7a1be1464785e67c838bf33f4079dd8b4cede3
1 ## Makefile.am
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 = -I$(top_srcdir)/lib \
14               $(FREETYPE_CPPFLAGS)
15 AM_LDFLAGS = $(top_builddir)/lib/libttfautohint.a \
16              $(FREETYPE_LDFLAGS)
18 bin_PROGRAMS = ttfautohint
19 ttfautohint_SOURCES = hint.c
21 dist_man_MANS = ttfautohint.1
23 ttfautohint.1: $(top_srcdir)/frontend/hint.c $(top_srcdir)/configure.ac
24         $(MAKE) $(AM_MAKEFLAGS) ttfautohint$(EXEEXT)
25         $(HELP2MAN) --output=$@ \
26                     --no-info \
27                     --name="add new auto-generated hints to a TrueType font" \
28                     ./ttfautohint$(EXEEXT)
30 ## end of Makefile.am