2012-03-23 04:01:33 +08:00
|
|
|
AM_CPPFLAGS += \
|
2018-07-03 23:49:42 +08:00
|
|
|
-I$(top_srcdir)/src/ccutil \
|
|
|
|
-I$(top_srcdir)/src/ccstruct \
|
|
|
|
-I$(top_srcdir)/src/arch \
|
|
|
|
-I$(top_srcdir)/src/lstm \
|
|
|
|
-I$(top_srcdir)/src/viewer \
|
|
|
|
-I$(top_srcdir)/src/classify \
|
|
|
|
-I$(top_srcdir)/src/dict \
|
|
|
|
-I$(top_srcdir)/src/wordrec \
|
|
|
|
-I$(top_srcdir)/src/cutil \
|
|
|
|
-I$(top_srcdir)/src/textord \
|
|
|
|
-I$(top_srcdir)/src/opencl
|
2015-08-26 17:03:07 +08:00
|
|
|
|
|
|
|
AM_CPPFLAGS += $(OPENCL_CPPFLAGS)
|
2016-12-05 01:36:18 +08:00
|
|
|
AM_CPPFLAGS += $(OPENMP_CXXFLAGS)
|
2015-08-26 17:03:07 +08:00
|
|
|
|
2018-07-04 23:54:18 +08:00
|
|
|
if DISABLED_LEGACY_ENGINE
|
|
|
|
AM_CPPFLAGS += -DDISABLED_LEGACY_ENGINE
|
|
|
|
endif
|
|
|
|
|
2012-03-03 07:51:33 +08:00
|
|
|
if VISIBILITY
|
|
|
|
AM_CPPFLAGS += -DTESS_EXPORTS \
|
|
|
|
-fvisibility=hidden -fvisibility-inlines-hidden
|
|
|
|
endif
|
2007-03-08 04:03:40 +08:00
|
|
|
|
2018-06-18 03:58:22 +08:00
|
|
|
pkginclude_HEADERS = \
|
2018-07-03 23:49:42 +08:00
|
|
|
thresholder.h \
|
2018-08-06 22:21:20 +08:00
|
|
|
osdetect.h \
|
2018-07-03 23:49:42 +08:00
|
|
|
ltrresultiterator.h \
|
|
|
|
pageiterator.h \
|
|
|
|
resultiterator.h
|
2018-06-19 01:17:21 +08:00
|
|
|
|
2012-03-03 21:22:51 +08:00
|
|
|
noinst_HEADERS = \
|
2018-07-03 23:49:42 +08:00
|
|
|
control.h \
|
|
|
|
equationdetect.h \
|
|
|
|
mutableiterator.h \
|
|
|
|
output.h \
|
|
|
|
paragraphs.h \
|
|
|
|
paragraphs_internal.h \
|
|
|
|
paramsd.h \
|
|
|
|
pgedit.h \
|
|
|
|
tesseractclass.h \
|
|
|
|
tessvars.h \
|
|
|
|
werdit.h
|
2007-03-08 04:03:40 +08:00
|
|
|
|
2019-04-04 20:02:07 +08:00
|
|
|
if !DISABLED_LEGACY_ENGINE
|
|
|
|
noinst_HEADERS += \
|
|
|
|
docqual.h \
|
|
|
|
fixspace.h \
|
|
|
|
reject.h
|
|
|
|
endif
|
|
|
|
|
2011-08-30 05:28:28 +08:00
|
|
|
noinst_LTLIBRARIES = libtesseract_main.la
|
|
|
|
|
2010-05-26 22:20:20 +08:00
|
|
|
libtesseract_main_la_SOURCES = \
|
2018-07-03 23:49:42 +08:00
|
|
|
applybox.cpp \
|
|
|
|
control.cpp \
|
|
|
|
linerec.cpp \
|
|
|
|
ltrresultiterator.cpp \
|
2018-09-03 22:16:57 +08:00
|
|
|
mutableiterator.cpp \
|
2018-07-03 23:49:42 +08:00
|
|
|
output.cpp \
|
|
|
|
pageiterator.cpp \
|
|
|
|
pagesegmain.cpp \
|
|
|
|
pagewalk.cpp \
|
|
|
|
paragraphs.cpp \
|
|
|
|
paramsd.cpp \
|
|
|
|
pgedit.cpp \
|
|
|
|
reject.cpp \
|
|
|
|
resultiterator.cpp \
|
|
|
|
tessedit.cpp \
|
|
|
|
tesseractclass.cpp \
|
|
|
|
tessvars.cpp \
|
|
|
|
thresholder.cpp \
|
|
|
|
werdit.cpp
|
|
|
|
|
|
|
|
if !DISABLED_LEGACY_ENGINE
|
2019-08-13 22:34:46 +08:00
|
|
|
libtesseract_main_la_SOURCES += adaptions.cpp
|
|
|
|
libtesseract_main_la_SOURCES += docqual.cpp
|
|
|
|
libtesseract_main_la_SOURCES += equationdetect.cpp
|
|
|
|
libtesseract_main_la_SOURCES += fixspace.cpp
|
|
|
|
libtesseract_main_la_SOURCES += fixxht.cpp
|
|
|
|
libtesseract_main_la_SOURCES += osdetect.cpp
|
|
|
|
libtesseract_main_la_SOURCES += par_control.cpp
|
|
|
|
libtesseract_main_la_SOURCES += recogtraining.cpp
|
|
|
|
libtesseract_main_la_SOURCES += superscript.cpp
|
|
|
|
libtesseract_main_la_SOURCES += tessbox.cpp
|
|
|
|
libtesseract_main_la_SOURCES += tfacepp.cpp
|
2018-07-03 23:49:42 +08:00
|
|
|
endif
|