blob: e48a9e1a3d0dd0ec0041ca8fa360f2f79e403339 (
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
|
## $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 -DHB_NO_UNICODE_FUNCS -DHAVE_FALLBACK=1 \
-I$(top_srcdir)/$(HARFBUZZ_SRC)
libharfbuzz_dependencies =
libharfbuzz_a_SOURCES = \
@HARFBUZZ_TREE@/src/hb-atomic-private.hh \
@HARFBUZZ_TREE@/src/hb-blob.cc \
@HARFBUZZ_TREE@/src/hb-buffer-deserialize-json.hh \
@HARFBUZZ_TREE@/src/hb-buffer-deserialize-text.hh \
@HARFBUZZ_TREE@/src/hb-buffer-private.hh \
@HARFBUZZ_TREE@/src/hb-buffer-serialize.cc \
@HARFBUZZ_TREE@/src/hb-buffer.cc \
@HARFBUZZ_TREE@/src/hb-cache-private.hh \
@HARFBUZZ_TREE@/src/hb-common.cc \
@HARFBUZZ_TREE@/src/hb-face-private.hh \
@HARFBUZZ_TREE@/src/hb-face.cc \
@HARFBUZZ_TREE@/src/hb-fallback-shape.cc \
@HARFBUZZ_TREE@/src/hb-font-private.hh \
@HARFBUZZ_TREE@/src/hb-font.cc \
@HARFBUZZ_TREE@/src/hb-mutex-private.hh \
@HARFBUZZ_TREE@/src/hb-object-private.hh \
@HARFBUZZ_TREE@/src/hb-open-file-private.hh \
@HARFBUZZ_TREE@/src/hb-open-type-private.hh \
@HARFBUZZ_TREE@/src/hb-ot-cbdt-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-maxp-table.hh \
@HARFBUZZ_TREE@/src/hb-ot-name-table.hh \
@HARFBUZZ_TREE@/src/hb-ot-os2-table.hh \
@HARFBUZZ_TREE@/src/hb-ot-post-table.hh \
@HARFBUZZ_TREE@/src/hb-ot-var-mvar-table.hh \
@HARFBUZZ_TREE@/src/hb-ot-tag.cc \
@HARFBUZZ_TREE@/src/hb-private.hh \
@HARFBUZZ_TREE@/src/hb-set-private.hh \
@HARFBUZZ_TREE@/src/hb-set.cc \
@HARFBUZZ_TREE@/src/hb-shape.cc \
@HARFBUZZ_TREE@/src/hb-shape-plan-private.hh \
@HARFBUZZ_TREE@/src/hb-shape-plan.cc \
@HARFBUZZ_TREE@/src/hb-shaper-list.hh \
@HARFBUZZ_TREE@/src/hb-shaper-impl-private.hh \
@HARFBUZZ_TREE@/src/hb-shaper-private.hh \
@HARFBUZZ_TREE@/src/hb-shaper.cc \
@HARFBUZZ_TREE@/src/hb-unicode-private.hh \
@HARFBUZZ_TREE@/src/hb-unicode.cc \
@HARFBUZZ_TREE@/src/hb-utf-private.hh \
@HARFBUZZ_TREE@/src/hb-warning.cc
## native OpenType Layout backend
libharfbuzz_a_SOURCES += \
@HARFBUZZ_TREE@/src/hb-ot-font.cc \
@HARFBUZZ_TREE@/src/hb-ot-font.h \
@HARFBUZZ_TREE@/src/hb-ot-layout.cc \
@HARFBUZZ_TREE@/src/hb-ot-layout-common-private.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-private.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-private.hh \
@HARFBUZZ_TREE@/src/hb-ot-map.cc \
@HARFBUZZ_TREE@/src/hb-ot-math.cc \
@HARFBUZZ_TREE@/src/hb-ot-map-private.hh \
@HARFBUZZ_TREE@/src/hb-ot-math.h \
@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-table.hh \
@HARFBUZZ_TREE@/src/hb-ot-shape-complex-arabic-private.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-machine.hh \
@HARFBUZZ_TREE@/src/hb-ot-shape-complex-indic-private.hh \
@HARFBUZZ_TREE@/src/hb-ot-shape-complex-indic-table.cc \
@HARFBUZZ_TREE@/src/hb-ot-shape-complex-myanmar.cc \
@HARFBUZZ_TREE@/src/hb-ot-shape-complex-myanmar-machine.hh \
@HARFBUZZ_TREE@/src/hb-ot-shape-complex-private.hh \
@HARFBUZZ_TREE@/src/hb-ot-shape-complex-thai.cc \
@HARFBUZZ_TREE@/src/hb-ot-shape-complex-tibetan.cc \
@HARFBUZZ_TREE@/src/hb-ot-shape-complex-use.cc \
@HARFBUZZ_TREE@/src/hb-ot-shape-complex-use-machine.hh \
@HARFBUZZ_TREE@/src/hb-ot-shape-complex-use-private.hh \
@HARFBUZZ_TREE@/src/hb-ot-shape-complex-use-table.cc \
@HARFBUZZ_TREE@/src/hb-ot-shape-fallback.cc \
@HARFBUZZ_TREE@/src/hb-ot-shape-fallback-private.hh \
@HARFBUZZ_TREE@/src/hb-ot-shape-normalize.cc \
@HARFBUZZ_TREE@/src/hb-ot-shape-normalize-private.hh \
@HARFBUZZ_TREE@/src/hb-ot-shape-private.hh \
@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.cc \
@HARFBUZZ_TREE@/src/hb-ot-var.h
## ICU library
AM_CPPFLAGS += $(ICU_INCLUDES)
libharfbuzz_dependencies += $(ICU_DEPEND)
libharfbuzz_a_SOURCES += @HARFBUZZ_TREE@/src/hb-icu.cc
## 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 $(ICU_INCLUDES) $(GRAPHITE2_INCLUDES)
LDADD = libharfbuzz.a $(ICU_LIBS) $(GRAPHITE2_LIBS)
## Rebuild libsicuxxx
@ICU_RULE@
## 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
|