Synchronize with FreeType, part 2.
[ttfautohint.git] / lib / Makefile.am
blob6afe02d398ec61e9ef0617bb1fb1268781c55ff8
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   ta.h \
25   tablue.c tablue.h \
26   tabytecode.c tabytecode.h \
27   tacover.h \
28   tacvt.c \
29   tadsig.c \
30   tadummy.c tadummy.h \
31   taerror.c \
32   tafile.c \
33   tafont.c \
34   tafpgm.c \
35   tagasp.c \
36   tagloadr.c tagloadr.h \
37   taglobal.c taglobal.h \
38   taglyf.c \
39   tagpos.c \
40   taharfbuzz.c taharfbuzz.h \
41   tahints.c tahints.h \
42   tahmtx.c \
43   talatin.c talatin.h \
44   taloader.c taloader.h \
45   taloca.c \
46   tamaxp.c \
47   taname.c \
48   tapost.c \
49   taprep.c \
50   taranges.c taranges.h \
51   tasfnt.c \
52   tasort.c tasort.h \
53   tastyles.h \
54   tatables.c tatables.h \
55   tatime.c \
56   tattc.c \
57   tattf.c \
58   tatypes.h \
59   tawrtsys.h \
60   ttfautohint.c \
61   ttfautohint.h ttfautohint-errors.h ttfautohint-scripts.h
63 libttfautohint_la_LIBADD = \
64   libnumberset.la \
65   $(FREETYPE_LIBS) \
66   $(HARFBUZZ_LIBS)
68 BUILT_SOURCES = \
69   tablue.c tablue.h
71 EXTRA_DIST = \
72   afblue.pl \
73   tablue.cin tablue.hin \
74   tablue.dat
76 tablue.c: tablue.dat tablue.cin
77         $(AM_V_GEN)rm -f $@-t $@ \
78         && perl afblue.pl $(srcdir)/tablue.dat \
79                           < $(srcdir)/tablue.cin \
80                           > $@-t \
81         && mv $@-t $@
83 tablue.h: tablue.dat tablue.hin
84         $(AM_V_GEN)rm -f $@-t $@ \
85         && perl afblue.pl $(srcdir)/tablue.dat \
86                           < $(srcdir)/tablue.hin \
87                           > $@-t \
88         && mv $@-t $@
90 ## end of Makefile.am