2012-03-23 04:01:33 +08:00
|
|
|
AM_CPPFLAGS += \
|
2010-11-24 02:34:14 +08:00
|
|
|
-DUSE_STD_NAMESPACE \
|
2007-03-08 04:03:40 +08:00
|
|
|
-I$(top_srcdir)/ccutil -I$(top_srcdir)/ccstruct \
|
2016-11-08 07:38:07 +08:00
|
|
|
-I$(top_srcdir)/arch -I$(top_srcdir)/lstm \
|
2014-01-10 01:48:00 +08:00
|
|
|
-I$(top_srcdir)/viewer \
|
2011-10-17 03:39:54 +08:00
|
|
|
-I$(top_srcdir)/classify -I$(top_srcdir)/dict \
|
2007-03-08 04:03:40 +08:00
|
|
|
-I$(top_srcdir)/wordrec -I$(top_srcdir)/cutil \
|
2013-11-12 18:40:40 +08:00
|
|
|
-I$(top_srcdir)/textord -I$(top_srcdir)/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
|
|
|
|
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
|
|
|
|
2012-03-07 06:41:43 +08:00
|
|
|
include_HEADERS = \
|
2015-07-24 17:51:44 +08:00
|
|
|
thresholder.h ltrresultiterator.h pageiterator.h resultiterator.h \
|
|
|
|
osdetect.h
|
2012-03-03 21:22:51 +08:00
|
|
|
noinst_HEADERS = \
|
2015-07-24 17:51:44 +08:00
|
|
|
control.h docqual.h equationdetect.h fixspace.h mutableiterator.h \
|
2012-03-07 06:41:43 +08:00
|
|
|
output.h paragraphs.h paragraphs_internal.h paramsd.h pgedit.h \
|
2015-07-24 17:51:44 +08:00
|
|
|
reject.h tessbox.h tessedit.h tesseractclass.h tessvars.h werdit.h
|
2007-03-08 04:03:40 +08:00
|
|
|
|
2011-08-30 05:28:28 +08:00
|
|
|
if !USING_MULTIPLELIBS
|
|
|
|
noinst_LTLIBRARIES = libtesseract_main.la
|
|
|
|
else
|
2010-05-26 22:20:20 +08:00
|
|
|
lib_LTLIBRARIES = libtesseract_main.la
|
2011-08-30 05:28:28 +08:00
|
|
|
libtesseract_main_la_LDFLAGS = -version-info $(GENERIC_LIBRARY_VERSION)
|
2011-10-17 03:39:54 +08:00
|
|
|
libtesseract_main_la_LIBADD = \
|
2015-07-24 17:51:44 +08:00
|
|
|
../wordrec/libtesseract_wordrec.la \
|
|
|
|
../textord/libtesseract_textord.la \
|
2011-10-17 03:39:54 +08:00
|
|
|
../ccutil/libtesseract_ccutil.la \
|
2015-07-24 17:51:44 +08:00
|
|
|
../ccstruct/libtesseract_ccstruct.la \
|
|
|
|
../viewer/libtesseract_viewer.la \
|
|
|
|
../dict/libtesseract_dict.la \
|
2016-11-08 07:38:07 +08:00
|
|
|
../arch/libtesseract_avx.la \
|
|
|
|
../arch/libtesseract_sse.la \
|
|
|
|
../lstm/libtesseract_lstm.la \
|
2015-07-24 17:51:44 +08:00
|
|
|
../classify/libtesseract_classify.la \
|
|
|
|
../cutil/libtesseract_cutil.la \
|
|
|
|
../opencl/libtesseract_opencl.la
|
2011-08-30 05:28:28 +08:00
|
|
|
endif
|
|
|
|
|
2010-05-26 22:20:20 +08:00
|
|
|
libtesseract_main_la_SOURCES = \
|
2015-07-24 17:51:44 +08:00
|
|
|
adaptions.cpp applybox.cpp control.cpp \
|
2012-02-02 10:59:49 +08:00
|
|
|
docqual.cpp equationdetect.cpp fixspace.cpp fixxht.cpp \
|
2016-11-08 07:38:07 +08:00
|
|
|
linerec.cpp ltrresultiterator.cpp \
|
2012-02-02 10:59:49 +08:00
|
|
|
osdetect.cpp output.cpp pageiterator.cpp pagesegmain.cpp \
|
2013-11-09 04:30:56 +08:00
|
|
|
pagewalk.cpp par_control.cpp paragraphs.cpp paramsd.cpp pgedit.cpp recogtraining.cpp \
|
2014-01-10 01:48:00 +08:00
|
|
|
reject.cpp resultiterator.cpp superscript.cpp \
|
2009-07-11 10:03:51 +08:00
|
|
|
tessbox.cpp tessedit.cpp tesseractclass.cpp tessvars.cpp \
|
2011-03-19 05:52:08 +08:00
|
|
|
tfacepp.cpp thresholder.cpp \
|
2010-11-24 02:34:14 +08:00
|
|
|
werdit.cpp
|
2015-07-24 17:51:44 +08:00
|
|
|
|