File tree 16 files changed +0
-356
lines changed
16 files changed +0
-356
lines changed Original file line number Diff line number Diff line change 17
17
include_HEADERS = apitypes.h baseapi.h capi.h renderer.h
18
18
lib_LTLIBRARIES =
19
19
20
- if !USING_MULTIPLELIBS
21
20
noinst_LTLIBRARIES = libtesseract_api.la
22
- else
23
- lib_LTLIBRARIES += libtesseract_api.la
24
- libtesseract_api_la_LDFLAGS = -version-info $(GENERIC_LIBRARY_VERSION )
25
- libtesseract_api_la_LIBADD = \
26
- ../ccmain/libtesseract_main.la \
27
- ../textord/libtesseract_textord.la \
28
- ../wordrec/libtesseract_wordrec.la \
29
- ../classify/libtesseract_classify.la \
30
- ../dict/libtesseract_dict.la \
31
- ../arch/libtesseract_arch.la \
32
- ../arch/libtesseract_avx.la \
33
- ../arch/libtesseract_avx2.la \
34
- ../arch/libtesseract_sse.la \
35
- ../lstm/libtesseract_lstm.la \
36
- ../ccstruct/libtesseract_ccstruct.la \
37
- ../cutil/libtesseract_cutil.la \
38
- ../viewer/libtesseract_viewer.la \
39
- ../ccutil/libtesseract_ccutil.la \
40
- ../opencl/libtesseract_opencl.la
41
- endif
42
21
43
22
libtesseract_api_la_CPPFLAGS = $(AM_CPPFLAGS )
44
23
if VISIBILITY
Original file line number Diff line number Diff line change @@ -12,17 +12,8 @@ include_HEADERS = dotproductavx.h dotproductsse.h intsimdmatrix.h intsimdmatrixa
12
12
13
13
noinst_HEADERS =
14
14
15
- if !USING_MULTIPLELIBS
16
15
noinst_LTLIBRARIES = libtesseract_avx.la libtesseract_avx2.la libtesseract_sse.la
17
16
noinst_LTLIBRARIES += libtesseract_arch.la
18
- else
19
- lib_LTLIBRARIES = libtesseract_avx.la libtesseract_avx2.la libtesseract_sse.la
20
- lib_LTLIBRARIES += libtesseract_arch.la
21
- libtesseract_arch_la_LDFLAGS = -version-info $(GENERIC_LIBRARY_VERSION )
22
- libtesseract_avx_la_LDFLAGS = -version-info $(GENERIC_LIBRARY_VERSION )
23
- libtesseract_avx2_la_LDFLAGS = -version-info $(GENERIC_LIBRARY_VERSION )
24
- libtesseract_sse_la_LDFLAGS = -version-info $(GENERIC_LIBRARY_VERSION )
25
- endif
26
17
27
18
if AVX_OPT
28
19
libtesseract_avx_la_CXXFLAGS = -mavx
Original file line number Diff line number Diff line change @@ -23,25 +23,7 @@ noinst_HEADERS = \
23
23
output.h paragraphs.h paragraphs_internal.h paramsd.h pgedit.h \
24
24
reject.h tessbox.h tessedit.h tesseractclass.h tessvars.h werdit.h
25
25
26
- if !USING_MULTIPLELIBS
27
26
noinst_LTLIBRARIES = libtesseract_main.la
28
- else
29
- lib_LTLIBRARIES = libtesseract_main.la
30
- libtesseract_main_la_LDFLAGS = -version-info $(GENERIC_LIBRARY_VERSION )
31
- libtesseract_main_la_LIBADD = \
32
- ../wordrec/libtesseract_wordrec.la \
33
- ../textord/libtesseract_textord.la \
34
- ../ccutil/libtesseract_ccutil.la \
35
- ../ccstruct/libtesseract_ccstruct.la \
36
- ../viewer/libtesseract_viewer.la \
37
- ../dict/libtesseract_dict.la \
38
- ../arch/libtesseract_avx.la \
39
- ../arch/libtesseract_sse.la \
40
- ../lstm/libtesseract_lstm.la \
41
- ../classify/libtesseract_classify.la \
42
- ../cutil/libtesseract_cutil.la \
43
- ../opencl/libtesseract_opencl.la
44
- endif
45
27
46
28
libtesseract_main_la_SOURCES = \
47
29
adaptions.cpp applybox.cpp control.cpp \
Original file line number Diff line number Diff line change @@ -22,17 +22,7 @@ noinst_HEADERS = \
22
22
quadlsq.h quadratc.h quspline.h ratngs.h rect.h rejctmap.h \
23
23
seam.h split.h statistc.h stepblob.h vecfuncs.h werd.h
24
24
25
- if !USING_MULTIPLELIBS
26
25
noinst_LTLIBRARIES = libtesseract_ccstruct.la
27
- else
28
- lib_LTLIBRARIES = libtesseract_ccstruct.la
29
- libtesseract_ccstruct_la_LDFLAGS = -version-info $(GENERIC_LIBRARY_VERSION )
30
- libtesseract_ccstruct_la_LIBADD = \
31
- ../ccutil/libtesseract_ccutil.la \
32
- ../cutil/libtesseract_cutil.la \
33
- ../viewer/libtesseract_viewer.la \
34
- ../opencl/libtesseract_opencl.la
35
- endif
36
26
37
27
libtesseract_ccstruct_la_SOURCES = \
38
28
blamer.cpp blobbox.cpp blobs.cpp blread.cpp boxread.cpp boxword.cpp ccstruct.cpp coutln.cpp \
Original file line number Diff line number Diff line change @@ -25,12 +25,7 @@ noinst_HEADERS = \
25
25
scanutils.h tessdatamanager.h tprintf.h unicity_table.h unicodes.h \
26
26
universalambigs.h
27
27
28
- if !USING_MULTIPLELIBS
29
28
noinst_LTLIBRARIES = libtesseract_ccutil.la
30
- else
31
- lib_LTLIBRARIES = libtesseract_ccutil.la
32
- libtesseract_ccutil_la_LDFLAGS = -version-info $(GENERIC_LIBRARY_VERSION )
33
- endif
34
29
35
30
libtesseract_ccutil_la_SOURCES = \
36
31
ambigs.cpp basedir.cpp bits16.cpp bitvector.cpp \
Original file line number Diff line number Diff line change @@ -21,18 +21,7 @@ noinst_HEADERS = \
21
21
sampleiterator.h shapeclassifier.h shapetable.h \
22
22
tessclassifier.h trainingsample.h trainingsampleset.h
23
23
24
- if !USING_MULTIPLELIBS
25
24
noinst_LTLIBRARIES = libtesseract_classify.la
26
- else
27
- lib_LTLIBRARIES = libtesseract_classify.la
28
- libtesseract_classify_la_LDFLAGS = -version-info $(GENERIC_LIBRARY_VERSION )
29
- libtesseract_classify_la_LIBADD = \
30
- ../ccutil/libtesseract_ccutil.la \
31
- ../cutil/libtesseract_cutil.la \
32
- ../ccstruct/libtesseract_ccstruct.la \
33
- ../dict/libtesseract_dict.la \
34
- ../viewer/libtesseract_viewer.la
35
- endif
36
25
37
26
libtesseract_classify_la_SOURCES = \
38
27
adaptive.cpp adaptmatch.cpp blobclass.cpp \
Original file line number Diff line number Diff line change @@ -267,15 +267,6 @@ AC_ARG_ENABLE([visibility],
267
267
AC_MSG_RESULT([$enable_visibility ])
268
268
AM_CONDITIONAL([VISIBILITY], [test " $enable_visibility " = " yes" ])
269
269
270
- # check whether to build multiple libraries
271
- AC_MSG_CHECKING([--enable-multiple-libraries argument])
272
- AC_ARG_ENABLE([multiple-libraries],
273
- [AS_HELP_STRING([--enable-multiple-libraries],[enable multiple libraries (default=no)])],
274
- [enable_mlibs= $enableval ],
275
- [enable_mlibs= " no" ])
276
- AC_MSG_RESULT([$enable_mlibs ])
277
- AM_CONDITIONAL([USING_MULTIPLELIBS], [test " $enable_mlibs " = " yes" ])
278
-
279
270
# Check if tessdata-prefix is disabled
280
271
AC_MSG_CHECKING([whether to use tessdata-prefix])
281
272
AC_ARG_ENABLE([tessdata-prefix],
Original file line number Diff line number Diff line change @@ -10,15 +10,7 @@ noinst_HEADERS = \
10
10
emalloc.h globals.h \
11
11
oldlist.h structures.h
12
12
13
- if !USING_MULTIPLELIBS
14
13
noinst_LTLIBRARIES = libtesseract_cutil.la
15
- else
16
- lib_LTLIBRARIES = libtesseract_cutil.la
17
- libtesseract_cutil_la_LDFLAGS = -version-info $(GENERIC_LIBRARY_VERSION )
18
- libtesseract_cutil_la_LIBADD = \
19
- ../ccutil/libtesseract_ccutil.la \
20
- ../viewer/libtesseract_viewer.la
21
- endif
22
14
23
15
libtesseract_cutil_la_SOURCES = \
24
16
bitvec.cpp callcpp.cpp cutil.cpp cutil_class.cpp danerror.cpp efio.cpp \
Original file line number Diff line number Diff line change @@ -10,17 +10,7 @@ noinst_HEADERS = \
10
10
dawg.h dawg_cache.h dict.h matchdefs.h \
11
11
stopper.h trie.h
12
12
13
- if !USING_MULTIPLELIBS
14
13
noinst_LTLIBRARIES = libtesseract_dict.la
15
- else
16
- lib_LTLIBRARIES = libtesseract_dict.la
17
- libtesseract_dict_la_LDFLAGS = -version-info $(GENERIC_LIBRARY_VERSION )
18
- libtesseract_dict_la_LIBADD = \
19
- ../ccutil/libtesseract_ccutil.la \
20
- ../cutil/libtesseract_cutil.la \
21
- ../ccstruct/libtesseract_ccstruct.la \
22
- ../viewer/libtesseract_viewer.la
23
- endif
24
14
25
15
libtesseract_dict_la_SOURCES = \
26
16
context.cpp \
Original file line number Diff line number Diff line change @@ -24,12 +24,7 @@ include_HEADERS = \
24
24
25
25
noinst_HEADERS =
26
26
27
- if !USING_MULTIPLELIBS
28
27
noinst_LTLIBRARIES = libtesseract_lstm.la
29
- else
30
- lib_LTLIBRARIES = libtesseract_lstm.la
31
- libtesseract_lstm_la_LDFLAGS = -version-info $(GENERIC_LIBRARY_VERSION )
32
- endif
33
28
34
29
libtesseract_lstm_la_SOURCES = \
35
30
convolve.cpp ctc.cpp fullyconnected.cpp functions.cpp input.cpp \
Original file line number Diff line number Diff line change @@ -2,15 +2,7 @@ AM_CPPFLAGS += -I$(top_srcdir)/ccutil -I$(top_srcdir)/ccstruct -I$(top_srcdir)/c
2
2
noinst_HEADERS = \
3
3
openclwrapper.h oclkernels.h opencl_device_selection.h
4
4
5
- if !USING_MULTIPLELIBS
6
5
noinst_LTLIBRARIES = libtesseract_opencl.la
7
- else
8
- lib_LTLIBRARIES = libtesseract_opencl.la
9
- libtesseract_opencl_la_LDFLAGS = -version-info $(GENERIC_LIBRARY_VERSION ) $(OPENCL_LDFLAGS )
10
- libtesseract_opencl_la_LIBADD = \
11
- ../ccutil/libtesseract_ccutil.la \
12
- ../viewer/libtesseract_viewer.la
13
- endif
14
6
15
7
libtesseract_opencl_la_SOURCES = \
16
8
openclwrapper.cpp
Original file line number Diff line number Diff line change @@ -27,21 +27,7 @@ noinst_HEADERS = \
27
27
topitch.h tordmain.h tovars.h \
28
28
underlin.h wordseg.h workingpartset.h
29
29
30
- if !USING_MULTIPLELIBS
31
30
noinst_LTLIBRARIES = libtesseract_textord.la
32
- else
33
- lib_LTLIBRARIES = libtesseract_textord.la
34
- libtesseract_textord_la_LDFLAGS = -version-info $(GENERIC_LIBRARY_VERSION )
35
- libtesseract_textord_la_LIBADD = \
36
- ../ccstruct/libtesseract_ccstruct.la \
37
- ../ccutil/libtesseract_ccutil.la \
38
- ../viewer/libtesseract_viewer.la \
39
- ../wordrec/libtesseract_wordrec.la \
40
- ../cutil/libtesseract_cutil.la \
41
- ../classify/libtesseract_classify.la \
42
- ../dict/libtesseract_dict.la \
43
- ../opencl/libtesseract_opencl.la
44
- endif
45
31
46
32
libtesseract_textord_la_SOURCES = \
47
33
alignedblob.cpp baselinedetect.cpp bbgrid.cpp blkocc.cpp blobgrid.cpp \
You can’t perform that action at this time.
0 commit comments