Synchronize with FreeType.
[ttfautohint.git] / lib / Makefile.am
blob5697e12a71fdc326efdc5ac9d9d0f6ebfb723901
1 ## Makefile.am
3 # Copyright (C) 2011-2014 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               $(HARFBUZZ_CFLAGS)
16 noinst_LTLIBRARIES = \
17   libttfautohint.la \
18   libnumberset.la
20 libnumberset_la_SOURCES = \
21   numberset.c numberset.h
23 libttfautohint_la_SOURCES = \
24   llrb.h \
25   ta.h \
26   tablue.c tablue.h \
27   tabytecode.c tabytecode.h \
28   tacover.h \
29   tacvt.c \
30   tadsig.c \
31   tadummy.c tadummy.h \
32   taerror.c \
33   tafile.c \
34   tafont.c \
35   tafpgm.c \
36   tagasp.c \
37   tagloadr.c tagloadr.h \
38   taglobal.c taglobal.h \
39   taglyf.c \
40   tagpos.c \
41   taharfbuzz.c taharfbuzz.h \
42   tahints.c tahints.h \
43   tahmtx.c \
44   talatin.c talatin.h \
45   taloader.c taloader.h \
46   taloca.c \
47   tamaxp.c \
48   taname.c \
49   tapost.c \
50   taprep.c \
51   taranges.c taranges.h \
52   tasfnt.c \
53   tasort.c tasort.h \
54   tastyles.h \
55   tatables.c tatables.h \
56   tatime.c \
57   tattc.c \
58   tattf.c \
59   tatypes.h \
60   tawrtsys.h \
61   ttfautohint.c \
62   ttfautohint.h ttfautohint-errors.h ttfautohint-scripts.h
64 libttfautohint_la_LIBADD = \
65   libnumberset.la \
66   $(FREETYPE_LIBS) \
67   $(HARFBUZZ_LIBS)
69 BUILT_SOURCES = \
70   tablue.c tablue.h
72 EXTRA_DIST = \
73   afblue.pl \
74   tablue.cin tablue.hin \
75   tablue.dat
77 tablue.c: tablue.dat tablue.cin
78         $(AM_V_GEN)rm -f $@-t $@ \
79         && perl afblue.pl $(srcdir)/tablue.dat \
80                           < $(srcdir)/tablue.cin \
81                           > $@-t \
82         && mv $@-t $@
84 tablue.h: tablue.dat tablue.hin
85         $(AM_V_GEN)rm -f $@-t $@ \
86         && perl afblue.pl $(srcdir)/tablue.dat \
87                           < $(srcdir)/tablue.hin \
88                           > $@-t \
89         && mv $@-t $@
91 ## end of Makefile.am