2007-07-18 09:15:07 +08:00
|
|
|
# Makefile.in generated automatically by automake 1.4-p6 from Makefile.am
|
2007-04-11 07:15:48 +08:00
|
|
|
|
2007-07-18 09:15:07 +08:00
|
|
|
# Copyright (C) 1994, 1995-8, 1999, 2001 Free Software Foundation, Inc.
|
2007-04-11 07:15:48 +08:00
|
|
|
# This Makefile.in is free software; the Free Software Foundation
|
|
|
|
# gives unlimited permission to copy and/or distribute it,
|
|
|
|
# with or without modifications, as long as this notice is preserved.
|
|
|
|
|
|
|
|
# This program is distributed in the hope that it will be useful,
|
|
|
|
# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
|
|
|
|
# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
|
|
|
|
# PARTICULAR PURPOSE.
|
|
|
|
|
|
|
|
|
2007-07-18 09:15:07 +08:00
|
|
|
SHELL = @SHELL@
|
2007-04-11 07:15:48 +08:00
|
|
|
|
|
|
|
srcdir = @srcdir@
|
|
|
|
top_srcdir = @top_srcdir@
|
|
|
|
VPATH = @srcdir@
|
2007-07-18 09:15:07 +08:00
|
|
|
prefix = @prefix@
|
|
|
|
exec_prefix = @exec_prefix@
|
|
|
|
|
|
|
|
bindir = @bindir@
|
|
|
|
sbindir = @sbindir@
|
|
|
|
libexecdir = @libexecdir@
|
|
|
|
datadir = @datadir@
|
|
|
|
sysconfdir = @sysconfdir@
|
|
|
|
sharedstatedir = @sharedstatedir@
|
|
|
|
localstatedir = @localstatedir@
|
|
|
|
libdir = @libdir@
|
|
|
|
infodir = @infodir@
|
|
|
|
mandir = @mandir@
|
|
|
|
includedir = @includedir@
|
|
|
|
oldincludedir = /usr/include
|
|
|
|
|
|
|
|
DESTDIR =
|
|
|
|
|
2007-04-11 07:15:48 +08:00
|
|
|
pkgdatadir = $(datadir)/@PACKAGE@
|
|
|
|
pkglibdir = $(libdir)/@PACKAGE@
|
|
|
|
pkgincludedir = $(includedir)/@PACKAGE@
|
2007-07-18 09:15:07 +08:00
|
|
|
|
2007-04-11 07:15:48 +08:00
|
|
|
top_builddir = ..
|
2007-07-18 09:15:07 +08:00
|
|
|
|
|
|
|
ACLOCAL = @ACLOCAL@
|
|
|
|
AUTOCONF = @AUTOCONF@
|
|
|
|
AUTOMAKE = @AUTOMAKE@
|
|
|
|
AUTOHEADER = @AUTOHEADER@
|
|
|
|
|
2007-04-11 07:15:48 +08:00
|
|
|
INSTALL = @INSTALL@
|
2007-07-18 09:15:07 +08:00
|
|
|
INSTALL_PROGRAM = @INSTALL_PROGRAM@ $(AM_INSTALL_PROGRAM_FLAGS)
|
|
|
|
INSTALL_DATA = @INSTALL_DATA@
|
|
|
|
INSTALL_SCRIPT = @INSTALL_SCRIPT@
|
|
|
|
transform = @program_transform_name@
|
|
|
|
|
2007-04-11 07:15:48 +08:00
|
|
|
NORMAL_INSTALL = :
|
|
|
|
PRE_INSTALL = :
|
|
|
|
POST_INSTALL = :
|
|
|
|
NORMAL_UNINSTALL = :
|
|
|
|
PRE_UNINSTALL = :
|
|
|
|
POST_UNINSTALL = :
|
2007-07-18 09:15:07 +08:00
|
|
|
host_alias = @host_alias@
|
2007-04-11 07:15:48 +08:00
|
|
|
host_triplet = @host@
|
|
|
|
CC = @CC@
|
|
|
|
CXX = @CXX@
|
2007-07-18 09:15:07 +08:00
|
|
|
HAVE_LIB = @HAVE_LIB@
|
|
|
|
LIB = @LIB@
|
|
|
|
LTLIB = @LTLIB@
|
2007-04-11 07:15:48 +08:00
|
|
|
MAINT = @MAINT@
|
|
|
|
MAKEINFO = @MAKEINFO@
|
|
|
|
PACKAGE = @PACKAGE@
|
|
|
|
PACKAGE_DATE = @PACKAGE_DATE@
|
|
|
|
PACKAGE_NAME = @PACKAGE_NAME@
|
|
|
|
PACKAGE_VERSION = @PACKAGE_VERSION@
|
|
|
|
PACKAGE_YEAR = @PACKAGE_YEAR@
|
|
|
|
RANLIB = @RANLIB@
|
|
|
|
VERSION = @VERSION@
|
2007-07-18 09:15:07 +08:00
|
|
|
|
2007-04-11 07:15:48 +08:00
|
|
|
SUBDIRS =
|
2008-02-01 08:33:18 +08:00
|
|
|
AM_CPPFLAGS = -I$(top_srcdir)/ccutil -I$(top_srcdir)/ccstruct -I$(top_srcdir)/image -I$(top_srcdir)/viewer -I$(top_srcdir)/ccops -I$(top_srcdir)/dict -I$(top_srcdir)/classify -I$(top_srcdir)/wordrec -I$(top_srcdir)/cutil -I$(top_srcdir)/textord
|
2007-07-18 09:15:07 +08:00
|
|
|
|
|
|
|
|
2008-04-23 01:34:42 +08:00
|
|
|
EXTRA_DIST = tessembedded.cpp
|
|
|
|
|
2008-02-01 08:33:18 +08:00
|
|
|
include_HEADERS = adaptions.h applybox.h baseapi.h blobcmp.h callnet.h charcut.h control.h docqual.h expandblob.h fixspace.h fixxht.h imgscale.h matmatch.h output.h paircmp.h reject.h scaleimg.h tessbox.h tessedit.h tesseractmain.h tessvars.h tfacep.h pagewalk.h pgedit.h varabled.h tessembedded.h tessio.h tfacepp.h tstruct.h werdit.h
|
2007-04-11 07:15:48 +08:00
|
|
|
|
2007-07-18 09:15:07 +08:00
|
|
|
|
|
|
|
lib_LIBRARIES = libtesseract_main.a libtesseract_full.a
|
2008-02-01 08:33:18 +08:00
|
|
|
libtesseract_main_a_SOURCES = tessedit.cpp adaptions.cpp applybox.cpp baseapi.cpp blobcmp.cpp callnet.cpp charcut.cpp charsample.cpp control.cpp docqual.cpp expandblob.cpp fixspace.cpp fixxht.cpp imgscale.cpp matmatch.cpp output.cpp paircmp.cpp reject.cpp scaleimg.cpp tessbox.cpp tessvars.cpp pagewalk.cpp pgedit.cpp varabled.cpp tfacepp.cpp tstruct.cpp werdit.cpp
|
2007-07-18 09:15:07 +08:00
|
|
|
|
|
|
|
libtesseract_full_a_SOURCES = tesseractfull.cc
|
|
|
|
|
|
|
|
bin_PROGRAMS = tesseract
|
2007-04-11 07:15:48 +08:00
|
|
|
tesseract_SOURCES = tesseractmain.cpp
|
2007-07-18 09:15:07 +08:00
|
|
|
tesseract_LDADD = libtesseract_full.a
|
|
|
|
|
|
|
|
mkinstalldirs = $(SHELL) $(top_srcdir)/config/mkinstalldirs
|
|
|
|
CONFIG_HEADER = ../config_auto.h
|
|
|
|
CONFIG_CLEAN_FILES =
|
|
|
|
LIBRARIES = $(lib_LIBRARIES)
|
|
|
|
|
|
|
|
|
|
|
|
DEFS = @DEFS@ -I. -I$(srcdir) -I..
|
|
|
|
CPPFLAGS = @CPPFLAGS@
|
|
|
|
LDFLAGS = @LDFLAGS@
|
|
|
|
LIBS = @LIBS@
|
|
|
|
libtesseract_main_a_LIBADD =
|
|
|
|
libtesseract_main_a_OBJECTS = tessedit.o adaptions.o applybox.o \
|
|
|
|
baseapi.o blobcmp.o callnet.o charcut.o charsample.o control.o \
|
|
|
|
docqual.o expandblob.o fixspace.o fixxht.o imgscale.o matmatch.o \
|
2008-02-01 08:33:18 +08:00
|
|
|
output.o paircmp.o reject.o scaleimg.o tessbox.o tessvars.o pagewalk.o \
|
|
|
|
pgedit.o varabled.o tfacepp.o tstruct.o werdit.o
|
2007-07-18 09:15:07 +08:00
|
|
|
libtesseract_full_a_LIBADD =
|
|
|
|
libtesseract_full_a_OBJECTS = tesseractfull.o
|
|
|
|
AR = ar
|
|
|
|
PROGRAMS = $(bin_PROGRAMS)
|
|
|
|
|
|
|
|
tesseract_OBJECTS = tesseractmain.o
|
|
|
|
tesseract_DEPENDENCIES = libtesseract_full.a
|
|
|
|
tesseract_LDFLAGS =
|
|
|
|
CXXFLAGS = @CXXFLAGS@
|
|
|
|
CXXCOMPILE = $(CXX) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS)
|
|
|
|
CXXLD = $(CXX)
|
|
|
|
CXXLINK = $(CXXLD) $(AM_CXXFLAGS) $(CXXFLAGS) $(LDFLAGS) -o $@
|
|
|
|
HEADERS = $(include_HEADERS)
|
2007-05-17 08:48:27 +08:00
|
|
|
|
2007-07-18 09:15:07 +08:00
|
|
|
DIST_COMMON = Makefile.am Makefile.in
|
2007-04-11 07:15:48 +08:00
|
|
|
|
2007-07-18 09:15:07 +08:00
|
|
|
|
|
|
|
DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST)
|
|
|
|
|
|
|
|
TAR = tar
|
|
|
|
GZIP_ENV = --best
|
|
|
|
DEP_FILES = .deps/adaptions.P .deps/applybox.P .deps/baseapi.P \
|
|
|
|
.deps/blobcmp.P .deps/callnet.P .deps/charcut.P .deps/charsample.P \
|
|
|
|
.deps/control.P .deps/docqual.P .deps/expandblob.P .deps/fixspace.P \
|
|
|
|
.deps/fixxht.P .deps/imgscale.P .deps/matmatch.P .deps/output.P \
|
2008-02-01 08:33:18 +08:00
|
|
|
.deps/pagewalk.P .deps/paircmp.P .deps/pgedit.P .deps/reject.P \
|
|
|
|
.deps/scaleimg.P .deps/tessbox.P .deps/tessedit.P .deps/tesseractfull.P \
|
|
|
|
.deps/tesseractmain.P .deps/tessvars.P .deps/tfacepp.P .deps/tstruct.P \
|
|
|
|
.deps/varabled.P .deps/werdit.P
|
2007-07-18 09:15:07 +08:00
|
|
|
SOURCES = $(libtesseract_main_a_SOURCES) $(libtesseract_full_a_SOURCES) $(tesseract_SOURCES)
|
|
|
|
OBJECTS = $(libtesseract_main_a_OBJECTS) $(libtesseract_full_a_OBJECTS) $(tesseract_OBJECTS)
|
|
|
|
|
|
|
|
all: all-redirect
|
2007-04-11 07:15:48 +08:00
|
|
|
.SUFFIXES:
|
2007-07-18 09:15:07 +08:00
|
|
|
.SUFFIXES: .S .c .cc .cpp .o .s
|
|
|
|
$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ Makefile.am $(top_srcdir)/configure.ac $(ACLOCAL_M4)
|
|
|
|
cd $(top_srcdir) && $(AUTOMAKE) --gnu ccmain/Makefile
|
|
|
|
|
|
|
|
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status $(BUILT_SOURCES)
|
|
|
|
cd $(top_builddir) \
|
|
|
|
&& CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
|
|
|
|
|
|
|
|
|
|
|
|
mostlyclean-libLIBRARIES:
|
|
|
|
|
|
|
|
clean-libLIBRARIES:
|
|
|
|
-test -z "$(lib_LIBRARIES)" || rm -f $(lib_LIBRARIES)
|
|
|
|
|
|
|
|
distclean-libLIBRARIES:
|
|
|
|
|
|
|
|
maintainer-clean-libLIBRARIES:
|
|
|
|
|
2007-04-11 07:15:48 +08:00
|
|
|
install-libLIBRARIES: $(lib_LIBRARIES)
|
|
|
|
@$(NORMAL_INSTALL)
|
2007-07-18 09:15:07 +08:00
|
|
|
$(mkinstalldirs) $(DESTDIR)$(libdir)
|
2007-04-11 07:15:48 +08:00
|
|
|
@list='$(lib_LIBRARIES)'; for p in $$list; do \
|
|
|
|
if test -f $$p; then \
|
2007-07-18 09:15:07 +08:00
|
|
|
echo " $(INSTALL_DATA) $$p $(DESTDIR)$(libdir)/$$p"; \
|
|
|
|
$(INSTALL_DATA) $$p $(DESTDIR)$(libdir)/$$p; \
|
2007-04-11 07:15:48 +08:00
|
|
|
else :; fi; \
|
|
|
|
done
|
|
|
|
@$(POST_INSTALL)
|
|
|
|
@list='$(lib_LIBRARIES)'; for p in $$list; do \
|
|
|
|
if test -f $$p; then \
|
2007-07-18 09:15:07 +08:00
|
|
|
echo " $(RANLIB) $(DESTDIR)$(libdir)/$$p"; \
|
|
|
|
$(RANLIB) $(DESTDIR)$(libdir)/$$p; \
|
2007-04-11 07:15:48 +08:00
|
|
|
else :; fi; \
|
|
|
|
done
|
|
|
|
|
|
|
|
uninstall-libLIBRARIES:
|
|
|
|
@$(NORMAL_UNINSTALL)
|
2007-07-18 09:15:07 +08:00
|
|
|
list='$(lib_LIBRARIES)'; for p in $$list; do \
|
|
|
|
rm -f $(DESTDIR)$(libdir)/$$p; \
|
2007-04-11 07:15:48 +08:00
|
|
|
done
|
|
|
|
|
2007-07-18 09:15:07 +08:00
|
|
|
.s.o:
|
|
|
|
$(COMPILE) -c $<
|
|
|
|
|
|
|
|
.S.o:
|
|
|
|
$(COMPILE) -c $<
|
|
|
|
|
|
|
|
mostlyclean-compile:
|
|
|
|
-rm -f *.o core *.core
|
|
|
|
|
|
|
|
clean-compile:
|
|
|
|
|
|
|
|
distclean-compile:
|
|
|
|
-rm -f *.tab.c
|
|
|
|
|
|
|
|
maintainer-clean-compile:
|
|
|
|
|
|
|
|
libtesseract_main.a: $(libtesseract_main_a_OBJECTS) $(libtesseract_main_a_DEPENDENCIES)
|
2007-04-11 07:15:48 +08:00
|
|
|
-rm -f libtesseract_main.a
|
2007-07-18 09:15:07 +08:00
|
|
|
$(AR) cru libtesseract_main.a $(libtesseract_main_a_OBJECTS) $(libtesseract_main_a_LIBADD)
|
2007-04-11 07:15:48 +08:00
|
|
|
$(RANLIB) libtesseract_main.a
|
2007-07-18 09:15:07 +08:00
|
|
|
|
|
|
|
mostlyclean-binPROGRAMS:
|
|
|
|
|
|
|
|
clean-binPROGRAMS:
|
|
|
|
-test -z "$(bin_PROGRAMS)" || rm -f $(bin_PROGRAMS)
|
|
|
|
|
|
|
|
distclean-binPROGRAMS:
|
|
|
|
|
|
|
|
maintainer-clean-binPROGRAMS:
|
|
|
|
|
2007-04-11 07:15:48 +08:00
|
|
|
install-binPROGRAMS: $(bin_PROGRAMS)
|
|
|
|
@$(NORMAL_INSTALL)
|
2007-07-18 09:15:07 +08:00
|
|
|
$(mkinstalldirs) $(DESTDIR)$(bindir)
|
2007-04-11 07:15:48 +08:00
|
|
|
@list='$(bin_PROGRAMS)'; for p in $$list; do \
|
2007-07-18 09:15:07 +08:00
|
|
|
if test -f $$p; then \
|
|
|
|
echo " $(INSTALL_PROGRAM) $$p $(DESTDIR)$(bindir)/`echo $$p|sed 's/$(EXEEXT)$$//'|sed '$(transform)'|sed 's/$$/$(EXEEXT)/'`"; \
|
|
|
|
$(INSTALL_PROGRAM) $$p $(DESTDIR)$(bindir)/`echo $$p|sed 's/$(EXEEXT)$$//'|sed '$(transform)'|sed 's/$$/$(EXEEXT)/'`; \
|
2007-04-11 07:15:48 +08:00
|
|
|
else :; fi; \
|
|
|
|
done
|
|
|
|
|
|
|
|
uninstall-binPROGRAMS:
|
|
|
|
@$(NORMAL_UNINSTALL)
|
2007-07-18 09:15:07 +08:00
|
|
|
list='$(bin_PROGRAMS)'; for p in $$list; do \
|
|
|
|
rm -f $(DESTDIR)$(bindir)/`echo $$p|sed 's/$(EXEEXT)$$//'|sed '$(transform)'|sed 's/$$/$(EXEEXT)/'`; \
|
2007-04-11 07:15:48 +08:00
|
|
|
done
|
|
|
|
|
2007-07-18 09:15:07 +08:00
|
|
|
tesseract: $(tesseract_OBJECTS) $(tesseract_DEPENDENCIES)
|
|
|
|
@rm -f tesseract
|
2007-04-11 07:15:48 +08:00
|
|
|
$(CXXLINK) $(tesseract_LDFLAGS) $(tesseract_OBJECTS) $(tesseract_LDADD) $(LIBS)
|
2007-07-18 09:15:07 +08:00
|
|
|
.cc.o:
|
|
|
|
$(CXXCOMPILE) -c $<
|
2007-05-17 08:48:27 +08:00
|
|
|
.cpp.o:
|
2007-07-18 09:15:07 +08:00
|
|
|
$(CXXCOMPILE) -c $<
|
|
|
|
|
2007-04-11 07:15:48 +08:00
|
|
|
install-includeHEADERS: $(include_HEADERS)
|
|
|
|
@$(NORMAL_INSTALL)
|
2007-07-18 09:15:07 +08:00
|
|
|
$(mkinstalldirs) $(DESTDIR)$(includedir)
|
2007-04-11 07:15:48 +08:00
|
|
|
@list='$(include_HEADERS)'; for p in $$list; do \
|
2007-07-18 09:15:07 +08:00
|
|
|
if test -f "$$p"; then d= ; else d="$(srcdir)/"; fi; \
|
|
|
|
echo " $(INSTALL_DATA) $$d$$p $(DESTDIR)$(includedir)/$$p"; \
|
|
|
|
$(INSTALL_DATA) $$d$$p $(DESTDIR)$(includedir)/$$p; \
|
2007-04-11 07:15:48 +08:00
|
|
|
done
|
|
|
|
|
|
|
|
uninstall-includeHEADERS:
|
|
|
|
@$(NORMAL_UNINSTALL)
|
2007-07-18 09:15:07 +08:00
|
|
|
list='$(include_HEADERS)'; for p in $$list; do \
|
|
|
|
rm -f $(DESTDIR)$(includedir)/$$p; \
|
2007-04-11 07:15:48 +08:00
|
|
|
done
|
|
|
|
|
|
|
|
# This directory's subdirectories are mostly independent; you can cd
|
|
|
|
# into them and run `make' without going through this Makefile.
|
|
|
|
# To change the values of `make' variables: instead of editing Makefiles,
|
|
|
|
# (1) if the variable is set in `config.status', edit `config.status'
|
|
|
|
# (which will cause the Makefiles to be regenerated when you run `make');
|
|
|
|
# (2) otherwise, pass the desired values on the `make' command line.
|
2007-07-18 09:15:07 +08:00
|
|
|
|
|
|
|
@SET_MAKE@
|
|
|
|
|
|
|
|
all-recursive install-data-recursive install-exec-recursive \
|
|
|
|
installdirs-recursive install-recursive uninstall-recursive \
|
|
|
|
check-recursive installcheck-recursive info-recursive dvi-recursive:
|
|
|
|
@set fnord $(MAKEFLAGS); amf=$$2; \
|
2007-04-11 07:15:48 +08:00
|
|
|
dot_seen=no; \
|
|
|
|
target=`echo $@ | sed s/-recursive//`; \
|
|
|
|
list='$(SUBDIRS)'; for subdir in $$list; do \
|
|
|
|
echo "Making $$target in $$subdir"; \
|
|
|
|
if test "$$subdir" = "."; then \
|
|
|
|
dot_seen=yes; \
|
|
|
|
local_target="$$target-am"; \
|
|
|
|
else \
|
|
|
|
local_target="$$target"; \
|
|
|
|
fi; \
|
|
|
|
(cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
|
2007-07-18 09:15:07 +08:00
|
|
|
|| case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \
|
2007-04-11 07:15:48 +08:00
|
|
|
done; \
|
|
|
|
if test "$$dot_seen" = "no"; then \
|
|
|
|
$(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
|
|
|
|
fi; test -z "$$fail"
|
|
|
|
|
|
|
|
mostlyclean-recursive clean-recursive distclean-recursive \
|
|
|
|
maintainer-clean-recursive:
|
2007-07-18 09:15:07 +08:00
|
|
|
@set fnord $(MAKEFLAGS); amf=$$2; \
|
2007-04-11 07:15:48 +08:00
|
|
|
dot_seen=no; \
|
2007-07-18 09:15:07 +08:00
|
|
|
rev=''; list='$(SUBDIRS)'; for subdir in $$list; do \
|
|
|
|
rev="$$subdir $$rev"; \
|
|
|
|
test "$$subdir" != "." || dot_seen=yes; \
|
2007-04-11 07:15:48 +08:00
|
|
|
done; \
|
2007-07-18 09:15:07 +08:00
|
|
|
test "$$dot_seen" = "no" && rev=". $$rev"; \
|
2007-04-11 07:15:48 +08:00
|
|
|
target=`echo $@ | sed s/-recursive//`; \
|
|
|
|
for subdir in $$rev; do \
|
|
|
|
echo "Making $$target in $$subdir"; \
|
|
|
|
if test "$$subdir" = "."; then \
|
|
|
|
local_target="$$target-am"; \
|
|
|
|
else \
|
|
|
|
local_target="$$target"; \
|
|
|
|
fi; \
|
|
|
|
(cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
|
2007-07-18 09:15:07 +08:00
|
|
|
|| case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \
|
2007-04-11 07:15:48 +08:00
|
|
|
done && test -z "$$fail"
|
|
|
|
tags-recursive:
|
|
|
|
list='$(SUBDIRS)'; for subdir in $$list; do \
|
|
|
|
test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
|
|
|
|
done
|
|
|
|
|
2007-05-17 08:48:27 +08:00
|
|
|
tags: TAGS
|
2007-04-11 07:15:48 +08:00
|
|
|
|
2007-07-18 09:15:07 +08:00
|
|
|
ID: $(HEADERS) $(SOURCES) $(LISP)
|
|
|
|
list='$(SOURCES) $(HEADERS)'; \
|
|
|
|
unique=`for i in $$list; do echo $$i; done | \
|
|
|
|
awk ' { files[$$0] = 1; } \
|
|
|
|
END { for (i in files) print i; }'`; \
|
|
|
|
here=`pwd` && cd $(srcdir) \
|
|
|
|
&& mkid -f$$here/ID $$unique $(LISP)
|
|
|
|
|
|
|
|
TAGS: tags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) $(LISP)
|
2007-04-11 07:15:48 +08:00
|
|
|
tags=; \
|
|
|
|
here=`pwd`; \
|
|
|
|
list='$(SUBDIRS)'; for subdir in $$list; do \
|
2007-07-18 09:15:07 +08:00
|
|
|
if test "$$subdir" = .; then :; else \
|
|
|
|
test -f $$subdir/TAGS && tags="$$tags -i $$here/$$subdir/TAGS"; \
|
|
|
|
fi; \
|
2007-04-11 07:15:48 +08:00
|
|
|
done; \
|
2007-07-18 09:15:07 +08:00
|
|
|
list='$(SOURCES) $(HEADERS)'; \
|
|
|
|
unique=`for i in $$list; do echo $$i; done | \
|
|
|
|
awk ' { files[$$0] = 1; } \
|
2007-05-17 08:48:27 +08:00
|
|
|
END { for (i in files) print i; }'`; \
|
2007-07-18 09:15:07 +08:00
|
|
|
test -z "$(ETAGS_ARGS)$$unique$(LISP)$$tags" \
|
|
|
|
|| (cd $(srcdir) && etags -o $$here/TAGS $(ETAGS_ARGS) $$tags $$unique $(LISP))
|
2007-04-11 07:15:48 +08:00
|
|
|
|
2007-07-18 09:15:07 +08:00
|
|
|
mostlyclean-tags:
|
|
|
|
|
|
|
|
clean-tags:
|
2007-04-11 07:15:48 +08:00
|
|
|
|
|
|
|
distclean-tags:
|
2007-07-18 09:15:07 +08:00
|
|
|
-rm -f TAGS ID
|
|
|
|
|
|
|
|
maintainer-clean-tags:
|
|
|
|
|
|
|
|
distdir = $(top_builddir)/$(PACKAGE_NAME)-$(PACKAGE_VERSION)/$(subdir)
|
|
|
|
|
|
|
|
subdir = ccmain
|
2007-04-11 07:15:48 +08:00
|
|
|
|
|
|
|
distdir: $(DISTFILES)
|
2007-07-18 09:15:07 +08:00
|
|
|
here=`cd $(top_builddir) && pwd`; \
|
|
|
|
top_distdir=`cd $(top_distdir) && pwd`; \
|
|
|
|
distdir=`cd $(distdir) && pwd`; \
|
|
|
|
cd $(top_srcdir) \
|
|
|
|
&& $(AUTOMAKE) --include-deps --build-dir=$$here --srcdir-name=$(top_srcdir) --output-dir=$$top_distdir --gnu ccmain/Makefile
|
|
|
|
@for file in $(DISTFILES); do \
|
|
|
|
d=$(srcdir); \
|
2007-04-11 07:15:48 +08:00
|
|
|
if test -d $$d/$$file; then \
|
2007-07-18 09:15:07 +08:00
|
|
|
cp -pr $$d/$$file $(distdir)/$$file; \
|
2007-04-11 07:15:48 +08:00
|
|
|
else \
|
|
|
|
test -f $(distdir)/$$file \
|
2007-07-18 09:15:07 +08:00
|
|
|
|| ln $$d/$$file $(distdir)/$$file 2> /dev/null \
|
|
|
|
|| cp -p $$d/$$file $(distdir)/$$file || :; \
|
2007-04-11 07:15:48 +08:00
|
|
|
fi; \
|
|
|
|
done
|
2007-07-18 09:15:07 +08:00
|
|
|
for subdir in $(SUBDIRS); do \
|
2007-04-11 07:15:48 +08:00
|
|
|
if test "$$subdir" = .; then :; else \
|
2007-07-18 09:15:07 +08:00
|
|
|
test -d $(distdir)/$$subdir \
|
|
|
|
|| mkdir $(distdir)/$$subdir \
|
2007-04-11 07:15:48 +08:00
|
|
|
|| exit 1; \
|
2007-07-18 09:15:07 +08:00
|
|
|
chmod 777 $(distdir)/$$subdir; \
|
|
|
|
(cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir=../$(top_distdir) distdir=../$(distdir)/$$subdir distdir) \
|
2007-04-11 07:15:48 +08:00
|
|
|
|| exit 1; \
|
|
|
|
fi; \
|
|
|
|
done
|
2007-07-18 09:15:07 +08:00
|
|
|
|
|
|
|
DEPS_MAGIC := $(shell mkdir .deps > /dev/null 2>&1 || :)
|
|
|
|
|
|
|
|
-include $(DEP_FILES)
|
|
|
|
|
|
|
|
mostlyclean-depend:
|
|
|
|
|
|
|
|
clean-depend:
|
|
|
|
|
|
|
|
distclean-depend:
|
|
|
|
-rm -rf .deps
|
|
|
|
|
|
|
|
maintainer-clean-depend:
|
|
|
|
|
|
|
|
%.o: %.c
|
|
|
|
@echo '$(COMPILE) -c $<'; \
|
|
|
|
$(COMPILE) -Wp,-MD,.deps/$(*F).pp -c $<
|
|
|
|
@-cp .deps/$(*F).pp .deps/$(*F).P; \
|
|
|
|
tr ' ' '\012' < .deps/$(*F).pp \
|
|
|
|
| sed -e 's/^\\$$//' -e '/^$$/ d' -e '/:$$/ d' -e 's/$$/ :/' \
|
|
|
|
>> .deps/$(*F).P; \
|
|
|
|
rm .deps/$(*F).pp
|
|
|
|
|
|
|
|
%.lo: %.c
|
|
|
|
@echo '$(LTCOMPILE) -c $<'; \
|
|
|
|
$(LTCOMPILE) -Wp,-MD,.deps/$(*F).pp -c $<
|
|
|
|
@-sed -e 's/^\([^:]*\)\.o[ ]*:/\1.lo \1.o :/' \
|
|
|
|
< .deps/$(*F).pp > .deps/$(*F).P; \
|
|
|
|
tr ' ' '\012' < .deps/$(*F).pp \
|
|
|
|
| sed -e 's/^\\$$//' -e '/^$$/ d' -e '/:$$/ d' -e 's/$$/ :/' \
|
|
|
|
>> .deps/$(*F).P; \
|
|
|
|
rm -f .deps/$(*F).pp
|
|
|
|
|
|
|
|
%.o: %.cc
|
|
|
|
@echo '$(CXXCOMPILE) -c $<'; \
|
|
|
|
$(CXXCOMPILE) -Wp,-MD,.deps/$(*F).pp -c $<
|
|
|
|
@-cp .deps/$(*F).pp .deps/$(*F).P; \
|
|
|
|
tr ' ' '\012' < .deps/$(*F).pp \
|
|
|
|
| sed -e 's/^\\$$//' -e '/^$$/ d' -e '/:$$/ d' -e 's/$$/ :/' \
|
|
|
|
>> .deps/$(*F).P; \
|
|
|
|
rm .deps/$(*F).pp
|
|
|
|
|
|
|
|
%.lo: %.cc
|
|
|
|
@echo '$(LTCXXCOMPILE) -c $<'; \
|
|
|
|
$(LTCXXCOMPILE) -Wp,-MD,.deps/$(*F).pp -c $<
|
|
|
|
@-sed -e 's/^\([^:]*\)\.o[ ]*:/\1.lo \1.o :/' \
|
|
|
|
< .deps/$(*F).pp > .deps/$(*F).P; \
|
|
|
|
tr ' ' '\012' < .deps/$(*F).pp \
|
|
|
|
| sed -e 's/^\\$$//' -e '/^$$/ d' -e '/:$$/ d' -e 's/$$/ :/' \
|
|
|
|
>> .deps/$(*F).P; \
|
|
|
|
rm -f .deps/$(*F).pp
|
|
|
|
|
|
|
|
%.o: %.cpp
|
|
|
|
@echo '$(CXXCOMPILE) -c $<'; \
|
|
|
|
$(CXXCOMPILE) -Wp,-MD,.deps/$(*F).pp -c $<
|
|
|
|
@-cp .deps/$(*F).pp .deps/$(*F).P; \
|
|
|
|
tr ' ' '\012' < .deps/$(*F).pp \
|
|
|
|
| sed -e 's/^\\$$//' -e '/^$$/ d' -e '/:$$/ d' -e 's/$$/ :/' \
|
|
|
|
>> .deps/$(*F).P; \
|
|
|
|
rm .deps/$(*F).pp
|
|
|
|
|
|
|
|
%.lo: %.cpp
|
|
|
|
@echo '$(LTCXXCOMPILE) -c $<'; \
|
|
|
|
$(LTCXXCOMPILE) -Wp,-MD,.deps/$(*F).pp -c $<
|
|
|
|
@-sed -e 's/^\([^:]*\)\.o[ ]*:/\1.lo \1.o :/' \
|
|
|
|
< .deps/$(*F).pp > .deps/$(*F).P; \
|
|
|
|
tr ' ' '\012' < .deps/$(*F).pp \
|
|
|
|
| sed -e 's/^\\$$//' -e '/^$$/ d' -e '/:$$/ d' -e 's/$$/ :/' \
|
|
|
|
>> .deps/$(*F).P; \
|
|
|
|
rm -f .deps/$(*F).pp
|
|
|
|
info-am:
|
|
|
|
info: info-recursive
|
|
|
|
dvi-am:
|
|
|
|
dvi: dvi-recursive
|
2007-04-11 07:15:48 +08:00
|
|
|
check-am: all-am
|
|
|
|
check: check-recursive
|
2007-07-18 09:15:07 +08:00
|
|
|
installcheck-am:
|
|
|
|
installcheck: installcheck-recursive
|
|
|
|
install-exec-am: install-libLIBRARIES install-binPROGRAMS
|
2007-04-11 07:15:48 +08:00
|
|
|
install-exec: install-exec-recursive
|
2007-07-18 09:15:07 +08:00
|
|
|
|
|
|
|
install-data-am: install-includeHEADERS
|
2007-04-11 07:15:48 +08:00
|
|
|
install-data: install-data-recursive
|
|
|
|
|
|
|
|
install-am: all-am
|
|
|
|
@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
|
2007-07-18 09:15:07 +08:00
|
|
|
install: install-recursive
|
|
|
|
uninstall-am: uninstall-libLIBRARIES uninstall-binPROGRAMS \
|
|
|
|
uninstall-includeHEADERS
|
|
|
|
uninstall: uninstall-recursive
|
|
|
|
all-am: Makefile $(LIBRARIES) $(PROGRAMS) $(HEADERS)
|
|
|
|
all-redirect: all-recursive
|
2007-05-17 08:48:27 +08:00
|
|
|
install-strip:
|
2007-07-18 09:15:07 +08:00
|
|
|
$(MAKE) $(AM_MAKEFLAGS) AM_INSTALL_PROGRAM_FLAGS=-s install
|
|
|
|
installdirs: installdirs-recursive
|
|
|
|
installdirs-am:
|
|
|
|
$(mkinstalldirs) $(DESTDIR)$(libdir) $(DESTDIR)$(bindir) \
|
|
|
|
$(DESTDIR)$(includedir)
|
|
|
|
|
|
|
|
|
2007-04-11 07:15:48 +08:00
|
|
|
mostlyclean-generic:
|
|
|
|
|
|
|
|
clean-generic:
|
|
|
|
|
|
|
|
distclean-generic:
|
2007-07-18 09:15:07 +08:00
|
|
|
-rm -f Makefile $(CONFIG_CLEAN_FILES)
|
|
|
|
-rm -f config.cache config.log stamp-h stamp-h[0-9]*
|
2007-04-11 07:15:48 +08:00
|
|
|
|
|
|
|
maintainer-clean-generic:
|
2007-07-18 09:15:07 +08:00
|
|
|
mostlyclean-am: mostlyclean-libLIBRARIES mostlyclean-compile \
|
|
|
|
mostlyclean-binPROGRAMS mostlyclean-tags \
|
|
|
|
mostlyclean-depend mostlyclean-generic
|
2007-05-17 08:48:27 +08:00
|
|
|
|
|
|
|
mostlyclean: mostlyclean-recursive
|
|
|
|
|
2007-07-18 09:15:07 +08:00
|
|
|
clean-am: clean-libLIBRARIES clean-compile clean-binPROGRAMS clean-tags \
|
|
|
|
clean-depend clean-generic mostlyclean-am
|
2007-05-17 08:48:27 +08:00
|
|
|
|
2007-07-18 09:15:07 +08:00
|
|
|
clean: clean-recursive
|
2007-05-17 08:48:27 +08:00
|
|
|
|
2007-07-18 09:15:07 +08:00
|
|
|
distclean-am: distclean-libLIBRARIES distclean-compile \
|
|
|
|
distclean-binPROGRAMS distclean-tags distclean-depend \
|
|
|
|
distclean-generic clean-am
|
2007-05-17 08:48:27 +08:00
|
|
|
|
2007-07-18 09:15:07 +08:00
|
|
|
distclean: distclean-recursive
|
2007-05-17 08:48:27 +08:00
|
|
|
|
2007-07-18 09:15:07 +08:00
|
|
|
maintainer-clean-am: maintainer-clean-libLIBRARIES \
|
|
|
|
maintainer-clean-compile maintainer-clean-binPROGRAMS \
|
|
|
|
maintainer-clean-tags maintainer-clean-depend \
|
|
|
|
maintainer-clean-generic distclean-am
|
|
|
|
@echo "This command is intended for maintainers to use;"
|
|
|
|
@echo "it deletes files that may require special tools to rebuild."
|
2007-05-17 08:48:27 +08:00
|
|
|
|
2007-07-18 09:15:07 +08:00
|
|
|
maintainer-clean: maintainer-clean-recursive
|
2007-04-11 07:15:48 +08:00
|
|
|
|
2007-07-18 09:15:07 +08:00
|
|
|
.PHONY: mostlyclean-libLIBRARIES distclean-libLIBRARIES \
|
|
|
|
clean-libLIBRARIES maintainer-clean-libLIBRARIES uninstall-libLIBRARIES \
|
|
|
|
install-libLIBRARIES mostlyclean-compile distclean-compile \
|
|
|
|
clean-compile maintainer-clean-compile mostlyclean-binPROGRAMS \
|
|
|
|
distclean-binPROGRAMS clean-binPROGRAMS maintainer-clean-binPROGRAMS \
|
|
|
|
uninstall-binPROGRAMS install-binPROGRAMS uninstall-includeHEADERS \
|
|
|
|
install-includeHEADERS install-data-recursive uninstall-data-recursive \
|
|
|
|
install-exec-recursive uninstall-exec-recursive installdirs-recursive \
|
|
|
|
uninstalldirs-recursive all-recursive check-recursive \
|
|
|
|
installcheck-recursive info-recursive dvi-recursive \
|
|
|
|
mostlyclean-recursive distclean-recursive clean-recursive \
|
|
|
|
maintainer-clean-recursive tags tags-recursive mostlyclean-tags \
|
|
|
|
distclean-tags clean-tags maintainer-clean-tags distdir \
|
|
|
|
mostlyclean-depend distclean-depend clean-depend \
|
|
|
|
maintainer-clean-depend info-am info dvi-am dvi check check-am \
|
|
|
|
installcheck-am installcheck install-exec-am install-exec \
|
|
|
|
install-data-am install-data install-am install uninstall-am uninstall \
|
|
|
|
all-redirect all-am all installdirs-am installdirs mostlyclean-generic \
|
|
|
|
distclean-generic clean-generic maintainer-clean-generic clean \
|
|
|
|
mostlyclean distclean maintainer-clean
|
|
|
|
|
|
|
|
libtesseract_full.o: tesseractfull.o \
|
|
|
|
libtesseract_main.a \
|
|
|
|
../textord/libtesseract_textord.a \
|
2008-02-01 08:33:18 +08:00
|
|
|
../pageseg/libtesseract_pageseg.a \
|
2007-07-18 09:15:07 +08:00
|
|
|
../wordrec/libtesseract_wordrec.a \
|
|
|
|
../classify/libtesseract_classify.a \
|
|
|
|
../dict/libtesseract_dict.a \
|
|
|
|
../viewer/libtesseract_viewer.a \
|
|
|
|
../image/libtesseract_image.a \
|
|
|
|
../cutil/libtesseract_cutil.a \
|
|
|
|
../ccstruct/libtesseract_ccstruct.a \
|
|
|
|
../ccutil/libtesseract_ccutil.a
|
|
|
|
ld -r -o libtesseract_full.o tesseractfull.o \
|
|
|
|
libtesseract_main.a \
|
|
|
|
../textord/libtesseract_textord.a \
|
2008-02-01 08:33:18 +08:00
|
|
|
../pageseg/libtesseract_pageseg.a \
|
2007-07-18 09:15:07 +08:00
|
|
|
../wordrec/libtesseract_wordrec.a \
|
|
|
|
../classify/libtesseract_classify.a \
|
|
|
|
../dict/libtesseract_dict.a \
|
|
|
|
../viewer/libtesseract_viewer.a \
|
|
|
|
../image/libtesseract_image.a \
|
|
|
|
../cutil/libtesseract_cutil.a \
|
|
|
|
../ccstruct/libtesseract_ccstruct.a \
|
|
|
|
../ccutil/libtesseract_ccutil.a
|
2007-04-11 07:15:48 +08:00
|
|
|
|
2007-07-18 09:15:07 +08:00
|
|
|
libtesseract_full.a : libtesseract_full.o
|
|
|
|
ar cru libtesseract_full.a libtesseract_full.o ; ranlib libtesseract_full.a
|
2007-04-11 07:15:48 +08:00
|
|
|
|
|
|
|
# Tell versions [3.59,3.63) of GNU make to not export all variables.
|
|
|
|
# Otherwise a system limit (for SysV at least) may be exceeded.
|
|
|
|
.NOEXPORT:
|