2007-03-08 04:03:40 +08:00
|
|
|
SUBDIRS =
|
|
|
|
AM_CPPFLAGS = \
|
|
|
|
-I$(top_srcdir)/ccutil -I$(top_srcdir)/ccstruct \
|
|
|
|
-I$(top_srcdir)/image -I$(top_srcdir)/viewer \
|
|
|
|
-I$(top_srcdir)/ccops -I$(top_srcdir)/dict \
|
|
|
|
-I$(top_srcdir)/classify -I$(top_srcdir)/display \
|
|
|
|
-I$(top_srcdir)/wordrec -I$(top_srcdir)/cutil \
|
|
|
|
-I$(top_srcdir)/textord
|
|
|
|
|
2007-07-18 09:04:56 +08:00
|
|
|
include_HEADERS = \
|
2010-11-24 02:34:14 +08:00
|
|
|
commontraining.h mergenf.h tessopt.h
|
2007-03-08 04:03:40 +08:00
|
|
|
|
2011-08-30 05:28:28 +08:00
|
|
|
if !USING_MULTIPLELIBS
|
|
|
|
noinst_LTLIBRARIES = libtesseract_training.la libtesseract_tessopt.la
|
|
|
|
else
|
2010-11-24 02:34:14 +08:00
|
|
|
lib_LTLIBRARIES = libtesseract_training.la libtesseract_tessopt.la
|
2011-08-30 05:28:28 +08:00
|
|
|
libtesseract_training_la_LDFLAGS = -version-info $(GENERIC_LIBRARY_VERSION)
|
|
|
|
libtesseract_tessopt_la_LDFLAGS = -version-info $(GENERIC_LIBRARY_VERSION)
|
|
|
|
endif
|
|
|
|
|
2010-05-26 22:20:20 +08:00
|
|
|
libtesseract_training_la_SOURCES = \
|
2010-11-24 02:34:14 +08:00
|
|
|
commontraining.cpp
|
|
|
|
libtesseract_tessopt_la_SOURCES = \
|
|
|
|
tessopt.cpp
|
2007-03-08 04:03:40 +08:00
|
|
|
|
2009-07-11 10:44:07 +08:00
|
|
|
bin_PROGRAMS = cntraining combine_tessdata mftraining unicharset_extractor wordlist2dawg
|
|
|
|
combine_tessdata_SOURCES = combine_tessdata.cpp
|
2011-08-30 05:28:28 +08:00
|
|
|
if USING_MULTIPLELIBS
|
2009-07-11 10:44:07 +08:00
|
|
|
combine_tessdata_LDADD = \
|
2010-05-26 22:20:20 +08:00
|
|
|
../ccutil/libtesseract_ccutil.la
|
2011-08-30 05:28:28 +08:00
|
|
|
else
|
|
|
|
combine_tessdata_LDADD = \
|
|
|
|
../libtesseract.la
|
|
|
|
endif
|
2009-07-11 10:44:07 +08:00
|
|
|
|
|
|
|
cntraining_SOURCES = cntraining.cpp
|
2011-08-30 05:28:28 +08:00
|
|
|
if USING_MULTIPLELIBS
|
2007-03-08 04:03:40 +08:00
|
|
|
cntraining_LDADD = \
|
2010-05-26 22:20:20 +08:00
|
|
|
libtesseract_training.la \
|
2010-11-24 02:34:14 +08:00
|
|
|
libtesseract_tessopt.la \
|
2010-05-26 22:20:20 +08:00
|
|
|
../textord/libtesseract_textord.la \
|
|
|
|
../classify/libtesseract_classify.la \
|
|
|
|
../dict/libtesseract_dict.la \
|
|
|
|
../ccstruct/libtesseract_ccstruct.la \
|
|
|
|
../image/libtesseract_image.la \
|
|
|
|
../cutil/libtesseract_cutil.la \
|
|
|
|
../viewer/libtesseract_viewer.la \
|
|
|
|
../ccmain/libtesseract_main.la \
|
2010-11-24 02:34:14 +08:00
|
|
|
../cube/libtesseract_cube.la \
|
|
|
|
../neural_networks/runtime/libtesseract_neural.la \
|
2010-05-26 22:20:20 +08:00
|
|
|
../wordrec/libtesseract_wordrec.la \
|
|
|
|
../ccutil/libtesseract_ccutil.la
|
2011-08-30 05:28:28 +08:00
|
|
|
else
|
|
|
|
cntraining_LDADD = \
|
|
|
|
../libtesseract.la
|
|
|
|
endif
|
2009-07-11 10:44:07 +08:00
|
|
|
|
|
|
|
mftraining_SOURCES = mftraining.cpp mergenf.cpp
|
2011-08-30 05:28:28 +08:00
|
|
|
if USING_MULTIPLELIBS
|
2007-03-08 04:03:40 +08:00
|
|
|
mftraining_LDADD = \
|
2010-05-26 22:20:20 +08:00
|
|
|
libtesseract_training.la \
|
2010-11-24 02:34:14 +08:00
|
|
|
libtesseract_tessopt.la \
|
2010-05-26 22:20:20 +08:00
|
|
|
../textord/libtesseract_textord.la \
|
|
|
|
../classify/libtesseract_classify.la \
|
|
|
|
../dict/libtesseract_dict.la \
|
|
|
|
../ccstruct/libtesseract_ccstruct.la \
|
|
|
|
../image/libtesseract_image.la \
|
|
|
|
../cutil/libtesseract_cutil.la \
|
|
|
|
../viewer/libtesseract_viewer.la \
|
|
|
|
../ccmain/libtesseract_main.la \
|
2010-11-24 02:34:14 +08:00
|
|
|
../cube/libtesseract_cube.la \
|
|
|
|
../neural_networks/runtime/libtesseract_neural.la \
|
2010-05-26 22:20:20 +08:00
|
|
|
../wordrec/libtesseract_wordrec.la \
|
|
|
|
../ccutil/libtesseract_ccutil.la
|
2011-08-30 05:28:28 +08:00
|
|
|
else
|
|
|
|
mftraining_LDADD = \
|
|
|
|
../libtesseract.la
|
|
|
|
endif
|
2009-07-11 10:44:07 +08:00
|
|
|
|
2007-07-18 09:04:56 +08:00
|
|
|
unicharset_extractor_SOURCES = unicharset_extractor.cpp
|
2011-08-30 05:28:28 +08:00
|
|
|
if USING_MULTIPLELIBS
|
2007-07-18 09:04:56 +08:00
|
|
|
unicharset_extractor_LDADD = \
|
2010-11-24 02:34:14 +08:00
|
|
|
libtesseract_tessopt.la \
|
|
|
|
../ccutil/libtesseract_ccutil.la
|
2011-08-30 05:28:28 +08:00
|
|
|
else
|
|
|
|
unicharset_extractor_LDADD = \
|
|
|
|
../libtesseract.la
|
|
|
|
endif
|
2009-07-11 10:44:07 +08:00
|
|
|
|
2007-07-18 09:04:56 +08:00
|
|
|
wordlist2dawg_SOURCES = wordlist2dawg.cpp
|
2011-08-30 05:28:28 +08:00
|
|
|
if USING_MULTIPLELIBS
|
2007-07-18 09:04:56 +08:00
|
|
|
wordlist2dawg_LDADD = \
|
2010-11-24 02:34:14 +08:00
|
|
|
libtesseract_tessopt.la \
|
2010-05-26 22:20:20 +08:00
|
|
|
../classify/libtesseract_classify.la \
|
|
|
|
../dict/libtesseract_dict.la \
|
|
|
|
../ccstruct/libtesseract_ccstruct.la \
|
|
|
|
../image/libtesseract_image.la \
|
|
|
|
../cutil/libtesseract_cutil.la \
|
|
|
|
../viewer/libtesseract_viewer.la \
|
|
|
|
../ccmain/libtesseract_main.la \
|
2010-11-24 02:34:14 +08:00
|
|
|
../cube/libtesseract_cube.la \
|
|
|
|
../neural_networks/runtime/libtesseract_neural.la \
|
2010-05-26 22:20:20 +08:00
|
|
|
../wordrec/libtesseract_wordrec.la \
|
|
|
|
../textord/libtesseract_textord.la \
|
|
|
|
../ccutil/libtesseract_ccutil.la
|
2011-08-30 05:28:28 +08:00
|
|
|
else
|
|
|
|
wordlist2dawg_LDADD = \
|
|
|
|
../libtesseract.la
|
|
|
|
endif
|
|
|
|
|