Makefile.am 1.11 KB
Newer Older
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# Copyright (C) 2009 EPITA Research and Development Laboratory (LRDE).
#
# This file is part of Olena.
#
# Olena is free software: you can redistribute it and/or modify it under
# the terms of the GNU General Public License as published by the Free
# Software Foundation, version 2 of the License.
#
# Olena is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
# General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with Olena.  If not, see <http://www.gnu.org/licenses/>.

include $(top_srcdir)/scribo/scribo.mk

bin_PROGRAMS = 					\
  cleantxt


23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
cleantxt_SOURCES = cleantxt.cc


if HAVE_TESSERACT
if HAVE_TIFF

    bin_PROGRAMS 	+= recognition
    recognition_SOURCES  = recognition.cc
    recognition_CPPFLAGS = $(AM_CPPFLAGS) \
			   $(TESSERACT_CPPFLAGS) \
			   $(TIFF_CPPFLAGS)
    recognition_LDFLAGS  = $(AM_LDFLAGS) \
			   $(TESSERACT_LDFLAGS) \
			   $(TIFF_LDFLAGS) \
			   -lpthread
endif HAVE_TIFF
endif HAVE_TESSERACT