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 \
|
2018-03-04 21:43:28 +08:00
|
|
|
-I$(top_srcdir)/dict -I$(top_srcdir)/lstm
|
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 = \
|
2018-03-04 21:43:28 +08:00
|
|
|
convolve.h ctc.h fullyconnected.h functions.h input.h \
|
2016-11-08 07:38:07 +08:00
|
|
|
lstm.h lstmrecognizer.h lstmtrainer.h maxpool.h \
|
|
|
|
networkbuilder.h network.h networkio.h networkscratch.h \
|
2018-03-04 21:43:28 +08:00
|
|
|
parallel.h plumbing.h recodebeam.h reconfig.h reversed.h \
|
2016-11-08 07:38:07 +08:00
|
|
|
series.h static_shape.h stridemap.h tfnetwork.h weightmatrix.h
|
|
|
|
|
|
|
|
noinst_HEADERS =
|
|
|
|
|
|
|
|
noinst_LTLIBRARIES = libtesseract_lstm.la
|
|
|
|
|
|
|
|
libtesseract_lstm_la_SOURCES = \
|
2018-03-04 21:43:28 +08:00
|
|
|
convolve.cpp ctc.cpp fullyconnected.cpp functions.cpp input.cpp \
|
2016-11-08 07:38:07 +08:00
|
|
|
lstm.cpp lstmrecognizer.cpp lstmtrainer.cpp maxpool.cpp \
|
|
|
|
networkbuilder.cpp network.cpp networkio.cpp \
|
2018-03-04 21:43:28 +08:00
|
|
|
parallel.cpp plumbing.cpp recodebeam.cpp reconfig.cpp reversed.cpp \
|
2016-11-08 07:38:07 +08:00
|
|
|
series.cpp stridemap.cpp tfnetwork.cpp weightmatrix.cpp
|