mirror of
https://github.com/tesseract-ocr/tesseract.git
synced 2024-12-18 19:39:24 +08:00
30 lines
755 B
Makefile
30 lines
755 B
Makefile
AM_CPPFLAGS += -I$(top_srcdir)/ccutil
|
|
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
|
|
|
|
noinst_HEADERS =
|
|
|
|
if !USING_MULTIPLELIBS
|
|
noinst_LTLIBRARIES = libtesseract_avx.la libtesseract_sse.la
|
|
else
|
|
lib_LTLIBRARIES = libtesseract_avx.la libtesseract_sse.la
|
|
libtesseract_avx_la_LDFLAGS = -version-info $(GENERIC_LIBRARY_VERSION)
|
|
libtesseract_sse_la_LDFLAGS = -version-info $(GENERIC_LIBRARY_VERSION)
|
|
endif
|
|
libtesseract_avx_la_CXXFLAGS = -mavx
|
|
libtesseract_sse_la_CXXFLAGS = -msse4.1
|
|
|
|
libtesseract_avx_la_SOURCES = dotproductavx.cpp
|
|
|
|
libtesseract_sse_la_SOURCES = dotproductsse.cpp
|
|
|