2007-03-08 04:03:40 +08:00
|
|
|
SUBDIRS =
|
2012-03-23 04:01:33 +08:00
|
|
|
AM_CXXFLAGS =
|
|
|
|
|
|
|
|
if !NO_TESSDATA_PREFIX
|
|
|
|
AM_CXXFLAGS += -DTESSDATA_PREFIX=@datadir@/
|
|
|
|
endif
|
2007-03-08 04:03:40 +08:00
|
|
|
|
2012-03-03 07:51:33 +08:00
|
|
|
if VISIBILITY
|
|
|
|
AM_CXXFLAGS += -fvisibility=hidden -fvisibility-inlines-hidden
|
|
|
|
AM_CPPFLAGS += -DTESS_EXPORTS
|
|
|
|
endif
|
|
|
|
|
2012-03-01 20:40:04 +08:00
|
|
|
EXTRA_DIST = mfcpch.cpp
|
2009-07-11 10:50:24 +08:00
|
|
|
|
2012-03-07 06:41:43 +08:00
|
|
|
include_HEADERS = \
|
|
|
|
errcode.h fileerr.h genericvector.h helpers.h host.h memry.h \
|
|
|
|
ndminx.h params.h platform.h serialis.h strngs.h tesscallback.h \
|
|
|
|
unichar.h unicharmap.h unicharset.h
|
|
|
|
|
2012-03-03 21:22:51 +08:00
|
|
|
noinst_HEADERS = \
|
2012-03-07 06:41:43 +08:00
|
|
|
ambigs.h basedir.h bits16.h bitvector.h ccutil.h clst.h elst2.h \
|
|
|
|
elst.h globaloc.h hashfn.h hosthplb.h indexmapbidi.h lsterr.h \
|
|
|
|
mfcpch.h notdll.h nwmain.h ocrclass.h qrsequence.h secname.h \
|
|
|
|
sorthelper.h stderr.h tessdatamanager.h tprintf.h unicity_table.h \
|
|
|
|
unicodes.h
|
2007-03-08 04:03:40 +08:00
|
|
|
|
2011-08-30 05:28:28 +08:00
|
|
|
if !USING_MULTIPLELIBS
|
|
|
|
noinst_LTLIBRARIES = libtesseract_ccutil.la
|
|
|
|
else
|
2010-05-26 22:20:20 +08:00
|
|
|
lib_LTLIBRARIES = libtesseract_ccutil.la
|
2011-08-30 05:28:28 +08:00
|
|
|
libtesseract_ccutil_la_LDFLAGS = -version-info $(GENERIC_LIBRARY_VERSION)
|
|
|
|
endif
|
|
|
|
|
2010-05-26 22:20:20 +08:00
|
|
|
libtesseract_ccutil_la_SOURCES = \
|
2012-02-02 11:14:43 +08:00
|
|
|
ambigs.cpp basedir.cpp bits16.cpp bitvector.cpp \
|
2011-08-19 00:45:01 +08:00
|
|
|
ccutil.cpp clst.cpp \
|
2009-07-11 10:50:24 +08:00
|
|
|
elst2.cpp elst.cpp errcode.cpp \
|
2012-02-02 11:14:43 +08:00
|
|
|
globaloc.cpp hashfn.cpp indexmapbidi.cpp \
|
|
|
|
mainblk.cpp memry.cpp \
|
2010-11-24 02:34:14 +08:00
|
|
|
serialis.cpp strngs.cpp \
|
|
|
|
tessdatamanager.cpp tprintf.cpp \
|
2012-02-02 11:14:43 +08:00
|
|
|
unichar.cpp unicharmap.cpp unicharset.cpp unicodes.cpp \
|
2010-11-24 02:34:14 +08:00
|
|
|
params.cpp
|
2010-05-26 22:20:20 +08:00
|
|
|
|
2012-03-01 20:40:04 +08:00
|
|
|
if EMBEDDED
|
|
|
|
include_HEADERS += scanutils.h
|
|
|
|
libtesseract_ccutil_la_SOURCES += scanutils.cpp
|
|
|
|
endif
|
2012-03-23 04:01:33 +08:00
|
|
|
|
|
|
|
if MINGW
|
|
|
|
AM_CPPFLAGS += -I$(top_srcdir)/vs2008/port -DWINDLLNAME=\"lib@GENERIC_LIBRARY_NAME@\"
|
2012-03-25 00:33:11 +08:00
|
|
|
noinst_HEADERS += ../vs2008/port/strtok_r.h
|
2012-03-23 04:01:33 +08:00
|
|
|
libtesseract_ccutil_la_SOURCES += ../vs2008/port/strtok_r.cpp
|
|
|
|
endif
|