blob: 80394d67f9b30fb30f13967e9a21383b4d85dbca (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
|
## $Id$
## Proxy Makefile.am to build harfbuzz for TeX Live.
##
## Copyright 2016-2017 Karl Berry <tex-live@tug.org>
## Copyright 2012-2015 Peter Breitenlohner <tex-live@tug.org>
##
## This file is free software; the copyright holder
## gives unlimited permission to copy and/or distribute it,
## with or without modifications, as long as this notice is preserved.
##
## We want to re-distribute the whole original harfbuzz source tree.
##
EXTRA_DIST = $(HARFBUZZ_TREE)
## Changes applied to the original source tree
##
EXTRA_DIST += TLpatches
HARFBUZZ_SRC = $(HARFBUZZ_TREE)/src
# Files not to be distributed
include $(srcdir)/../../am/dist_hook.am
NEVER_NAMES += $(NEVER_NAMES_SUB)
SUBDIRS = . include
noinst_LIBRARIES = libharfbuzz.a
## common
AM_CPPFLAGS = -DHB_NO_MT -DHAVE_FALLBACK=1 \
-I$(top_srcdir)/$(HARFBUZZ_SRC)
libharfbuzz_dependencies =
libharfbuzz_a_SOURCES = \
@HARFBUZZ_TREE@/src/hb-algs.hh \
@HARFBUZZ_TREE@/src/hb-atomic.hh \
@HARFBUZZ_TREE@/src/hb-blob.hh \
@HARFBUZZ_TREE@/src/hb-blob.cc \
@HARFBUZZ_TREE@/src/hb-buffer.hh \
@HARFBUZZ_TREE@/src/hb-buffer-serialize.cc \
@HARFBUZZ_TREE@/src/hb-buffer.cc \
@HARFBUZZ_TREE@/src/hb-cache.hh \
@HARFBUZZ_TREE@/src/hb-cff-interp-common.hh \
@HARFBUZZ_TREE@/src/hb-cff-interp-cs-common.hh \
@HARFBUZZ_TREE@/src/hb-cff-interp-dict-common.hh \
@HARFBUZZ_TREE@/src/hb-cff1-interp-cs.hh \
@HARFBUZZ_TREE@/src/hb-cff2-interp-cs.hh \
@HARFBUZZ_TREE@/src/hb-common.cc \
@HARFBUZZ_TREE@/src/hb-config.hh \
@HARFBUZZ_TREE@/src/hb-debug.hh \
@HARFBUZZ_TREE@/src/hb-dispatch.hh \
@HARFBUZZ_TREE@/src/hb-face.hh \
@HARFBUZZ_TREE@/src/hb-face.cc \
@HARFBUZZ_TREE@/src/hb-font.hh \
@HARFBUZZ_TREE@/src/hb-font.cc \
@HARFBUZZ_TREE@/src/hb-iter.hh \
@HARFBUZZ_TREE@/src/hb-kern.hh \
@HARFBUZZ_TREE@/src/hb-map.hh \
@HARFBUZZ_TREE@/src/hb-map.cc \
@HARFBUZZ_TREE@/src/hb-machinery.hh \
@HARFBUZZ_TREE@/src/hb-meta.hh \
@HARFBUZZ_TREE@/src/hb-mutex.hh \
@HARFBUZZ_TREE@/src/hb-null.hh \
@HARFBUZZ_TREE@/src/hb-object.hh \
@HARFBUZZ_TREE@/src/hb-open-file.hh \
@HARFBUZZ_TREE@/src/hb-open-type.hh \
@HARFBUZZ_TREE@/src/hb-ot-cff-common.hh \
@HARFBUZZ_TREE@/src/hb-ot-cff1-table.cc \
@HARFBUZZ_TREE@/src/hb-ot-cff1-table.hh \
@HARFBUZZ_TREE@/src/hb-ot-cff2-table.cc \
@HARFBUZZ_TREE@/src/hb-ot-cff2-table.hh \
@HARFBUZZ_TREE@/src/hb-ot-gasp-table.hh \
@HARFBUZZ_TREE@/src/hb-ot-color-cbdt-table.hh \
@HARFBUZZ_TREE@/src/hb-ot-cmap-table.hh \
@HARFBUZZ_TREE@/src/hb-ot-face.cc \
@HARFBUZZ_TREE@/src/hb-ot-face.hh \
@HARFBUZZ_TREE@/src/hb-ot-glyf-table.hh \
@HARFBUZZ_TREE@/src/hb-ot-hdmx-table.hh \
@HARFBUZZ_TREE@/src/hb-ot-head-table.hh \
@HARFBUZZ_TREE@/src/hb-ot-hhea-table.hh \
@HARFBUZZ_TREE@/src/hb-ot-hmtx-table.hh \
@HARFBUZZ_TREE@/src/hb-ot-kern-table.hh \
@HARFBUZZ_TREE@/src/hb-ot-maxp-table.hh \
@HARFBUZZ_TREE@/src/hb-ot-name-language-static.hh \
@HARFBUZZ_TREE@/src/hb-ot-name-table.hh \
@HARFBUZZ_TREE@/src/hb-ot-stat-table.hh \
@HARFBUZZ_TREE@/src/hb-ot-name-language.hh \
@HARFBUZZ_TREE@/src/hb-ot-name.cc \
@HARFBUZZ_TREE@/src/hb-ot-os2-table.hh \
@HARFBUZZ_TREE@/src/hb-ot-os2-unicode-ranges.hh \
@HARFBUZZ_TREE@/src/hb-pool.hh \
@HARFBUZZ_TREE@/src/hb-ot-post-macroman.hh \
@HARFBUZZ_TREE@/src/hb-ot-post-table.hh \
@HARFBUZZ_TREE@/src/hb-ot-tag.cc \
@HARFBUZZ_TREE@/src/hb-ot-tag-table.hh \
@HARFBUZZ_TREE@/src/hb-sanitize.hh \
@HARFBUZZ_TREE@/src/hb-serialize.hh \
@HARFBUZZ_TREE@/src/hb-set-digest.hh \
@HARFBUZZ_TREE@/src/hb-set.hh \
@HARFBUZZ_TREE@/src/hb-set.cc \
@HARFBUZZ_TREE@/src/hb-shape.cc \
@HARFBUZZ_TREE@/src/hb-shape-plan.hh \
@HARFBUZZ_TREE@/src/hb-shape-plan.cc \
@HARFBUZZ_TREE@/src/hb-shaper-list.hh \
@HARFBUZZ_TREE@/src/hb-shaper-impl.hh \
@HARFBUZZ_TREE@/src/hb-shaper.hh \
@HARFBUZZ_TREE@/src/hb-shaper.cc \
@HARFBUZZ_TREE@/src/hb-static.cc \
@HARFBUZZ_TREE@/src/hb-string-array.hh \
@HARFBUZZ_TREE@/src/hb-subset-cff-common.cc \
@HARFBUZZ_TREE@/src/hb-subset-cff-common.hh \
@HARFBUZZ_TREE@/src/hb-subset-cff1.cc \
@HARFBUZZ_TREE@/src/hb-subset-cff1.hh \
@HARFBUZZ_TREE@/src/hb-subset-cff2.cc \
@HARFBUZZ_TREE@/src/hb-subset-cff2.hh \
@HARFBUZZ_TREE@/src/hb-subset-input.hh \
@HARFBUZZ_TREE@/src/hb-subset.hh \
@HARFBUZZ_TREE@/src/hb-ucd-table.hh \
@HARFBUZZ_TREE@/src/hb-ucd.cc \
@HARFBUZZ_TREE@/src/hb-unicode.hh \
@HARFBUZZ_TREE@/src/hb-unicode.cc \
@HARFBUZZ_TREE@/src/hb-unicode-emoji-table.hh \
@HARFBUZZ_TREE@/src/hb-vector.hh \
@HARFBUZZ_TREE@/src/hb-utf.hh \
@HARFBUZZ_TREE@/src/hb-warning.cc \
@HARFBUZZ_TREE@/src/hb-buffer-deserialize-json.hh \
@HARFBUZZ_TREE@/src/hb-buffer-deserialize-text.hh \
@HARFBUZZ_TREE@/src/hb-fallback-shape.cc \
@HARFBUZZ_TREE@/src/hb.hh
## native OpenType Layout backend
libharfbuzz_a_SOURCES += \
@HARFBUZZ_TREE@/src/hb-aat-fdsc-table.hh \
@HARFBUZZ_TREE@/src/hb-aat-layout.cc \
@HARFBUZZ_TREE@/src/hb-aat-layout-common.hh \
@HARFBUZZ_TREE@/src/hb-aat-layout-ankr-table.hh \
@HARFBUZZ_TREE@/src/hb-aat-layout-bsln-table.hh \
@HARFBUZZ_TREE@/src/hb-aat-layout-feat-table.hh \
@HARFBUZZ_TREE@/src/hb-aat-layout-just-table.hh \
@HARFBUZZ_TREE@/src/hb-aat-layout-kerx-table.hh \
@HARFBUZZ_TREE@/src/hb-aat-layout-lcar-table.hh \
@HARFBUZZ_TREE@/src/hb-aat-layout-morx-table.hh \
@HARFBUZZ_TREE@/src/hb-aat-layout-trak-table.hh \
@HARFBUZZ_TREE@/src/hb-aat-layout.hh \
@HARFBUZZ_TREE@/src/hb-aat-ltag-table.hh \
@HARFBUZZ_TREE@/src/hb-aat-map.cc \
@HARFBUZZ_TREE@/src/hb-aat-map.hh \
@HARFBUZZ_TREE@/src/hb-array.hh \
@HARFBUZZ_TREE@/src/hb-ot-font.cc \
@HARFBUZZ_TREE@/src/hb-ot-layout.cc \
@HARFBUZZ_TREE@/src/hb-ot-layout-base-table.hh \
@HARFBUZZ_TREE@/src/hb-ot-layout-common.hh \
@HARFBUZZ_TREE@/src/hb-ot-layout-gdef-table.hh \
@HARFBUZZ_TREE@/src/hb-ot-layout-gpos-table.hh \
@HARFBUZZ_TREE@/src/hb-ot-layout-gsubgpos.hh \
@HARFBUZZ_TREE@/src/hb-ot-layout-gsub-table.hh \
@HARFBUZZ_TREE@/src/hb-ot-layout-jstf-table.hh \
@HARFBUZZ_TREE@/src/hb-ot-layout.hh \
@HARFBUZZ_TREE@/src/hb-ot-color.cc \
@HARFBUZZ_TREE@/src/hb-ot-color-colr-table.hh \
@HARFBUZZ_TREE@/src/hb-ot-color-cpal-table.hh \
@HARFBUZZ_TREE@/src/hb-ot-color-sbix-table.hh \
@HARFBUZZ_TREE@/src/hb-ot-color-svg-table.hh \
@HARFBUZZ_TREE@/src/hb-ot-map.cc \
@HARFBUZZ_TREE@/src/hb-ot-map.hh \
@HARFBUZZ_TREE@/src/hb-ot-math.cc \
@HARFBUZZ_TREE@/src/hb-ot-math-table.hh \
@HARFBUZZ_TREE@/src/hb-ot-shape.cc \
@HARFBUZZ_TREE@/src/hb-ot-shape-complex-arabic.cc \
@HARFBUZZ_TREE@/src/hb-ot-shape-complex-arabic-fallback.hh \
@HARFBUZZ_TREE@/src/hb-ot-shape-complex-arabic.hh \
@HARFBUZZ_TREE@/src/hb-ot-shape-complex-arabic-table.hh \
@HARFBUZZ_TREE@/src/hb-ot-shape-complex-arabic-win1256.hh \
@HARFBUZZ_TREE@/src/hb-ot-shape-complex-default.cc \
@HARFBUZZ_TREE@/src/hb-ot-shape-complex-hangul.cc \
@HARFBUZZ_TREE@/src/hb-ot-shape-complex-hebrew.cc \
@HARFBUZZ_TREE@/src/hb-ot-shape-complex-indic.cc \
@HARFBUZZ_TREE@/src/hb-ot-shape-complex-indic.hh \
@HARFBUZZ_TREE@/src/hb-ot-shape-complex-indic-table.cc \
@HARFBUZZ_TREE@/src/hb-ot-shape-complex-khmer.hh \
@HARFBUZZ_TREE@/src/hb-ot-shape-complex-khmer.cc \
@HARFBUZZ_TREE@/src/hb-ot-shape-complex-myanmar.hh \
@HARFBUZZ_TREE@/src/hb-ot-shape-complex-myanmar.cc \
@HARFBUZZ_TREE@/src/hb-ot-shape-complex-thai.cc \
@HARFBUZZ_TREE@/src/hb-ot-shape-complex-use.cc \
@HARFBUZZ_TREE@/src/hb-ot-shape-complex-vowel-constraints.cc \
@HARFBUZZ_TREE@/src/hb-ot-shape-complex-vowel-constraints.hh \
@HARFBUZZ_TREE@/src/hb-ot-shape-complex.hh \
@HARFBUZZ_TREE@/src/hb-ot-shape-complex-use-table.cc \
@HARFBUZZ_TREE@/src/hb-ot-shape-complex-use.hh \
@HARFBUZZ_TREE@/src/hb-ot-shape-normalize.hh \
@HARFBUZZ_TREE@/src/hb-ot-shape-normalize.cc \
@HARFBUZZ_TREE@/src/hb-ot-shape-fallback.hh \
@HARFBUZZ_TREE@/src/hb-ot-shape-fallback.cc \
@HARFBUZZ_TREE@/src/hb-ot-shape.hh \
@HARFBUZZ_TREE@/src/hb-ot-var.cc \
@HARFBUZZ_TREE@/src/hb-ot-var-avar-table.hh \
@HARFBUZZ_TREE@/src/hb-ot-var-fvar-table.hh \
@HARFBUZZ_TREE@/src/hb-ot-var-hvar-table.hh \
@HARFBUZZ_TREE@/src/hb-ot-var-mvar-table.hh \
@HARFBUZZ_TREE@/src/hb-ot-vorg-table.hh \
@HARFBUZZ_TREE@/src/hb-ot-shape-complex-indic-machine.hh \
@HARFBUZZ_TREE@/src/hb-ot-shape-complex-khmer-machine.hh \
@HARFBUZZ_TREE@/src/hb-ot-shape-complex-myanmar-machine.hh \
@HARFBUZZ_TREE@/src/hb-ot-shape-complex-use-machine.hh
## Graphite library
AM_CPPFLAGS += $(GRAPHITE2_INCLUDES)
libharfbuzz_dependencies += $(GRAPHITE2_DEPEND)
libharfbuzz_a_SOURCES += @HARFBUZZ_TREE@/src/hb-graphite2.cc
$(libharfbuzz_a_OBJECTS): config.force
if build
check_PROGRAMS = hbtest
dist_check_SCRIPTS = harfbuzz.test
TESTS = harfbuzz.test
endif build
harfbuzz.log: hbtest$(EXEEXT)
hbtest_SOURCES = hbtest.c
# Force Automake to use CXXLD for linking
nodist_EXTRA_hbtest_SOURCES = dummy.cxx
hbtest_CPPFLAGS = -Iinclude $(GRAPHITE2_INCLUDES)
LDADD = libharfbuzz.a $(GRAPHITE2_LIBS)
## Rebuild libgraphite2
@GRAPHITE2_RULE@
# Reconfig
reconfig_prereq = $(libharfbuzz_dependencies)
DISTCLEANFILES =
include $(srcdir)/../../am/reconfig.am
# Rebuild
rebuild_prereq =
rebuild_target = all
CLEANFILES =
include $(srcdir)/../../am/rebuild.am
|