comparison mupdf-source/Makelists @ 2:b50eed0cc0ef upstream

ADD: MuPDF v1.26.7: the MuPDF source as downloaded by a default build of PyMuPDF 1.26.4. The directory name has changed: no version number in the expanded directory now.
author Franz Glasner <fzglas.hg@dom66.de>
date Mon, 15 Sep 2025 11:43:07 +0200
parents
children aa33339d6b8a
comparison
equal deleted inserted replaced
1:1d09e1dec1d9 2:b50eed0cc0ef
1 # List of source files for all thirdparty libraries.
2
3 # --- FREETYPE2 ---
4
5 FREETYPE_CFLAGS += -Ithirdparty/freetype/include
6 FREETYPE_CFLAGS += -Iscripts/freetype
7
8 FREETYPE_BUILD_CFLAGS += -DFT_CONFIG_MODULES_H=\"slimftmodules.h\"
9 FREETYPE_BUILD_CFLAGS += -DFT_CONFIG_OPTIONS_H=\"slimftoptions.h\"
10 FREETYPE_BUILD_CFLAGS += -DFT2_BUILD_LIBRARY
11
12 FREETYPE_SRC += thirdparty/freetype/src/base/ftbase.c
13 FREETYPE_SRC += thirdparty/freetype/src/base/ftbbox.c
14 FREETYPE_SRC += thirdparty/freetype/src/base/ftbitmap.c
15 FREETYPE_SRC += thirdparty/freetype/src/base/ftdebug.c
16 FREETYPE_SRC += thirdparty/freetype/src/base/ftfstype.c
17 FREETYPE_SRC += thirdparty/freetype/src/base/ftgasp.c
18 FREETYPE_SRC += thirdparty/freetype/src/base/ftglyph.c
19 FREETYPE_SRC += thirdparty/freetype/src/base/ftinit.c
20 FREETYPE_SRC += thirdparty/freetype/src/base/ftstroke.c
21 FREETYPE_SRC += thirdparty/freetype/src/base/ftsynth.c
22 FREETYPE_SRC += thirdparty/freetype/src/base/ftsystem.c
23 FREETYPE_SRC += thirdparty/freetype/src/base/fttype1.c
24 FREETYPE_SRC += thirdparty/freetype/src/cff/cff.c
25 FREETYPE_SRC += thirdparty/freetype/src/cid/type1cid.c
26 FREETYPE_SRC += thirdparty/freetype/src/psaux/psaux.c
27 FREETYPE_SRC += thirdparty/freetype/src/pshinter/pshinter.c
28 FREETYPE_SRC += thirdparty/freetype/src/psnames/psnames.c
29 FREETYPE_SRC += thirdparty/freetype/src/raster/raster.c
30 FREETYPE_SRC += thirdparty/freetype/src/sfnt/sfnt.c
31 FREETYPE_SRC += thirdparty/freetype/src/smooth/smooth.c
32 FREETYPE_SRC += thirdparty/freetype/src/truetype/truetype.c
33 FREETYPE_SRC += thirdparty/freetype/src/type1/type1.c
34
35 # --- GUMBO ---
36
37 GUMBO_CFLAGS += -Ithirdparty/gumbo-parser/src
38
39 GUMBO_BUILD_CFLAGS += -std=c99
40
41 GUMBO_SRC += thirdparty/gumbo-parser/src/attribute.c
42 GUMBO_SRC += thirdparty/gumbo-parser/src/char_ref.c
43 GUMBO_SRC += thirdparty/gumbo-parser/src/error.c
44 GUMBO_SRC += thirdparty/gumbo-parser/src/parser.c
45 GUMBO_SRC += thirdparty/gumbo-parser/src/string_buffer.c
46 GUMBO_SRC += thirdparty/gumbo-parser/src/string_piece.c
47 GUMBO_SRC += thirdparty/gumbo-parser/src/tag.c
48 GUMBO_SRC += thirdparty/gumbo-parser/src/tokenizer.c
49 GUMBO_SRC += thirdparty/gumbo-parser/src/utf8.c
50 GUMBO_SRC += thirdparty/gumbo-parser/src/util.c
51 GUMBO_SRC += thirdparty/gumbo-parser/src/vector.c
52
53 # --- HARFBUZZ ---
54
55 HARFBUZZ_CFLAGS += -Ithirdparty/harfbuzz/src
56
57 HARFBUZZ_BUILD_CFLAGS += -Iinclude/mupdf
58 HARFBUZZ_BUILD_CFLAGS += $(FREETYPE_CFLAGS)
59
60 HARFBUZZ_BUILD_CFLAGS += -DHAVE_FALLBACK=1
61 HARFBUZZ_BUILD_CFLAGS += -DHAVE_FREETYPE
62 HARFBUZZ_BUILD_CFLAGS += -DHAVE_OT
63 HARFBUZZ_BUILD_CFLAGS += -DHAVE_ROUND
64 HARFBUZZ_BUILD_CFLAGS += -DHAVE_UCDN
65 HARFBUZZ_BUILD_CFLAGS += -DHB_NO_MT
66
67 # disable warnings
68 HARFBUZZ_BUILD_CFLAGS += -DHB_NO_PRAGMA_GCC_DIAGNOSTIC
69 HARFBUZZ_BUILD_CFLAGS += -w
70
71 HARFBUZZ_BUILD_CFLAGS += -Dhb_malloc_impl=fz_hb_malloc
72 HARFBUZZ_BUILD_CFLAGS += -Dhb_calloc_impl=fz_hb_calloc
73 HARFBUZZ_BUILD_CFLAGS += -Dhb_free_impl=fz_hb_free
74 HARFBUZZ_BUILD_CFLAGS += -Dhb_realloc_impl=fz_hb_realloc
75
76 HARFBUZZ_BUILD_CFLAGS += -fno-exceptions
77 HARFBUZZ_BUILD_CFLAGS += -fno-rtti
78 HARFBUZZ_BUILD_CFLAGS += -fno-threadsafe-statics
79 HARFBUZZ_BUILD_CFLAGS += -fvisibility-inlines-hidden
80 HARFBUZZ_BUILD_CFLAGS += -std=gnu++11
81
82 HARFBUZZ_SRC += thirdparty/harfbuzz/src/graph/gsubgpos-context.cc
83
84 HARFBUZZ_SRC += thirdparty/harfbuzz/src/hb-aat-layout.cc
85 HARFBUZZ_SRC += thirdparty/harfbuzz/src/hb-aat-map.cc
86 HARFBUZZ_SRC += thirdparty/harfbuzz/src/hb-blob.cc
87 HARFBUZZ_SRC += thirdparty/harfbuzz/src/hb-buffer.cc
88 HARFBUZZ_SRC += thirdparty/harfbuzz/src/hb-buffer-verify.cc
89 HARFBUZZ_SRC += thirdparty/harfbuzz/src/hb-buffer-serialize.cc
90 HARFBUZZ_SRC += thirdparty/harfbuzz/src/hb-common.cc
91 HARFBUZZ_SRC += thirdparty/harfbuzz/src/hb-face.cc
92 HARFBUZZ_SRC += thirdparty/harfbuzz/src/hb-fallback-shape.cc
93 HARFBUZZ_SRC += thirdparty/harfbuzz/src/hb-font.cc
94 HARFBUZZ_SRC += thirdparty/harfbuzz/src/hb-ft.cc
95 HARFBUZZ_SRC += thirdparty/harfbuzz/src/hb-map.cc
96 HARFBUZZ_SRC += thirdparty/harfbuzz/src/hb-number.cc
97 HARFBUZZ_SRC += thirdparty/harfbuzz/src/hb-ot-cff1-table.cc
98 HARFBUZZ_SRC += thirdparty/harfbuzz/src/hb-ot-cff2-table.cc
99 HARFBUZZ_SRC += thirdparty/harfbuzz/src/hb-ot-color.cc
100 HARFBUZZ_SRC += thirdparty/harfbuzz/src/hb-ot-face.cc
101 HARFBUZZ_SRC += thirdparty/harfbuzz/src/hb-ot-font.cc
102 HARFBUZZ_SRC += thirdparty/harfbuzz/src/hb-ot-layout.cc
103 HARFBUZZ_SRC += thirdparty/harfbuzz/src/hb-ot-map.cc
104 HARFBUZZ_SRC += thirdparty/harfbuzz/src/hb-ot-math.cc
105 HARFBUZZ_SRC += thirdparty/harfbuzz/src/hb-ot-meta.cc
106 HARFBUZZ_SRC += thirdparty/harfbuzz/src/hb-ot-metrics.cc
107 HARFBUZZ_SRC += thirdparty/harfbuzz/src/hb-ot-name.cc
108 HARFBUZZ_SRC += thirdparty/harfbuzz/src/hb-ot-shape.cc
109 HARFBUZZ_SRC += thirdparty/harfbuzz/src/hb-ot-shape-fallback.cc
110 HARFBUZZ_SRC += thirdparty/harfbuzz/src/hb-ot-shape-normalize.cc
111 HARFBUZZ_SRC += thirdparty/harfbuzz/src/hb-ot-shaper-arabic.cc
112 HARFBUZZ_SRC += thirdparty/harfbuzz/src/hb-ot-shaper-default.cc
113 HARFBUZZ_SRC += thirdparty/harfbuzz/src/hb-ot-shaper-hangul.cc
114 HARFBUZZ_SRC += thirdparty/harfbuzz/src/hb-ot-shaper-hebrew.cc
115 HARFBUZZ_SRC += thirdparty/harfbuzz/src/hb-ot-shaper-indic.cc
116 HARFBUZZ_SRC += thirdparty/harfbuzz/src/hb-ot-shaper-indic-table.cc
117 HARFBUZZ_SRC += thirdparty/harfbuzz/src/hb-ot-shaper-khmer.cc
118 HARFBUZZ_SRC += thirdparty/harfbuzz/src/hb-ot-shaper-myanmar.cc
119 HARFBUZZ_SRC += thirdparty/harfbuzz/src/hb-ot-shaper-syllabic.cc
120 HARFBUZZ_SRC += thirdparty/harfbuzz/src/hb-ot-shaper-thai.cc
121 HARFBUZZ_SRC += thirdparty/harfbuzz/src/hb-ot-shaper-use.cc
122 HARFBUZZ_SRC += thirdparty/harfbuzz/src/hb-ot-shaper-vowel-constraints.cc
123 HARFBUZZ_SRC += thirdparty/harfbuzz/src/hb-ot-tag.cc
124 HARFBUZZ_SRC += thirdparty/harfbuzz/src/hb-ot-var.cc
125 HARFBUZZ_SRC += thirdparty/harfbuzz/src/hb-set.cc
126 HARFBUZZ_SRC += thirdparty/harfbuzz/src/hb-shape.cc
127 HARFBUZZ_SRC += thirdparty/harfbuzz/src/hb-shape-plan.cc
128 HARFBUZZ_SRC += thirdparty/harfbuzz/src/hb-shaper.cc
129 HARFBUZZ_SRC += thirdparty/harfbuzz/src/hb-static.cc
130 HARFBUZZ_SRC += thirdparty/harfbuzz/src/hb-subset.cc
131 HARFBUZZ_SRC += thirdparty/harfbuzz/src/hb-subset-cff1.cc
132 HARFBUZZ_SRC += thirdparty/harfbuzz/src/hb-subset-cff2.cc
133 HARFBUZZ_SRC += thirdparty/harfbuzz/src/hb-subset-cff-common.cc
134 HARFBUZZ_SRC += thirdparty/harfbuzz/src/hb-subset-input.cc
135 HARFBUZZ_SRC += thirdparty/harfbuzz/src/hb-subset-plan.cc
136 HARFBUZZ_SRC += thirdparty/harfbuzz/src/hb-ucd.cc
137 HARFBUZZ_SRC += thirdparty/harfbuzz/src/hb-unicode.cc
138
139 # --- JPEG-XR (optional, used by XPS) ---
140
141 JPEGXR_CFLAGS += -Ithirdparty/jpegxr
142 JPEGXR_CFLAGS += -Ithirdparty/jpegxr/Software
143 JPEGXR_CFLAGS += -DHAVE_JPEGXR
144
145 JPEGXR_BUILD_CFLAGS += -Wno-tautological-compare
146
147 JPEGXR_SRC += thirdparty/jpegxr/Software/algo.c
148 JPEGXR_SRC += thirdparty/jpegxr/Software/api.c
149 JPEGXR_SRC += thirdparty/jpegxr/Software/cr_parse.c
150 JPEGXR_SRC += thirdparty/jpegxr/Software/flags.c
151 JPEGXR_SRC += thirdparty/jpegxr/Software/init.c
152 JPEGXR_SRC += thirdparty/jpegxr/Software/io.c
153 JPEGXR_SRC += thirdparty/jpegxr/Software/jpegxr_pixelformat.c
154 JPEGXR_SRC += thirdparty/jpegxr/Software/r_parse.c
155 JPEGXR_SRC += thirdparty/jpegxr/Software/r_strip.c
156 JPEGXR_SRC += thirdparty/jpegxr/Software/r_tile_frequency.c
157 JPEGXR_SRC += thirdparty/jpegxr/Software/r_tile_spatial.c
158 JPEGXR_SRC += thirdparty/jpegxr/Software/x_strip.c
159
160 # --- LIBJPEG ---
161
162 LIBJPEG_CFLAGS += -Ithirdparty/libjpeg
163 LIBJPEG_CFLAGS += -Iscripts/libjpeg
164
165 LIBJPEG_SRC += thirdparty/libjpeg/jaricom.c
166 LIBJPEG_SRC += thirdparty/libjpeg/jcapimin.c
167 LIBJPEG_SRC += thirdparty/libjpeg/jcapistd.c
168 LIBJPEG_SRC += thirdparty/libjpeg/jcarith.c
169 LIBJPEG_SRC += thirdparty/libjpeg/jccoefct.c
170 LIBJPEG_SRC += thirdparty/libjpeg/jccolor.c
171 LIBJPEG_SRC += thirdparty/libjpeg/jcdctmgr.c
172 LIBJPEG_SRC += thirdparty/libjpeg/jchuff.c
173 LIBJPEG_SRC += thirdparty/libjpeg/jcinit.c
174 LIBJPEG_SRC += thirdparty/libjpeg/jcmainct.c
175 LIBJPEG_SRC += thirdparty/libjpeg/jcmarker.c
176 LIBJPEG_SRC += thirdparty/libjpeg/jcmaster.c
177 LIBJPEG_SRC += thirdparty/libjpeg/jcomapi.c
178 LIBJPEG_SRC += thirdparty/libjpeg/jcparam.c
179 LIBJPEG_SRC += thirdparty/libjpeg/jcprepct.c
180 LIBJPEG_SRC += thirdparty/libjpeg/jcsample.c
181 LIBJPEG_SRC += thirdparty/libjpeg/jdapimin.c
182 LIBJPEG_SRC += thirdparty/libjpeg/jdapistd.c
183 LIBJPEG_SRC += thirdparty/libjpeg/jdarith.c
184 LIBJPEG_SRC += thirdparty/libjpeg/jdatadst.c
185 LIBJPEG_SRC += thirdparty/libjpeg/jdatasrc.c
186 LIBJPEG_SRC += thirdparty/libjpeg/jdcoefct.c
187 LIBJPEG_SRC += thirdparty/libjpeg/jdcolor.c
188 LIBJPEG_SRC += thirdparty/libjpeg/jddctmgr.c
189 LIBJPEG_SRC += thirdparty/libjpeg/jdhuff.c
190 LIBJPEG_SRC += thirdparty/libjpeg/jdinput.c
191 LIBJPEG_SRC += thirdparty/libjpeg/jdmainct.c
192 LIBJPEG_SRC += thirdparty/libjpeg/jdmarker.c
193 LIBJPEG_SRC += thirdparty/libjpeg/jdmaster.c
194 LIBJPEG_SRC += thirdparty/libjpeg/jdmerge.c
195 LIBJPEG_SRC += thirdparty/libjpeg/jdpostct.c
196 LIBJPEG_SRC += thirdparty/libjpeg/jdsample.c
197 LIBJPEG_SRC += thirdparty/libjpeg/jdtrans.c
198 LIBJPEG_SRC += thirdparty/libjpeg/jerror.c
199 LIBJPEG_SRC += thirdparty/libjpeg/jfdctflt.c
200 LIBJPEG_SRC += thirdparty/libjpeg/jfdctfst.c
201 LIBJPEG_SRC += thirdparty/libjpeg/jfdctint.c
202 LIBJPEG_SRC += thirdparty/libjpeg/jidctflt.c
203 LIBJPEG_SRC += thirdparty/libjpeg/jidctfst.c
204 LIBJPEG_SRC += thirdparty/libjpeg/jidctint.c
205 LIBJPEG_SRC += thirdparty/libjpeg/jmemmgr.c
206 LIBJPEG_SRC += thirdparty/libjpeg/jquant1.c
207 LIBJPEG_SRC += thirdparty/libjpeg/jquant2.c
208 LIBJPEG_SRC += thirdparty/libjpeg/jutils.c
209
210 # --- LCMS2 (multi-threaded fork) ---
211
212 LCMS2_CFLAGS += -Ithirdparty/lcms2/include
213 LCMS2_CFLAGS += -DHAVE_LCMS2MT
214 LCMS2_CFLAGS += -DLCMS2MT_PREFIX=lcms2mt_
215
216 LCMS2_SRC += thirdparty/lcms2/src/cmsalpha.c
217 LCMS2_SRC += thirdparty/lcms2/src/cmscam02.c
218 LCMS2_SRC += thirdparty/lcms2/src/cmscgats.c
219 LCMS2_SRC += thirdparty/lcms2/src/cmscnvrt.c
220 LCMS2_SRC += thirdparty/lcms2/src/cmserr.c
221 LCMS2_SRC += thirdparty/lcms2/src/cmsgamma.c
222 LCMS2_SRC += thirdparty/lcms2/src/cmsgmt.c
223 LCMS2_SRC += thirdparty/lcms2/src/cmshalf.c
224 LCMS2_SRC += thirdparty/lcms2/src/cmsintrp.c
225 LCMS2_SRC += thirdparty/lcms2/src/cmsio0.c
226 LCMS2_SRC += thirdparty/lcms2/src/cmsio1.c
227 LCMS2_SRC += thirdparty/lcms2/src/cmslut.c
228 LCMS2_SRC += thirdparty/lcms2/src/cmsmd5.c
229 LCMS2_SRC += thirdparty/lcms2/src/cmsmtrx.c
230 LCMS2_SRC += thirdparty/lcms2/src/cmsnamed.c
231 LCMS2_SRC += thirdparty/lcms2/src/cmsopt.c
232 LCMS2_SRC += thirdparty/lcms2/src/cmspack.c
233 LCMS2_SRC += thirdparty/lcms2/src/cmspcs.c
234 LCMS2_SRC += thirdparty/lcms2/src/cmsplugin.c
235 LCMS2_SRC += thirdparty/lcms2/src/cmsps2.c
236 LCMS2_SRC += thirdparty/lcms2/src/cmssamp.c
237 LCMS2_SRC += thirdparty/lcms2/src/cmssm.c
238 LCMS2_SRC += thirdparty/lcms2/src/cmstypes.c
239 LCMS2_SRC += thirdparty/lcms2/src/cmsvirt.c
240 LCMS2_SRC += thirdparty/lcms2/src/cmswtpnt.c
241 LCMS2_SRC += thirdparty/lcms2/src/cmsxform.c
242
243 # --- MUJS ---
244
245 MUJS_CFLAGS += -Ithirdparty/mujs
246
247 MUJS_SRC += thirdparty/mujs/one.c
248
249 # --- ZLIB ---
250
251 ZLIB_CFLAGS += -Ithirdparty/zlib
252
253 ZLIB_BUILD_CFLAGS += -DHAVE_UNISTD_H
254 ZLIB_BUILD_CFLAGS += -DHAVE_STDARG_H
255
256 ZLIB_SRC += thirdparty/zlib/adler32.c
257 ZLIB_SRC += thirdparty/zlib/compress.c
258 ZLIB_SRC += thirdparty/zlib/crc32.c
259 ZLIB_SRC += thirdparty/zlib/deflate.c
260 ZLIB_SRC += thirdparty/zlib/inffast.c
261 ZLIB_SRC += thirdparty/zlib/inflate.c
262 ZLIB_SRC += thirdparty/zlib/inftrees.c
263 ZLIB_SRC += thirdparty/zlib/trees.c
264 ZLIB_SRC += thirdparty/zlib/uncompr.c
265 ZLIB_SRC += thirdparty/zlib/zutil.c
266
267 # --- JBIG2DEC ---
268
269 JBIG2DEC_CFLAGS += -Ithirdparty/jbig2dec
270
271 JBIG2DEC_BUILD_CFLAGS += -Iinclude
272 JBIG2DEC_BUILD_CFLAGS += -DHAVE_STDINT_H
273 JBIG2DEC_BUILD_CFLAGS += -DJBIG_EXTERNAL_MEMENTO_H=\"mupdf/memento.h\"
274
275 JBIG2DEC_SRC += thirdparty/jbig2dec/jbig2.c
276 JBIG2DEC_SRC += thirdparty/jbig2dec/jbig2_arith.c
277 JBIG2DEC_SRC += thirdparty/jbig2dec/jbig2_arith_iaid.c
278 JBIG2DEC_SRC += thirdparty/jbig2dec/jbig2_arith_int.c
279 JBIG2DEC_SRC += thirdparty/jbig2dec/jbig2_generic.c
280 JBIG2DEC_SRC += thirdparty/jbig2dec/jbig2_halftone.c
281 JBIG2DEC_SRC += thirdparty/jbig2dec/jbig2_huffman.c
282 JBIG2DEC_SRC += thirdparty/jbig2dec/jbig2_hufftab.c
283 JBIG2DEC_SRC += thirdparty/jbig2dec/jbig2_image.c
284 JBIG2DEC_SRC += thirdparty/jbig2dec/jbig2_mmr.c
285 JBIG2DEC_SRC += thirdparty/jbig2dec/jbig2_page.c
286 JBIG2DEC_SRC += thirdparty/jbig2dec/jbig2_refinement.c
287 JBIG2DEC_SRC += thirdparty/jbig2dec/jbig2_segment.c
288 JBIG2DEC_SRC += thirdparty/jbig2dec/jbig2_symbol_dict.c
289 JBIG2DEC_SRC += thirdparty/jbig2dec/jbig2_text.c
290
291 # --- OPENJPEG ---
292
293 OPENJPEG_CFLAGS += -Ithirdparty/openjpeg/src/lib/openjp2
294 OPENJPEG_CFLAGS += -DOPJ_STATIC
295 OPENJPEG_CFLAGS += -DOPJ_HAVE_INTTYPES_H
296 OPENJPEG_CFLAGS += -DOPJ_HAVE_STDINT_H
297
298 OPENJPEG_BUILD_CFLAGS += -Ithirdparty/openjpeg/src/lib/openjp2
299 OPENJPEG_BUILD_CFLAGS += -DMUTEX_pthread=0
300
301 OPENJPEG_SRC += thirdparty/openjpeg/src/lib/openjp2/bio.c
302 OPENJPEG_SRC += thirdparty/openjpeg/src/lib/openjp2/cio.c
303 OPENJPEG_SRC += thirdparty/openjpeg/src/lib/openjp2/dwt.c
304 OPENJPEG_SRC += thirdparty/openjpeg/src/lib/openjp2/event.c
305 OPENJPEG_SRC += thirdparty/openjpeg/src/lib/openjp2/function_list.c
306 OPENJPEG_SRC += thirdparty/openjpeg/src/lib/openjp2/ht_dec.c
307 OPENJPEG_SRC += thirdparty/openjpeg/src/lib/openjp2/image.c
308 OPENJPEG_SRC += thirdparty/openjpeg/src/lib/openjp2/invert.c
309 OPENJPEG_SRC += thirdparty/openjpeg/src/lib/openjp2/j2k.c
310 OPENJPEG_SRC += thirdparty/openjpeg/src/lib/openjp2/jp2.c
311 OPENJPEG_SRC += thirdparty/openjpeg/src/lib/openjp2/mct.c
312 OPENJPEG_SRC += thirdparty/openjpeg/src/lib/openjp2/mqc.c
313 OPENJPEG_SRC += thirdparty/openjpeg/src/lib/openjp2/openjpeg.c
314 OPENJPEG_SRC += thirdparty/openjpeg/src/lib/openjp2/pi.c
315 OPENJPEG_SRC += thirdparty/openjpeg/src/lib/openjp2/sparse_array.c
316 OPENJPEG_SRC += thirdparty/openjpeg/src/lib/openjp2/t1.c
317 OPENJPEG_SRC += thirdparty/openjpeg/src/lib/openjp2/t2.c
318 OPENJPEG_SRC += thirdparty/openjpeg/src/lib/openjp2/tcd.c
319 OPENJPEG_SRC += thirdparty/openjpeg/src/lib/openjp2/tgt.c
320 OPENJPEG_SRC += thirdparty/openjpeg/src/lib/openjp2/thread.c
321
322 # --- BROTLI ---
323
324 BROTLI_CFLAGS += -Ithirdparty/brotli/c/include
325
326 BROTLI_SRC += thirdparty/brotli/c/common/constants.c
327 BROTLI_SRC += thirdparty/brotli/c/common/context.c
328 BROTLI_SRC += thirdparty/brotli/c/common/dictionary.c
329 BROTLI_SRC += thirdparty/brotli/c/common/platform.c
330 BROTLI_SRC += thirdparty/brotli/c/common/shared_dictionary.c
331 BROTLI_SRC += thirdparty/brotli/c/common/transform.c
332 BROTLI_SRC += thirdparty/brotli/c/dec/bit_reader.c
333 BROTLI_SRC += thirdparty/brotli/c/dec/decode.c
334 BROTLI_SRC += thirdparty/brotli/c/dec/huffman.c
335 BROTLI_SRC += thirdparty/brotli/c/dec/state.c
336 BROTLI_SRC += thirdparty/brotli/c/enc/backward_references.c
337 BROTLI_SRC += thirdparty/brotli/c/enc/backward_references_hq.c
338 BROTLI_SRC += thirdparty/brotli/c/enc/bit_cost.c
339 BROTLI_SRC += thirdparty/brotli/c/enc/block_splitter.c
340 BROTLI_SRC += thirdparty/brotli/c/enc/brotli_bit_stream.c
341 BROTLI_SRC += thirdparty/brotli/c/enc/cluster.c
342 BROTLI_SRC += thirdparty/brotli/c/enc/command.c
343 BROTLI_SRC += thirdparty/brotli/c/enc/compound_dictionary.c
344 BROTLI_SRC += thirdparty/brotli/c/enc/compress_fragment.c
345 BROTLI_SRC += thirdparty/brotli/c/enc/compress_fragment_two_pass.c
346 BROTLI_SRC += thirdparty/brotli/c/enc/dictionary_hash.c
347 BROTLI_SRC += thirdparty/brotli/c/enc/encode.c
348 BROTLI_SRC += thirdparty/brotli/c/enc/encoder_dict.c
349 BROTLI_SRC += thirdparty/brotli/c/enc/entropy_encode.c
350 BROTLI_SRC += thirdparty/brotli/c/enc/fast_log.c
351 BROTLI_SRC += thirdparty/brotli/c/enc/histogram.c
352 BROTLI_SRC += thirdparty/brotli/c/enc/literal_cost.c
353 BROTLI_SRC += thirdparty/brotli/c/enc/memory.c
354 BROTLI_SRC += thirdparty/brotli/c/enc/metablock.c
355 BROTLI_SRC += thirdparty/brotli/c/enc/static_dict.c
356 BROTLI_SRC += thirdparty/brotli/c/enc/utf8_util.c
357
358 # --- FREEGLUT ---
359
360 GLUT_CFLAGS += -Ithirdparty/freeglut/include
361
362 GLUT_BUILD_CFLAGS += -Ithirdparty/freeglut/src
363 GLUT_BUILD_CFLAGS += -DHAVE_UNISTD_H
364 GLUT_BUILD_CFLAGS += -DHAVE_STDINT_H
365 GLUT_BUILD_CFLAGS += -DHAVE_X11_EXTENSIONS_XRANDR_H
366 GLUT_BUILD_CFLAGS += $(SYS_GL_CFLAGS)
367
368 GLUT_SRC += thirdparty/freeglut/src/fg_callbacks.c
369 GLUT_SRC += thirdparty/freeglut/src/fg_cursor.c
370 GLUT_SRC += thirdparty/freeglut/src/fg_display.c
371 GLUT_SRC += thirdparty/freeglut/src/fg_ext.c
372 GLUT_SRC += thirdparty/freeglut/src/fg_font.c
373 GLUT_SRC += thirdparty/freeglut/src/fg_font_data.c
374 GLUT_SRC += thirdparty/freeglut/src/fg_gamemode.c
375 GLUT_SRC += thirdparty/freeglut/src/fg_geometry.c
376 GLUT_SRC += thirdparty/freeglut/src/fg_gl2.c
377 GLUT_SRC += thirdparty/freeglut/src/fg_init.c
378 GLUT_SRC += thirdparty/freeglut/src/fg_input_devices.c
379 GLUT_SRC += thirdparty/freeglut/src/fg_joystick.c
380 GLUT_SRC += thirdparty/freeglut/src/fg_main.c
381 GLUT_SRC += thirdparty/freeglut/src/fg_menu.c
382 GLUT_SRC += thirdparty/freeglut/src/fg_misc.c
383 GLUT_SRC += thirdparty/freeglut/src/fg_overlay.c
384 GLUT_SRC += thirdparty/freeglut/src/fg_spaceball.c
385 GLUT_SRC += thirdparty/freeglut/src/fg_state.c
386 GLUT_SRC += thirdparty/freeglut/src/fg_stroke_mono_roman.c
387 GLUT_SRC += thirdparty/freeglut/src/fg_stroke_roman.c
388 GLUT_SRC += thirdparty/freeglut/src/fg_structure.c
389 GLUT_SRC += thirdparty/freeglut/src/fg_teapot.c
390 GLUT_SRC += thirdparty/freeglut/src/fg_videoresize.c
391 GLUT_SRC += thirdparty/freeglut/src/fg_window.c
392
393 GLUT_SRC += thirdparty/freeglut/src/x11/fg_cursor_x11.c
394 GLUT_SRC += thirdparty/freeglut/src/x11/fg_display_x11_glx.c
395 GLUT_SRC += thirdparty/freeglut/src/x11/fg_ext_x11.c
396 GLUT_SRC += thirdparty/freeglut/src/x11/fg_gamemode_x11.c
397 GLUT_SRC += thirdparty/freeglut/src/x11/fg_glutfont_definitions_x11.c
398 GLUT_SRC += thirdparty/freeglut/src/x11/fg_init_x11.c
399 GLUT_SRC += thirdparty/freeglut/src/x11/fg_input_devices_x11.c
400 GLUT_SRC += thirdparty/freeglut/src/x11/fg_joystick_x11.c
401 GLUT_SRC += thirdparty/freeglut/src/x11/fg_main_x11.c
402 GLUT_SRC += thirdparty/freeglut/src/x11/fg_menu_x11.c
403 GLUT_SRC += thirdparty/freeglut/src/x11/fg_spaceball_x11.c
404 GLUT_SRC += thirdparty/freeglut/src/x11/fg_state_x11.c
405 GLUT_SRC += thirdparty/freeglut/src/x11/fg_state_x11_glx.c
406 GLUT_SRC += thirdparty/freeglut/src/x11/fg_structure_x11.c
407 GLUT_SRC += thirdparty/freeglut/src/x11/fg_window_x11.c
408 GLUT_SRC += thirdparty/freeglut/src/x11/fg_window_x11_glx.c
409 GLUT_SRC += thirdparty/freeglut/src/x11/fg_xinput_x11.c
410
411 GLUT_LIBS += $(SYS_GL_LIBS)
412
413 # --- LEPTONICA (optional, used by Tesseract) ---
414
415 LEPTONICA_CFLAGS += -Ithirdparty/leptonica/src
416 LEPTONICA_CFLAGS += -Iscripts/tesseract
417
418 LEPTONICA_BUILD_CFLAGS += -Iscripts/tesseract
419 LEPTONICA_BUILD_CFLAGS += -DLEPTONICA_INTERCEPT_ALLOC=1
420 LEPTONICA_BUILD_CFLAGS += -DHAVE_LIBPNG=0
421 LEPTONICA_BUILD_CFLAGS += -DHAVE_LIBTIFF=0
422 LEPTONICA_BUILD_CFLAGS += -DHAVE_LIBJPEG=0
423 LEPTONICA_BUILD_CFLAGS += -DHAVE_LIBZ=0
424 LEPTONICA_BUILD_CFLAGS += -DHAVE_LIBGIF=0
425 LEPTONICA_BUILD_CFLAGS += -DHAVE_LIBUNGIF=0
426 LEPTONICA_BUILD_CFLAGS += -DHAVE_LIBWEBP=0
427 LEPTONICA_BUILD_CFLAGS += -DHAVE_LIBWEBP_ANIM=0
428 LEPTONICA_BUILD_CFLAGS += -DHAVE_LIBJP2K=0
429 LEPTONICA_BUILD_CFLAGS += -Wno-address-of-packed-member
430
431 LEPTONICA_SRC += thirdparty/leptonica/src/adaptmap.c
432 LEPTONICA_SRC += thirdparty/leptonica/src/affine.c
433 LEPTONICA_SRC += thirdparty/leptonica/src/affinecompose.c
434 LEPTONICA_SRC += thirdparty/leptonica/src/arrayaccess.c
435 LEPTONICA_SRC += thirdparty/leptonica/src/baseline.c
436 LEPTONICA_SRC += thirdparty/leptonica/src/bbuffer.c
437 LEPTONICA_SRC += thirdparty/leptonica/src/bilateral.c
438 LEPTONICA_SRC += thirdparty/leptonica/src/bilinear.c
439 LEPTONICA_SRC += thirdparty/leptonica/src/binarize.c
440 LEPTONICA_SRC += thirdparty/leptonica/src/binexpand.c
441 LEPTONICA_SRC += thirdparty/leptonica/src/binreduce.c
442 LEPTONICA_SRC += thirdparty/leptonica/src/blend.c
443 LEPTONICA_SRC += thirdparty/leptonica/src/bmf.c
444 LEPTONICA_SRC += thirdparty/leptonica/src/bmpio.c
445 LEPTONICA_SRC += thirdparty/leptonica/src/bmpiostub.c
446 LEPTONICA_SRC += thirdparty/leptonica/src/bootnumgen1.c
447 LEPTONICA_SRC += thirdparty/leptonica/src/bootnumgen2.c
448 LEPTONICA_SRC += thirdparty/leptonica/src/bootnumgen3.c
449 LEPTONICA_SRC += thirdparty/leptonica/src/bootnumgen4.c
450 LEPTONICA_SRC += thirdparty/leptonica/src/boxbasic.c
451 LEPTONICA_SRC += thirdparty/leptonica/src/boxfunc1.c
452 LEPTONICA_SRC += thirdparty/leptonica/src/boxfunc2.c
453 LEPTONICA_SRC += thirdparty/leptonica/src/boxfunc3.c
454 LEPTONICA_SRC += thirdparty/leptonica/src/boxfunc4.c
455 LEPTONICA_SRC += thirdparty/leptonica/src/boxfunc5.c
456 LEPTONICA_SRC += thirdparty/leptonica/src/bytearray.c
457 LEPTONICA_SRC += thirdparty/leptonica/src/ccbord.c
458 LEPTONICA_SRC += thirdparty/leptonica/src/ccthin.c
459 LEPTONICA_SRC += thirdparty/leptonica/src/classapp.c
460 LEPTONICA_SRC += thirdparty/leptonica/src/colorcontent.c
461 LEPTONICA_SRC += thirdparty/leptonica/src/coloring.c
462 LEPTONICA_SRC += thirdparty/leptonica/src/colormap.c
463 LEPTONICA_SRC += thirdparty/leptonica/src/colormorph.c
464 LEPTONICA_SRC += thirdparty/leptonica/src/colorquant1.c
465 LEPTONICA_SRC += thirdparty/leptonica/src/colorquant2.c
466 LEPTONICA_SRC += thirdparty/leptonica/src/colorseg.c
467 LEPTONICA_SRC += thirdparty/leptonica/src/colorspace.c
468 LEPTONICA_SRC += thirdparty/leptonica/src/compare.c
469 LEPTONICA_SRC += thirdparty/leptonica/src/conncomp.c
470 LEPTONICA_SRC += thirdparty/leptonica/src/convertfiles.c
471 LEPTONICA_SRC += thirdparty/leptonica/src/convolve.c
472 LEPTONICA_SRC += thirdparty/leptonica/src/correlscore.c
473 LEPTONICA_SRC += thirdparty/leptonica/src/dewarp1.c
474 LEPTONICA_SRC += thirdparty/leptonica/src/dewarp2.c
475 LEPTONICA_SRC += thirdparty/leptonica/src/dewarp3.c
476 LEPTONICA_SRC += thirdparty/leptonica/src/dewarp4.c
477 LEPTONICA_SRC += thirdparty/leptonica/src/dnabasic.c
478 LEPTONICA_SRC += thirdparty/leptonica/src/dnafunc1.c
479 LEPTONICA_SRC += thirdparty/leptonica/src/dnahash.c
480 LEPTONICA_SRC += thirdparty/leptonica/src/dwacomb.2.c
481 LEPTONICA_SRC += thirdparty/leptonica/src/dwacomblow.2.c
482 LEPTONICA_SRC += thirdparty/leptonica/src/edge.c
483 LEPTONICA_SRC += thirdparty/leptonica/src/encoding.c
484 LEPTONICA_SRC += thirdparty/leptonica/src/enhance.c
485 LEPTONICA_SRC += thirdparty/leptonica/src/fhmtauto.c
486 LEPTONICA_SRC += thirdparty/leptonica/src/fhmtgenlow.1.c
487 LEPTONICA_SRC += thirdparty/leptonica/src/fmorphauto.c
488 LEPTONICA_SRC += thirdparty/leptonica/src/fmorphgen.1.c
489 LEPTONICA_SRC += thirdparty/leptonica/src/fmorphgenlow.1.c
490 LEPTONICA_SRC += thirdparty/leptonica/src/fpix1.c
491 LEPTONICA_SRC += thirdparty/leptonica/src/fpix2.c
492 LEPTONICA_SRC += thirdparty/leptonica/src/gifiostub.c
493 LEPTONICA_SRC += thirdparty/leptonica/src/gplot.c
494 LEPTONICA_SRC += thirdparty/leptonica/src/graphics.c
495 LEPTONICA_SRC += thirdparty/leptonica/src/graymorph.c
496 LEPTONICA_SRC += thirdparty/leptonica/src/grayquant.c
497 LEPTONICA_SRC += thirdparty/leptonica/src/hashmap.c
498 LEPTONICA_SRC += thirdparty/leptonica/src/heap.c
499 LEPTONICA_SRC += thirdparty/leptonica/src/jbclass.c
500 LEPTONICA_SRC += thirdparty/leptonica/src/jp2kheader.c
501 LEPTONICA_SRC += thirdparty/leptonica/src/jp2kheaderstub.c
502 LEPTONICA_SRC += thirdparty/leptonica/src/jp2kiostub.c
503 LEPTONICA_SRC += thirdparty/leptonica/src/jpegiostub.c
504 LEPTONICA_SRC += thirdparty/leptonica/src/kernel.c
505 LEPTONICA_SRC += thirdparty/leptonica/src/libversions.c
506 LEPTONICA_SRC += thirdparty/leptonica/src/list.c
507 LEPTONICA_SRC += thirdparty/leptonica/src/map.c
508 LEPTONICA_SRC += thirdparty/leptonica/src/morph.c
509 LEPTONICA_SRC += thirdparty/leptonica/src/morphapp.c
510 LEPTONICA_SRC += thirdparty/leptonica/src/morphdwa.c
511 LEPTONICA_SRC += thirdparty/leptonica/src/morphseq.c
512 LEPTONICA_SRC += thirdparty/leptonica/src/numabasic.c
513 LEPTONICA_SRC += thirdparty/leptonica/src/numafunc1.c
514 LEPTONICA_SRC += thirdparty/leptonica/src/numafunc2.c
515 LEPTONICA_SRC += thirdparty/leptonica/src/pageseg.c
516 LEPTONICA_SRC += thirdparty/leptonica/src/paintcmap.c
517 LEPTONICA_SRC += thirdparty/leptonica/src/partify.c
518 LEPTONICA_SRC += thirdparty/leptonica/src/partition.c
519 LEPTONICA_SRC += thirdparty/leptonica/src/pdfio1.c
520 LEPTONICA_SRC += thirdparty/leptonica/src/pdfio1stub.c
521 LEPTONICA_SRC += thirdparty/leptonica/src/pdfio2.c
522 LEPTONICA_SRC += thirdparty/leptonica/src/pdfio2stub.c
523 LEPTONICA_SRC += thirdparty/leptonica/src/pix1.c
524 LEPTONICA_SRC += thirdparty/leptonica/src/pix2.c
525 LEPTONICA_SRC += thirdparty/leptonica/src/pix3.c
526 LEPTONICA_SRC += thirdparty/leptonica/src/pix4.c
527 LEPTONICA_SRC += thirdparty/leptonica/src/pix5.c
528 LEPTONICA_SRC += thirdparty/leptonica/src/pixabasic.c
529 LEPTONICA_SRC += thirdparty/leptonica/src/pixacc.c
530 LEPTONICA_SRC += thirdparty/leptonica/src/pixafunc1.c
531 LEPTONICA_SRC += thirdparty/leptonica/src/pixafunc2.c
532 LEPTONICA_SRC += thirdparty/leptonica/src/pixalloc.c
533 LEPTONICA_SRC += thirdparty/leptonica/src/pixarith.c
534 LEPTONICA_SRC += thirdparty/leptonica/src/pixcomp.c
535 LEPTONICA_SRC += thirdparty/leptonica/src/pixconv.c
536 LEPTONICA_SRC += thirdparty/leptonica/src/pixlabel.c
537 LEPTONICA_SRC += thirdparty/leptonica/src/pixtiling.c
538 LEPTONICA_SRC += thirdparty/leptonica/src/pngiostub.c
539 LEPTONICA_SRC += thirdparty/leptonica/src/pnmio.c
540 LEPTONICA_SRC += thirdparty/leptonica/src/projective.c
541 LEPTONICA_SRC += thirdparty/leptonica/src/psio1.c
542 LEPTONICA_SRC += thirdparty/leptonica/src/psio1stub.c
543 LEPTONICA_SRC += thirdparty/leptonica/src/psio2.c
544 LEPTONICA_SRC += thirdparty/leptonica/src/psio2stub.c
545 LEPTONICA_SRC += thirdparty/leptonica/src/ptabasic.c
546 LEPTONICA_SRC += thirdparty/leptonica/src/ptafunc1.c
547 LEPTONICA_SRC += thirdparty/leptonica/src/ptafunc2.c
548 LEPTONICA_SRC += thirdparty/leptonica/src/ptra.c
549 LEPTONICA_SRC += thirdparty/leptonica/src/quadtree.c
550 LEPTONICA_SRC += thirdparty/leptonica/src/queue.c
551 LEPTONICA_SRC += thirdparty/leptonica/src/rank.c
552 LEPTONICA_SRC += thirdparty/leptonica/src/rbtree.c
553 LEPTONICA_SRC += thirdparty/leptonica/src/readfile.c
554 LEPTONICA_SRC += thirdparty/leptonica/src/regutils.c
555 LEPTONICA_SRC += thirdparty/leptonica/src/rop.c
556 LEPTONICA_SRC += thirdparty/leptonica/src/roplow.c
557 LEPTONICA_SRC += thirdparty/leptonica/src/rotate.c
558 LEPTONICA_SRC += thirdparty/leptonica/src/rotateam.c
559 LEPTONICA_SRC += thirdparty/leptonica/src/rotateorth.c
560 LEPTONICA_SRC += thirdparty/leptonica/src/rotateshear.c
561 LEPTONICA_SRC += thirdparty/leptonica/src/runlength.c
562 LEPTONICA_SRC += thirdparty/leptonica/src/sarray1.c
563 LEPTONICA_SRC += thirdparty/leptonica/src/sarray2.c
564 LEPTONICA_SRC += thirdparty/leptonica/src/scale1.c
565 LEPTONICA_SRC += thirdparty/leptonica/src/scale2.c
566 LEPTONICA_SRC += thirdparty/leptonica/src/seedfill.c
567 LEPTONICA_SRC += thirdparty/leptonica/src/sel1.c
568 LEPTONICA_SRC += thirdparty/leptonica/src/sel2.c
569 LEPTONICA_SRC += thirdparty/leptonica/src/selgen.c
570 LEPTONICA_SRC += thirdparty/leptonica/src/shear.c
571 LEPTONICA_SRC += thirdparty/leptonica/src/skew.c
572 LEPTONICA_SRC += thirdparty/leptonica/src/spixio.c
573 LEPTONICA_SRC += thirdparty/leptonica/src/stack.c
574 LEPTONICA_SRC += thirdparty/leptonica/src/stringcode.c
575 LEPTONICA_SRC += thirdparty/leptonica/src/strokes.c
576 LEPTONICA_SRC += thirdparty/leptonica/src/textops.c
577 LEPTONICA_SRC += thirdparty/leptonica/src/tiffiostub.c
578 LEPTONICA_SRC += thirdparty/leptonica/src/utils1.c
579 LEPTONICA_SRC += thirdparty/leptonica/src/utils2.c
580 LEPTONICA_SRC += thirdparty/leptonica/src/warper.c
581 LEPTONICA_SRC += thirdparty/leptonica/src/webpiostub.c
582 LEPTONICA_SRC += thirdparty/leptonica/src/writefile.c
583 LEPTONICA_SRC += thirdparty/leptonica/src/zlibmem.c
584 LEPTONICA_SRC += thirdparty/leptonica/src/zlibmemstub.c
585
586 # --- TESSERACT (optional) ---
587
588 TESSERACT_LANGFLAGS = -std=c++17
589 TESSERACT_CFLAGS += -Ithirdparty/tesseract/include
590 TESSERACT_CFLAGS += -Iscripts/tesseract
591
592 TESSERACT_DEFINES = -DTESSERACT_IMAGEDATA_AS_PIX
593 TESSERACT_DEFINES += -DTESSERACT_DISABLE_DEBUG_FONTS
594 TESSERACT_DEFINES += -DGRAPHICS_DISABLED
595 TESSERACT_DEFINES += -DDISABLED_LEGACY_ENGINE
596
597 TESSERACT_BUILD_CFLAGS += -Ithirdparty/tesseract/src
598 TESSERACT_BUILD_CFLAGS += -Ithirdparty/tesseract/src/api
599 TESSERACT_BUILD_CFLAGS += -Ithirdparty/tesseract/src/arch
600 TESSERACT_BUILD_CFLAGS += -Ithirdparty/tesseract/src/ccmain
601 TESSERACT_BUILD_CFLAGS += -Ithirdparty/tesseract/src/ccstruct
602 TESSERACT_BUILD_CFLAGS += -Ithirdparty/tesseract/src/ccutil
603 TESSERACT_BUILD_CFLAGS += -Ithirdparty/tesseract/src/classify
604 TESSERACT_BUILD_CFLAGS += -Ithirdparty/tesseract/src/dict
605 TESSERACT_BUILD_CFLAGS += -Ithirdparty/tesseract/src/lstm
606 TESSERACT_BUILD_CFLAGS += -Ithirdparty/tesseract/src/textord
607 TESSERACT_BUILD_CFLAGS += -Ithirdparty/tesseract/src/viewer
608 TESSERACT_BUILD_CFLAGS += -Ithirdparty/tesseract/src/wordrec
609 TESSERACT_BUILD_CFLAGS += -Ithirdparty/tesseract/src/cutil
610 TESSERACT_BUILD_CFLAGS += $(TESSERACT_LANGFLAGS)
611
612 TESSERACT_BUILD_CFLAGS += $(LEPTONICA_CFLAGS)
613
614 TESSERACT_LIBS += -lpthread
615 TESSERACT_LIBS += -lstdc++
616
617 TESSERACT_SRC += thirdparty/tesseract/src/api/altorenderer.cpp
618 TESSERACT_SRC += thirdparty/tesseract/src/api/baseapi.cpp
619 TESSERACT_SRC += thirdparty/tesseract/src/api/capi.cpp
620 TESSERACT_SRC += thirdparty/tesseract/src/api/hocrrenderer.cpp
621 TESSERACT_SRC += thirdparty/tesseract/src/api/lstmboxrenderer.cpp
622 TESSERACT_SRC += thirdparty/tesseract/src/api/pagerenderer.cpp
623 TESSERACT_SRC += thirdparty/tesseract/src/api/pdfrenderer.cpp
624 TESSERACT_SRC += thirdparty/tesseract/src/api/renderer.cpp
625 TESSERACT_SRC += thirdparty/tesseract/src/api/wordstrboxrenderer.cpp
626 TESSERACT_SRC += thirdparty/tesseract/src/arch/dotproduct.cpp
627 TESSERACT_SRC += thirdparty/tesseract/src/arch/dotproductneon.cpp
628 TESSERACT_SRC += thirdparty/tesseract/src/arch/intsimdmatrix.cpp
629 TESSERACT_SRC += thirdparty/tesseract/src/arch/simddetect.cpp
630 TESSERACT_SRC += thirdparty/tesseract/src/ccmain/applybox.cpp
631 TESSERACT_SRC += thirdparty/tesseract/src/ccmain/control.cpp
632 TESSERACT_SRC += thirdparty/tesseract/src/ccmain/linerec.cpp
633 TESSERACT_SRC += thirdparty/tesseract/src/ccmain/ltrresultiterator.cpp
634 TESSERACT_SRC += thirdparty/tesseract/src/ccmain/mutableiterator.cpp
635 TESSERACT_SRC += thirdparty/tesseract/src/ccmain/output.cpp
636 TESSERACT_SRC += thirdparty/tesseract/src/ccmain/pageiterator.cpp
637 TESSERACT_SRC += thirdparty/tesseract/src/ccmain/pagesegmain.cpp
638 TESSERACT_SRC += thirdparty/tesseract/src/ccmain/pagewalk.cpp
639 TESSERACT_SRC += thirdparty/tesseract/src/ccmain/paragraphs.cpp
640 TESSERACT_SRC += thirdparty/tesseract/src/ccmain/paramsd.cpp
641 TESSERACT_SRC += thirdparty/tesseract/src/ccmain/pgedit.cpp
642 TESSERACT_SRC += thirdparty/tesseract/src/ccmain/reject.cpp
643 TESSERACT_SRC += thirdparty/tesseract/src/ccmain/resultiterator.cpp
644 TESSERACT_SRC += thirdparty/tesseract/src/ccmain/tessedit.cpp
645 TESSERACT_SRC += thirdparty/tesseract/src/ccmain/tesseractclass.cpp
646 TESSERACT_SRC += thirdparty/tesseract/src/ccmain/tessvars.cpp
647 TESSERACT_SRC += thirdparty/tesseract/src/ccmain/thresholder.cpp
648 TESSERACT_SRC += thirdparty/tesseract/src/ccmain/werdit.cpp
649 TESSERACT_SRC += thirdparty/tesseract/src/ccstruct/blamer.cpp
650 TESSERACT_SRC += thirdparty/tesseract/src/ccstruct/blobbox.cpp
651 TESSERACT_SRC += thirdparty/tesseract/src/ccstruct/blobs.cpp
652 TESSERACT_SRC += thirdparty/tesseract/src/ccstruct/blread.cpp
653 TESSERACT_SRC += thirdparty/tesseract/src/ccstruct/boxread.cpp
654 TESSERACT_SRC += thirdparty/tesseract/src/ccstruct/boxword.cpp
655 TESSERACT_SRC += thirdparty/tesseract/src/ccstruct/ccstruct.cpp
656 TESSERACT_SRC += thirdparty/tesseract/src/ccstruct/coutln.cpp
657 TESSERACT_SRC += thirdparty/tesseract/src/ccstruct/detlinefit.cpp
658 TESSERACT_SRC += thirdparty/tesseract/src/ccstruct/dppoint.cpp
659 TESSERACT_SRC += thirdparty/tesseract/src/ccstruct/image.cpp
660 TESSERACT_SRC += thirdparty/tesseract/src/ccstruct/imagedata.cpp
661 TESSERACT_SRC += thirdparty/tesseract/src/ccstruct/linlsq.cpp
662 TESSERACT_SRC += thirdparty/tesseract/src/ccstruct/matrix.cpp
663 TESSERACT_SRC += thirdparty/tesseract/src/ccstruct/mod128.cpp
664 TESSERACT_SRC += thirdparty/tesseract/src/ccstruct/normalis.cpp
665 TESSERACT_SRC += thirdparty/tesseract/src/ccstruct/ocrblock.cpp
666 TESSERACT_SRC += thirdparty/tesseract/src/ccstruct/ocrpara.cpp
667 TESSERACT_SRC += thirdparty/tesseract/src/ccstruct/ocrrow.cpp
668 TESSERACT_SRC += thirdparty/tesseract/src/ccstruct/otsuthr.cpp
669 TESSERACT_SRC += thirdparty/tesseract/src/ccstruct/pageres.cpp
670 TESSERACT_SRC += thirdparty/tesseract/src/ccstruct/pdblock.cpp
671 TESSERACT_SRC += thirdparty/tesseract/src/ccstruct/points.cpp
672 TESSERACT_SRC += thirdparty/tesseract/src/ccstruct/polyaprx.cpp
673 TESSERACT_SRC += thirdparty/tesseract/src/ccstruct/polyblk.cpp
674 TESSERACT_SRC += thirdparty/tesseract/src/ccstruct/quadlsq.cpp
675 TESSERACT_SRC += thirdparty/tesseract/src/ccstruct/quspline.cpp
676 TESSERACT_SRC += thirdparty/tesseract/src/ccstruct/ratngs.cpp
677 TESSERACT_SRC += thirdparty/tesseract/src/ccstruct/rect.cpp
678 TESSERACT_SRC += thirdparty/tesseract/src/ccstruct/rejctmap.cpp
679 TESSERACT_SRC += thirdparty/tesseract/src/ccstruct/seam.cpp
680 TESSERACT_SRC += thirdparty/tesseract/src/ccstruct/split.cpp
681 TESSERACT_SRC += thirdparty/tesseract/src/ccstruct/statistc.cpp
682 TESSERACT_SRC += thirdparty/tesseract/src/ccstruct/stepblob.cpp
683 TESSERACT_SRC += thirdparty/tesseract/src/ccstruct/werd.cpp
684 TESSERACT_SRC += thirdparty/tesseract/src/ccutil/ccutil.cpp
685 TESSERACT_SRC += thirdparty/tesseract/src/ccutil/clst.cpp
686 TESSERACT_SRC += thirdparty/tesseract/src/ccutil/elst.cpp
687 TESSERACT_SRC += thirdparty/tesseract/src/ccutil/elst2.cpp
688 TESSERACT_SRC += thirdparty/tesseract/src/ccutil/errcode.cpp
689 TESSERACT_SRC += thirdparty/tesseract/src/ccutil/params.cpp
690 TESSERACT_SRC += thirdparty/tesseract/src/ccutil/scanutils.cpp
691 TESSERACT_SRC += thirdparty/tesseract/src/ccutil/serialis.cpp
692 TESSERACT_SRC += thirdparty/tesseract/src/ccutil/tessdatamanager.cpp
693 TESSERACT_SRC += thirdparty/tesseract/src/ccutil/tprintf.cpp
694 TESSERACT_SRC += thirdparty/tesseract/src/ccutil/unichar.cpp
695 TESSERACT_SRC += thirdparty/tesseract/src/ccutil/unicharcompress.cpp
696 TESSERACT_SRC += thirdparty/tesseract/src/ccutil/unicharmap.cpp
697 TESSERACT_SRC += thirdparty/tesseract/src/ccutil/unicharset.cpp
698 TESSERACT_SRC += thirdparty/tesseract/src/classify/classify.cpp
699 TESSERACT_SRC += thirdparty/tesseract/src/dict/context.cpp
700 TESSERACT_SRC += thirdparty/tesseract/src/dict/dawg.cpp
701 TESSERACT_SRC += thirdparty/tesseract/src/dict/dawg_cache.cpp
702 TESSERACT_SRC += thirdparty/tesseract/src/dict/dict.cpp
703 TESSERACT_SRC += thirdparty/tesseract/src/dict/permdawg.cpp
704 TESSERACT_SRC += thirdparty/tesseract/src/dict/stopper.cpp
705 TESSERACT_SRC += thirdparty/tesseract/src/dict/trie.cpp
706 TESSERACT_SRC += thirdparty/tesseract/src/lstm/convolve.cpp
707 TESSERACT_SRC += thirdparty/tesseract/src/lstm/fullyconnected.cpp
708 TESSERACT_SRC += thirdparty/tesseract/src/lstm/functions.cpp
709 TESSERACT_SRC += thirdparty/tesseract/src/lstm/input.cpp
710 TESSERACT_SRC += thirdparty/tesseract/src/lstm/lstm.cpp
711 TESSERACT_SRC += thirdparty/tesseract/src/lstm/lstmrecognizer.cpp
712 TESSERACT_SRC += thirdparty/tesseract/src/lstm/maxpool.cpp
713 TESSERACT_SRC += thirdparty/tesseract/src/lstm/network.cpp
714 TESSERACT_SRC += thirdparty/tesseract/src/lstm/networkio.cpp
715 TESSERACT_SRC += thirdparty/tesseract/src/lstm/parallel.cpp
716 TESSERACT_SRC += thirdparty/tesseract/src/lstm/plumbing.cpp
717 TESSERACT_SRC += thirdparty/tesseract/src/lstm/recodebeam.cpp
718 TESSERACT_SRC += thirdparty/tesseract/src/lstm/reconfig.cpp
719 TESSERACT_SRC += thirdparty/tesseract/src/lstm/reversed.cpp
720 TESSERACT_SRC += thirdparty/tesseract/src/lstm/series.cpp
721 TESSERACT_SRC += thirdparty/tesseract/src/lstm/stridemap.cpp
722 TESSERACT_SRC += thirdparty/tesseract/src/lstm/weightmatrix.cpp
723 TESSERACT_SRC += thirdparty/tesseract/src/textord/alignedblob.cpp
724 TESSERACT_SRC += thirdparty/tesseract/src/textord/baselinedetect.cpp
725 TESSERACT_SRC += thirdparty/tesseract/src/textord/bbgrid.cpp
726 TESSERACT_SRC += thirdparty/tesseract/src/textord/blkocc.cpp
727 TESSERACT_SRC += thirdparty/tesseract/src/textord/blobgrid.cpp
728 TESSERACT_SRC += thirdparty/tesseract/src/textord/ccnontextdetect.cpp
729 TESSERACT_SRC += thirdparty/tesseract/src/textord/cjkpitch.cpp
730 TESSERACT_SRC += thirdparty/tesseract/src/textord/colfind.cpp
731 TESSERACT_SRC += thirdparty/tesseract/src/textord/colpartition.cpp
732 TESSERACT_SRC += thirdparty/tesseract/src/textord/colpartitiongrid.cpp
733 TESSERACT_SRC += thirdparty/tesseract/src/textord/colpartitionset.cpp
734 TESSERACT_SRC += thirdparty/tesseract/src/textord/devanagari_processing.cpp
735 TESSERACT_SRC += thirdparty/tesseract/src/textord/drawtord.cpp
736 TESSERACT_SRC += thirdparty/tesseract/src/textord/edgblob.cpp
737 TESSERACT_SRC += thirdparty/tesseract/src/textord/edgloop.cpp
738 TESSERACT_SRC += thirdparty/tesseract/src/textord/fpchop.cpp
739 TESSERACT_SRC += thirdparty/tesseract/src/textord/gap_map.cpp
740 TESSERACT_SRC += thirdparty/tesseract/src/textord/imagefind.cpp
741 TESSERACT_SRC += thirdparty/tesseract/src/textord/linefind.cpp
742 TESSERACT_SRC += thirdparty/tesseract/src/textord/makerow.cpp
743 TESSERACT_SRC += thirdparty/tesseract/src/textord/oldbasel.cpp
744 TESSERACT_SRC += thirdparty/tesseract/src/textord/pithsync.cpp
745 TESSERACT_SRC += thirdparty/tesseract/src/textord/pitsync1.cpp
746 TESSERACT_SRC += thirdparty/tesseract/src/textord/scanedg.cpp
747 TESSERACT_SRC += thirdparty/tesseract/src/textord/sortflts.cpp
748 TESSERACT_SRC += thirdparty/tesseract/src/textord/strokewidth.cpp
749 TESSERACT_SRC += thirdparty/tesseract/src/textord/tabfind.cpp
750 TESSERACT_SRC += thirdparty/tesseract/src/textord/tablefind.cpp
751 TESSERACT_SRC += thirdparty/tesseract/src/textord/tablerecog.cpp
752 TESSERACT_SRC += thirdparty/tesseract/src/textord/tabvector.cpp
753 TESSERACT_SRC += thirdparty/tesseract/src/textord/textlineprojection.cpp
754 TESSERACT_SRC += thirdparty/tesseract/src/textord/textord.cpp
755 TESSERACT_SRC += thirdparty/tesseract/src/textord/topitch.cpp
756 TESSERACT_SRC += thirdparty/tesseract/src/textord/tordmain.cpp
757 TESSERACT_SRC += thirdparty/tesseract/src/textord/tospace.cpp
758 TESSERACT_SRC += thirdparty/tesseract/src/textord/tovars.cpp
759 TESSERACT_SRC += thirdparty/tesseract/src/textord/underlin.cpp
760 TESSERACT_SRC += thirdparty/tesseract/src/textord/wordseg.cpp
761 TESSERACT_SRC += thirdparty/tesseract/src/textord/workingpartset.cpp
762 TESSERACT_SRC += thirdparty/tesseract/src/viewer/scrollview.cpp
763 TESSERACT_SRC += thirdparty/tesseract/src/viewer/svmnode.cpp
764 TESSERACT_SRC += thirdparty/tesseract/src/viewer/svutil.cpp
765 TESSERACT_SRC += thirdparty/tesseract/src/wordrec/tface.cpp
766 TESSERACT_SRC += thirdparty/tesseract/src/wordrec/wordrec.cpp
767
768 ifeq ($(HAVE_AVX),yes)
769 TESSERACT_DEFINES += -DHAVE_AVX -D__AVX__
770 TESSERACT_BUILD_CFLAGS += -mavx
771 TESSERACT_SRC += thirdparty/tesseract/src/arch/dotproductavx.cpp
772 endif
773
774 ifeq ($(HAVE_AVX2),yes)
775 TESSERACT_DEFINES += -DHAVE_AVX2 -D__AVX2__
776 TESSERACT_BUILD_CFLAGS += -mavx2
777 TESSERACT_SRC += thirdparty/tesseract/src/arch/intsimdmatrixavx2.cpp
778 endif
779
780 ifeq ($(HAVE_FMA),yes)
781 TESSERACT_DEFINES += -DHAVE_FMA -D__FMA__
782 TESSERACT_BUILD_CFLAGS += -mfma
783 TESSERACT_SRC += thirdparty/tesseract/src/arch/dotproductfma.cpp
784 endif
785
786 ifeq ($(HAVE_SSE4_1),yes)
787 TESSERACT_DEFINES += -DHAVE_SSE4_1 -D__SSE4_1__
788 TESSERACT_BUILD_CFLAGS += -msse4.1
789 TESSERACT_SRC += thirdparty/tesseract/src/arch/dotproductsse.cpp
790 TESSERACT_SRC += thirdparty/tesseract/src/arch/intsimdmatrixsse.cpp
791 endif
792
793 ifeq ($(HAVE_NEON),yes)
794 TESSERACT_DEFINES += -DHAVE_NEON
795 TESSERACT_BUILD_CFLAGS += -mfpu=neon
796 endif
797 # Always include the neon code - it will compile to nothing if
798 # neon isn't enabled. We need to always include it, because it
799 # will be used if __aarch64__ is defined, which implies the
800 # presence of NEON even without the HAVE_NEON flags.
801 TESSERACT_SRC += thirdparty/tesseract/src/arch/intsimdmatrixneon.cpp
802
803 TESSERACT_BUILD_CFLAGS += $(TESSERACT_DEFINES)
804
805 # --- ZXINGCPP (optional) ---
806
807 ZXINGCPP_LANGFLAGS = -std=c++20
808
809 ZXINGCPP_CFLAGS += -Ithirdparty/zxing-cpp/core/src
810 ZXINGCPP_CFLAGS += -DZXING_EXPERIMENTAL_API
811
812 ZXINGCPP_BUILD_CFLAGS = -DZXING_USE_ZINT
813 ZXINGCPP_BUILD_CFLAGS += -DZXING_EXPERIMENTAL_API
814 ZXINGCPP_BUILD_CFLAGS += -DZINT_NO_PNG
815
816 ZXINGCPP_BUILD_CFLAGS += -Ithirdparty/zint/backend
817 ZXINGCPP_BUILD_CFLAGS += -Iscripts/zxing-cpp
818
819 ZXINGCPP_LIBS += -lstdc++
820
821 ZXINGCPP_SRC += thirdparty/zxing-cpp/core/src/aztec/AZDecoder.cpp
822 ZXINGCPP_SRC += thirdparty/zxing-cpp/core/src/aztec/AZDetector.cpp
823 ZXINGCPP_SRC += thirdparty/zxing-cpp/core/src/aztec/AZEncoder.cpp
824 ZXINGCPP_SRC += thirdparty/zxing-cpp/core/src/aztec/AZHighLevelEncoder.cpp
825 ZXINGCPP_SRC += thirdparty/zxing-cpp/core/src/aztec/AZReader.cpp
826 ZXINGCPP_SRC += thirdparty/zxing-cpp/core/src/aztec/AZToken.cpp
827 ZXINGCPP_SRC += thirdparty/zxing-cpp/core/src/aztec/AZWriter.cpp
828 ZXINGCPP_SRC += thirdparty/zxing-cpp/core/src/Barcode.cpp
829 ZXINGCPP_SRC += thirdparty/zxing-cpp/core/src/BarcodeFormat.cpp
830 ZXINGCPP_SRC += thirdparty/zxing-cpp/core/src/BinaryBitmap.cpp
831 ZXINGCPP_SRC += thirdparty/zxing-cpp/core/src/BitArray.cpp
832 ZXINGCPP_SRC += thirdparty/zxing-cpp/core/src/BitMatrix.cpp
833 ZXINGCPP_SRC += thirdparty/zxing-cpp/core/src/BitMatrixIO.cpp
834 ZXINGCPP_SRC += thirdparty/zxing-cpp/core/src/BitSource.cpp
835 ZXINGCPP_SRC += thirdparty/zxing-cpp/core/src/CharacterSet.cpp
836 ZXINGCPP_SRC += thirdparty/zxing-cpp/core/src/ConcentricFinder.cpp
837 ZXINGCPP_SRC += thirdparty/zxing-cpp/core/src/Content.cpp
838 ZXINGCPP_SRC += thirdparty/zxing-cpp/core/src/datamatrix/DMBitLayout.cpp
839 ZXINGCPP_SRC += thirdparty/zxing-cpp/core/src/datamatrix/DMDataBlock.cpp
840 ZXINGCPP_SRC += thirdparty/zxing-cpp/core/src/datamatrix/DMDecoder.cpp
841 ZXINGCPP_SRC += thirdparty/zxing-cpp/core/src/datamatrix/DMDetector.cpp
842 ZXINGCPP_SRC += thirdparty/zxing-cpp/core/src/datamatrix/DMECEncoder.cpp
843 ZXINGCPP_SRC += thirdparty/zxing-cpp/core/src/datamatrix/DMHighLevelEncoder.cpp
844 ZXINGCPP_SRC += thirdparty/zxing-cpp/core/src/datamatrix/DMReader.cpp
845 ZXINGCPP_SRC += thirdparty/zxing-cpp/core/src/datamatrix/DMSymbolInfo.cpp
846 ZXINGCPP_SRC += thirdparty/zxing-cpp/core/src/datamatrix/DMVersion.cpp
847 ZXINGCPP_SRC += thirdparty/zxing-cpp/core/src/datamatrix/DMWriter.cpp
848 ZXINGCPP_SRC += thirdparty/zxing-cpp/core/src/DecodeHints.cpp
849 ZXINGCPP_SRC += thirdparty/zxing-cpp/core/src/ECI.cpp
850 ZXINGCPP_SRC += thirdparty/zxing-cpp/core/src/Error.cpp
851 ZXINGCPP_SRC += thirdparty/zxing-cpp/core/src/GenericGF.cpp
852 ZXINGCPP_SRC += thirdparty/zxing-cpp/core/src/GenericGFPoly.cpp
853 ZXINGCPP_SRC += thirdparty/zxing-cpp/core/src/GlobalHistogramBinarizer.cpp
854 ZXINGCPP_SRC += thirdparty/zxing-cpp/core/src/GridSampler.cpp
855 ZXINGCPP_SRC += thirdparty/zxing-cpp/core/src/GTIN.cpp
856 ZXINGCPP_SRC += thirdparty/zxing-cpp/core/src/HRI.cpp
857 ZXINGCPP_SRC += thirdparty/zxing-cpp/core/src/HybridBinarizer.cpp
858 ZXINGCPP_SRC += thirdparty/zxing-cpp/core/src/libzueci/zueci.c
859 ZXINGCPP_SRC += thirdparty/zxing-cpp/core/src/maxicode/MCBitMatrixParser.cpp
860 ZXINGCPP_SRC += thirdparty/zxing-cpp/core/src/maxicode/MCDecoder.cpp
861 ZXINGCPP_SRC += thirdparty/zxing-cpp/core/src/maxicode/MCReader.cpp
862 ZXINGCPP_SRC += thirdparty/zxing-cpp/core/src/MultiFormatReader.cpp
863 ZXINGCPP_SRC += thirdparty/zxing-cpp/core/src/MultiFormatWriter.cpp
864 ZXINGCPP_SRC += thirdparty/zxing-cpp/core/src/oned/ODCodabarReader.cpp
865 ZXINGCPP_SRC += thirdparty/zxing-cpp/core/src/oned/ODCodabarWriter.cpp
866 ZXINGCPP_SRC += thirdparty/zxing-cpp/core/src/oned/ODCode128Patterns.cpp
867 ZXINGCPP_SRC += thirdparty/zxing-cpp/core/src/oned/ODCode128Reader.cpp
868 ZXINGCPP_SRC += thirdparty/zxing-cpp/core/src/oned/ODCode128Writer.cpp
869 ZXINGCPP_SRC += thirdparty/zxing-cpp/core/src/oned/ODCode39Reader.cpp
870 ZXINGCPP_SRC += thirdparty/zxing-cpp/core/src/oned/ODCode39Writer.cpp
871 ZXINGCPP_SRC += thirdparty/zxing-cpp/core/src/oned/ODCode93Reader.cpp
872 ZXINGCPP_SRC += thirdparty/zxing-cpp/core/src/oned/ODCode93Writer.cpp
873 ZXINGCPP_SRC += thirdparty/zxing-cpp/core/src/oned/ODDataBarCommon.cpp
874 ZXINGCPP_SRC += thirdparty/zxing-cpp/core/src/oned/ODDataBarExpandedBitDecoder.cpp
875 ZXINGCPP_SRC += thirdparty/zxing-cpp/core/src/oned/ODDataBarExpandedReader.cpp
876 ZXINGCPP_SRC += thirdparty/zxing-cpp/core/src/oned/ODDataBarLimitedReader.cpp
877 ZXINGCPP_SRC += thirdparty/zxing-cpp/core/src/oned/ODDataBarReader.cpp
878 ZXINGCPP_SRC += thirdparty/zxing-cpp/core/src/oned/ODDXFilmEdgeReader.cpp
879 ZXINGCPP_SRC += thirdparty/zxing-cpp/core/src/oned/ODEAN13Writer.cpp
880 ZXINGCPP_SRC += thirdparty/zxing-cpp/core/src/oned/ODEAN8Writer.cpp
881 ZXINGCPP_SRC += thirdparty/zxing-cpp/core/src/oned/ODITFReader.cpp
882 ZXINGCPP_SRC += thirdparty/zxing-cpp/core/src/oned/ODITFWriter.cpp
883 ZXINGCPP_SRC += thirdparty/zxing-cpp/core/src/oned/ODMultiUPCEANReader.cpp
884 ZXINGCPP_SRC += thirdparty/zxing-cpp/core/src/oned/ODReader.cpp
885 ZXINGCPP_SRC += thirdparty/zxing-cpp/core/src/oned/ODUPCAWriter.cpp
886 ZXINGCPP_SRC += thirdparty/zxing-cpp/core/src/oned/ODUPCEANCommon.cpp
887 ZXINGCPP_SRC += thirdparty/zxing-cpp/core/src/oned/ODUPCEWriter.cpp
888 ZXINGCPP_SRC += thirdparty/zxing-cpp/core/src/oned/ODWriterHelper.cpp
889 ZXINGCPP_SRC += thirdparty/zxing-cpp/core/src/pdf417/PDFBarcodeValue.cpp
890 ZXINGCPP_SRC += thirdparty/zxing-cpp/core/src/pdf417/PDFBoundingBox.cpp
891 ZXINGCPP_SRC += thirdparty/zxing-cpp/core/src/pdf417/PDFCodewordDecoder.cpp
892 ZXINGCPP_SRC += thirdparty/zxing-cpp/core/src/pdf417/PDFDecoder.cpp
893 ZXINGCPP_SRC += thirdparty/zxing-cpp/core/src/pdf417/PDFDetectionResult.cpp
894 ZXINGCPP_SRC += thirdparty/zxing-cpp/core/src/pdf417/PDFDetectionResultColumn.cpp
895 ZXINGCPP_SRC += thirdparty/zxing-cpp/core/src/pdf417/PDFDetector.cpp
896 ZXINGCPP_SRC += thirdparty/zxing-cpp/core/src/pdf417/PDFEncoder.cpp
897 ZXINGCPP_SRC += thirdparty/zxing-cpp/core/src/pdf417/PDFHighLevelEncoder.cpp
898 ZXINGCPP_SRC += thirdparty/zxing-cpp/core/src/pdf417/PDFModulusGF.cpp
899 ZXINGCPP_SRC += thirdparty/zxing-cpp/core/src/pdf417/PDFModulusPoly.cpp
900 ZXINGCPP_SRC += thirdparty/zxing-cpp/core/src/pdf417/PDFReader.cpp
901 ZXINGCPP_SRC += thirdparty/zxing-cpp/core/src/pdf417/PDFScanningDecoder.cpp
902 ZXINGCPP_SRC += thirdparty/zxing-cpp/core/src/pdf417/PDFWriter.cpp
903 ZXINGCPP_SRC += thirdparty/zxing-cpp/core/src/pdf417/ZXBigInteger.cpp
904 ZXINGCPP_SRC += thirdparty/zxing-cpp/core/src/PerspectiveTransform.cpp
905 ZXINGCPP_SRC += thirdparty/zxing-cpp/core/src/qrcode/QRBitMatrixParser.cpp
906 ZXINGCPP_SRC += thirdparty/zxing-cpp/core/src/qrcode/QRCodecMode.cpp
907 ZXINGCPP_SRC += thirdparty/zxing-cpp/core/src/qrcode/QRDataBlock.cpp
908 ZXINGCPP_SRC += thirdparty/zxing-cpp/core/src/qrcode/QRDecoder.cpp
909 ZXINGCPP_SRC += thirdparty/zxing-cpp/core/src/qrcode/QRDetector.cpp
910 ZXINGCPP_SRC += thirdparty/zxing-cpp/core/src/qrcode/QREncoder.cpp
911 ZXINGCPP_SRC += thirdparty/zxing-cpp/core/src/qrcode/QRErrorCorrectionLevel.cpp
912 ZXINGCPP_SRC += thirdparty/zxing-cpp/core/src/qrcode/QRFormatInformation.cpp
913 ZXINGCPP_SRC += thirdparty/zxing-cpp/core/src/qrcode/QRMaskUtil.cpp
914 ZXINGCPP_SRC += thirdparty/zxing-cpp/core/src/qrcode/QRMatrixUtil.cpp
915 ZXINGCPP_SRC += thirdparty/zxing-cpp/core/src/qrcode/QRReader.cpp
916 ZXINGCPP_SRC += thirdparty/zxing-cpp/core/src/qrcode/QRVersion.cpp
917 ZXINGCPP_SRC += thirdparty/zxing-cpp/core/src/qrcode/QRWriter.cpp
918 ZXINGCPP_SRC += thirdparty/zxing-cpp/core/src/ReadBarcode.cpp
919 ZXINGCPP_SRC += thirdparty/zxing-cpp/core/src/ReedSolomonDecoder.cpp
920 ZXINGCPP_SRC += thirdparty/zxing-cpp/core/src/ReedSolomonEncoder.cpp
921 ZXINGCPP_SRC += thirdparty/zxing-cpp/core/src/ResultPoint.cpp
922 ZXINGCPP_SRC += thirdparty/zxing-cpp/core/src/TextDecoder.cpp
923 ZXINGCPP_SRC += thirdparty/zxing-cpp/core/src/TextEncoder.cpp
924 ZXINGCPP_SRC += thirdparty/zxing-cpp/core/src/TextUtfEncoding.cpp
925 ZXINGCPP_SRC += thirdparty/zxing-cpp/core/src/Utf.cpp
926 ZXINGCPP_SRC += thirdparty/zxing-cpp/core/src/WhiteRectDetector.cpp
927 ZXINGCPP_SRC += thirdparty/zxing-cpp/core/src/WriteBarcode.cpp
928 ZXINGCPP_SRC += thirdparty/zxing-cpp/core/src/ZXingC.cpp
929 ZXINGCPP_SRC += thirdparty/zxing-cpp/core/src/ZXingCpp.cpp
930 ZXINGCPP_SRC += thirdparty/zint/backend/2of5.c
931 ZXINGCPP_SRC += thirdparty/zint/backend/auspost.c
932 ZXINGCPP_SRC += thirdparty/zint/backend/aztec.c
933 ZXINGCPP_SRC += thirdparty/zint/backend/bc412.c
934 ZXINGCPP_SRC += thirdparty/zint/backend/bmp.c
935 ZXINGCPP_SRC += thirdparty/zint/backend/codablock.c
936 ZXINGCPP_SRC += thirdparty/zint/backend/code.c
937 ZXINGCPP_SRC += thirdparty/zint/backend/code1.c
938 ZXINGCPP_SRC += thirdparty/zint/backend/code128.c
939 ZXINGCPP_SRC += thirdparty/zint/backend/code16k.c
940 ZXINGCPP_SRC += thirdparty/zint/backend/code49.c
941 ZXINGCPP_SRC += thirdparty/zint/backend/common.c
942 ZXINGCPP_SRC += thirdparty/zint/backend/composite.c
943 ZXINGCPP_SRC += thirdparty/zint/backend/dllversion.c
944 ZXINGCPP_SRC += thirdparty/zint/backend/dmatrix.c
945 ZXINGCPP_SRC += thirdparty/zint/backend/dotcode.c
946 ZXINGCPP_SRC += thirdparty/zint/backend/dxfilmedge.c
947 ZXINGCPP_SRC += thirdparty/zint/backend/eci.c
948 ZXINGCPP_SRC += thirdparty/zint/backend/emf.c
949 ZXINGCPP_SRC += thirdparty/zint/backend/filemem.c
950 ZXINGCPP_SRC += thirdparty/zint/backend/general_field.c
951 ZXINGCPP_SRC += thirdparty/zint/backend/gif.c
952 ZXINGCPP_SRC += thirdparty/zint/backend/gridmtx.c
953 ZXINGCPP_SRC += thirdparty/zint/backend/gs1.c
954 ZXINGCPP_SRC += thirdparty/zint/backend/hanxin.c
955 ZXINGCPP_SRC += thirdparty/zint/backend/imail.c
956 ZXINGCPP_SRC += thirdparty/zint/backend/large.c
957 ZXINGCPP_SRC += thirdparty/zint/backend/library.c
958 ZXINGCPP_SRC += thirdparty/zint/backend/mailmark.c
959 ZXINGCPP_SRC += thirdparty/zint/backend/maxicode.c
960 ZXINGCPP_SRC += thirdparty/zint/backend/medical.c
961 ZXINGCPP_SRC += thirdparty/zint/backend/output.c
962 ZXINGCPP_SRC += thirdparty/zint/backend/pcx.c
963 ZXINGCPP_SRC += thirdparty/zint/backend/pdf417.c
964 ZXINGCPP_SRC += thirdparty/zint/backend/plessey.c
965 ZXINGCPP_SRC += thirdparty/zint/backend/png.c
966 ZXINGCPP_SRC += thirdparty/zint/backend/postal.c
967 ZXINGCPP_SRC += thirdparty/zint/backend/ps.c
968 ZXINGCPP_SRC += thirdparty/zint/backend/qr.c
969 ZXINGCPP_SRC += thirdparty/zint/backend/raster.c
970 ZXINGCPP_SRC += thirdparty/zint/backend/reedsol.c
971 ZXINGCPP_SRC += thirdparty/zint/backend/rss.c
972 ZXINGCPP_SRC += thirdparty/zint/backend/svg.c
973 ZXINGCPP_SRC += thirdparty/zint/backend/telepen.c
974 ZXINGCPP_SRC += thirdparty/zint/backend/tif.c
975 ZXINGCPP_SRC += thirdparty/zint/backend/ultra.c
976 ZXINGCPP_SRC += thirdparty/zint/backend/upcean.c
977 ZXINGCPP_SRC += thirdparty/zint/backend/vector.c
978
979 # --- EXTRACT ---
980
981 EXTRACT_CFLAGS += -Ithirdparty/extract/include -Ithirdparty/extract/src
982
983 EXTRACT_SRC += thirdparty/extract/src/alloc.c
984 EXTRACT_SRC += thirdparty/extract/src/astring.c
985 EXTRACT_SRC += thirdparty/extract/src/boxer.c
986 EXTRACT_SRC += thirdparty/extract/src/buffer.c
987 EXTRACT_SRC += thirdparty/extract/src/document.c
988 EXTRACT_SRC += thirdparty/extract/src/docx.c
989 EXTRACT_SRC += thirdparty/extract/src/docx_template.c
990 EXTRACT_SRC += thirdparty/extract/src/extract.c
991 EXTRACT_SRC += thirdparty/extract/src/join.c
992 EXTRACT_SRC += thirdparty/extract/src/json.c
993 EXTRACT_SRC += thirdparty/extract/src/mem.c
994 EXTRACT_SRC += thirdparty/extract/src/html.c
995 EXTRACT_SRC += thirdparty/extract/src/odt.c
996 EXTRACT_SRC += thirdparty/extract/src/odt_template.c
997 EXTRACT_SRC += thirdparty/extract/src/outf.c
998 EXTRACT_SRC += thirdparty/extract/src/rect.c
999 EXTRACT_SRC += thirdparty/extract/src/sys.c
1000 EXTRACT_SRC += thirdparty/extract/src/text.c
1001 EXTRACT_SRC += thirdparty/extract/src/xml.c
1002 EXTRACT_SRC += thirdparty/extract/src/zip.c