2014-09-29 05:19:52 +08:00
|
|
|
AUTOMAKE_OPTIONS = subdir-objects
|
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-07 06:41:43 +08:00
|
|
|
include_HEADERS = \
|
2012-10-12 21:33:07 +08:00
|
|
|
basedir.h errcode.h fileerr.h genericvector.h helpers.h host.h memry.h \
|
2013-05-01 02:12:11 +08:00
|
|
|
ndminx.h params.h ocrclass.h platform.h serialis.h strngs.h \
|
|
|
|
tesscallback.h unichar.h unicharmap.h unicharset.h
|
2013-07-09 02:21:10 +08:00
|
|
|
|
2012-03-03 21:22:51 +08:00
|
|
|
noinst_HEADERS = \
|
2013-09-23 23:26:50 +08:00
|
|
|
ambigs.h bits16.h bitvector.h ccutil.h clst.h doubleptr.h elst2.h \
|
|
|
|
elst.h genericheap.h globaloc.h hashfn.h indexmapbidi.h kdpair.h lsterr.h \
|
2014-04-24 07:12:53 +08:00
|
|
|
nwmain.h object_cache.h qrsequence.h secname.h sorthelper.h stderr.h \
|
|
|
|
scanutils.h tessdatamanager.h tprintf.h unicity_table.h unicodes.h \
|
|
|
|
universalambigs.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 \
|
2014-01-10 01:22:11 +08:00
|
|
|
globaloc.cpp indexmapbidi.cpp \
|
2012-02-02 11:14:43 +08:00
|
|
|
mainblk.cpp memry.cpp \
|
2014-04-24 07:12:53 +08:00
|
|
|
serialis.cpp strngs.cpp scanutils.cpp \
|
2010-11-24 02:34:14 +08:00
|
|
|
tessdatamanager.cpp tprintf.cpp \
|
2012-02-02 11:14:43 +08:00
|
|
|
unichar.cpp unicharmap.cpp unicharset.cpp unicodes.cpp \
|
2013-09-23 23:26:50 +08:00
|
|
|
params.cpp universalambigs.cpp
|
2010-05-26 22:20:20 +08:00
|
|
|
|
2014-09-29 05:19:52 +08:00
|
|
|
if T_WIN
|
2012-03-23 04:01:33 +08:00
|
|
|
AM_CPPFLAGS += -I$(top_srcdir)/vs2008/port -DWINDLLNAME=\"lib@GENERIC_LIBRARY_NAME@\"
|
2014-01-27 06:39:20 +08:00
|
|
|
noinst_HEADERS += ../vs2010/port/strtok_r.h
|
|
|
|
libtesseract_ccutil_la_SOURCES += ../vs2010/port/strtok_r.cpp
|
2013-09-23 23:26:50 +08:00
|
|
|
endif
|