tesseract/training/Makefile.am
2011-08-29 21:28:28 +00:00

111 lines
3.3 KiB
Makefile

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
include_HEADERS = \
commontraining.h mergenf.h tessopt.h
if !USING_MULTIPLELIBS
noinst_LTLIBRARIES = libtesseract_training.la libtesseract_tessopt.la
else
lib_LTLIBRARIES = libtesseract_training.la libtesseract_tessopt.la
libtesseract_training_la_LDFLAGS = -version-info $(GENERIC_LIBRARY_VERSION)
libtesseract_tessopt_la_LDFLAGS = -version-info $(GENERIC_LIBRARY_VERSION)
endif
libtesseract_training_la_SOURCES = \
commontraining.cpp
libtesseract_tessopt_la_SOURCES = \
tessopt.cpp
bin_PROGRAMS = cntraining combine_tessdata mftraining unicharset_extractor wordlist2dawg
combine_tessdata_SOURCES = combine_tessdata.cpp
if USING_MULTIPLELIBS
combine_tessdata_LDADD = \
../ccutil/libtesseract_ccutil.la
else
combine_tessdata_LDADD = \
../libtesseract.la
endif
cntraining_SOURCES = cntraining.cpp
if USING_MULTIPLELIBS
cntraining_LDADD = \
libtesseract_training.la \
libtesseract_tessopt.la \
../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 \
../cube/libtesseract_cube.la \
../neural_networks/runtime/libtesseract_neural.la \
../wordrec/libtesseract_wordrec.la \
../ccutil/libtesseract_ccutil.la
else
cntraining_LDADD = \
../libtesseract.la
endif
mftraining_SOURCES = mftraining.cpp mergenf.cpp
if USING_MULTIPLELIBS
mftraining_LDADD = \
libtesseract_training.la \
libtesseract_tessopt.la \
../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 \
../cube/libtesseract_cube.la \
../neural_networks/runtime/libtesseract_neural.la \
../wordrec/libtesseract_wordrec.la \
../ccutil/libtesseract_ccutil.la
else
mftraining_LDADD = \
../libtesseract.la
endif
unicharset_extractor_SOURCES = unicharset_extractor.cpp
if USING_MULTIPLELIBS
unicharset_extractor_LDADD = \
libtesseract_tessopt.la \
../ccutil/libtesseract_ccutil.la
else
unicharset_extractor_LDADD = \
../libtesseract.la
endif
wordlist2dawg_SOURCES = wordlist2dawg.cpp
if USING_MULTIPLELIBS
wordlist2dawg_LDADD = \
libtesseract_tessopt.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 \
../cube/libtesseract_cube.la \
../neural_networks/runtime/libtesseract_neural.la \
../wordrec/libtesseract_wordrec.la \
../textord/libtesseract_textord.la \
../ccutil/libtesseract_ccutil.la
else
wordlist2dawg_LDADD = \
../libtesseract.la
endif