mirror of
https://github.com/tesseract-ocr/tesseract.git
synced 2024-12-13 16:09:04 +08:00
7972b13e3a
The related code in training/util.h now uses the GOOGLE_TESSERACT macro to enable Google specific code to disable heap checking. Signed-off-by: Stefan Weil <sw@weilnetz.de>
36 lines
931 B
Makefile
36 lines
931 B
Makefile
AM_CPPFLAGS += -I$(top_srcdir)/ccstruct -I$(top_srcdir)/ccutil -I$(top_srcdir)/viewer
|
|
AUTOMAKE_OPTIONS = subdir-objects
|
|
SUBDIRS =
|
|
AM_CXXFLAGS =
|
|
|
|
if VISIBILITY
|
|
AM_CXXFLAGS += -fvisibility=hidden -fvisibility-inlines-hidden
|
|
AM_CPPFLAGS += -DTESS_EXPORTS
|
|
endif
|
|
|
|
include_HEADERS = dotproductavx.h dotproductsse.h intsimdmatrix.h intsimdmatrixavx2.h intsimdmatrixsse.h simddetect.h
|
|
|
|
noinst_HEADERS =
|
|
|
|
noinst_LTLIBRARIES = libtesseract_avx.la libtesseract_avx2.la libtesseract_sse.la
|
|
noinst_LTLIBRARIES += libtesseract_arch.la
|
|
|
|
if AVX_OPT
|
|
libtesseract_avx_la_CXXFLAGS = -mavx
|
|
endif
|
|
if AVX2_OPT
|
|
libtesseract_avx2_la_CXXFLAGS = -mavx2
|
|
endif
|
|
if SSE41_OPT
|
|
libtesseract_sse_la_CXXFLAGS = -msse4.1
|
|
endif
|
|
|
|
libtesseract_arch_la_SOURCES = intsimdmatrix.cpp simddetect.cpp
|
|
|
|
libtesseract_avx_la_SOURCES = dotproductavx.cpp
|
|
|
|
libtesseract_avx2_la_SOURCES = intsimdmatrixavx2.cpp
|
|
|
|
libtesseract_sse_la_SOURCES = dotproductsse.cpp intsimdmatrixsse.cpp
|
|
|