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 =
|
2007-07-18 09:15:07 +08:00
|
|
|
AM_CPPFLAGS = -I$(top_srcdir)/ccutil -I$(top_srcdir)/cutil -I$(top_srcdir)/image -I$(top_srcdir)/viewer
|
|
|
|
|
|
|
|
|
|
|
|
include_HEADERS = blckerr.h blobbox.h blobs.h blread.h coutln.h crakedge.h genblob.h hpddef.h hpdsizes.h ipoints.h labls.h linlsq.h lmedsq.h mod128.h normalis.h ocrblock.h ocrrow.h pageblk.h pageres.h pdblock.h pdclass.h points.h polyaprx.h polyblk.h polyblob.h polyvert.h poutline.h quadlsq.h quadratc.h quspline.h ratngs.h rect.h rejctmap.h rwpoly.h statistc.h stepblob.h txtregn.h vecfuncs.h werd.h
|
|
|
|
|
2007-04-11 07:15:48 +08:00
|
|
|
|
|
|
|
lib_LIBRARIES = libtesseract_ccstruct.a
|
2007-07-18 09:15:07 +08:00
|
|
|
libtesseract_ccstruct_a_SOURCES = blobbox.cpp blobs.cpp blread.cpp callcpp.cpp coutln.cpp genblob.cpp labls.cpp linlsq.cpp lmedsq.cpp mod128.cpp normalis.cpp ocrblock.cpp ocrrow.cpp pageblk.cpp pageres.cpp pdblock.cpp points.cpp polyaprx.cpp polyblk.cpp polyblob.cpp polyvert.cpp poutline.cpp quadlsq.cpp quadratc.cpp quspline.cpp ratngs.cpp rect.cpp rejctmap.cpp rwpoly.cpp statistc.cpp stepblob.cpp txtregn.cpp vecfuncs.cpp werd.cpp
|
|
|
|
|
|
|
|
mkinstalldirs = $(SHELL) $(top_srcdir)/config/mkinstalldirs
|
|
|
|
CONFIG_HEADER = ../config_auto.h
|
|
|
|
CONFIG_CLEAN_FILES =
|
|
|
|
LIBRARIES = $(lib_LIBRARIES)
|
|
|
|
|
2007-04-11 07:15:48 +08:00
|
|
|
|
2007-07-18 09:15:07 +08:00
|
|
|
DEFS = @DEFS@ -I. -I$(srcdir) -I..
|
|
|
|
CPPFLAGS = @CPPFLAGS@
|
|
|
|
LDFLAGS = @LDFLAGS@
|
|
|
|
LIBS = @LIBS@
|
|
|
|
libtesseract_ccstruct_a_LIBADD =
|
|
|
|
libtesseract_ccstruct_a_OBJECTS = blobbox.o blobs.o blread.o callcpp.o \
|
|
|
|
coutln.o genblob.o labls.o linlsq.o lmedsq.o mod128.o normalis.o \
|
|
|
|
ocrblock.o ocrrow.o pageblk.o pageres.o pdblock.o points.o polyaprx.o \
|
|
|
|
polyblk.o polyblob.o polyvert.o poutline.o quadlsq.o quadratc.o \
|
|
|
|
quspline.o ratngs.o rect.o rejctmap.o rwpoly.o statistc.o stepblob.o \
|
|
|
|
txtregn.o vecfuncs.o werd.o
|
|
|
|
AR = ar
|
|
|
|
CXXFLAGS = @CXXFLAGS@
|
|
|
|
CXXCOMPILE = $(CXX) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS)
|
|
|
|
CXXLD = $(CXX)
|
|
|
|
CXXLINK = $(CXXLD) $(AM_CXXFLAGS) $(CXXFLAGS) $(LDFLAGS) -o $@
|
|
|
|
HEADERS = $(include_HEADERS)
|
|
|
|
|
|
|
|
DIST_COMMON = Makefile.am Makefile.in
|
|
|
|
|
|
|
|
|
|
|
|
DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST)
|
|
|
|
|
|
|
|
TAR = tar
|
|
|
|
GZIP_ENV = --best
|
|
|
|
DEP_FILES = .deps/blobbox.P .deps/blobs.P .deps/blread.P \
|
|
|
|
.deps/callcpp.P .deps/coutln.P .deps/genblob.P .deps/labls.P \
|
|
|
|
.deps/linlsq.P .deps/lmedsq.P .deps/mod128.P .deps/normalis.P \
|
|
|
|
.deps/ocrblock.P .deps/ocrrow.P .deps/pageblk.P .deps/pageres.P \
|
|
|
|
.deps/pdblock.P .deps/points.P .deps/polyaprx.P .deps/polyblk.P \
|
|
|
|
.deps/polyblob.P .deps/polyvert.P .deps/poutline.P .deps/quadlsq.P \
|
|
|
|
.deps/quadratc.P .deps/quspline.P .deps/ratngs.P .deps/rect.P \
|
|
|
|
.deps/rejctmap.P .deps/rwpoly.P .deps/statistc.P .deps/stepblob.P \
|
|
|
|
.deps/txtregn.P .deps/vecfuncs.P .deps/werd.P
|
|
|
|
SOURCES = $(libtesseract_ccstruct_a_SOURCES)
|
|
|
|
OBJECTS = $(libtesseract_ccstruct_a_OBJECTS)
|
|
|
|
|
|
|
|
all: all-redirect
|
2007-04-11 07:15:48 +08:00
|
|
|
.SUFFIXES:
|
2007-07-18 09:15:07 +08:00
|
|
|
.SUFFIXES: .S .c .cpp .o .s
|
|
|
|
$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ Makefile.am $(top_srcdir)/configure.ac $(ACLOCAL_M4)
|
|
|
|
cd $(top_srcdir) && $(AUTOMAKE) --gnu ccstruct/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 $<
|
2007-04-11 07:15:48 +08:00
|
|
|
|
|
|
|
mostlyclean-compile:
|
2007-07-18 09:15:07 +08:00
|
|
|
-rm -f *.o core *.core
|
|
|
|
|
|
|
|
clean-compile:
|
2007-04-11 07:15:48 +08:00
|
|
|
|
|
|
|
distclean-compile:
|
|
|
|
-rm -f *.tab.c
|
|
|
|
|
2007-07-18 09:15:07 +08:00
|
|
|
maintainer-clean-compile:
|
2007-04-11 07:15:48 +08:00
|
|
|
|
2007-07-18 09:15:07 +08:00
|
|
|
libtesseract_ccstruct.a: $(libtesseract_ccstruct_a_OBJECTS) $(libtesseract_ccstruct_a_DEPENDENCIES)
|
|
|
|
-rm -f libtesseract_ccstruct.a
|
|
|
|
$(AR) cru libtesseract_ccstruct.a $(libtesseract_ccstruct_a_OBJECTS) $(libtesseract_ccstruct_a_LIBADD)
|
|
|
|
$(RANLIB) libtesseract_ccstruct.a
|
2007-04-11 07:15:48 +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))
|
|
|
|
|
|
|
|
mostlyclean-tags:
|
2007-04-11 07:15:48 +08:00
|
|
|
|
2007-07-18 09:15:07 +08:00
|
|
|
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 = ccstruct
|
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 ccstruct/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: %.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
|
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-includeHEADERS
|
|
|
|
uninstall: uninstall-recursive
|
|
|
|
all-am: Makefile $(LIBRARIES) $(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)$(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-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-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-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-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 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
|
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:
|