2016-11-08 07:38:07 +08:00
|
|
|
AM_CPPFLAGS += \
|
|
|
|
-I$(top_srcdir)/ccutil -I$(top_srcdir)/cutil -I$(top_srcdir)/ccstruct \
|
|
|
|
-I$(top_srcdir)/arch -I$(top_srcdir)/viewer -I$(top_srcdir)/classify \
|
2017-07-15 01:33:55 +08:00
|
|
|
-I$(top_srcdir)/dict -I$(top_srcdir)/lstm -DUSE_STD_NAMESPACE
|
2016-11-08 07:38:07 +08:00
|
|
|
AUTOMAKE_OPTIONS = subdir-objects
|
|
|
|
SUBDIRS =
|
2016-12-05 01:36:18 +08:00
|
|
|
AM_CXXFLAGS = $(OPENMP_CXXFLAGS)
|
2016-11-08 07:38:07 +08:00
|
|
|
|
|
|
|
if !NO_TESSDATA_PREFIX
|
|
|
|
AM_CXXFLAGS += -DTESSDATA_PREFIX=@datadir@/
|
|
|
|
endif
|
|
|
|
|
|
|
|
if VISIBILITY
|
|
|
|
AM_CXXFLAGS += -fvisibility=hidden -fvisibility-inlines-hidden
|
|
|
|
AM_CPPFLAGS += -DTESS_EXPORTS
|
|
|
|
endif
|
|
|
|
|
|
|
|
include_HEADERS = \
|
|
|
|
convolve.h ctc.h fullyconnected.h functions.h input.h \
|
|
|
|
lstm.h lstmrecognizer.h lstmtrainer.h maxpool.h \
|
|
|
|
networkbuilder.h network.h networkio.h networkscratch.h \
|
|
|
|
parallel.h plumbing.h recodebeam.h reconfig.h reversed.h \
|
|
|
|
series.h static_shape.h stridemap.h tfnetwork.h weightmatrix.h
|
|
|
|
|
|
|
|
noinst_HEADERS =
|
|
|
|
|
|
|
|
if !USING_MULTIPLELIBS
|
|
|
|
noinst_LTLIBRARIES = libtesseract_lstm.la
|
|
|
|
else
|
|
|
|
lib_LTLIBRARIES = libtesseract_lstm.la
|
|
|
|
libtesseract_lstm_la_LDFLAGS = -version-info $(GENERIC_LIBRARY_VERSION)
|
|
|
|
endif
|
|
|
|
|
|
|
|
libtesseract_lstm_la_SOURCES = \
|
|
|
|
convolve.cpp ctc.cpp fullyconnected.cpp functions.cpp input.cpp \
|
|
|
|
lstm.cpp lstmrecognizer.cpp lstmtrainer.cpp maxpool.cpp \
|
|
|
|
networkbuilder.cpp network.cpp networkio.cpp \
|
|
|
|
parallel.cpp plumbing.cpp recodebeam.cpp reconfig.cpp reversed.cpp \
|
|
|
|
series.cpp stridemap.cpp tfnetwork.cpp weightmatrix.cpp
|