blob: e540d5ba060454f9d613ad2e1bad3ce5aa8e20bf (
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
|
noinst_PROGRAMS = fribidi_benchmark \
fribidi_create_char_types \
fribidi_create_mirroring
libfribidi_charsets = \
fribidi_char_sets.c \
fribidi_char_sets_utf8.c
libfribidi_charsets_extra = \
fribidi_char_sets_cap_rtl.c \
fribidi_char_sets_iso8859_6.c \
fribidi_char_sets_iso8859_8.c \
fribidi_char_sets_cp1255.c \
fribidi_char_sets_cp1256.c \
fribidi_char_sets_isiri_3342.c
libfribidi_charsets_h = \
fribidi_char_sets.h \
fribidi_char_sets_utf8.h
libfribidi_charsets_extra_h = \
fribidi_char_sets_cap_rtl.h \
fribidi_char_sets_cp1255.h \
fribidi_char_sets_cp1256.h \
fribidi_char_sets_isiri_3342.h \
fribidi_char_sets_iso8859_6.h \
fribidi_char_sets_iso8859_8.h
lib_LTLIBRARIES = libfribidi.la
libfribidi_la_SOURCES = \
fribidi.c \
fribidi_types.c \
fribidi_mem.c \
fribidi_mirroring.c \
fribidi_char_type.c \
fribidi_wcwidth.c \
fribidi_utils.c \
$(libfribidi_charsets) \
$(libfribidi_charsets_extra)
libfribidi_la_LIBADD =
libfribidiincdir = $(includedir)/fribidi
libfribidiincdir = $(includedir)/fribidi
libfribidiinc_HEADERS = \
fribidi.h \
fribidi_types.h \
fribidi_mem.h \
fribidi_unicode.h \
$(libfribidi_charsets_h) \
$(libfribidi_charsets_extra_h) \
fribidi_config.h
GETOPT_SRC = \
getopt.c \
getopt1.c
GETOPT_HDR = \
getopt.h
TEST_FILES = \
tests/test_CapRTL_explicit.input \
tests/test_CapRTL_explicit.reference \
tests/test_CapRTL_implicit.input \
tests/test_CapRTL_implicit.reference \
tests/test_ISO8859-8_hebrew.input \
tests/test_ISO8859-8_hebrew.reference \
tests/test_UTF-8_persian.input \
tests/test_UTF-8_persian.reference
TABLE_FILES = \
fribidi_tab_mirroring.i \
fribidi_tab_char_type_2.i \
fribidi_tab_char_type_9.i
UNIDATA_FILES = \
unidata/README \
unidata/UnicodeData.txt \
unidata/BidiMirroring.txt
EXTRA_HEADERS = \
packtab.h \
$(GETOPT_HDR)
EXTRA_DIST = \
bootstrap \
run.tests \
ANNOUNCE \
acinclude.m4 \
fribidi_config.h.in \
fribidi.pc.in \
fribidi.spec.in \
$(TEST_FILES) \
$(TABLE_FILES) \
$(UNIDATA_FILES) \
$(EXTRA_HEADERS)
fribidi_benchmark_SOURCES = fribidi_benchmark.c $(GETOPT_SRC)
fribidi_benchmark_LDADD = libfribidi.la
fribidi_create_char_types_SOURCES = fribidi_create_char_types.c packtab.c
fribidi_create_mirroring_SOURCES = fribidi_create_mirroring.c
bin_PROGRAMS = fribidi
fribidi_SOURCES = fribidi_main.c $(GETOPT_SRC)
fribidi_LDADD = libfribidi.la
build_fribidi_tab_mirroring.i: $(fribidi_create_mirroring_SOURCES) \
unidata/BidiMirroring.txt
$(MAKE) fribidi_create_mirroring
if test -d unidata; then UNIDATA=unidata; \
else UNIDATA="$(srcdir)/unidata"; fi && \
./fribidi_create_mirroring "$$UNIDATA"
fribidi_tab_mirroring.i:
$(MAKE) build_fribidi_tab_mirroring.i || ($(RM) -f $@; false)
$(srcdir)/fribidi_mirroring.c: fribidi_tab_mirroring.i
touch $@
fribidi_tab_char_type_small:
$(MAKE) fribidi_tab_char_type_9.i
fribidi_tab_char_type_large:
$(MAKE) fribidi_tab_char_type_2.i
fribidi_tab_char_type_%.i: $(fribidi_create_char_types_SOURCES) \
unidata/UnicodeData.txt
$(MAKE) fribidi_create_char_types
if test -d unidata; then UNIDATA=unidata; \
else UNIDATA="$(srcdir)/unidata"; fi && \
./fribidi_create_char_types "`echo "$@" \
| $(SED) 's/[^0-9]*//g'`" "$$UNIDATA" || \
($(RM) -f $@; false)
$(RM) -f fribidi_tab_char_type_stamp
$(MAKE) fribidi_tab_char_type_stamp
fribidi_tab_char_type_stamp:
touch "$(srcdir)/fribidi_char_type.c" || $(MAKE) clean
touch $@
config.h: fribidi_tab_char_type_stamp
./config.status --recheck
./config.status
touch $@
$(srcdir)/fribidi_char_type.c: config.h
tests/test_%.reference: tests/test_%.input $(libfribidi_la_SOURCES)
(test -d tests || mkdir tests) && \
testcase="$@" && \
charset="`echo "$@" | $(SED) 's/_[^_]*$$//;s/.*_//'`" && \
./fribidi --test --charset "$$charset" "$<" > "$@" || \
($(RM) -f "$@"; false)
test.reference:
for testcase in "$(srcdir)"/tests/test_*.input; do \
test="`echo "$$testcase" \
| $(SED) 's/\.input$$/.reference/i; s|.*/||;'`" && \
$(MAKE) "tests/$$test" || \
exit 1; \
done
test: fribidi
"$(srcdir)/run.tests"
TESTS = run.tests
bin_SCRIPTS = fribidi-config
pkgconfigdir = $(libdir)/pkgconfig
pkgconfig_DATA = fribidi.pc
CLEANFILES =
DISTCLEANFILES = fribidi_tab_char_type_stamp
MAINTAINERCLEANFILES = Makefile.in configure aclocal.m4 config.h.in
|