# Makefile.in generated by automake 1.11 from Makefile.am.
# @configure_input@

# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
# 2003, 2004, 2005, 2006, 2007, 2008, 2009  Free Software Foundation,
# Inc.
# 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.

@SET_MAKE@

# Copyright (C) 2007, 2008, 2009, 2010 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/>.

VPATH = @srcdir@
pkgdatadir = $(datadir)/@PACKAGE@
pkgincludedir = $(includedir)/@PACKAGE@
pkglibdir = $(libdir)/@PACKAGE@
pkglibexecdir = $(libexecdir)/@PACKAGE@
am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
install_sh_DATA = $(install_sh) -c -m 644
install_sh_PROGRAM = $(install_sh) -c
install_sh_SCRIPT = $(install_sh) -c
INSTALL_HEADER = $(INSTALL_DATA)
transform = $(program_transform_name)
NORMAL_INSTALL = :
PRE_INSTALL = :
POST_INSTALL = :
NORMAL_UNINSTALL = :
PRE_UNINSTALL = :
POST_UNINSTALL = :
build_triplet = @build@
host_triplet = @host@
DIST_COMMON = $(dist_pdf_DATA) $(srcdir)/Makefile.am \
	$(srcdir)/Makefile.in $(srcdir)/examples-outputs.mk \
	$(srcdir)/examples.mk $(srcdir)/figures.mk \
	$(srcdir)/outputs.mk $(srcdir)/programs-examples.mk \
	$(srcdir)/split-examples.mk $(srcdir)/split-outputs.mk \
	$(top_srcdir)/build-aux/regen-recursive.mk \
	$(top_srcdir)/build-aux/tex.mk
EXTRA_PROGRAMS = $(am__EXEEXT_1)
subdir = milena/doc
ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
am__aclocal_m4_deps = $(top_srcdir)/m4/autotroll.m4 \
	$(top_srcdir)/m4/boost.m4 $(top_srcdir)/m4/libtool.m4 \
	$(top_srcdir)/m4/ltoptions.m4 $(top_srcdir)/m4/ltsugar.m4 \
	$(top_srcdir)/m4/ltversion.m4 $(top_srcdir)/m4/lt~obsolete.m4 \
	$(top_srcdir)/m4/oln-with-lib.m4 $(top_srcdir)/m4/pkg.m4 \
	$(top_srcdir)/m4/pypath.m4 $(top_srcdir)/m4/swig.m4 \
	$(top_srcdir)/configure.ac
am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
	$(ACLOCAL_M4)
mkinstalldirs = $(install_sh) -d
CONFIG_HEADER = $(top_builddir)/config.h
CONFIG_CLEAN_FILES =
CONFIG_CLEAN_VPATH_FILES =
am__EXEEXT_1 = accu-right-instantiation$(EXEEXT) \
	borderthickness$(EXEEXT) box2d-bbox$(EXEEXT) \
	domain-display$(EXEEXT) dpoint-1$(EXEEXT) estim-sites$(EXEEXT) \
	extend$(EXEEXT) extension-ignore$(EXEEXT) fill$(EXEEXT) \
	fill-call-1$(EXEEXT) fill-imageif-cfun$(EXEEXT) \
	fill-part-image$(EXEEXT) fill-subdomain$(EXEEXT) \
	fill-subdomain-shorter$(EXEEXT) forall-piter$(EXEEXT) \
	fun-p2v-1$(EXEEXT) graph-data$(EXEEXT) graph-iter$(EXEEXT) \
	ima-has$(EXEEXT) ima-load$(EXEEXT) ima-save$(EXEEXT) \
	ima-size$(EXEEXT) ima2d-1$(EXEEXT) ima2d-2$(EXEEXT) \
	ima2d-3$(EXEEXT) ima2d-4$(EXEEXT) ima2d-5$(EXEEXT) \
	ima2d-6-clone$(EXEEXT) ima2d-7$(EXEEXT) ima2d-rot$(EXEEXT) \
	labeling-compute$(EXEEXT) logical-not$(EXEEXT) \
	mln_var$(EXEEXT) parray-append$(EXEEXT) parray-bbox$(EXEEXT) \
	paste$(EXEEXT) paste-call-1$(EXEEXT) point-1$(EXEEXT) \
	predicate-1$(EXEEXT) win-create-1$(EXEEXT) \
	win-create-2$(EXEEXT) tuto2_first_image$(EXEEXT) \
	tuto3_rw_image$(EXEEXT) \
	tuto4_genericity_and_algorithms$(EXEEXT) \
	tuto3_colorize$(EXEEXT) tuto3_first_routine$(EXEEXT) \
	tuto3_println$(EXEEXT) tuto3_trace$(EXEEXT) \
	tuto4_image$(EXEEXT) tuto4_point2d$(EXEEXT) \
	tuto4_site_set_create$(EXEEXT)
am__dirstamp = $(am__leading_dot)dirstamp
am_accu_right_instantiation_OBJECTS =  \
	examples/accu-right-instantiation.$(OBJEXT)
accu_right_instantiation_OBJECTS =  \
	$(am_accu_right_instantiation_OBJECTS)
accu_right_instantiation_LDADD = $(LDADD)
am_borderthickness_OBJECTS = examples/borderthickness.$(OBJEXT)
borderthickness_OBJECTS = $(am_borderthickness_OBJECTS)
borderthickness_LDADD = $(LDADD)
am_box2d_bbox_OBJECTS = examples/box2d-bbox.$(OBJEXT)
box2d_bbox_OBJECTS = $(am_box2d_bbox_OBJECTS)
box2d_bbox_LDADD = $(LDADD)
am_domain_display_OBJECTS = examples/domain-display.$(OBJEXT)
domain_display_OBJECTS = $(am_domain_display_OBJECTS)
domain_display_LDADD = $(LDADD)
am_dpoint_1_OBJECTS = examples/dpoint-1.$(OBJEXT)
dpoint_1_OBJECTS = $(am_dpoint_1_OBJECTS)
dpoint_1_LDADD = $(LDADD)
am_estim_sites_OBJECTS = examples/estim-sites.$(OBJEXT)
estim_sites_OBJECTS = $(am_estim_sites_OBJECTS)
estim_sites_LDADD = $(LDADD)
am_extend_OBJECTS = examples/extend.$(OBJEXT)
extend_OBJECTS = $(am_extend_OBJECTS)
extend_LDADD = $(LDADD)
am_extension_ignore_OBJECTS = examples/extension-ignore.$(OBJEXT)
extension_ignore_OBJECTS = $(am_extension_ignore_OBJECTS)
extension_ignore_LDADD = $(LDADD)
am_fill_OBJECTS = examples/fill.$(OBJEXT)
fill_OBJECTS = $(am_fill_OBJECTS)
fill_LDADD = $(LDADD)
am_fill_call_1_OBJECTS = examples/fill-call-1.$(OBJEXT)
fill_call_1_OBJECTS = $(am_fill_call_1_OBJECTS)
fill_call_1_LDADD = $(LDADD)
am_fill_imageif_cfun_OBJECTS = examples/fill-imageif-cfun.$(OBJEXT)
fill_imageif_cfun_OBJECTS = $(am_fill_imageif_cfun_OBJECTS)
fill_imageif_cfun_LDADD = $(LDADD)
am_fill_part_image_OBJECTS = examples/fill-part-image.$(OBJEXT)
fill_part_image_OBJECTS = $(am_fill_part_image_OBJECTS)
fill_part_image_LDADD = $(LDADD)
am_fill_subdomain_OBJECTS = examples/fill-subdomain.$(OBJEXT)
fill_subdomain_OBJECTS = $(am_fill_subdomain_OBJECTS)
fill_subdomain_LDADD = $(LDADD)
am_fill_subdomain_shorter_OBJECTS =  \
	examples/fill-subdomain-shorter.$(OBJEXT)
fill_subdomain_shorter_OBJECTS = $(am_fill_subdomain_shorter_OBJECTS)
fill_subdomain_shorter_LDADD = $(LDADD)
am_forall_piter_OBJECTS = examples/forall-piter.$(OBJEXT)
forall_piter_OBJECTS = $(am_forall_piter_OBJECTS)
forall_piter_LDADD = $(LDADD)
am_fun_p2v_1_OBJECTS = examples/fun-p2v-1.$(OBJEXT)
fun_p2v_1_OBJECTS = $(am_fun_p2v_1_OBJECTS)
fun_p2v_1_LDADD = $(LDADD)
am_graph_data_OBJECTS = examples/graph-data.$(OBJEXT)
graph_data_OBJECTS = $(am_graph_data_OBJECTS)
graph_data_LDADD = $(LDADD)
am_graph_iter_OBJECTS = examples/graph-iter.$(OBJEXT)
graph_iter_OBJECTS = $(am_graph_iter_OBJECTS)
graph_iter_LDADD = $(LDADD)
am_ima_has_OBJECTS = examples/ima-has.$(OBJEXT)
ima_has_OBJECTS = $(am_ima_has_OBJECTS)
ima_has_LDADD = $(LDADD)
am_ima_load_OBJECTS = examples/ima-load.$(OBJEXT)
ima_load_OBJECTS = $(am_ima_load_OBJECTS)
ima_load_LDADD = $(LDADD)
am_ima_save_OBJECTS = examples/ima-save.$(OBJEXT)
ima_save_OBJECTS = $(am_ima_save_OBJECTS)
ima_save_LDADD = $(LDADD)
am_ima_size_OBJECTS = examples/ima-size.$(OBJEXT)
ima_size_OBJECTS = $(am_ima_size_OBJECTS)
ima_size_LDADD = $(LDADD)
am_ima2d_1_OBJECTS = examples/ima2d-1.$(OBJEXT)
ima2d_1_OBJECTS = $(am_ima2d_1_OBJECTS)
ima2d_1_LDADD = $(LDADD)
am_ima2d_2_OBJECTS = examples/ima2d-2.$(OBJEXT)
ima2d_2_OBJECTS = $(am_ima2d_2_OBJECTS)
ima2d_2_LDADD = $(LDADD)
am_ima2d_3_OBJECTS = examples/ima2d-3.$(OBJEXT)
ima2d_3_OBJECTS = $(am_ima2d_3_OBJECTS)
ima2d_3_LDADD = $(LDADD)
am_ima2d_4_OBJECTS = examples/ima2d-4.$(OBJEXT)
ima2d_4_OBJECTS = $(am_ima2d_4_OBJECTS)
ima2d_4_LDADD = $(LDADD)
am_ima2d_5_OBJECTS = examples/ima2d-5.$(OBJEXT)
ima2d_5_OBJECTS = $(am_ima2d_5_OBJECTS)
ima2d_5_LDADD = $(LDADD)
am_ima2d_6_clone_OBJECTS = examples/ima2d-6-clone.$(OBJEXT)
ima2d_6_clone_OBJECTS = $(am_ima2d_6_clone_OBJECTS)
ima2d_6_clone_LDADD = $(LDADD)
am_ima2d_7_OBJECTS = examples/ima2d-7.$(OBJEXT)
ima2d_7_OBJECTS = $(am_ima2d_7_OBJECTS)
ima2d_7_LDADD = $(LDADD)
am_ima2d_rot_OBJECTS = examples/ima2d-rot.$(OBJEXT)
ima2d_rot_OBJECTS = $(am_ima2d_rot_OBJECTS)
ima2d_rot_LDADD = $(LDADD)
am_labeling_compute_OBJECTS = examples/labeling-compute.$(OBJEXT)
labeling_compute_OBJECTS = $(am_labeling_compute_OBJECTS)
labeling_compute_LDADD = $(LDADD)
am_logical_not_OBJECTS = examples/logical-not.$(OBJEXT)
logical_not_OBJECTS = $(am_logical_not_OBJECTS)
logical_not_LDADD = $(LDADD)
am_mln_var_OBJECTS = examples/mln_var.$(OBJEXT)
mln_var_OBJECTS = $(am_mln_var_OBJECTS)
mln_var_LDADD = $(LDADD)
am_parray_append_OBJECTS = examples/parray-append.$(OBJEXT)
parray_append_OBJECTS = $(am_parray_append_OBJECTS)
parray_append_LDADD = $(LDADD)
am_parray_bbox_OBJECTS = examples/parray-bbox.$(OBJEXT)
parray_bbox_OBJECTS = $(am_parray_bbox_OBJECTS)
parray_bbox_LDADD = $(LDADD)
am_paste_OBJECTS = examples/paste.$(OBJEXT)
paste_OBJECTS = $(am_paste_OBJECTS)
paste_LDADD = $(LDADD)
am_paste_call_1_OBJECTS = examples/paste-call-1.$(OBJEXT)
paste_call_1_OBJECTS = $(am_paste_call_1_OBJECTS)
paste_call_1_LDADD = $(LDADD)
am_point_1_OBJECTS = examples/point-1.$(OBJEXT)
point_1_OBJECTS = $(am_point_1_OBJECTS)
point_1_LDADD = $(LDADD)
am_predicate_1_OBJECTS = examples/predicate-1.$(OBJEXT)
predicate_1_OBJECTS = $(am_predicate_1_OBJECTS)
predicate_1_LDADD = $(LDADD)
am_tuto2_first_image_OBJECTS = examples/tuto2_first_image.$(OBJEXT)
tuto2_first_image_OBJECTS = $(am_tuto2_first_image_OBJECTS)
tuto2_first_image_LDADD = $(LDADD)
am_tuto3_colorize_OBJECTS = examples/tuto3/colorize.$(OBJEXT)
tuto3_colorize_OBJECTS = $(am_tuto3_colorize_OBJECTS)
tuto3_colorize_LDADD = $(LDADD)
am_tuto3_first_routine_OBJECTS =  \
	examples/tuto3/first_routine.$(OBJEXT)
tuto3_first_routine_OBJECTS = $(am_tuto3_first_routine_OBJECTS)
tuto3_first_routine_LDADD = $(LDADD)
am_tuto3_println_OBJECTS = examples/tuto3/println.$(OBJEXT)
tuto3_println_OBJECTS = $(am_tuto3_println_OBJECTS)
tuto3_println_LDADD = $(LDADD)
am_tuto3_rw_image_OBJECTS = examples/tuto3_rw_image.$(OBJEXT)
tuto3_rw_image_OBJECTS = $(am_tuto3_rw_image_OBJECTS)
tuto3_rw_image_LDADD = $(LDADD)
am_tuto3_trace_OBJECTS = examples/tuto3/trace.$(OBJEXT)
tuto3_trace_OBJECTS = $(am_tuto3_trace_OBJECTS)
tuto3_trace_LDADD = $(LDADD)
am_tuto4_genericity_and_algorithms_OBJECTS =  \
	examples/tuto4_genericity_and_algorithms.$(OBJEXT)
tuto4_genericity_and_algorithms_OBJECTS =  \
	$(am_tuto4_genericity_and_algorithms_OBJECTS)
tuto4_genericity_and_algorithms_LDADD = $(LDADD)
am_tuto4_image_OBJECTS = examples/tuto4/image.$(OBJEXT)
tuto4_image_OBJECTS = $(am_tuto4_image_OBJECTS)
tuto4_image_LDADD = $(LDADD)
am_tuto4_point2d_OBJECTS = examples/tuto4/point2d.$(OBJEXT)
tuto4_point2d_OBJECTS = $(am_tuto4_point2d_OBJECTS)
tuto4_point2d_LDADD = $(LDADD)
am_tuto4_site_set_create_OBJECTS =  \
	examples/tuto4/site_set_create.$(OBJEXT)
tuto4_site_set_create_OBJECTS = $(am_tuto4_site_set_create_OBJECTS)
tuto4_site_set_create_LDADD = $(LDADD)
am_win_create_1_OBJECTS = examples/win-create-1.$(OBJEXT)
win_create_1_OBJECTS = $(am_win_create_1_OBJECTS)
win_create_1_LDADD = $(LDADD)
am_win_create_2_OBJECTS = examples/win-create-2.$(OBJEXT)
win_create_2_OBJECTS = $(am_win_create_2_OBJECTS)
win_create_2_LDADD = $(LDADD)
DEFAULT_INCLUDES = 
depcomp = $(SHELL) $(top_srcdir)/build-aux/depcomp
am__depfiles_maybe = depfiles
am__mv = mv -f
CXXCOMPILE = $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \
	$(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS)
LTCXXCOMPILE = $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \
	--mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \
	$(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS)
CXXLD = $(CXX)
CXXLINK = $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \
	--mode=link $(CXXLD) $(AM_CXXFLAGS) $(CXXFLAGS) $(AM_LDFLAGS) \
	$(LDFLAGS) -o $@
SOURCES = $(accu_right_instantiation_SOURCES) \
	$(borderthickness_SOURCES) $(box2d_bbox_SOURCES) \
	$(domain_display_SOURCES) $(dpoint_1_SOURCES) \
	$(estim_sites_SOURCES) $(extend_SOURCES) \
	$(extension_ignore_SOURCES) $(fill_SOURCES) \
	$(fill_call_1_SOURCES) $(fill_imageif_cfun_SOURCES) \
	$(fill_part_image_SOURCES) $(fill_subdomain_SOURCES) \
	$(fill_subdomain_shorter_SOURCES) $(forall_piter_SOURCES) \
	$(fun_p2v_1_SOURCES) $(graph_data_SOURCES) \
	$(graph_iter_SOURCES) $(ima_has_SOURCES) $(ima_load_SOURCES) \
	$(ima_save_SOURCES) $(ima_size_SOURCES) $(ima2d_1_SOURCES) \
	$(ima2d_2_SOURCES) $(ima2d_3_SOURCES) $(ima2d_4_SOURCES) \
	$(ima2d_5_SOURCES) $(ima2d_6_clone_SOURCES) $(ima2d_7_SOURCES) \
	$(ima2d_rot_SOURCES) $(labeling_compute_SOURCES) \
	$(logical_not_SOURCES) $(mln_var_SOURCES) \
	$(parray_append_SOURCES) $(parray_bbox_SOURCES) \
	$(paste_SOURCES) $(paste_call_1_SOURCES) $(point_1_SOURCES) \
	$(predicate_1_SOURCES) $(tuto2_first_image_SOURCES) \
	$(tuto3_colorize_SOURCES) $(tuto3_first_routine_SOURCES) \
	$(tuto3_println_SOURCES) $(tuto3_rw_image_SOURCES) \
	$(tuto3_trace_SOURCES) \
	$(tuto4_genericity_and_algorithms_SOURCES) \
	$(tuto4_image_SOURCES) $(tuto4_point2d_SOURCES) \
	$(tuto4_site_set_create_SOURCES) $(win_create_1_SOURCES) \
	$(win_create_2_SOURCES)
DIST_SOURCES = $(accu_right_instantiation_SOURCES) \
	$(borderthickness_SOURCES) $(box2d_bbox_SOURCES) \
	$(domain_display_SOURCES) $(dpoint_1_SOURCES) \
	$(estim_sites_SOURCES) $(extend_SOURCES) \
	$(extension_ignore_SOURCES) $(fill_SOURCES) \
	$(fill_call_1_SOURCES) $(fill_imageif_cfun_SOURCES) \
	$(fill_part_image_SOURCES) $(fill_subdomain_SOURCES) \
	$(fill_subdomain_shorter_SOURCES) $(forall_piter_SOURCES) \
	$(fun_p2v_1_SOURCES) $(graph_data_SOURCES) \
	$(graph_iter_SOURCES) $(ima_has_SOURCES) $(ima_load_SOURCES) \
	$(ima_save_SOURCES) $(ima_size_SOURCES) $(ima2d_1_SOURCES) \
	$(ima2d_2_SOURCES) $(ima2d_3_SOURCES) $(ima2d_4_SOURCES) \
	$(ima2d_5_SOURCES) $(ima2d_6_clone_SOURCES) $(ima2d_7_SOURCES) \
	$(ima2d_rot_SOURCES) $(labeling_compute_SOURCES) \
	$(logical_not_SOURCES) $(mln_var_SOURCES) \
	$(parray_append_SOURCES) $(parray_bbox_SOURCES) \
	$(paste_SOURCES) $(paste_call_1_SOURCES) $(point_1_SOURCES) \
	$(predicate_1_SOURCES) $(tuto2_first_image_SOURCES) \
	$(tuto3_colorize_SOURCES) $(tuto3_first_routine_SOURCES) \
	$(tuto3_println_SOURCES) $(tuto3_rw_image_SOURCES) \
	$(tuto3_trace_SOURCES) \
	$(tuto4_genericity_and_algorithms_SOURCES) \
	$(tuto4_image_SOURCES) $(tuto4_point2d_SOURCES) \
	$(tuto4_site_set_create_SOURCES) $(win_create_1_SOURCES) \
	$(win_create_2_SOURCES)
am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
am__vpath_adj = case $$p in \
    $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
    *) f=$$p;; \
  esac;
am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`;
am__install_max = 40
am__nobase_strip_setup = \
  srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'`
am__nobase_strip = \
  for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||"
am__nobase_list = $(am__nobase_strip_setup); \
  for p in $$list; do echo "$$p $$p"; done | \
  sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \
  $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \
    if (++n[$$2] == $(am__install_max)) \
      { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \
    END { for (dir in files) print dir, files[dir] }'
am__base_list = \
  sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \
  sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g'
am__installdirs = "$(DESTDIR)$(pdfdir)"
DATA = $(dist_pdf_DATA)
ETAGS = etags
CTAGS = ctags
DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
ACLOCAL = @ACLOCAL@
AMTAR = @AMTAR@
APPS_CXXFLAGS = @APPS_CXXFLAGS@
AR = @AR@
AUTOCONF = @AUTOCONF@
AUTOHEADER = @AUTOHEADER@
AUTOMAKE = @AUTOMAKE@
AWK = @AWK@
BOOST_CPPFLAGS = @BOOST_CPPFLAGS@
BOOST_ROOT = @BOOST_ROOT@
CC = @CC@
CCDEPMODE = @CCDEPMODE@
CFITSIO_CPPFLAGS = @CFITSIO_CPPFLAGS@
CFITSIO_LDFLAGS = @CFITSIO_LDFLAGS@
CFLAGS = @CFLAGS@
CPP = @CPP@
CPPFLAGS = @CPPFLAGS@
CXX = @CXX@
CXXCPP = @CXXCPP@
CXXDEPMODE = @CXXDEPMODE@
CXXFLAGS = @CXXFLAGS@
CYGPATH_W = @CYGPATH_W@
DEFS = @DEFS@
DEPDIR = @DEPDIR@
DISTCHECK_CONFIGURE_FLAGS = @DISTCHECK_CONFIGURE_FLAGS@
DLLTOOL = @DLLTOOL@
DSYMUTIL = @DSYMUTIL@
DUMPBIN = @DUMPBIN@
ECHO_C = @ECHO_C@
ECHO_N = @ECHO_N@
ECHO_T = @ECHO_T@
EGREP = @EGREP@
EXEEXT = @EXEEXT@
FGREP = @FGREP@
GDCM_CPPFLAGS = @GDCM_CPPFLAGS@
GDCM_LDFLAGS = @GDCM_LDFLAGS@
GRAPHICSMAGICKXX_CFLAGS = @GRAPHICSMAGICKXX_CFLAGS@
GRAPHICSMAGICKXX_CPPFLAGS = @GRAPHICSMAGICKXX_CPPFLAGS@
GRAPHICSMAGICKXX_LDFLAGS = @GRAPHICSMAGICKXX_LDFLAGS@
GRAPHICSMAGICKXX_LIBS = @GRAPHICSMAGICKXX_LIBS@
GREP = @GREP@
IMAGEMAGICKXX_CFLAGS = @IMAGEMAGICKXX_CFLAGS@
IMAGEMAGICKXX_CPPFLAGS = @IMAGEMAGICKXX_CPPFLAGS@
IMAGEMAGICKXX_LDFLAGS = @IMAGEMAGICKXX_LDFLAGS@
IMAGEMAGICKXX_LIBS = @IMAGEMAGICKXX_LIBS@
INSTALL = @INSTALL@
INSTALL_DATA = @INSTALL_DATA@
INSTALL_PROGRAM = @INSTALL_PROGRAM@
INSTALL_SCRIPT = @INSTALL_SCRIPT@
INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
LD = @LD@
LDFLAGS = @LDFLAGS@
LIBOBJS = @LIBOBJS@
LIBS = @LIBS@
LIBTOOL = @LIBTOOL@
LIPO = @LIPO@
LN_S = @LN_S@
LTLIBOBJS = @LTLIBOBJS@
MAGICKXX_CPPFLAGS = @MAGICKXX_CPPFLAGS@
MAGICKXX_LDFLAGS = @MAGICKXX_LDFLAGS@
MAKEINFO = @MAKEINFO@
MANIFEST_TOOL = @MANIFEST_TOOL@
MKDIR_P = @MKDIR_P@
MOC = @MOC@
NM = @NM@
NMEDIT = @NMEDIT@
OBJDUMP = @OBJDUMP@
OBJEXT = @OBJEXT@
OTOOL = @OTOOL@
OTOOL64 = @OTOOL64@
PACKAGE = @PACKAGE@
PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
PACKAGE_NAME = @PACKAGE_NAME@
PACKAGE_STRING = @PACKAGE_STRING@
PACKAGE_TARNAME = @PACKAGE_TARNAME@
PACKAGE_URL = @PACKAGE_URL@
PACKAGE_VERSION = @PACKAGE_VERSION@
PATH_SEPARATOR = @PATH_SEPARATOR@
PKG_CONFIG = @PKG_CONFIG@
PYTHON = @PYTHON@
PYTHONINC = @PYTHONINC@
PYTHON_EXEC_PREFIX = @PYTHON_EXEC_PREFIX@
PYTHON_PLATFORM = @PYTHON_PLATFORM@
PYTHON_PREFIX = @PYTHON_PREFIX@
PYTHON_VERSION = @PYTHON_VERSION@
QMAKE = @QMAKE@
QT_CFLAGS = @QT_CFLAGS@
QT_CPPFLAGS = @QT_CPPFLAGS@
QT_CXXFLAGS = @QT_CXXFLAGS@
QT_DEFINES = @QT_DEFINES@
QT_INCPATH = @QT_INCPATH@
QT_LDFLAGS = @QT_LDFLAGS@
QT_LFLAGS = @QT_LFLAGS@
QT_LIBS = @QT_LIBS@
QT_PATH = @QT_PATH@
QT_VERSION = @QT_VERSION@
QT_VERSION_MAJOR = @QT_VERSION_MAJOR@
RANLIB = @RANLIB@
RCC = @RCC@
SCRIBO_CXXFLAGS = @SCRIBO_CXXFLAGS@
SCRIBO_TESTS_CXXFLAGS = @SCRIBO_TESTS_CXXFLAGS@
SED = @SED@
SET_MAKE = @SET_MAKE@
SHELL = @SHELL@
STRICT_ALIASING_CXXFLAGS = @STRICT_ALIASING_CXXFLAGS@
STRIP = @STRIP@
SWIG = @SWIG@
SWIG_LIB = @SWIG_LIB@
TESSERACT_CPPFLAGS = @TESSERACT_CPPFLAGS@
TESSERACT_LDFLAGS = @TESSERACT_LDFLAGS@
TESTS_CXXFLAGS = @TESTS_CXXFLAGS@
TESTS_CXXFLAGS_DEBUG = @TESTS_CXXFLAGS_DEBUG@
TESTS_CXXFLAGS_SPEED = @TESTS_CXXFLAGS_SPEED@
TIFF_CPPFLAGS = @TIFF_CPPFLAGS@
TIFF_LDFLAGS = @TIFF_LDFLAGS@
TOOLS_CXXFLAGS = @TOOLS_CXXFLAGS@
UIC = @UIC@
VERSION = @VERSION@
WARNINGS_CXXFLAGS = @WARNINGS_CXXFLAGS@
abs_builddir = @abs_builddir@
abs_srcdir = @abs_srcdir@
abs_top_builddir = @abs_top_builddir@
abs_top_srcdir = @abs_top_srcdir@
ac_ct_AR = @ac_ct_AR@
ac_ct_CC = @ac_ct_CC@
ac_ct_CXX = @ac_ct_CXX@
ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
am__include = @am__include@
am__leading_dot = @am__leading_dot@
am__quote = @am__quote@
am__tar = @am__tar@
am__untar = @am__untar@
bindir = @bindir@
build = @build@
build_alias = @build_alias@
build_cpu = @build_cpu@
build_os = @build_os@
build_vendor = @build_vendor@
builddir = @builddir@
datadir = @datadir@
datarootdir = @datarootdir@
docdir = @docdir@
dvidir = @dvidir@
exec_prefix = @exec_prefix@
host = @host@
host_alias = @host_alias@
host_cpu = @host_cpu@
host_os = @host_os@
host_vendor = @host_vendor@
htmldir = @htmldir@
includedir = @includedir@
infodir = @infodir@
install_sh = @install_sh@
libdir = @libdir@
libexecdir = @libexecdir@
localedir = @localedir@
localstatedir = @localstatedir@
mandir = @mandir@
mkdir_p = @mkdir_p@
oldincludedir = @oldincludedir@
pdfdir = @pdfdir@
pkgpyexecdir = @pkgpyexecdir@
pkgpythondir = @pkgpythondir@
prefix = @prefix@
program_transform_name = @program_transform_name@
psdir = @psdir@
pyexecdir = @pyexecdir@
pythondir = @pythondir@
sbindir = @sbindir@
sharedstatedir = @sharedstatedir@
srcdir = @srcdir@
subdirs = @subdirs@
sysconfdir = @sysconfdir@
target_alias = @target_alias@
top_build_prefix = @top_build_prefix@
top_builddir = @top_builddir@
top_srcdir = @top_srcdir@

# Look for Milena headers in srcdir and for (generated) test headers
# (like data.hh) in builddir.
AM_CPPFLAGS = -I$(top_srcdir)/milena -I$(top_builddir)/milena
DOXYGEN = doxygen
DOXYFILE = Doxyfile
build_aux_dir = $(top_srcdir)/build-aux
TEXI2DVI = $(build_aux_dir)/texi2dvi
TEXI2DVI_FLAGS = --tidy --build-dir=tmp.t2d --batch -I $(srcdir) -I \
	$(srcdir)/outputs -I $(srcdir)/outputs/split -I $(srcdir)/img \
	-I $(srcdir)/examples/split
TEXI2PDF = $(TEXI2DVI) --pdf
TEXI2PDF_FLAGS = $(TEXI2DVI_FLAGS)

# FIXME: Switch back to HeVeA, since we currently rely on its outputs
# to produce intermediate products later read by Doxygen.  When these
# intermediate files are produced directly (from LaTeX sources),
# switch again to TeX4ht.
TEXI2HTML = $(TEXI2DVI) --html # --tex4ht
TEXI2HTML_FLAGS = $(TEXI2DVI_FLAGS)
SUFFIXES = .tex .pdf .pbm .pgm .ppm .png

# Additional files for LaTeX compilations.
DOC_PACKAGES = doxyfuns.sty milena.sty

# Generate a Makefile helper containing the list of generated figures.

# Generate a Makefile helper containing a variable assignment.

# Generate a Makefile helper handling the generation of split examples.

# HTML.

# Installing a directory located in the source dir is not supported by
# Automake by default, so we cannot simply add `$(USER_REFMAN)/html'
# to `dist_doc_DATA'.  The rule `install-data-local' (see below) used
# to work around this limitation is borrowed from the Vaucanson
# project.

# Generate a Makefile helper containing outputs rules and timestamps.

# Generate a Makefile helper handling the generation of split outputs.

# Regen Make helpers.
EXTRA_DIST = gen-figures-mk $(FIGURES) $(PNG_FIGURES) $(MORE_FIGURES) \
	gen-make-variable $(EXAMPLES) $(TECHNICAL_EXAMPLES) \
	$(MORE_EXAMPLES) gen-split-examples-mk \
	$(srcdir)/examples/split/accu-right-instantiation.cc.stamp \
	$(srcdir)/examples/split/borderthickness.cc.stamp \
	$(srcdir)/examples/split/box2d-bbox.cc.stamp \
	$(srcdir)/examples/split/domain-display.cc.stamp \
	$(srcdir)/examples/split/dpoint-1.cc.stamp \
	$(srcdir)/examples/split/estim-sites.cc.stamp \
	$(srcdir)/examples/split/extend.cc.stamp \
	$(srcdir)/examples/split/extension-ignore.cc.stamp \
	$(srcdir)/examples/split/fill.cc.stamp \
	$(srcdir)/examples/split/fill-call-1.cc.stamp \
	$(srcdir)/examples/split/fill-imageif-cfun.cc.stamp \
	$(srcdir)/examples/split/fill-part-image.cc.stamp \
	$(srcdir)/examples/split/fill-subdomain.cc.stamp \
	$(srcdir)/examples/split/fill-subdomain-shorter.cc.stamp \
	$(srcdir)/examples/split/forall-piter.cc.stamp \
	$(srcdir)/examples/split/fun-p2v-1.cc.stamp \
	$(srcdir)/examples/split/graph-data.cc.stamp \
	$(srcdir)/examples/split/graph-iter.cc.stamp \
	$(srcdir)/examples/split/ima-has.cc.stamp \
	$(srcdir)/examples/split/ima-load.cc.stamp \
	$(srcdir)/examples/split/ima-save.cc.stamp \
	$(srcdir)/examples/split/ima-size.cc.stamp \
	$(srcdir)/examples/split/ima2d-1.cc.stamp \
	$(srcdir)/examples/split/ima2d-2.cc.stamp \
	$(srcdir)/examples/split/ima2d-3.cc.stamp \
	$(srcdir)/examples/split/ima2d-4.cc.stamp \
	$(srcdir)/examples/split/ima2d-5.cc.stamp \
	$(srcdir)/examples/split/ima2d-6-clone.cc.stamp \
	$(srcdir)/examples/split/ima2d-7.cc.stamp \
	$(srcdir)/examples/split/ima2d-rot.cc.stamp \
	$(srcdir)/examples/split/labeling-compute.cc.stamp \
	$(srcdir)/examples/split/logical-not.cc.stamp \
	$(srcdir)/examples/split/mln_var.cc.stamp \
	$(srcdir)/examples/split/parray-append.cc.stamp \
	$(srcdir)/examples/split/parray-bbox.cc.stamp \
	$(srcdir)/examples/split/paste.cc.stamp \
	$(srcdir)/examples/split/paste-call-1.cc.stamp \
	$(srcdir)/examples/split/point-1.cc.stamp \
	$(srcdir)/examples/split/predicate-1.cc.stamp \
	$(srcdir)/examples/split/tuto2_first_image.cc.stamp \
	$(srcdir)/examples/split/tuto3_colorize.cc.stamp \
	$(srcdir)/examples/split/tuto3_first_routine.cc.stamp \
	$(srcdir)/examples/split/tuto3_println.cc.stamp \
	$(srcdir)/examples/split/tuto3_trace.cc.stamp \
	$(srcdir)/examples/split/tuto3_rw_image.cc.stamp \
	$(srcdir)/examples/split/tuto4_point2d.cc.stamp \
	$(srcdir)/examples/split/tuto4_site_set_create.cc.stamp \
	$(srcdir)/examples/split/tuto4_genericity_and_algorithms.cc.stamp \
	$(srcdir)/examples/split/win-create-1.cc.stamp \
	$(srcdir)/examples/split/win-create-2.cc.stamp \
	$(SPLIT_EXAMPLES) $(srcdir)/user-refman.stamp $(USER_REFMAN) \
	technical.tex $(srcdir)/$(TECHNICAL).stamp tutorial.tex \
	$(srcdir)/$(TUTORIAL).stamp $(TUTORIAL_HH) white-paper.tex \
	graphicx.hva $(srcdir)/$(WHITE_PAPER).stamp ref-guide.tex \
	$(srcdir)/$(REF_GUIDE).stamp $(REF_GUIDE_HH) $(OUTPUTS) \
	$(MORE_OUTPUTS) gen-examples-outputs-mk \
	$(srcdir)/examples/accu-right-instantiation.stamp \
	$(srcdir)/examples/borderthickness.stamp \
	$(srcdir)/examples/box2d-bbox.stamp \
	$(srcdir)/examples/domain-display.stamp \
	$(srcdir)/examples/dpoint-1.stamp \
	$(srcdir)/examples/estim-sites.stamp \
	$(srcdir)/examples/extend.stamp \
	$(srcdir)/examples/extension-ignore.stamp \
	$(srcdir)/examples/fill-call-1.stamp \
	$(srcdir)/examples/fill-imageif-cfun.stamp \
	$(srcdir)/examples/fill-part-image.stamp \
	$(srcdir)/examples/fill-subdomain-shorter.stamp \
	$(srcdir)/examples/fill-subdomain.stamp \
	$(srcdir)/examples/fill.stamp \
	$(srcdir)/examples/forall-piter.stamp \
	$(srcdir)/examples/fun-p2v-1.stamp \
	$(srcdir)/examples/graph-data.stamp \
	$(srcdir)/examples/graph-iter.stamp \
	$(srcdir)/examples/ima-has.stamp \
	$(srcdir)/examples/ima-load.stamp \
	$(srcdir)/examples/ima-save.stamp \
	$(srcdir)/examples/ima-size.stamp \
	$(srcdir)/examples/ima2d-1.stamp \
	$(srcdir)/examples/ima2d-2.stamp \
	$(srcdir)/examples/ima2d-3.stamp \
	$(srcdir)/examples/ima2d-4.stamp \
	$(srcdir)/examples/ima2d-5.stamp \
	$(srcdir)/examples/ima2d-6-clone.stamp \
	$(srcdir)/examples/ima2d-7.stamp \
	$(srcdir)/examples/ima2d-rot.stamp \
	$(srcdir)/examples/labeling-compute.stamp \
	$(srcdir)/examples/logical-not.stamp \
	$(srcdir)/examples/mln_var.stamp \
	$(srcdir)/examples/parray-append.stamp \
	$(srcdir)/examples/parray-bbox.stamp \
	$(srcdir)/examples/paste-call-1.stamp \
	$(srcdir)/examples/paste.stamp \
	$(srcdir)/examples/point-1.stamp \
	$(srcdir)/examples/predicate-1.stamp \
	$(srcdir)/examples/tuto2_first_image.stamp \
	$(srcdir)/examples/tuto3/colorize.stamp \
	$(srcdir)/examples/tuto3/first_routine.stamp \
	$(srcdir)/examples/tuto3/println.stamp \
	$(srcdir)/examples/tuto3/trace.stamp \
	$(srcdir)/examples/tuto3_rw_image.stamp \
	$(srcdir)/examples/tuto4/image.stamp \
	$(srcdir)/examples/tuto4/point2d.stamp \
	$(srcdir)/examples/tuto4/site_set_create.stamp \
	$(srcdir)/examples/tuto4_genericity_and_algorithms.stamp \
	$(srcdir)/examples/win-create-1.stamp \
	$(srcdir)/examples/win-create-2.stamp gen-split-outputs-mk \
	$(srcdir)/outputs/split/graph-iter.txt.stamp \
	$(srcdir)/outputs/split/tuto3_println.txt.stamp \
	$(srcdir)/outputs/split/tuto4_site_set_create.txt.stamp \
	$(SPLIT_OUTPUTS) generate_dist_files.sh $(DATA_html_dirs) \
	$(DOXYFILE).in groups/accu.hh groups/graph.hh groups/images.hh \
	groups/main.hh groups/neighb.hh groups/site_set.hh \
	groups/util.hh groups/win.hh img/small-enlarged.png \
	img/small.png doxyfuns.sty milena.sty tools/clearbanner.sh \
	tools/sample_utils.hh tools/split_sample.sh tools/todoxygen.sh
EXTEND_FIGURES = \
  $(srcdir)/figures/extend-1.ppm \
  $(srcdir)/figures/extend-2.ppm \
  $(srcdir)/figures/extend-3.ppm \
  $(srcdir)/figures/extend-4.ppm \
  $(srcdir)/figures/extend-5.ppm

FILL_FIGURES = \
  $(srcdir)/figures/fill-1.ppm \
  $(srcdir)/figures/fill-2.ppm

FILL_IMAGEIF_CFUN_FIGURES = \
  $(srcdir)/figures/fill-imageif-cfun-1.ppm

FILL_SUBDOMAIN_FIGURES = \
  $(srcdir)/figures/fill-subdomain-1.pbm \
  $(srcdir)/figures/fill-subdomain-2.ppm \
  $(srcdir)/figures/fill-subdomain-3.ppm \
  $(srcdir)/figures/fill-subdomain-4.ppm

IMA_SAVE_FIGURES = \
  $(srcdir)/figures/ima_save.pbm

IMA2D_ROT_FIGURES = \
  $(srcdir)/figures/ima2d-rot-1.ppm \
  $(srcdir)/figures/ima2d-rot-2.ppm

LABELING_COMPUTE_FIGURES = \
  $(srcdir)/figures/labeling-compute-1.pbm \
  $(srcdir)/figures/labeling-compute-2.ppm

LOGICAL_NOT_FIGURES = \
  $(srcdir)/figures/logical-not-1.pbm \
  $(srcdir)/figures/logical-not-2.pbm \
  $(srcdir)/figures/logical-not-3.pbm

TUTO2_FIRST_IMAGE_FIGURES = \
  $(srcdir)/figures/tuto2_first_image-1.pbm

TUTO3_COLORIZE_FIGURES = \
  $(srcdir)/figures/tuto3_colorize-1.pgm \
  $(srcdir)/figures/tuto3_colorize-2.ppm

TUTO3_RW_IMAGE_FIGURES = \
  $(srcdir)/figures/tuto3_rw_image-1.ppm \
  $(srcdir)/figures/tuto3_rw_image-2.ppm \
  $(srcdir)/figures/tuto3_rw_image-3.ppm

TUTO4_GENERICITY_AND_ALGORITHMS_FIGURES = \
  $(srcdir)/figures/tuto4_genericity_and_algorithms-1.ppm \
  $(srcdir)/figures/tuto4_genericity_and_algorithms-2.ppm \
  $(srcdir)/figures/tuto4_genericity_and_algorithms-3.pbm \
  $(srcdir)/figures/tuto4_genericity_and_algorithms-4.ppm \
  $(srcdir)/figures/tuto4_genericity_and_algorithms-5.ppm \
  $(srcdir)/figures/tuto4_genericity_and_algorithms-6.ppm


# The list of all generated figures.
FIGURES = \
  $(EXTEND_FIGURES) \
  $(FILL_FIGURES) \
  $(FILL_IMAGEIF_CFUN_FIGURES) \
  $(FILL_SUBDOMAIN_FIGURES) \
  $(IMA_SAVE_FIGURES) \
  $(IMA2D_ROT_FIGURES) \
  $(LABELING_COMPUTE_FIGURES) \
  $(LOGICAL_NOT_FIGURES) \
  $(TUTO2_FIRST_IMAGE_FIGURES) \
  $(TUTO3_COLORIZE_FIGURES) \
  $(TUTO3_RW_IMAGE_FIGURES) \
  $(TUTO4_GENERICITY_AND_ALGORITHMS_FIGURES)


# The list of all generated PBM figures.
PBM_FIGURES = \
  $(srcdir)/figures/fill-subdomain-1.pbm \
  $(srcdir)/figures/ima_save.pbm \
  $(srcdir)/figures/labeling-compute-1.pbm \
  $(srcdir)/figures/logical-not-1.pbm \
  $(srcdir)/figures/logical-not-2.pbm \
  $(srcdir)/figures/logical-not-3.pbm \
  $(srcdir)/figures/tuto2_first_image-1.pbm \
  $(srcdir)/figures/tuto4_genericity_and_algorithms-3.pbm


# The list of all generated PGM figures.
PGM_FIGURES = \
  $(srcdir)/figures/tuto3_colorize-1.pgm


# The list of all generated PPM figures.
PPM_FIGURES = \
  $(srcdir)/figures/extend-1.ppm \
  $(srcdir)/figures/extend-2.ppm \
  $(srcdir)/figures/extend-3.ppm \
  $(srcdir)/figures/extend-4.ppm \
  $(srcdir)/figures/extend-5.ppm \
  $(srcdir)/figures/fill-1.ppm \
  $(srcdir)/figures/fill-2.ppm \
  $(srcdir)/figures/fill-imageif-cfun-1.ppm \
  $(srcdir)/figures/fill-subdomain-2.ppm \
  $(srcdir)/figures/fill-subdomain-3.ppm \
  $(srcdir)/figures/fill-subdomain-4.ppm \
  $(srcdir)/figures/ima2d-rot-1.ppm \
  $(srcdir)/figures/ima2d-rot-2.ppm \
  $(srcdir)/figures/labeling-compute-2.ppm \
  $(srcdir)/figures/tuto3_colorize-2.ppm \
  $(srcdir)/figures/tuto3_rw_image-1.ppm \
  $(srcdir)/figures/tuto3_rw_image-2.ppm \
  $(srcdir)/figures/tuto3_rw_image-3.ppm \
  $(srcdir)/figures/tuto4_genericity_and_algorithms-1.ppm \
  $(srcdir)/figures/tuto4_genericity_and_algorithms-2.ppm \
  $(srcdir)/figures/tuto4_genericity_and_algorithms-4.ppm \
  $(srcdir)/figures/tuto4_genericity_and_algorithms-5.ppm \
  $(srcdir)/figures/tuto4_genericity_and_algorithms-6.ppm


# HTML.
MAINTAINERCLEANFILES = $(FIGURES) $(PNG_FIGURES) \
	$(srcdir)/examples/split/accu-right-instantiation.cc.stamp \
	$(srcdir)/examples/split/borderthickness.cc.stamp \
	$(srcdir)/examples/split/box2d-bbox.cc.stamp \
	$(srcdir)/examples/split/domain-display.cc.stamp \
	$(srcdir)/examples/split/dpoint-1.cc.stamp \
	$(srcdir)/examples/split/estim-sites.cc.stamp \
	$(srcdir)/examples/split/extend.cc.stamp \
	$(srcdir)/examples/split/extension-ignore.cc.stamp \
	$(srcdir)/examples/split/fill.cc.stamp \
	$(srcdir)/examples/split/fill-call-1.cc.stamp \
	$(srcdir)/examples/split/fill-imageif-cfun.cc.stamp \
	$(srcdir)/examples/split/fill-part-image.cc.stamp \
	$(srcdir)/examples/split/fill-subdomain.cc.stamp \
	$(srcdir)/examples/split/fill-subdomain-shorter.cc.stamp \
	$(srcdir)/examples/split/forall-piter.cc.stamp \
	$(srcdir)/examples/split/fun-p2v-1.cc.stamp \
	$(srcdir)/examples/split/graph-data.cc.stamp \
	$(srcdir)/examples/split/graph-iter.cc.stamp \
	$(srcdir)/examples/split/ima-has.cc.stamp \
	$(srcdir)/examples/split/ima-load.cc.stamp \
	$(srcdir)/examples/split/ima-save.cc.stamp \
	$(srcdir)/examples/split/ima-size.cc.stamp \
	$(srcdir)/examples/split/ima2d-1.cc.stamp \
	$(srcdir)/examples/split/ima2d-2.cc.stamp \
	$(srcdir)/examples/split/ima2d-3.cc.stamp \
	$(srcdir)/examples/split/ima2d-4.cc.stamp \
	$(srcdir)/examples/split/ima2d-5.cc.stamp \
	$(srcdir)/examples/split/ima2d-6-clone.cc.stamp \
	$(srcdir)/examples/split/ima2d-7.cc.stamp \
	$(srcdir)/examples/split/ima2d-rot.cc.stamp \
	$(srcdir)/examples/split/labeling-compute.cc.stamp \
	$(srcdir)/examples/split/logical-not.cc.stamp \
	$(srcdir)/examples/split/mln_var.cc.stamp \
	$(srcdir)/examples/split/parray-append.cc.stamp \
	$(srcdir)/examples/split/parray-bbox.cc.stamp \
	$(srcdir)/examples/split/paste.cc.stamp \
	$(srcdir)/examples/split/paste-call-1.cc.stamp \
	$(srcdir)/examples/split/point-1.cc.stamp \
	$(srcdir)/examples/split/predicate-1.cc.stamp \
	$(srcdir)/examples/split/tuto2_first_image.cc.stamp \
	$(srcdir)/examples/split/tuto3_colorize.cc.stamp \
	$(srcdir)/examples/split/tuto3_first_routine.cc.stamp \
	$(srcdir)/examples/split/tuto3_println.cc.stamp \
	$(srcdir)/examples/split/tuto3_trace.cc.stamp \
	$(srcdir)/examples/split/tuto3_rw_image.cc.stamp \
	$(srcdir)/examples/split/tuto4_point2d.cc.stamp \
	$(srcdir)/examples/split/tuto4_site_set_create.cc.stamp \
	$(srcdir)/examples/split/tuto4_genericity_and_algorithms.cc.stamp \
	$(srcdir)/examples/split/win-create-1.cc.stamp \
	$(srcdir)/examples/split/win-create-2.cc.stamp \
	$(SPLIT_EXAMPLES) $(DOXYFILE_USER) $(srcdir)/user-refman.stamp \
	$(DOXYFILE_DEVEL) $(srcdir)/devel-refman.stamp \
	$(srcdir)/$(TECHNICAL).stamp $(srcdir)/$(TUTORIAL).stamp \
	$(TUTORIAL_HH) $(srcdir)/$(WHITE_PAPER).stamp \
	$(srcdir)/$(REF_GUIDE).stamp $(REF_GUIDE_HH) $(OUTPUTS) \
	$(srcdir)/examples/accu-right-instantiation.stamp \
	$(srcdir)/examples/borderthickness.stamp \
	$(srcdir)/examples/box2d-bbox.stamp \
	$(srcdir)/examples/domain-display.stamp \
	$(srcdir)/examples/dpoint-1.stamp \
	$(srcdir)/examples/estim-sites.stamp \
	$(srcdir)/examples/extend.stamp \
	$(srcdir)/examples/extension-ignore.stamp \
	$(srcdir)/examples/fill-call-1.stamp \
	$(srcdir)/examples/fill-imageif-cfun.stamp \
	$(srcdir)/examples/fill-part-image.stamp \
	$(srcdir)/examples/fill-subdomain-shorter.stamp \
	$(srcdir)/examples/fill-subdomain.stamp \
	$(srcdir)/examples/fill.stamp \
	$(srcdir)/examples/forall-piter.stamp \
	$(srcdir)/examples/fun-p2v-1.stamp \
	$(srcdir)/examples/graph-data.stamp \
	$(srcdir)/examples/graph-iter.stamp \
	$(srcdir)/examples/ima-has.stamp \
	$(srcdir)/examples/ima-load.stamp \
	$(srcdir)/examples/ima-save.stamp \
	$(srcdir)/examples/ima-size.stamp \
	$(srcdir)/examples/ima2d-1.stamp \
	$(srcdir)/examples/ima2d-2.stamp \
	$(srcdir)/examples/ima2d-3.stamp \
	$(srcdir)/examples/ima2d-4.stamp \
	$(srcdir)/examples/ima2d-5.stamp \
	$(srcdir)/examples/ima2d-6-clone.stamp \
	$(srcdir)/examples/ima2d-7.stamp \
	$(srcdir)/examples/ima2d-rot.stamp \
	$(srcdir)/examples/labeling-compute.stamp \
	$(srcdir)/examples/logical-not.stamp \
	$(srcdir)/examples/mln_var.stamp \
	$(srcdir)/examples/parray-append.stamp \
	$(srcdir)/examples/parray-bbox.stamp \
	$(srcdir)/examples/paste-call-1.stamp \
	$(srcdir)/examples/paste.stamp \
	$(srcdir)/examples/point-1.stamp \
	$(srcdir)/examples/predicate-1.stamp \
	$(srcdir)/examples/tuto2_first_image.stamp \
	$(srcdir)/examples/tuto3/colorize.stamp \
	$(srcdir)/examples/tuto3/first_routine.stamp \
	$(srcdir)/examples/tuto3/println.stamp \
	$(srcdir)/examples/tuto3/trace.stamp \
	$(srcdir)/examples/tuto3_rw_image.stamp \
	$(srcdir)/examples/tuto4/image.stamp \
	$(srcdir)/examples/tuto4/point2d.stamp \
	$(srcdir)/examples/tuto4/site_set_create.stamp \
	$(srcdir)/examples/tuto4_genericity_and_algorithms.stamp \
	$(srcdir)/examples/win-create-1.stamp \
	$(srcdir)/examples/win-create-2.stamp \
	$(srcdir)/outputs/split/graph-iter.txt.stamp \
	$(srcdir)/outputs/split/tuto3_println.txt.stamp \
	$(srcdir)/outputs/split/tuto4_site_set_create.txt.stamp \
	$(SPLIT_OUTPUTS) $(dist_pdf_DATA)

# ------------- #
# PNG figures.  #
# ------------- #

# PNG figures are generated from PBM, PGM and PPM figures.
convert_to_png = convert -scale 250 -bordercolor black -border 2x2
PNG_FIGURES = \
  $(PBM_FIGURES:.pbm=.png)			\
  $(PGM_FIGURES:.pgm=.png)			\
  $(PPM_FIGURES:.ppm=.png)


# --------------- #
# Other figures.  #
# --------------- #
TECHNICAL_FIGURES = \
  figures/technical/file_layout.pdf		\
  figures/technical/file_layout.png


# This image seems to be used nowhere.
MORE_FIGURES = $(TECHNICAL_FIGURES) $(WHITE_PAPER_FIGURES) \
	figures/accu_image_morpher_big_picture.pdf
WHITE_PAPER_FIGURES = \
  $(srcdir)/figures/house.png			\
  $(srcdir)/figures/house_rag.png		\
  $(srcdir)/figures/house_wshed.png		\
  $(srcdir)/figures/house_wshed_mean_colors.png

EXAMPLES = \
  $(srcdir)/examples/accu-right-instantiation.cc \
  $(srcdir)/examples/borderthickness.cc \
  $(srcdir)/examples/box2d-bbox.cc \
  $(srcdir)/examples/domain-display.cc \
  $(srcdir)/examples/dpoint-1.cc \
  $(srcdir)/examples/estim-sites.cc \
  $(srcdir)/examples/extend.cc \
  $(srcdir)/examples/extension-ignore.cc \
  $(srcdir)/examples/fill-call-1.cc \
  $(srcdir)/examples/fill-imageif-cfun.cc \
  $(srcdir)/examples/fill-part-image.cc \
  $(srcdir)/examples/fill-subdomain-shorter.cc \
  $(srcdir)/examples/fill-subdomain.cc \
  $(srcdir)/examples/fill.cc \
  $(srcdir)/examples/forall-piter.cc \
  $(srcdir)/examples/fun-p2v-1.cc \
  $(srcdir)/examples/graph-data.cc \
  $(srcdir)/examples/graph-iter.cc \
  $(srcdir)/examples/ima-has.cc \
  $(srcdir)/examples/ima-load.cc \
  $(srcdir)/examples/ima-save.cc \
  $(srcdir)/examples/ima-size.cc \
  $(srcdir)/examples/ima2d-1.cc \
  $(srcdir)/examples/ima2d-2.cc \
  $(srcdir)/examples/ima2d-3.cc \
  $(srcdir)/examples/ima2d-4.cc \
  $(srcdir)/examples/ima2d-5.cc \
  $(srcdir)/examples/ima2d-6-clone.cc \
  $(srcdir)/examples/ima2d-7.cc \
  $(srcdir)/examples/ima2d-rot.cc \
  $(srcdir)/examples/labeling-compute.cc \
  $(srcdir)/examples/logical-not.cc \
  $(srcdir)/examples/mln_var.cc \
  $(srcdir)/examples/parray-append.cc \
  $(srcdir)/examples/parray-bbox.cc \
  $(srcdir)/examples/paste-call-1.cc \
  $(srcdir)/examples/paste.cc \
  $(srcdir)/examples/point-1.cc \
  $(srcdir)/examples/predicate-1.cc \
  $(srcdir)/examples/trash/accu.cc \
  $(srcdir)/examples/trash/box.cc \
  $(srcdir)/examples/trash/cpp_issue.cc \
  $(srcdir)/examples/trash/erosion.cc \
  $(srcdir)/examples/trash/for_Z.cc \
  $(srcdir)/examples/trash/graph.cc \
  $(srcdir)/examples/trash/image2d.cc \
  $(srcdir)/examples/trash/image_flat.cc \
  $(srcdir)/examples/trash/image_if.cc \
  $(srcdir)/examples/trash/image_plain.cc \
  $(srcdir)/examples/trash/image_safe.cc \
  $(srcdir)/examples/trash/labeling_algo.cc \
  $(srcdir)/examples/trash/mk_graph.cc \
  $(srcdir)/examples/trash/p_array.2.cc \
  $(srcdir)/examples/trash/p_array.cc \
  $(srcdir)/examples/trash/p_image.cc \
  $(srcdir)/examples/trash/p_key.2.cc \
  $(srcdir)/examples/trash/p_key.cc \
  $(srcdir)/examples/trash/p_line2d.cc \
  $(srcdir)/examples/trash/p_mutable_array_of.cc \
  $(srcdir)/examples/trash/p_queue.cc \
  $(srcdir)/examples/trash/p_run.cc \
  $(srcdir)/examples/trash/p_vaccess.cc \
  $(srcdir)/examples/trash/proxy.cc \
  $(srcdir)/examples/trash/sub_image.cc \
  $(srcdir)/examples/trash/sub_image_if.cc \
  $(srcdir)/examples/trash/tuto_bis.cc \
  $(srcdir)/examples/trash/tuto_one.cc \
  $(srcdir)/examples/trash/vec.cc \
  $(srcdir)/examples/trash/win_multiple.cc \
  $(srcdir)/examples/trash/window.cc \
  $(srcdir)/examples/tuto2_first_image.cc \
  $(srcdir)/examples/tuto3/colorize.cc \
  $(srcdir)/examples/tuto3/first_routine.cc \
  $(srcdir)/examples/tuto3/println.cc \
  $(srcdir)/examples/tuto3/trace.cc \
  $(srcdir)/examples/tuto3_rw_image.cc \
  $(srcdir)/examples/tuto4/image.cc \
  $(srcdir)/examples/tuto4/point2d.cc \
  $(srcdir)/examples/tuto4/site_set_create.cc \
  $(srcdir)/examples/tuto4_genericity_and_algorithms.cc \
  $(srcdir)/examples/win-create-1.cc \
  $(srcdir)/examples/win-create-2.cc


# Examples used in the technical documentation.
TECHNICAL_EXAMPLES = \
  examples/devel/dispatch.cc.raw		\
  examples/devel/facade.cc.raw			\
  examples/devel/impl.cc.raw


# Non generated examples.
MORE_EXAMPLES = \
  examples/accu-wrong-instantiation.cc.raw	\
  examples/fill-proto.cc.raw			\
  examples/ima2d-restricted-1.cc.raw		\
  examples/ima2d-restricted-2.cc.raw		\
  examples/ima2d-restricted-3.cc.raw		\
  examples/tuto3/fill_non_generic.cc.raw

SPLIT_EXAMPLES = \
  $(srcdir)/examples/split/accu-right-instantiation-1.cc.raw \
  $(srcdir)/examples/split/borderthickness-1.cc.raw \
  $(srcdir)/examples/split/box2d-bbox-1.cc.raw \
  $(srcdir)/examples/split/domain-display-1.cc.raw \
  $(srcdir)/examples/split/dpoint-1-1.cc.raw \
  $(srcdir)/examples/split/estim-sites-1.cc.raw \
  $(srcdir)/examples/split/extend-1.cc.raw \
  $(srcdir)/examples/split/extend-2.cc.raw \
  $(srcdir)/examples/split/extend-3.cc.raw \
  $(srcdir)/examples/split/extend-4.cc.raw \
  $(srcdir)/examples/split/extend-5.cc.raw \
  $(srcdir)/examples/split/extension-ignore-1.cc.raw \
  $(srcdir)/examples/split/fill-1.cc.raw \
  $(srcdir)/examples/split/fill-2.cc.raw \
  $(srcdir)/examples/split/fill-3.cc.raw \
  $(srcdir)/examples/split/fill-call-1-1.cc.raw \
  $(srcdir)/examples/split/fill-call-1-2.cc.raw \
  $(srcdir)/examples/split/fill-call-1-3.cc.raw \
  $(srcdir)/examples/split/fill-imageif-cfun-1.cc.raw \
  $(srcdir)/examples/split/fill-imageif-cfun-2.cc.raw \
  $(srcdir)/examples/split/fill-imageif-cfun-3.cc.raw \
  $(srcdir)/examples/split/fill-part-image-1.cc.raw \
  $(srcdir)/examples/split/fill-part-image-2.cc.raw \
  $(srcdir)/examples/split/fill-subdomain-1.cc.raw \
  $(srcdir)/examples/split/fill-subdomain-2.cc.raw \
  $(srcdir)/examples/split/fill-subdomain-3.cc.raw \
  $(srcdir)/examples/split/fill-subdomain-4.cc.raw \
  $(srcdir)/examples/split/fill-subdomain-shorter-1.cc.raw \
  $(srcdir)/examples/split/fill-subdomain-shorter-2.cc.raw \
  $(srcdir)/examples/split/forall-piter-1.cc.raw \
  $(srcdir)/examples/split/fun-p2v-1-1.cc.raw \
  $(srcdir)/examples/split/graph-data-1.cc.raw \
  $(srcdir)/examples/split/graph-data-2.cc.raw \
  $(srcdir)/examples/split/graph-data-3.cc.raw \
  $(srcdir)/examples/split/graph-data-4.cc.raw \
  $(srcdir)/examples/split/graph-data-5.cc.raw \
  $(srcdir)/examples/split/graph-data-6.cc.raw \
  $(srcdir)/examples/split/graph-iter-1.cc.raw \
  $(srcdir)/examples/split/graph-iter-2.cc.raw \
  $(srcdir)/examples/split/graph-iter-3.cc.raw \
  $(srcdir)/examples/split/graph-iter-4.cc.raw \
  $(srcdir)/examples/split/ima-has-1.cc.raw \
  $(srcdir)/examples/split/ima-load-1.cc.raw \
  $(srcdir)/examples/split/ima-save-1.cc.raw \
  $(srcdir)/examples/split/ima-size-1.cc.raw \
  $(srcdir)/examples/split/ima2d-1-1.cc.raw \
  $(srcdir)/examples/split/ima2d-2-1.cc.raw \
  $(srcdir)/examples/split/ima2d-3-1.cc.raw \
  $(srcdir)/examples/split/ima2d-4-1.cc.raw \
  $(srcdir)/examples/split/ima2d-5-1.cc.raw \
  $(srcdir)/examples/split/ima2d-6-clone-1.cc.raw \
  $(srcdir)/examples/split/ima2d-7-1.cc.raw \
  $(srcdir)/examples/split/ima2d-rot-1.cc.raw \
  $(srcdir)/examples/split/labeling-compute-1.cc.raw \
  $(srcdir)/examples/split/labeling-compute-2.cc.raw \
  $(srcdir)/examples/split/labeling-compute-3.cc.raw \
  $(srcdir)/examples/split/labeling-compute-4.cc.raw \
  $(srcdir)/examples/split/logical-not-1.cc.raw \
  $(srcdir)/examples/split/logical-not-2.cc.raw \
  $(srcdir)/examples/split/logical-not-3.cc.raw \
  $(srcdir)/examples/split/mln_var-1.cc.raw \
  $(srcdir)/examples/split/mln_var-2.cc.raw \
  $(srcdir)/examples/split/mln_var-3.cc.raw \
  $(srcdir)/examples/split/parray-append-1.cc.raw \
  $(srcdir)/examples/split/parray-bbox-1.cc.raw \
  $(srcdir)/examples/split/paste-1.cc.raw \
  $(srcdir)/examples/split/paste-call-1-1.cc.raw \
  $(srcdir)/examples/split/point-1-1.cc.raw \
  $(srcdir)/examples/split/predicate-1-1.cc.raw \
  $(srcdir)/examples/split/tuto2_first_image-1.cc.raw \
  $(srcdir)/examples/split/tuto2_first_image-2.cc.raw \
  $(srcdir)/examples/split/tuto2_first_image-3.cc.raw \
  $(srcdir)/examples/split/tuto2_first_image-4.cc.raw \
  $(srcdir)/examples/split/tuto3_colorize-1.cc.raw \
  $(srcdir)/examples/split/tuto3_first_routine-1.cc.raw \
  $(srcdir)/examples/split/tuto3_first_routine-2.cc.raw \
  $(srcdir)/examples/split/tuto3_first_routine-3.cc.raw \
  $(srcdir)/examples/split/tuto3_first_routine-4.cc.raw \
  $(srcdir)/examples/split/tuto3_first_routine-5.cc.raw \
  $(srcdir)/examples/split/tuto3_first_routine-6.cc.raw \
  $(srcdir)/examples/split/tuto3_first_routine-7.cc.raw \
  $(srcdir)/examples/split/tuto3_first_routine-8.cc.raw \
  $(srcdir)/examples/split/tuto3_println-1.cc.raw \
  $(srcdir)/examples/split/tuto3_println-2.cc.raw \
  $(srcdir)/examples/split/tuto3_trace-1.cc.raw \
  $(srcdir)/examples/split/tuto3_trace-2.cc.raw \
  $(srcdir)/examples/split/tuto3_rw_image-1.cc.raw \
  $(srcdir)/examples/split/tuto3_rw_image-2.cc.raw \
  $(srcdir)/examples/split/tuto3_rw_image-3.cc.raw \
  $(srcdir)/examples/split/tuto3_rw_image-4.cc.raw \
  $(srcdir)/examples/split/tuto3_rw_image-5.cc.raw \
  $(srcdir)/examples/split/tuto3_rw_image-6.cc.raw \
  $(srcdir)/examples/split/tuto3_rw_image-7.cc.raw \
  $(srcdir)/examples/split/tuto4_point2d-1.cc.raw \
  $(srcdir)/examples/split/tuto4_site_set_create-1.cc.raw \
  $(srcdir)/examples/split/tuto4_site_set_create-2.cc.raw \
  $(srcdir)/examples/split/tuto4_site_set_create-3.cc.raw \
  $(srcdir)/examples/split/tuto4_site_set_create-4.cc.raw \
  $(srcdir)/examples/split/tuto4_site_set_create-5.cc.raw \
  $(srcdir)/examples/split/tuto4_genericity_and_algorithms-1.cc.raw \
  $(srcdir)/examples/split/tuto4_genericity_and_algorithms-2.cc.raw \
  $(srcdir)/examples/split/tuto4_genericity_and_algorithms-3.cc.raw \
  $(srcdir)/examples/split/tuto4_genericity_and_algorithms-4.cc.raw \
  $(srcdir)/examples/split/tuto4_genericity_and_algorithms-5.cc.raw \
  $(srcdir)/examples/split/tuto4_genericity_and_algorithms-6.cc.raw \
  $(srcdir)/examples/split/tuto4_genericity_and_algorithms-7.cc.raw \
  $(srcdir)/examples/split/tuto4_genericity_and_algorithms-8.cc.raw \
  $(srcdir)/examples/split/tuto4_genericity_and_algorithms-9.cc.raw \
  $(srcdir)/examples/split/tuto4_genericity_and_algorithms-10.cc.raw \
  $(srcdir)/examples/split/tuto4_genericity_and_algorithms-11.cc.raw \
  $(srcdir)/examples/split/tuto4_genericity_and_algorithms-12.cc.raw \
  $(srcdir)/examples/split/win-create-1-1.cc.raw \
  $(srcdir)/examples/split/win-create-2-1.cc.raw

REFMAN_deps = \
  $(PNG_FIGURES)				\
  $(srcdir)/tutorial.hh				\
  $(srcdir)/ref-guide.hh

DOXYFILE_USER = Doxyfile_user

# Sed is used to generate Doxyfile from Doxyfile.in instead of
# configure, because the former is way faster than the latter.
#
edit = sed -e "s|@ID@|$$Id|"					\
	   -e 's,@PACKAGE_NAME\@,$(PACKAGE_NAME),g'		\
	   -e 's,@PACKAGE_VERSION\@,$(PACKAGE_VERSION),g'	\
	   -e 's,@top_srcdir\@,$(top_srcdir),g'			\
	   -e 's,@top_builddir\@,$(top_builddir),g'		\
	   -e 's,@srcdir\@,$(srcdir),g'				\
	   -e 's,@builddir\@,$(builddir),g'

USER_REFMAN = user-refman

# PDF.
USER_REFMAN_PDF = user-refman.pdf
dist_pdf_DATA = $(srcdir)/$(USER_REFMAN_PDF) $(TECHNICAL_PDF) \
	$(TUTORIAL_PDF) $(WHITE_PAPER_PDF) $(REF_GUIDE_PDF)
DOXYFILE_DEVEL = Doxyfile_devel
edit_devel = sed							      \
  -e 's,OUTPUT_DIRECTORY       = @builddir@/user-refman.tmp,OUTPUT_DIRECTORY       = @builddir@/devel-refman.tmp,' \
  -e 's,EXTRACT_ALL            = NO,EXTRACT_ALL            = YES,'	      \
  -e 's,EXTRACT_PRIVATE        = NO,EXTRACT_PRIVATE        = YES,'	      \
  -e 's,EXTRACT_STATIC         = NO,EXTRACT_STATIC         = YES,'	      \
  -e 's,EXTRACT_LOCAL_CLASSES  = NO,EXTRACT_LOCAL_CLASSES  = YES,'	      \
  -e 's,HIDE_UNDOC_MEMBERS     = YES,HIDE_UNDOC_MEMBERS     = NO,'	      \
  -e 's,HIDE_UNDOC_CLASSES     = YES,HIDE_UNDOC_CLASSES     = NO,'	      \
  -e 's,HIDE_FRIEND_COMPOUNDS  = YES,HIDE_FRIEND_COMPOUNDS  = NO,'	      \
  -e 's,HIDE_IN_BODY_DOCS      = YES,HIDE_IN_BODY_DOCS      = NO,'	      \
  -e 's,INTERNAL_DOCS          = NO,INTERNAL_DOCS          = YES,'	      \
  -e 's,GENERATE_TODOLIST      = NO,GENERATE_TODOLIST      = YES,'	      \
  -e 's,PROJECT_NUMBER         = \"User documentation ,PROJECT_NUMBER         = \",'	 \
  -e 's,EXCLUDE_SYMBOLS	       = \*::internal\* \*_ mln::trait::\*,EXCLUDE_SYMBOLS	       =,'

DEVEL_REFMAN = devel-refman

# PDF.
DEVEL_REFMAN_PDF = devel-refman.pdf
TECHNICAL_deps = \
  $(TECHNICAL_FIGURES)				\
  $(TECHNICAL_EXAMPLES)				\
  $(PNG_FIGURES)				\
  $(DOC_PACKAGES)


# PDF.
TECHNICAL_PDF = $(srcdir)/technical.pdf

# HTML.
TECHNICAL = technical
DATA_html_dirs = $(TECHNICAL) $(TUTORIAL) $(WHITE_PAPER) $(REF_GUIDE)
TUTORIAL_deps = \
  $(EXAMPLES)					\
  $(SPLIT_EXAMPLES)				\
  $(OUTPUTS)					\
  $(SPLIT_OUTPUTS)				\
  $(PNG_FIGURES)				\
  $(DOC_PACKAGES)


# PDF.
TUTORIAL_PDF = $(srcdir)/tutorial.pdf

# HTML.
TUTORIAL = tutorial

# Intermediate product for the (Doxygen) User Reference Manual.
#
# This is not a bug: TUTORIAL_HH is meant to have a `.hh' extension,
# since it is later parsed by Doxygen, which complains about `.html'
# files.
TUTORIAL_HH = $(srcdir)/tutorial.hh
WHITE_PAPER_deps = \
  $(WHITE_PAPER_FIGURES)			\
  graphicx.hva


# PDF.
WHITE_PAPER_PDF = $(srcdir)/white-paper.pdf

# HTML.
WHITE_PAPER = white-paper
REF_GUIDE_deps = \
  $(EXAMPLES)					\
  $(SPLIT_EXAMPLES)				\
  $(OUTPUTS)					\
  $(SPLIT_OUTPUTS)				\
  $(PNG_FIGURES)				\
  $(DOC_PACKAGES)


# PDF.
REF_GUIDE_PDF = $(srcdir)/ref-guide.pdf

# HTML.
REF_GUIDE = ref-guide

# Intermediate product for the (Doxygen) User Reference Manual.
#
# This is not a bug: REF_GUIDE_HH is meant to have a `.hh' extension,
# since it is later parsed by Doxygen, which complains about `.html'
# files.
REF_GUIDE_HH = $(srcdir)/ref-guide.hh

# Tuto3

# Tuto4
PROGRAMS_examples = accu-right-instantiation borderthickness \
	box2d-bbox domain-display dpoint-1 estim-sites extend \
	extension-ignore fill fill-call-1 fill-imageif-cfun \
	fill-part-image fill-subdomain fill-subdomain-shorter \
	forall-piter fun-p2v-1 graph-data graph-iter ima-has ima-load \
	ima-save ima-size ima2d-1 ima2d-2 ima2d-3 ima2d-4 ima2d-5 \
	ima2d-6-clone ima2d-7 ima2d-rot labeling-compute logical-not \
	mln_var parray-append parray-bbox paste paste-call-1 point-1 \
	predicate-1 win-create-1 win-create-2 tuto2_first_image \
	tuto3_rw_image tuto4_genericity_and_algorithms tuto3_colorize \
	tuto3_first_routine tuto3_println tuto3_trace tuto4_image \
	tuto4_point2d tuto4_site_set_create

# FIXME: Careful, this will only work if this file is included by
# `milena/doc/Makefile.am', since `examples/' is a subdirectory of
# `milena/doc/'.  Anyway, this file is to be eventually inlined in
# `milena/doc/Makefile.am', so this is not a big deal.
accu_right_instantiation_SOURCES = examples/accu-right-instantiation.cc
borderthickness_SOURCES = examples/borderthickness.cc
box2d_bbox_SOURCES = examples/box2d-bbox.cc
domain_display_SOURCES = examples/domain-display.cc
dpoint_1_SOURCES = examples/dpoint-1.cc
estim_sites_SOURCES = examples/estim-sites.cc
extend_SOURCES = examples/extend.cc
extension_ignore_SOURCES = examples/extension-ignore.cc
fill_SOURCES = examples/fill.cc
fill_call_1_SOURCES = examples/fill-call-1.cc
fill_imageif_cfun_SOURCES = examples/fill-imageif-cfun.cc
fill_part_image_SOURCES = examples/fill-part-image.cc
fill_subdomain_SOURCES = examples/fill-subdomain.cc
fill_subdomain_shorter_SOURCES = examples/fill-subdomain-shorter.cc
forall_piter_SOURCES = examples/forall-piter.cc
fun_p2v_1_SOURCES = examples/fun-p2v-1.cc
graph_data_SOURCES = examples/graph-data.cc
graph_iter_SOURCES = examples/graph-iter.cc
ima2d_1_SOURCES = examples/ima2d-1.cc
ima2d_2_SOURCES = examples/ima2d-2.cc
ima2d_3_SOURCES = examples/ima2d-3.cc
ima2d_4_SOURCES = examples/ima2d-4.cc
ima2d_5_SOURCES = examples/ima2d-5.cc
ima2d_6_clone_SOURCES = examples/ima2d-6-clone.cc
ima2d_7_SOURCES = examples/ima2d-7.cc
ima2d_rot_SOURCES = examples/ima2d-rot.cc
ima_has_SOURCES = examples/ima-has.cc
ima_load_SOURCES = examples/ima-load.cc
ima_save_SOURCES = examples/ima-save.cc
ima_size_SOURCES = examples/ima-size.cc
labeling_compute_SOURCES = examples/labeling-compute.cc
logical_not_SOURCES = examples/logical-not.cc
mln_var_SOURCES = examples/mln_var.cc
parray_append_SOURCES = examples/parray-append.cc
parray_bbox_SOURCES = examples/parray-bbox.cc
paste_SOURCES = examples/paste.cc
paste_call_1_SOURCES = examples/paste-call-1.cc
point_1_SOURCES = examples/point-1.cc
predicate_1_SOURCES = examples/predicate-1.cc
win_create_1_SOURCES = examples/win-create-1.cc
win_create_2_SOURCES = examples/win-create-2.cc
tuto2_first_image_SOURCES = examples/tuto2_first_image.cc
tuto3_rw_image_SOURCES = examples/tuto3_rw_image.cc
tuto4_genericity_and_algorithms_SOURCES = examples/tuto4_genericity_and_algorithms.cc

# Tuto 3
tuto3_colorize_SOURCES = examples/tuto3/colorize.cc
tuto3_first_routine_SOURCES = examples/tuto3/first_routine.cc
tuto3_println_SOURCES = examples/tuto3/println.cc
tuto3_trace_SOURCES = examples/tuto3/trace.cc

# Tuto 4
tuto4_image_SOURCES = examples/tuto4/image.cc
tuto4_point2d_SOURCES = examples/tuto4/point2d.cc
tuto4_site_set_create_SOURCES = examples/tuto4/site_set_create.cc
CLEANFILES = $(PROGRAMS_examples)
OUTPUTS = \
  $(srcdir)/outputs/accu-right-instantiation.txt \
  $(srcdir)/outputs/borderthickness.txt \
  $(srcdir)/outputs/box2d-bbox.txt \
  $(srcdir)/outputs/domain-display.txt \
  $(srcdir)/outputs/dpoint-1.txt \
  $(srcdir)/outputs/estim-sites.txt \
  $(srcdir)/outputs/extend.txt \
  $(srcdir)/outputs/extension-ignore.txt \
  $(srcdir)/outputs/fill-call-1.txt \
  $(srcdir)/outputs/fill-imageif-cfun.txt \
  $(srcdir)/outputs/fill-part-image.txt \
  $(srcdir)/outputs/fill-subdomain-shorter.txt \
  $(srcdir)/outputs/fill-subdomain.txt \
  $(srcdir)/outputs/fill.txt \
  $(srcdir)/outputs/forall-piter.txt \
  $(srcdir)/outputs/fun-p2v-1.txt \
  $(srcdir)/outputs/graph-data.txt \
  $(srcdir)/outputs/graph-iter.txt \
  $(srcdir)/outputs/ima-has.txt \
  $(srcdir)/outputs/ima-load.txt \
  $(srcdir)/outputs/ima-save.txt \
  $(srcdir)/outputs/ima-size.txt \
  $(srcdir)/outputs/ima2d-1.txt \
  $(srcdir)/outputs/ima2d-2.txt \
  $(srcdir)/outputs/ima2d-3.txt \
  $(srcdir)/outputs/ima2d-4.txt \
  $(srcdir)/outputs/ima2d-5.txt \
  $(srcdir)/outputs/ima2d-6-clone.txt \
  $(srcdir)/outputs/ima2d-7.txt \
  $(srcdir)/outputs/ima2d-rot.txt \
  $(srcdir)/outputs/labeling-compute.txt \
  $(srcdir)/outputs/logical-not.txt \
  $(srcdir)/outputs/mln_var.txt \
  $(srcdir)/outputs/parray-append.txt \
  $(srcdir)/outputs/parray-bbox.txt \
  $(srcdir)/outputs/paste-call-1.txt \
  $(srcdir)/outputs/paste.txt \
  $(srcdir)/outputs/point-1.txt \
  $(srcdir)/outputs/predicate-1.txt \
  $(srcdir)/outputs/tuto2_first_image.txt \
  $(srcdir)/outputs/tuto3_colorize.txt \
  $(srcdir)/outputs/tuto3_first_routine.txt \
  $(srcdir)/outputs/tuto3_println.txt \
  $(srcdir)/outputs/tuto3_rw_image.txt \
  $(srcdir)/outputs/tuto3_trace.txt \
  $(srcdir)/outputs/tuto4_genericity_and_algorithms.txt \
  $(srcdir)/outputs/tuto4_image.txt \
  $(srcdir)/outputs/tuto4_point2d.txt \
  $(srcdir)/outputs/tuto4_site_set_create.txt \
  $(srcdir)/outputs/win-create-1.txt \
  $(srcdir)/outputs/win-create-2.txt

MORE_OUTPUTS = \
  $(srcdir)/outputs/graph-output-1.txt		\
  $(srcdir)/outputs/ima2d-display-1.txt		\
  $(srcdir)/outputs/ima2d-display-2.txt		\
  $(srcdir)/outputs/ima2d-display-output-1.txt	\
  $(srcdir)/outputs/ima2d-display-output-2.txt	\
  $(srcdir)/outputs/parray-display-1.txt	\
  $(srcdir)/outputs/win-create-1-display.txt

SPLIT_OUTPUTS = \
  $(srcdir)/outputs/split/graph-iter-1.txt \
  $(srcdir)/outputs/split/graph-iter-2.txt \
  $(srcdir)/outputs/split/graph-iter-3.txt \
  $(srcdir)/outputs/split/graph-iter-4.txt \
  $(srcdir)/outputs/split/tuto3_println-1.txt \
  $(srcdir)/outputs/split/tuto3_println-2.txt \
  $(srcdir)/outputs/split/tuto4_site_set_create-1.txt \
  $(srcdir)/outputs/split/tuto4_site_set_create-2.txt \
  $(srcdir)/outputs/split/tuto4_site_set_create-3.txt

REGEN_SUBDIRS = 

# DATA_html_dirs_inst = $(DATA_html_dirs)
DATA_html_dirs_inst = $(WHITE_PAPER)
all: all-am

.SUFFIXES:
.SUFFIXES: .tex .pdf .pbm .pgm .ppm .png .cc .lo .o .obj
$(srcdir)/Makefile.in:  $(srcdir)/Makefile.am $(top_srcdir)/build-aux/tex.mk $(srcdir)/figures.mk $(srcdir)/examples.mk $(srcdir)/split-examples.mk $(srcdir)/programs-examples.mk $(srcdir)/outputs.mk $(srcdir)/examples-outputs.mk $(srcdir)/split-outputs.mk $(top_srcdir)/build-aux/regen-recursive.mk $(am__configure_deps)
	@for dep in $?; do \
	  case '$(am__configure_deps)' in \
	    *$$dep*) \
	      ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
	        && { if test -f $@; then exit 0; else break; fi; }; \
	      exit 1;; \
	  esac; \
	done; \
	echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu milena/doc/Makefile'; \
	$(am__cd) $(top_srcdir) && \
	  $(AUTOMAKE) --gnu milena/doc/Makefile
.PRECIOUS: Makefile
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
	@case '$?' in \
	  *config.status*) \
	    cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
	  *) \
	    echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
	    cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
	esac;

$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
	cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh

$(top_srcdir)/configure:  $(am__configure_deps)
	cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
$(ACLOCAL_M4):  $(am__aclocal_m4_deps)
	cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
$(am__aclocal_m4_deps):
examples/$(am__dirstamp):
	@$(MKDIR_P) examples
	@: > examples/$(am__dirstamp)
examples/$(DEPDIR)/$(am__dirstamp):
	@$(MKDIR_P) examples/$(DEPDIR)
	@: > examples/$(DEPDIR)/$(am__dirstamp)
examples/accu-right-instantiation.$(OBJEXT): examples/$(am__dirstamp) \
	examples/$(DEPDIR)/$(am__dirstamp)
accu-right-instantiation$(EXEEXT): $(accu_right_instantiation_OBJECTS) $(accu_right_instantiation_DEPENDENCIES) 
	@rm -f accu-right-instantiation$(EXEEXT)
	$(CXXLINK) $(accu_right_instantiation_OBJECTS) $(accu_right_instantiation_LDADD) $(LIBS)
examples/borderthickness.$(OBJEXT): examples/$(am__dirstamp) \
	examples/$(DEPDIR)/$(am__dirstamp)
borderthickness$(EXEEXT): $(borderthickness_OBJECTS) $(borderthickness_DEPENDENCIES) 
	@rm -f borderthickness$(EXEEXT)
	$(CXXLINK) $(borderthickness_OBJECTS) $(borderthickness_LDADD) $(LIBS)
examples/box2d-bbox.$(OBJEXT): examples/$(am__dirstamp) \
	examples/$(DEPDIR)/$(am__dirstamp)
box2d-bbox$(EXEEXT): $(box2d_bbox_OBJECTS) $(box2d_bbox_DEPENDENCIES) 
	@rm -f box2d-bbox$(EXEEXT)
	$(CXXLINK) $(box2d_bbox_OBJECTS) $(box2d_bbox_LDADD) $(LIBS)
examples/domain-display.$(OBJEXT): examples/$(am__dirstamp) \
	examples/$(DEPDIR)/$(am__dirstamp)
domain-display$(EXEEXT): $(domain_display_OBJECTS) $(domain_display_DEPENDENCIES) 
	@rm -f domain-display$(EXEEXT)
	$(CXXLINK) $(domain_display_OBJECTS) $(domain_display_LDADD) $(LIBS)
examples/dpoint-1.$(OBJEXT): examples/$(am__dirstamp) \
	examples/$(DEPDIR)/$(am__dirstamp)
dpoint-1$(EXEEXT): $(dpoint_1_OBJECTS) $(dpoint_1_DEPENDENCIES) 
	@rm -f dpoint-1$(EXEEXT)
	$(CXXLINK) $(dpoint_1_OBJECTS) $(dpoint_1_LDADD) $(LIBS)
examples/estim-sites.$(OBJEXT): examples/$(am__dirstamp) \
	examples/$(DEPDIR)/$(am__dirstamp)
estim-sites$(EXEEXT): $(estim_sites_OBJECTS) $(estim_sites_DEPENDENCIES) 
	@rm -f estim-sites$(EXEEXT)
	$(CXXLINK) $(estim_sites_OBJECTS) $(estim_sites_LDADD) $(LIBS)
examples/extend.$(OBJEXT): examples/$(am__dirstamp) \
	examples/$(DEPDIR)/$(am__dirstamp)
extend$(EXEEXT): $(extend_OBJECTS) $(extend_DEPENDENCIES) 
	@rm -f extend$(EXEEXT)
	$(CXXLINK) $(extend_OBJECTS) $(extend_LDADD) $(LIBS)
examples/extension-ignore.$(OBJEXT): examples/$(am__dirstamp) \
	examples/$(DEPDIR)/$(am__dirstamp)
extension-ignore$(EXEEXT): $(extension_ignore_OBJECTS) $(extension_ignore_DEPENDENCIES) 
	@rm -f extension-ignore$(EXEEXT)
	$(CXXLINK) $(extension_ignore_OBJECTS) $(extension_ignore_LDADD) $(LIBS)
examples/fill.$(OBJEXT): examples/$(am__dirstamp) \
	examples/$(DEPDIR)/$(am__dirstamp)
fill$(EXEEXT): $(fill_OBJECTS) $(fill_DEPENDENCIES) 
	@rm -f fill$(EXEEXT)
	$(CXXLINK) $(fill_OBJECTS) $(fill_LDADD) $(LIBS)
examples/fill-call-1.$(OBJEXT): examples/$(am__dirstamp) \
	examples/$(DEPDIR)/$(am__dirstamp)
fill-call-1$(EXEEXT): $(fill_call_1_OBJECTS) $(fill_call_1_DEPENDENCIES) 
	@rm -f fill-call-1$(EXEEXT)
	$(CXXLINK) $(fill_call_1_OBJECTS) $(fill_call_1_LDADD) $(LIBS)
examples/fill-imageif-cfun.$(OBJEXT): examples/$(am__dirstamp) \
	examples/$(DEPDIR)/$(am__dirstamp)
fill-imageif-cfun$(EXEEXT): $(fill_imageif_cfun_OBJECTS) $(fill_imageif_cfun_DEPENDENCIES) 
	@rm -f fill-imageif-cfun$(EXEEXT)
	$(CXXLINK) $(fill_imageif_cfun_OBJECTS) $(fill_imageif_cfun_LDADD) $(LIBS)
examples/fill-part-image.$(OBJEXT): examples/$(am__dirstamp) \
	examples/$(DEPDIR)/$(am__dirstamp)
fill-part-image$(EXEEXT): $(fill_part_image_OBJECTS) $(fill_part_image_DEPENDENCIES) 
	@rm -f fill-part-image$(EXEEXT)
	$(CXXLINK) $(fill_part_image_OBJECTS) $(fill_part_image_LDADD) $(LIBS)
examples/fill-subdomain.$(OBJEXT): examples/$(am__dirstamp) \
	examples/$(DEPDIR)/$(am__dirstamp)
fill-subdomain$(EXEEXT): $(fill_subdomain_OBJECTS) $(fill_subdomain_DEPENDENCIES) 
	@rm -f fill-subdomain$(EXEEXT)
	$(CXXLINK) $(fill_subdomain_OBJECTS) $(fill_subdomain_LDADD) $(LIBS)
examples/fill-subdomain-shorter.$(OBJEXT): examples/$(am__dirstamp) \
	examples/$(DEPDIR)/$(am__dirstamp)
fill-subdomain-shorter$(EXEEXT): $(fill_subdomain_shorter_OBJECTS) $(fill_subdomain_shorter_DEPENDENCIES) 
	@rm -f fill-subdomain-shorter$(EXEEXT)
	$(CXXLINK) $(fill_subdomain_shorter_OBJECTS) $(fill_subdomain_shorter_LDADD) $(LIBS)
examples/forall-piter.$(OBJEXT): examples/$(am__dirstamp) \
	examples/$(DEPDIR)/$(am__dirstamp)
forall-piter$(EXEEXT): $(forall_piter_OBJECTS) $(forall_piter_DEPENDENCIES) 
	@rm -f forall-piter$(EXEEXT)
	$(CXXLINK) $(forall_piter_OBJECTS) $(forall_piter_LDADD) $(LIBS)
examples/fun-p2v-1.$(OBJEXT): examples/$(am__dirstamp) \
	examples/$(DEPDIR)/$(am__dirstamp)
fun-p2v-1$(EXEEXT): $(fun_p2v_1_OBJECTS) $(fun_p2v_1_DEPENDENCIES) 
	@rm -f fun-p2v-1$(EXEEXT)
	$(CXXLINK) $(fun_p2v_1_OBJECTS) $(fun_p2v_1_LDADD) $(LIBS)
examples/graph-data.$(OBJEXT): examples/$(am__dirstamp) \
	examples/$(DEPDIR)/$(am__dirstamp)
graph-data$(EXEEXT): $(graph_data_OBJECTS) $(graph_data_DEPENDENCIES) 
	@rm -f graph-data$(EXEEXT)
	$(CXXLINK) $(graph_data_OBJECTS) $(graph_data_LDADD) $(LIBS)
examples/graph-iter.$(OBJEXT): examples/$(am__dirstamp) \
	examples/$(DEPDIR)/$(am__dirstamp)
graph-iter$(EXEEXT): $(graph_iter_OBJECTS) $(graph_iter_DEPENDENCIES) 
	@rm -f graph-iter$(EXEEXT)
	$(CXXLINK) $(graph_iter_OBJECTS) $(graph_iter_LDADD) $(LIBS)
examples/ima-has.$(OBJEXT): examples/$(am__dirstamp) \
	examples/$(DEPDIR)/$(am__dirstamp)
ima-has$(EXEEXT): $(ima_has_OBJECTS) $(ima_has_DEPENDENCIES) 
	@rm -f ima-has$(EXEEXT)
	$(CXXLINK) $(ima_has_OBJECTS) $(ima_has_LDADD) $(LIBS)
examples/ima-load.$(OBJEXT): examples/$(am__dirstamp) \
	examples/$(DEPDIR)/$(am__dirstamp)
ima-load$(EXEEXT): $(ima_load_OBJECTS) $(ima_load_DEPENDENCIES) 
	@rm -f ima-load$(EXEEXT)
	$(CXXLINK) $(ima_load_OBJECTS) $(ima_load_LDADD) $(LIBS)
examples/ima-save.$(OBJEXT): examples/$(am__dirstamp) \
	examples/$(DEPDIR)/$(am__dirstamp)
ima-save$(EXEEXT): $(ima_save_OBJECTS) $(ima_save_DEPENDENCIES) 
	@rm -f ima-save$(EXEEXT)
	$(CXXLINK) $(ima_save_OBJECTS) $(ima_save_LDADD) $(LIBS)
examples/ima-size.$(OBJEXT): examples/$(am__dirstamp) \
	examples/$(DEPDIR)/$(am__dirstamp)
ima-size$(EXEEXT): $(ima_size_OBJECTS) $(ima_size_DEPENDENCIES) 
	@rm -f ima-size$(EXEEXT)
	$(CXXLINK) $(ima_size_OBJECTS) $(ima_size_LDADD) $(LIBS)
examples/ima2d-1.$(OBJEXT): examples/$(am__dirstamp) \
	examples/$(DEPDIR)/$(am__dirstamp)
ima2d-1$(EXEEXT): $(ima2d_1_OBJECTS) $(ima2d_1_DEPENDENCIES) 
	@rm -f ima2d-1$(EXEEXT)
	$(CXXLINK) $(ima2d_1_OBJECTS) $(ima2d_1_LDADD) $(LIBS)
examples/ima2d-2.$(OBJEXT): examples/$(am__dirstamp) \
	examples/$(DEPDIR)/$(am__dirstamp)
ima2d-2$(EXEEXT): $(ima2d_2_OBJECTS) $(ima2d_2_DEPENDENCIES) 
	@rm -f ima2d-2$(EXEEXT)
	$(CXXLINK) $(ima2d_2_OBJECTS) $(ima2d_2_LDADD) $(LIBS)
examples/ima2d-3.$(OBJEXT): examples/$(am__dirstamp) \
	examples/$(DEPDIR)/$(am__dirstamp)
ima2d-3$(EXEEXT): $(ima2d_3_OBJECTS) $(ima2d_3_DEPENDENCIES) 
	@rm -f ima2d-3$(EXEEXT)
	$(CXXLINK) $(ima2d_3_OBJECTS) $(ima2d_3_LDADD) $(LIBS)
examples/ima2d-4.$(OBJEXT): examples/$(am__dirstamp) \
	examples/$(DEPDIR)/$(am__dirstamp)
ima2d-4$(EXEEXT): $(ima2d_4_OBJECTS) $(ima2d_4_DEPENDENCIES) 
	@rm -f ima2d-4$(EXEEXT)
	$(CXXLINK) $(ima2d_4_OBJECTS) $(ima2d_4_LDADD) $(LIBS)
examples/ima2d-5.$(OBJEXT): examples/$(am__dirstamp) \
	examples/$(DEPDIR)/$(am__dirstamp)
ima2d-5$(EXEEXT): $(ima2d_5_OBJECTS) $(ima2d_5_DEPENDENCIES) 
	@rm -f ima2d-5$(EXEEXT)
	$(CXXLINK) $(ima2d_5_OBJECTS) $(ima2d_5_LDADD) $(LIBS)
examples/ima2d-6-clone.$(OBJEXT): examples/$(am__dirstamp) \
	examples/$(DEPDIR)/$(am__dirstamp)
ima2d-6-clone$(EXEEXT): $(ima2d_6_clone_OBJECTS) $(ima2d_6_clone_DEPENDENCIES) 
	@rm -f ima2d-6-clone$(EXEEXT)
	$(CXXLINK) $(ima2d_6_clone_OBJECTS) $(ima2d_6_clone_LDADD) $(LIBS)
examples/ima2d-7.$(OBJEXT): examples/$(am__dirstamp) \
	examples/$(DEPDIR)/$(am__dirstamp)
ima2d-7$(EXEEXT): $(ima2d_7_OBJECTS) $(ima2d_7_DEPENDENCIES) 
	@rm -f ima2d-7$(EXEEXT)
	$(CXXLINK) $(ima2d_7_OBJECTS) $(ima2d_7_LDADD) $(LIBS)
examples/ima2d-rot.$(OBJEXT): examples/$(am__dirstamp) \
	examples/$(DEPDIR)/$(am__dirstamp)
ima2d-rot$(EXEEXT): $(ima2d_rot_OBJECTS) $(ima2d_rot_DEPENDENCIES) 
	@rm -f ima2d-rot$(EXEEXT)
	$(CXXLINK) $(ima2d_rot_OBJECTS) $(ima2d_rot_LDADD) $(LIBS)
examples/labeling-compute.$(OBJEXT): examples/$(am__dirstamp) \
	examples/$(DEPDIR)/$(am__dirstamp)
labeling-compute$(EXEEXT): $(labeling_compute_OBJECTS) $(labeling_compute_DEPENDENCIES) 
	@rm -f labeling-compute$(EXEEXT)
	$(CXXLINK) $(labeling_compute_OBJECTS) $(labeling_compute_LDADD) $(LIBS)
examples/logical-not.$(OBJEXT): examples/$(am__dirstamp) \
	examples/$(DEPDIR)/$(am__dirstamp)
logical-not$(EXEEXT): $(logical_not_OBJECTS) $(logical_not_DEPENDENCIES) 
	@rm -f logical-not$(EXEEXT)
	$(CXXLINK) $(logical_not_OBJECTS) $(logical_not_LDADD) $(LIBS)
examples/mln_var.$(OBJEXT): examples/$(am__dirstamp) \
	examples/$(DEPDIR)/$(am__dirstamp)
mln_var$(EXEEXT): $(mln_var_OBJECTS) $(mln_var_DEPENDENCIES) 
	@rm -f mln_var$(EXEEXT)
	$(CXXLINK) $(mln_var_OBJECTS) $(mln_var_LDADD) $(LIBS)
examples/parray-append.$(OBJEXT): examples/$(am__dirstamp) \
	examples/$(DEPDIR)/$(am__dirstamp)
parray-append$(EXEEXT): $(parray_append_OBJECTS) $(parray_append_DEPENDENCIES) 
	@rm -f parray-append$(EXEEXT)
	$(CXXLINK) $(parray_append_OBJECTS) $(parray_append_LDADD) $(LIBS)
examples/parray-bbox.$(OBJEXT): examples/$(am__dirstamp) \
	examples/$(DEPDIR)/$(am__dirstamp)
parray-bbox$(EXEEXT): $(parray_bbox_OBJECTS) $(parray_bbox_DEPENDENCIES) 
	@rm -f parray-bbox$(EXEEXT)
	$(CXXLINK) $(parray_bbox_OBJECTS) $(parray_bbox_LDADD) $(LIBS)
examples/paste.$(OBJEXT): examples/$(am__dirstamp) \
	examples/$(DEPDIR)/$(am__dirstamp)
paste$(EXEEXT): $(paste_OBJECTS) $(paste_DEPENDENCIES) 
	@rm -f paste$(EXEEXT)
	$(CXXLINK) $(paste_OBJECTS) $(paste_LDADD) $(LIBS)
examples/paste-call-1.$(OBJEXT): examples/$(am__dirstamp) \
	examples/$(DEPDIR)/$(am__dirstamp)
paste-call-1$(EXEEXT): $(paste_call_1_OBJECTS) $(paste_call_1_DEPENDENCIES) 
	@rm -f paste-call-1$(EXEEXT)
	$(CXXLINK) $(paste_call_1_OBJECTS) $(paste_call_1_LDADD) $(LIBS)
examples/point-1.$(OBJEXT): examples/$(am__dirstamp) \
	examples/$(DEPDIR)/$(am__dirstamp)
point-1$(EXEEXT): $(point_1_OBJECTS) $(point_1_DEPENDENCIES) 
	@rm -f point-1$(EXEEXT)
	$(CXXLINK) $(point_1_OBJECTS) $(point_1_LDADD) $(LIBS)
examples/predicate-1.$(OBJEXT): examples/$(am__dirstamp) \
	examples/$(DEPDIR)/$(am__dirstamp)
predicate-1$(EXEEXT): $(predicate_1_OBJECTS) $(predicate_1_DEPENDENCIES) 
	@rm -f predicate-1$(EXEEXT)
	$(CXXLINK) $(predicate_1_OBJECTS) $(predicate_1_LDADD) $(LIBS)
examples/tuto2_first_image.$(OBJEXT): examples/$(am__dirstamp) \
	examples/$(DEPDIR)/$(am__dirstamp)
tuto2_first_image$(EXEEXT): $(tuto2_first_image_OBJECTS) $(tuto2_first_image_DEPENDENCIES) 
	@rm -f tuto2_first_image$(EXEEXT)
	$(CXXLINK) $(tuto2_first_image_OBJECTS) $(tuto2_first_image_LDADD) $(LIBS)
examples/tuto3/$(am__dirstamp):
	@$(MKDIR_P) examples/tuto3
	@: > examples/tuto3/$(am__dirstamp)
examples/tuto3/$(DEPDIR)/$(am__dirstamp):
	@$(MKDIR_P) examples/tuto3/$(DEPDIR)
	@: > examples/tuto3/$(DEPDIR)/$(am__dirstamp)
examples/tuto3/colorize.$(OBJEXT): examples/tuto3/$(am__dirstamp) \
	examples/tuto3/$(DEPDIR)/$(am__dirstamp)
tuto3_colorize$(EXEEXT): $(tuto3_colorize_OBJECTS) $(tuto3_colorize_DEPENDENCIES) 
	@rm -f tuto3_colorize$(EXEEXT)
	$(CXXLINK) $(tuto3_colorize_OBJECTS) $(tuto3_colorize_LDADD) $(LIBS)
examples/tuto3/first_routine.$(OBJEXT):  \
	examples/tuto3/$(am__dirstamp) \
	examples/tuto3/$(DEPDIR)/$(am__dirstamp)
tuto3_first_routine$(EXEEXT): $(tuto3_first_routine_OBJECTS) $(tuto3_first_routine_DEPENDENCIES) 
	@rm -f tuto3_first_routine$(EXEEXT)
	$(CXXLINK) $(tuto3_first_routine_OBJECTS) $(tuto3_first_routine_LDADD) $(LIBS)
examples/tuto3/println.$(OBJEXT): examples/tuto3/$(am__dirstamp) \
	examples/tuto3/$(DEPDIR)/$(am__dirstamp)
tuto3_println$(EXEEXT): $(tuto3_println_OBJECTS) $(tuto3_println_DEPENDENCIES) 
	@rm -f tuto3_println$(EXEEXT)
	$(CXXLINK) $(tuto3_println_OBJECTS) $(tuto3_println_LDADD) $(LIBS)
examples/tuto3_rw_image.$(OBJEXT): examples/$(am__dirstamp) \
	examples/$(DEPDIR)/$(am__dirstamp)
tuto3_rw_image$(EXEEXT): $(tuto3_rw_image_OBJECTS) $(tuto3_rw_image_DEPENDENCIES) 
	@rm -f tuto3_rw_image$(EXEEXT)
	$(CXXLINK) $(tuto3_rw_image_OBJECTS) $(tuto3_rw_image_LDADD) $(LIBS)
examples/tuto3/trace.$(OBJEXT): examples/tuto3/$(am__dirstamp) \
	examples/tuto3/$(DEPDIR)/$(am__dirstamp)
tuto3_trace$(EXEEXT): $(tuto3_trace_OBJECTS) $(tuto3_trace_DEPENDENCIES) 
	@rm -f tuto3_trace$(EXEEXT)
	$(CXXLINK) $(tuto3_trace_OBJECTS) $(tuto3_trace_LDADD) $(LIBS)
examples/tuto4_genericity_and_algorithms.$(OBJEXT):  \
	examples/$(am__dirstamp) examples/$(DEPDIR)/$(am__dirstamp)
tuto4_genericity_and_algorithms$(EXEEXT): $(tuto4_genericity_and_algorithms_OBJECTS) $(tuto4_genericity_and_algorithms_DEPENDENCIES) 
	@rm -f tuto4_genericity_and_algorithms$(EXEEXT)
	$(CXXLINK) $(tuto4_genericity_and_algorithms_OBJECTS) $(tuto4_genericity_and_algorithms_LDADD) $(LIBS)
examples/tuto4/$(am__dirstamp):
	@$(MKDIR_P) examples/tuto4
	@: > examples/tuto4/$(am__dirstamp)
examples/tuto4/$(DEPDIR)/$(am__dirstamp):
	@$(MKDIR_P) examples/tuto4/$(DEPDIR)
	@: > examples/tuto4/$(DEPDIR)/$(am__dirstamp)
examples/tuto4/image.$(OBJEXT): examples/tuto4/$(am__dirstamp) \
	examples/tuto4/$(DEPDIR)/$(am__dirstamp)
tuto4_image$(EXEEXT): $(tuto4_image_OBJECTS) $(tuto4_image_DEPENDENCIES) 
	@rm -f tuto4_image$(EXEEXT)
	$(CXXLINK) $(tuto4_image_OBJECTS) $(tuto4_image_LDADD) $(LIBS)
examples/tuto4/point2d.$(OBJEXT): examples/tuto4/$(am__dirstamp) \
	examples/tuto4/$(DEPDIR)/$(am__dirstamp)
tuto4_point2d$(EXEEXT): $(tuto4_point2d_OBJECTS) $(tuto4_point2d_DEPENDENCIES) 
	@rm -f tuto4_point2d$(EXEEXT)
	$(CXXLINK) $(tuto4_point2d_OBJECTS) $(tuto4_point2d_LDADD) $(LIBS)
examples/tuto4/site_set_create.$(OBJEXT):  \
	examples/tuto4/$(am__dirstamp) \
	examples/tuto4/$(DEPDIR)/$(am__dirstamp)
tuto4_site_set_create$(EXEEXT): $(tuto4_site_set_create_OBJECTS) $(tuto4_site_set_create_DEPENDENCIES) 
	@rm -f tuto4_site_set_create$(EXEEXT)
	$(CXXLINK) $(tuto4_site_set_create_OBJECTS) $(tuto4_site_set_create_LDADD) $(LIBS)
examples/win-create-1.$(OBJEXT): examples/$(am__dirstamp) \
	examples/$(DEPDIR)/$(am__dirstamp)
win-create-1$(EXEEXT): $(win_create_1_OBJECTS) $(win_create_1_DEPENDENCIES) 
	@rm -f win-create-1$(EXEEXT)
	$(CXXLINK) $(win_create_1_OBJECTS) $(win_create_1_LDADD) $(LIBS)
examples/win-create-2.$(OBJEXT): examples/$(am__dirstamp) \
	examples/$(DEPDIR)/$(am__dirstamp)
win-create-2$(EXEEXT): $(win_create_2_OBJECTS) $(win_create_2_DEPENDENCIES) 
	@rm -f win-create-2$(EXEEXT)
	$(CXXLINK) $(win_create_2_OBJECTS) $(win_create_2_LDADD) $(LIBS)

mostlyclean-compile:
	-rm -f *.$(OBJEXT)
	-rm -f examples/accu-right-instantiation.$(OBJEXT)
	-rm -f examples/borderthickness.$(OBJEXT)
	-rm -f examples/box2d-bbox.$(OBJEXT)
	-rm -f examples/domain-display.$(OBJEXT)
	-rm -f examples/dpoint-1.$(OBJEXT)
	-rm -f examples/estim-sites.$(OBJEXT)
	-rm -f examples/extend.$(OBJEXT)
	-rm -f examples/extension-ignore.$(OBJEXT)
	-rm -f examples/fill-call-1.$(OBJEXT)
	-rm -f examples/fill-imageif-cfun.$(OBJEXT)
	-rm -f examples/fill-part-image.$(OBJEXT)
	-rm -f examples/fill-subdomain-shorter.$(OBJEXT)
	-rm -f examples/fill-subdomain.$(OBJEXT)
	-rm -f examples/fill.$(OBJEXT)
	-rm -f examples/forall-piter.$(OBJEXT)
	-rm -f examples/fun-p2v-1.$(OBJEXT)
	-rm -f examples/graph-data.$(OBJEXT)
	-rm -f examples/graph-iter.$(OBJEXT)
	-rm -f examples/ima-has.$(OBJEXT)
	-rm -f examples/ima-load.$(OBJEXT)
	-rm -f examples/ima-save.$(OBJEXT)
	-rm -f examples/ima-size.$(OBJEXT)
	-rm -f examples/ima2d-1.$(OBJEXT)
	-rm -f examples/ima2d-2.$(OBJEXT)
	-rm -f examples/ima2d-3.$(OBJEXT)
	-rm -f examples/ima2d-4.$(OBJEXT)
	-rm -f examples/ima2d-5.$(OBJEXT)
	-rm -f examples/ima2d-6-clone.$(OBJEXT)
	-rm -f examples/ima2d-7.$(OBJEXT)
	-rm -f examples/ima2d-rot.$(OBJEXT)
	-rm -f examples/labeling-compute.$(OBJEXT)
	-rm -f examples/logical-not.$(OBJEXT)
	-rm -f examples/mln_var.$(OBJEXT)
	-rm -f examples/parray-append.$(OBJEXT)
	-rm -f examples/parray-bbox.$(OBJEXT)
	-rm -f examples/paste-call-1.$(OBJEXT)
	-rm -f examples/paste.$(OBJEXT)
	-rm -f examples/point-1.$(OBJEXT)
	-rm -f examples/predicate-1.$(OBJEXT)
	-rm -f examples/tuto2_first_image.$(OBJEXT)
	-rm -f examples/tuto3/colorize.$(OBJEXT)
	-rm -f examples/tuto3/first_routine.$(OBJEXT)
	-rm -f examples/tuto3/println.$(OBJEXT)
	-rm -f examples/tuto3/trace.$(OBJEXT)
	-rm -f examples/tuto3_rw_image.$(OBJEXT)
	-rm -f examples/tuto4/image.$(OBJEXT)
	-rm -f examples/tuto4/point2d.$(OBJEXT)
	-rm -f examples/tuto4/site_set_create.$(OBJEXT)
	-rm -f examples/tuto4_genericity_and_algorithms.$(OBJEXT)
	-rm -f examples/win-create-1.$(OBJEXT)
	-rm -f examples/win-create-2.$(OBJEXT)

distclean-compile:
	-rm -f *.tab.c

@AMDEP_TRUE@@am__include@ @am__quote@examples/$(DEPDIR)/accu-right-instantiation.Po@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@examples/$(DEPDIR)/borderthickness.Po@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@examples/$(DEPDIR)/box2d-bbox.Po@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@examples/$(DEPDIR)/domain-display.Po@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@examples/$(DEPDIR)/dpoint-1.Po@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@examples/$(DEPDIR)/estim-sites.Po@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@examples/$(DEPDIR)/extend.Po@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@examples/$(DEPDIR)/extension-ignore.Po@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@examples/$(DEPDIR)/fill-call-1.Po@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@examples/$(DEPDIR)/fill-imageif-cfun.Po@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@examples/$(DEPDIR)/fill-part-image.Po@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@examples/$(DEPDIR)/fill-subdomain-shorter.Po@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@examples/$(DEPDIR)/fill-subdomain.Po@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@examples/$(DEPDIR)/fill.Po@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@examples/$(DEPDIR)/forall-piter.Po@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@examples/$(DEPDIR)/fun-p2v-1.Po@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@examples/$(DEPDIR)/graph-data.Po@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@examples/$(DEPDIR)/graph-iter.Po@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@examples/$(DEPDIR)/ima-has.Po@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@examples/$(DEPDIR)/ima-load.Po@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@examples/$(DEPDIR)/ima-save.Po@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@examples/$(DEPDIR)/ima-size.Po@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@examples/$(DEPDIR)/ima2d-1.Po@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@examples/$(DEPDIR)/ima2d-2.Po@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@examples/$(DEPDIR)/ima2d-3.Po@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@examples/$(DEPDIR)/ima2d-4.Po@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@examples/$(DEPDIR)/ima2d-5.Po@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@examples/$(DEPDIR)/ima2d-6-clone.Po@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@examples/$(DEPDIR)/ima2d-7.Po@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@examples/$(DEPDIR)/ima2d-rot.Po@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@examples/$(DEPDIR)/labeling-compute.Po@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@examples/$(DEPDIR)/logical-not.Po@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@examples/$(DEPDIR)/mln_var.Po@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@examples/$(DEPDIR)/parray-append.Po@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@examples/$(DEPDIR)/parray-bbox.Po@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@examples/$(DEPDIR)/paste-call-1.Po@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@examples/$(DEPDIR)/paste.Po@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@examples/$(DEPDIR)/point-1.Po@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@examples/$(DEPDIR)/predicate-1.Po@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@examples/$(DEPDIR)/tuto2_first_image.Po@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@examples/$(DEPDIR)/tuto3_rw_image.Po@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@examples/$(DEPDIR)/tuto4_genericity_and_algorithms.Po@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@examples/$(DEPDIR)/win-create-1.Po@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@examples/$(DEPDIR)/win-create-2.Po@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@examples/tuto3/$(DEPDIR)/colorize.Po@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@examples/tuto3/$(DEPDIR)/first_routine.Po@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@examples/tuto3/$(DEPDIR)/println.Po@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@examples/tuto3/$(DEPDIR)/trace.Po@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@examples/tuto4/$(DEPDIR)/image.Po@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@examples/tuto4/$(DEPDIR)/point2d.Po@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@examples/tuto4/$(DEPDIR)/site_set_create.Po@am__quote@

.cc.o:
@am__fastdepCXX_TRUE@	depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.o$$||'`;\
@am__fastdepCXX_TRUE@	$(CXXCOMPILE) -MT $@ -MD -MP -MF $$depbase.Tpo -c -o $@ $< &&\
@am__fastdepCXX_TRUE@	$(am__mv) $$depbase.Tpo $$depbase.Po
@AMDEP_TRUE@@am__fastdepCXX_FALSE@	source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
@AMDEP_TRUE@@am__fastdepCXX_FALSE@	DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
@am__fastdepCXX_FALSE@	$(CXXCOMPILE) -c -o $@ $<

.cc.obj:
@am__fastdepCXX_TRUE@	depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.obj$$||'`;\
@am__fastdepCXX_TRUE@	$(CXXCOMPILE) -MT $@ -MD -MP -MF $$depbase.Tpo -c -o $@ `$(CYGPATH_W) '$<'` &&\
@am__fastdepCXX_TRUE@	$(am__mv) $$depbase.Tpo $$depbase.Po
@AMDEP_TRUE@@am__fastdepCXX_FALSE@	source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
@AMDEP_TRUE@@am__fastdepCXX_FALSE@	DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
@am__fastdepCXX_FALSE@	$(CXXCOMPILE) -c -o $@ `$(CYGPATH_W) '$<'`

.cc.lo:
@am__fastdepCXX_TRUE@	depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.lo$$||'`;\
@am__fastdepCXX_TRUE@	$(LTCXXCOMPILE) -MT $@ -MD -MP -MF $$depbase.Tpo -c -o $@ $< &&\
@am__fastdepCXX_TRUE@	$(am__mv) $$depbase.Tpo $$depbase.Plo
@AMDEP_TRUE@@am__fastdepCXX_FALSE@	source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@
@AMDEP_TRUE@@am__fastdepCXX_FALSE@	DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
@am__fastdepCXX_FALSE@	$(LTCXXCOMPILE) -c -o $@ $<

mostlyclean-libtool:
	-rm -f *.lo

clean-libtool:
	-rm -rf .libs _libs
install-dist_pdfDATA: $(dist_pdf_DATA)
	@$(NORMAL_INSTALL)
	test -z "$(pdfdir)" || $(MKDIR_P) "$(DESTDIR)$(pdfdir)"
	@list='$(dist_pdf_DATA)'; test -n "$(pdfdir)" || list=; \
	for p in $$list; do \
	  if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
	  echo "$$d$$p"; \
	done | $(am__base_list) | \
	while read files; do \
	  echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(pdfdir)'"; \
	  $(INSTALL_DATA) $$files "$(DESTDIR)$(pdfdir)" || exit $$?; \
	done

uninstall-dist_pdfDATA:
	@$(NORMAL_UNINSTALL)
	@list='$(dist_pdf_DATA)'; test -n "$(pdfdir)" || list=; \
	files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
	test -n "$$files" || exit 0; \
	echo " ( cd '$(DESTDIR)$(pdfdir)' && rm -f" $$files ")"; \
	cd "$(DESTDIR)$(pdfdir)" && rm -f $$files

ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
	list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
	unique=`for i in $$list; do \
	    if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
	  done | \
	  $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
	      END { if (nonempty) { for (i in files) print i; }; }'`; \
	mkid -fID $$unique
tags: TAGS

TAGS:  $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
		$(TAGS_FILES) $(LISP)
	set x; \
	here=`pwd`; \
	list='$(SOURCES) $(HEADERS)  $(LISP) $(TAGS_FILES)'; \
	unique=`for i in $$list; do \
	    if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
	  done | \
	  $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
	      END { if (nonempty) { for (i in files) print i; }; }'`; \
	shift; \
	if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
	  test -n "$$unique" || unique=$$empty_fix; \
	  if test $$# -gt 0; then \
	    $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
	      "$$@" $$unique; \
	  else \
	    $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
	      $$unique; \
	  fi; \
	fi
ctags: CTAGS
CTAGS:  $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
		$(TAGS_FILES) $(LISP)
	list='$(SOURCES) $(HEADERS)  $(LISP) $(TAGS_FILES)'; \
	unique=`for i in $$list; do \
	    if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
	  done | \
	  $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
	      END { if (nonempty) { for (i in files) print i; }; }'`; \
	test -z "$(CTAGS_ARGS)$$unique" \
	  || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
	     $$unique

GTAGS:
	here=`$(am__cd) $(top_builddir) && pwd` \
	  && $(am__cd) $(top_srcdir) \
	  && gtags -i $(GTAGS_ARGS) "$$here"

distclean-tags:
	-rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags

distdir: $(DISTFILES)
	@srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
	topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
	list='$(DISTFILES)'; \
	  dist_files=`for file in $$list; do echo $$file; done | \
	  sed -e "s|^$$srcdirstrip/||;t" \
	      -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
	case $$dist_files in \
	  */*) $(MKDIR_P) `echo "$$dist_files" | \
			   sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
			   sort -u` ;; \
	esac; \
	for file in $$dist_files; do \
	  if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
	  if test -d $$d/$$file; then \
	    dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
	    if test -d "$(distdir)/$$file"; then \
	      find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
	    fi; \
	    if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
	      cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
	      find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
	    fi; \
	    cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
	  else \
	    test -f "$(distdir)/$$file" \
	    || cp -p $$d/$$file "$(distdir)/$$file" \
	    || exit 1; \
	  fi; \
	done
check-am: all-am
check: check-am
all-am: Makefile $(DATA) all-local
installdirs:
	for dir in "$(DESTDIR)$(pdfdir)"; do \
	  test -z "$$dir" || $(MKDIR_P) "$$dir"; \
	done
install: install-am
install-exec: install-exec-am
install-data: install-data-am
uninstall: uninstall-am

install-am: all-am
	@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am

installcheck: installcheck-am
install-strip:
	$(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
	  install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
	  `test -z '$(STRIP)' || \
	    echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
mostlyclean-generic:

clean-generic:
	-test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)

distclean-generic:
	-test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
	-test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
	-rm -f examples/$(DEPDIR)/$(am__dirstamp)
	-rm -f examples/$(am__dirstamp)
	-rm -f examples/tuto3/$(DEPDIR)/$(am__dirstamp)
	-rm -f examples/tuto3/$(am__dirstamp)
	-rm -f examples/tuto4/$(DEPDIR)/$(am__dirstamp)
	-rm -f examples/tuto4/$(am__dirstamp)

maintainer-clean-generic:
	@echo "This command is intended for maintainers to use"
	@echo "it deletes files that may require special tools to rebuild."
	-test -z "$(MAINTAINERCLEANFILES)" || rm -f $(MAINTAINERCLEANFILES)
clean: clean-am

clean-am: clean-generic clean-libtool mostlyclean-am

distclean: distclean-am
	-rm -rf examples/$(DEPDIR) examples/tuto3/$(DEPDIR) examples/tuto4/$(DEPDIR)
	-rm -f Makefile
distclean-am: clean-am distclean-compile distclean-generic \
	distclean-tags

dvi: dvi-am

dvi-am:

html: html-am

html-am:

info: info-am

info-am:

install-data-am: install-data-local install-dist_pdfDATA

install-dvi: install-dvi-am

install-dvi-am:

install-exec-am:

install-html: install-html-am

install-html-am:

install-info: install-info-am

install-info-am:

install-man:

install-pdf: install-pdf-am

install-pdf-am:

install-ps: install-ps-am

install-ps-am:

installcheck-am:

maintainer-clean: maintainer-clean-am
	-rm -rf examples/$(DEPDIR) examples/tuto3/$(DEPDIR) examples/tuto4/$(DEPDIR)
	-rm -f Makefile
maintainer-clean-am: distclean-am maintainer-clean-generic \
	maintainer-clean-local

mostlyclean: mostlyclean-am

mostlyclean-am: mostlyclean-compile mostlyclean-generic \
	mostlyclean-libtool mostlyclean-local

pdf: pdf-am

pdf-am:

ps: ps-am

ps-am:

uninstall-am: uninstall-dist_pdfDATA uninstall-local

.MAKE: install-am install-strip

.PHONY: CTAGS GTAGS all all-am all-local check check-am clean \
	clean-generic clean-libtool ctags distclean distclean-compile \
	distclean-generic distclean-libtool distclean-tags distdir dvi \
	dvi-am html html-am info info-am install install-am \
	install-data install-data-am install-data-local \
	install-dist_pdfDATA install-dvi install-dvi-am install-exec \
	install-exec-am install-html install-html-am install-info \
	install-info-am install-man install-pdf install-pdf-am \
	install-ps install-ps-am install-strip installcheck \
	installcheck-am installdirs maintainer-clean \
	maintainer-clean-generic maintainer-clean-local mostlyclean \
	mostlyclean-compile mostlyclean-generic mostlyclean-libtool \
	mostlyclean-local pdf pdf-am ps ps-am tags uninstall \
	uninstall-am uninstall-dist_pdfDATA uninstall-local


.tex.pdf:
	$(TEXI2PDF) $(TEXI2PDF_FLAGS) -o $@ $<

tex-mostlyclean:
	rm -rf tmp.t2d
.PHONY: tex-mostlyclean
# mostlyclean-local is an Automake special target.
mostlyclean-local: tex-mostlyclean
.PHONY: mostlyclean-local
$(srcdir)/figures.mk: $(srcdir)/gen-figures-mk
	rm -f $@.tmp
	cd $(srcdir) && ./gen-figures-mk >figures.mk.tmp
	mv -f $@.tmp $@
	chmod -w $@
$(EXTEND_FIGURES): $(srcdir)/examples/extend.stamp
	@if test -f $@; then :; else \
	  rm -f $<; \
	  $(MAKE) $(AM_MAKEFLAGS) $<; \
	fi
$(FILL_FIGURES): $(srcdir)/examples/fill.stamp
	@if test -f $@; then :; else \
	  rm -f $<; \
	  $(MAKE) $(AM_MAKEFLAGS) $<; \
	fi
$(FILL_IMAGEIF_CFUN_FIGURES): $(srcdir)/examples/fill-imageif-cfun.stamp
	@if test -f $@; then :; else \
	  rm -f $<; \
	  $(MAKE) $(AM_MAKEFLAGS) $<; \
	fi
$(FILL_SUBDOMAIN_FIGURES): $(srcdir)/examples/fill-subdomain.stamp
	@if test -f $@; then :; else \
	  rm -f $<; \
	  $(MAKE) $(AM_MAKEFLAGS) $<; \
	fi
$(IMA_SAVE_FIGURES): $(srcdir)/examples/ima-save.stamp
	@if test -f $@; then :; else \
	  rm -f $<; \
	  $(MAKE) $(AM_MAKEFLAGS) $<; \
	fi
$(IMA2D_ROT_FIGURES): $(srcdir)/examples/ima2d-rot.stamp
	@if test -f $@; then :; else \
	  rm -f $<; \
	  $(MAKE) $(AM_MAKEFLAGS) $<; \
	fi
$(LABELING_COMPUTE_FIGURES): $(srcdir)/examples/labeling-compute.stamp
	@if test -f $@; then :; else \
	  rm -f $<; \
	  $(MAKE) $(AM_MAKEFLAGS) $<; \
	fi
$(LOGICAL_NOT_FIGURES): $(srcdir)/examples/logical-not.stamp
	@if test -f $@; then :; else \
	  rm -f $<; \
	  $(MAKE) $(AM_MAKEFLAGS) $<; \
	fi
$(TUTO2_FIRST_IMAGE_FIGURES): $(srcdir)/examples/tuto2_first_image.stamp
	@if test -f $@; then :; else \
	  rm -f $<; \
	  $(MAKE) $(AM_MAKEFLAGS) $<; \
	fi
$(TUTO3_COLORIZE_FIGURES): $(srcdir)/examples/tuto3/colorize.stamp
	@if test -f $@; then :; else \
	  rm -f $<; \
	  $(MAKE) $(AM_MAKEFLAGS) $<; \
	fi
$(TUTO3_RW_IMAGE_FIGURES): $(srcdir)/examples/tuto3_rw_image.stamp
	@if test -f $@; then :; else \
	  rm -f $<; \
	  $(MAKE) $(AM_MAKEFLAGS) $<; \
	fi
$(TUTO4_GENERICITY_AND_ALGORITHMS_FIGURES): $(srcdir)/examples/tuto4_genericity_and_algorithms.stamp
	@if test -f $@; then :; else \
	  rm -f $<; \
	  $(MAKE) $(AM_MAKEFLAGS) $<; \
	fi

.PHONY: regen-figures-mk
regen-figures-mk:
	rm -f $(srcdir)/figures.mk.tmp
	cd $(srcdir) && ./gen-figures-mk >figures.mk.tmp
	mv -f $(srcdir)/figures.mk.tmp $(srcdir)/figures.mk
	chmod -w $(srcdir)/figures.mk

.pbm.png:
	$(convert_to_png) $< $@

.pgm.png:
	$(convert_to_png) $< $@

.ppm.png:
	$(convert_to_png) $< $@

$(srcdir)/examples.mk: $(srcdir)/gen-make-variable
	rm -f $@.tmp
	$(srcdir)/gen-make-variable EXAMPLES	\
	  `find $(srcdir)/examples -name '*.cc'	\
	     | sed 's,^$(srcdir),\$$(srcdir),'`	\
	  >$@.tmp
	mv -f $@.tmp $@
	chmod -w $@

.PHONY: regen-examples-mk
regen-examples-mk:
	rm -f $(srcdir)/examples.mk.tmp
	$(srcdir)/gen-make-variable EXAMPLES	\
	  `find $(srcdir)/examples -name '*.cc'	\
	     | sed 's,^$(srcdir),\$$(srcdir),'`	\
	  >$(srcdir)/examples.mk.tmp
	mv -f $(srcdir)/examples.mk.tmp $(srcdir)/examples.mk
	chmod -w $(srcdir)/examples.mk
$(srcdir)/split-examples.mk: $(srcdir)/gen-split-examples-mk
	rm -f $@.tmp
	cd $(srcdir) && ./gen-split-examples-mk >split-examples.mk.tmp
	mv -f $@.tmp $@
	chmod -w $@

$(srcdir)/examples/split/accu-right-instantiation.cc.stamp: $(srcdir)/examples/accu-right-instantiation.cc
	@rm -f $@.tmp
	@touch $@.tmp
	$(srcdir)/tools/split_sample.sh $< cc raw $(srcdir)/examples/split
	@mv -f $@.tmp $@

$(srcdir)/examples/split/accu-right-instantiation-1.cc.raw: $(srcdir)/examples/split/accu-right-instantiation.cc.stamp
	@if test -f $@; then :; else \
	  rm -f $<; \
	  $(MAKE) $(AM_MAKEFLAGS) $<; \
	fi

$(srcdir)/examples/split/borderthickness.cc.stamp: $(srcdir)/examples/borderthickness.cc
	@rm -f $@.tmp
	@touch $@.tmp
	$(srcdir)/tools/split_sample.sh $< cc raw $(srcdir)/examples/split
	@mv -f $@.tmp $@

$(srcdir)/examples/split/borderthickness-1.cc.raw: $(srcdir)/examples/split/borderthickness.cc.stamp
	@if test -f $@; then :; else \
	  rm -f $<; \
	  $(MAKE) $(AM_MAKEFLAGS) $<; \
	fi

$(srcdir)/examples/split/box2d-bbox.cc.stamp: $(srcdir)/examples/box2d-bbox.cc
	@rm -f $@.tmp
	@touch $@.tmp
	$(srcdir)/tools/split_sample.sh $< cc raw $(srcdir)/examples/split
	@mv -f $@.tmp $@

$(srcdir)/examples/split/box2d-bbox-1.cc.raw: $(srcdir)/examples/split/box2d-bbox.cc.stamp
	@if test -f $@; then :; else \
	  rm -f $<; \
	  $(MAKE) $(AM_MAKEFLAGS) $<; \
	fi

$(srcdir)/examples/split/domain-display.cc.stamp: $(srcdir)/examples/domain-display.cc
	@rm -f $@.tmp
	@touch $@.tmp
	$(srcdir)/tools/split_sample.sh $< cc raw $(srcdir)/examples/split
	@mv -f $@.tmp $@

$(srcdir)/examples/split/domain-display-1.cc.raw: $(srcdir)/examples/split/domain-display.cc.stamp
	@if test -f $@; then :; else \
	  rm -f $<; \
	  $(MAKE) $(AM_MAKEFLAGS) $<; \
	fi

$(srcdir)/examples/split/dpoint-1.cc.stamp: $(srcdir)/examples/dpoint-1.cc
	@rm -f $@.tmp
	@touch $@.tmp
	$(srcdir)/tools/split_sample.sh $< cc raw $(srcdir)/examples/split
	@mv -f $@.tmp $@

$(srcdir)/examples/split/dpoint-1-1.cc.raw: $(srcdir)/examples/split/dpoint-1.cc.stamp
	@if test -f $@; then :; else \
	  rm -f $<; \
	  $(MAKE) $(AM_MAKEFLAGS) $<; \
	fi

$(srcdir)/examples/split/estim-sites.cc.stamp: $(srcdir)/examples/estim-sites.cc
	@rm -f $@.tmp
	@touch $@.tmp
	$(srcdir)/tools/split_sample.sh $< cc raw $(srcdir)/examples/split
	@mv -f $@.tmp $@

$(srcdir)/examples/split/estim-sites-1.cc.raw: $(srcdir)/examples/split/estim-sites.cc.stamp
	@if test -f $@; then :; else \
	  rm -f $<; \
	  $(MAKE) $(AM_MAKEFLAGS) $<; \
	fi

$(srcdir)/examples/split/extend.cc.stamp: $(srcdir)/examples/extend.cc
	@rm -f $@.tmp
	@touch $@.tmp
	$(srcdir)/tools/split_sample.sh $< cc raw $(srcdir)/examples/split
	@mv -f $@.tmp $@

$(srcdir)/examples/split/extend-1.cc.raw $(srcdir)/examples/split/extend-2.cc.raw $(srcdir)/examples/split/extend-3.cc.raw $(srcdir)/examples/split/extend-4.cc.raw $(srcdir)/examples/split/extend-5.cc.raw: $(srcdir)/examples/split/extend.cc.stamp
	@if test -f $@; then :; else \
	  rm -f $<; \
	  $(MAKE) $(AM_MAKEFLAGS) $<; \
	fi

$(srcdir)/examples/split/extension-ignore.cc.stamp: $(srcdir)/examples/extension-ignore.cc
	@rm -f $@.tmp
	@touch $@.tmp
	$(srcdir)/tools/split_sample.sh $< cc raw $(srcdir)/examples/split
	@mv -f $@.tmp $@

$(srcdir)/examples/split/extension-ignore-1.cc.raw: $(srcdir)/examples/split/extension-ignore.cc.stamp
	@if test -f $@; then :; else \
	  rm -f $<; \
	  $(MAKE) $(AM_MAKEFLAGS) $<; \
	fi

$(srcdir)/examples/split/fill.cc.stamp: $(srcdir)/examples/fill.cc
	@rm -f $@.tmp
	@touch $@.tmp
	$(srcdir)/tools/split_sample.sh $< cc raw $(srcdir)/examples/split
	@mv -f $@.tmp $@

$(srcdir)/examples/split/fill-1.cc.raw $(srcdir)/examples/split/fill-2.cc.raw $(srcdir)/examples/split/fill-3.cc.raw: $(srcdir)/examples/split/fill.cc.stamp
	@if test -f $@; then :; else \
	  rm -f $<; \
	  $(MAKE) $(AM_MAKEFLAGS) $<; \
	fi

$(srcdir)/examples/split/fill-call-1.cc.stamp: $(srcdir)/examples/fill-call-1.cc
	@rm -f $@.tmp
	@touch $@.tmp
	$(srcdir)/tools/split_sample.sh $< cc raw $(srcdir)/examples/split
	@mv -f $@.tmp $@

$(srcdir)/examples/split/fill-call-1-1.cc.raw $(srcdir)/examples/split/fill-call-1-2.cc.raw $(srcdir)/examples/split/fill-call-1-3.cc.raw: $(srcdir)/examples/split/fill-call-1.cc.stamp
	@if test -f $@; then :; else \
	  rm -f $<; \
	  $(MAKE) $(AM_MAKEFLAGS) $<; \
	fi

$(srcdir)/examples/split/fill-imageif-cfun.cc.stamp: $(srcdir)/examples/fill-imageif-cfun.cc
	@rm -f $@.tmp
	@touch $@.tmp
	$(srcdir)/tools/split_sample.sh $< cc raw $(srcdir)/examples/split
	@mv -f $@.tmp $@

$(srcdir)/examples/split/fill-imageif-cfun-1.cc.raw $(srcdir)/examples/split/fill-imageif-cfun-2.cc.raw $(srcdir)/examples/split/fill-imageif-cfun-3.cc.raw: $(srcdir)/examples/split/fill-imageif-cfun.cc.stamp
	@if test -f $@; then :; else \
	  rm -f $<; \
	  $(MAKE) $(AM_MAKEFLAGS) $<; \
	fi

$(srcdir)/examples/split/fill-part-image.cc.stamp: $(srcdir)/examples/fill-part-image.cc
	@rm -f $@.tmp
	@touch $@.tmp
	$(srcdir)/tools/split_sample.sh $< cc raw $(srcdir)/examples/split
	@mv -f $@.tmp $@

$(srcdir)/examples/split/fill-part-image-1.cc.raw $(srcdir)/examples/split/fill-part-image-2.cc.raw: $(srcdir)/examples/split/fill-part-image.cc.stamp
	@if test -f $@; then :; else \
	  rm -f $<; \
	  $(MAKE) $(AM_MAKEFLAGS) $<; \
	fi

$(srcdir)/examples/split/fill-subdomain.cc.stamp: $(srcdir)/examples/fill-subdomain.cc
	@rm -f $@.tmp
	@touch $@.tmp
	$(srcdir)/tools/split_sample.sh $< cc raw $(srcdir)/examples/split
	@mv -f $@.tmp $@

$(srcdir)/examples/split/fill-subdomain-1.cc.raw $(srcdir)/examples/split/fill-subdomain-2.cc.raw $(srcdir)/examples/split/fill-subdomain-3.cc.raw $(srcdir)/examples/split/fill-subdomain-4.cc.raw: $(srcdir)/examples/split/fill-subdomain.cc.stamp
	@if test -f $@; then :; else \
	  rm -f $<; \
	  $(MAKE) $(AM_MAKEFLAGS) $<; \
	fi

$(srcdir)/examples/split/fill-subdomain-shorter.cc.stamp: $(srcdir)/examples/fill-subdomain-shorter.cc
	@rm -f $@.tmp
	@touch $@.tmp
	$(srcdir)/tools/split_sample.sh $< cc raw $(srcdir)/examples/split
	@mv -f $@.tmp $@

$(srcdir)/examples/split/fill-subdomain-shorter-1.cc.raw $(srcdir)/examples/split/fill-subdomain-shorter-2.cc.raw: $(srcdir)/examples/split/fill-subdomain-shorter.cc.stamp
	@if test -f $@; then :; else \
	  rm -f $<; \
	  $(MAKE) $(AM_MAKEFLAGS) $<; \
	fi

$(srcdir)/examples/split/forall-piter.cc.stamp: $(srcdir)/examples/forall-piter.cc
	@rm -f $@.tmp
	@touch $@.tmp
	$(srcdir)/tools/split_sample.sh $< cc raw $(srcdir)/examples/split
	@mv -f $@.tmp $@

$(srcdir)/examples/split/forall-piter-1.cc.raw: $(srcdir)/examples/split/forall-piter.cc.stamp
	@if test -f $@; then :; else \
	  rm -f $<; \
	  $(MAKE) $(AM_MAKEFLAGS) $<; \
	fi

$(srcdir)/examples/split/fun-p2v-1.cc.stamp: $(srcdir)/examples/fun-p2v-1.cc
	@rm -f $@.tmp
	@touch $@.tmp
	$(srcdir)/tools/split_sample.sh $< cc raw $(srcdir)/examples/split
	@mv -f $@.tmp $@

$(srcdir)/examples/split/fun-p2v-1-1.cc.raw: $(srcdir)/examples/split/fun-p2v-1.cc.stamp
	@if test -f $@; then :; else \
	  rm -f $<; \
	  $(MAKE) $(AM_MAKEFLAGS) $<; \
	fi

$(srcdir)/examples/split/graph-data.cc.stamp: $(srcdir)/examples/graph-data.cc
	@rm -f $@.tmp
	@touch $@.tmp
	$(srcdir)/tools/split_sample.sh $< cc raw $(srcdir)/examples/split
	@mv -f $@.tmp $@

$(srcdir)/examples/split/graph-data-1.cc.raw $(srcdir)/examples/split/graph-data-2.cc.raw $(srcdir)/examples/split/graph-data-3.cc.raw $(srcdir)/examples/split/graph-data-4.cc.raw $(srcdir)/examples/split/graph-data-5.cc.raw $(srcdir)/examples/split/graph-data-6.cc.raw: $(srcdir)/examples/split/graph-data.cc.stamp
	@if test -f $@; then :; else \
	  rm -f $<; \
	  $(MAKE) $(AM_MAKEFLAGS) $<; \
	fi

$(srcdir)/examples/split/graph-iter.cc.stamp: $(srcdir)/examples/graph-iter.cc
	@rm -f $@.tmp
	@touch $@.tmp
	$(srcdir)/tools/split_sample.sh $< cc raw $(srcdir)/examples/split
	@mv -f $@.tmp $@

$(srcdir)/examples/split/graph-iter-1.cc.raw $(srcdir)/examples/split/graph-iter-2.cc.raw $(srcdir)/examples/split/graph-iter-3.cc.raw $(srcdir)/examples/split/graph-iter-4.cc.raw: $(srcdir)/examples/split/graph-iter.cc.stamp
	@if test -f $@; then :; else \
	  rm -f $<; \
	  $(MAKE) $(AM_MAKEFLAGS) $<; \
	fi

$(srcdir)/examples/split/ima-has.cc.stamp: $(srcdir)/examples/ima-has.cc
	@rm -f $@.tmp
	@touch $@.tmp
	$(srcdir)/tools/split_sample.sh $< cc raw $(srcdir)/examples/split
	@mv -f $@.tmp $@

$(srcdir)/examples/split/ima-has-1.cc.raw: $(srcdir)/examples/split/ima-has.cc.stamp
	@if test -f $@; then :; else \
	  rm -f $<; \
	  $(MAKE) $(AM_MAKEFLAGS) $<; \
	fi

$(srcdir)/examples/split/ima-load.cc.stamp: $(srcdir)/examples/ima-load.cc
	@rm -f $@.tmp
	@touch $@.tmp
	$(srcdir)/tools/split_sample.sh $< cc raw $(srcdir)/examples/split
	@mv -f $@.tmp $@

$(srcdir)/examples/split/ima-load-1.cc.raw: $(srcdir)/examples/split/ima-load.cc.stamp
	@if test -f $@; then :; else \
	  rm -f $<; \
	  $(MAKE) $(AM_MAKEFLAGS) $<; \
	fi

$(srcdir)/examples/split/ima-save.cc.stamp: $(srcdir)/examples/ima-save.cc
	@rm -f $@.tmp
	@touch $@.tmp
	$(srcdir)/tools/split_sample.sh $< cc raw $(srcdir)/examples/split
	@mv -f $@.tmp $@

$(srcdir)/examples/split/ima-save-1.cc.raw: $(srcdir)/examples/split/ima-save.cc.stamp
	@if test -f $@; then :; else \
	  rm -f $<; \
	  $(MAKE) $(AM_MAKEFLAGS) $<; \
	fi

$(srcdir)/examples/split/ima-size.cc.stamp: $(srcdir)/examples/ima-size.cc
	@rm -f $@.tmp
	@touch $@.tmp
	$(srcdir)/tools/split_sample.sh $< cc raw $(srcdir)/examples/split
	@mv -f $@.tmp $@

$(srcdir)/examples/split/ima-size-1.cc.raw: $(srcdir)/examples/split/ima-size.cc.stamp
	@if test -f $@; then :; else \
	  rm -f $<; \
	  $(MAKE) $(AM_MAKEFLAGS) $<; \
	fi

$(srcdir)/examples/split/ima2d-1.cc.stamp: $(srcdir)/examples/ima2d-1.cc
	@rm -f $@.tmp
	@touch $@.tmp
	$(srcdir)/tools/split_sample.sh $< cc raw $(srcdir)/examples/split
	@mv -f $@.tmp $@

$(srcdir)/examples/split/ima2d-1-1.cc.raw: $(srcdir)/examples/split/ima2d-1.cc.stamp
	@if test -f $@; then :; else \
	  rm -f $<; \
	  $(MAKE) $(AM_MAKEFLAGS) $<; \
	fi

$(srcdir)/examples/split/ima2d-2.cc.stamp: $(srcdir)/examples/ima2d-2.cc
	@rm -f $@.tmp
	@touch $@.tmp
	$(srcdir)/tools/split_sample.sh $< cc raw $(srcdir)/examples/split
	@mv -f $@.tmp $@

$(srcdir)/examples/split/ima2d-2-1.cc.raw: $(srcdir)/examples/split/ima2d-2.cc.stamp
	@if test -f $@; then :; else \
	  rm -f $<; \
	  $(MAKE) $(AM_MAKEFLAGS) $<; \
	fi

$(srcdir)/examples/split/ima2d-3.cc.stamp: $(srcdir)/examples/ima2d-3.cc
	@rm -f $@.tmp
	@touch $@.tmp
	$(srcdir)/tools/split_sample.sh $< cc raw $(srcdir)/examples/split
	@mv -f $@.tmp $@

$(srcdir)/examples/split/ima2d-3-1.cc.raw: $(srcdir)/examples/split/ima2d-3.cc.stamp
	@if test -f $@; then :; else \
	  rm -f $<; \
	  $(MAKE) $(AM_MAKEFLAGS) $<; \
	fi

$(srcdir)/examples/split/ima2d-4.cc.stamp: $(srcdir)/examples/ima2d-4.cc
	@rm -f $@.tmp
	@touch $@.tmp
	$(srcdir)/tools/split_sample.sh $< cc raw $(srcdir)/examples/split
	@mv -f $@.tmp $@

$(srcdir)/examples/split/ima2d-4-1.cc.raw: $(srcdir)/examples/split/ima2d-4.cc.stamp
	@if test -f $@; then :; else \
	  rm -f $<; \
	  $(MAKE) $(AM_MAKEFLAGS) $<; \
	fi

$(srcdir)/examples/split/ima2d-5.cc.stamp: $(srcdir)/examples/ima2d-5.cc
	@rm -f $@.tmp
	@touch $@.tmp
	$(srcdir)/tools/split_sample.sh $< cc raw $(srcdir)/examples/split
	@mv -f $@.tmp $@

$(srcdir)/examples/split/ima2d-5-1.cc.raw: $(srcdir)/examples/split/ima2d-5.cc.stamp
	@if test -f $@; then :; else \
	  rm -f $<; \
	  $(MAKE) $(AM_MAKEFLAGS) $<; \
	fi

$(srcdir)/examples/split/ima2d-6-clone.cc.stamp: $(srcdir)/examples/ima2d-6-clone.cc
	@rm -f $@.tmp
	@touch $@.tmp
	$(srcdir)/tools/split_sample.sh $< cc raw $(srcdir)/examples/split
	@mv -f $@.tmp $@

$(srcdir)/examples/split/ima2d-6-clone-1.cc.raw: $(srcdir)/examples/split/ima2d-6-clone.cc.stamp
	@if test -f $@; then :; else \
	  rm -f $<; \
	  $(MAKE) $(AM_MAKEFLAGS) $<; \
	fi

$(srcdir)/examples/split/ima2d-7.cc.stamp: $(srcdir)/examples/ima2d-7.cc
	@rm -f $@.tmp
	@touch $@.tmp
	$(srcdir)/tools/split_sample.sh $< cc raw $(srcdir)/examples/split
	@mv -f $@.tmp $@

$(srcdir)/examples/split/ima2d-7-1.cc.raw: $(srcdir)/examples/split/ima2d-7.cc.stamp
	@if test -f $@; then :; else \
	  rm -f $<; \
	  $(MAKE) $(AM_MAKEFLAGS) $<; \
	fi

$(srcdir)/examples/split/ima2d-rot.cc.stamp: $(srcdir)/examples/ima2d-rot.cc
	@rm -f $@.tmp
	@touch $@.tmp
	$(srcdir)/tools/split_sample.sh $< cc raw $(srcdir)/examples/split
	@mv -f $@.tmp $@

$(srcdir)/examples/split/ima2d-rot-1.cc.raw: $(srcdir)/examples/split/ima2d-rot.cc.stamp
	@if test -f $@; then :; else \
	  rm -f $<; \
	  $(MAKE) $(AM_MAKEFLAGS) $<; \
	fi

$(srcdir)/examples/split/labeling-compute.cc.stamp: $(srcdir)/examples/labeling-compute.cc
	@rm -f $@.tmp
	@touch $@.tmp
	$(srcdir)/tools/split_sample.sh $< cc raw $(srcdir)/examples/split
	@mv -f $@.tmp $@

$(srcdir)/examples/split/labeling-compute-1.cc.raw $(srcdir)/examples/split/labeling-compute-2.cc.raw $(srcdir)/examples/split/labeling-compute-3.cc.raw $(srcdir)/examples/split/labeling-compute-4.cc.raw: $(srcdir)/examples/split/labeling-compute.cc.stamp
	@if test -f $@; then :; else \
	  rm -f $<; \
	  $(MAKE) $(AM_MAKEFLAGS) $<; \
	fi

$(srcdir)/examples/split/logical-not.cc.stamp: $(srcdir)/examples/logical-not.cc
	@rm -f $@.tmp
	@touch $@.tmp
	$(srcdir)/tools/split_sample.sh $< cc raw $(srcdir)/examples/split
	@mv -f $@.tmp $@

$(srcdir)/examples/split/logical-not-1.cc.raw $(srcdir)/examples/split/logical-not-2.cc.raw $(srcdir)/examples/split/logical-not-3.cc.raw: $(srcdir)/examples/split/logical-not.cc.stamp
	@if test -f $@; then :; else \
	  rm -f $<; \
	  $(MAKE) $(AM_MAKEFLAGS) $<; \
	fi

$(srcdir)/examples/split/mln_var.cc.stamp: $(srcdir)/examples/mln_var.cc
	@rm -f $@.tmp
	@touch $@.tmp
	$(srcdir)/tools/split_sample.sh $< cc raw $(srcdir)/examples/split
	@mv -f $@.tmp $@

$(srcdir)/examples/split/mln_var-1.cc.raw $(srcdir)/examples/split/mln_var-2.cc.raw $(srcdir)/examples/split/mln_var-3.cc.raw: $(srcdir)/examples/split/mln_var.cc.stamp
	@if test -f $@; then :; else \
	  rm -f $<; \
	  $(MAKE) $(AM_MAKEFLAGS) $<; \
	fi

$(srcdir)/examples/split/parray-append.cc.stamp: $(srcdir)/examples/parray-append.cc
	@rm -f $@.tmp
	@touch $@.tmp
	$(srcdir)/tools/split_sample.sh $< cc raw $(srcdir)/examples/split
	@mv -f $@.tmp $@

$(srcdir)/examples/split/parray-append-1.cc.raw: $(srcdir)/examples/split/parray-append.cc.stamp
	@if test -f $@; then :; else \
	  rm -f $<; \
	  $(MAKE) $(AM_MAKEFLAGS) $<; \
	fi

$(srcdir)/examples/split/parray-bbox.cc.stamp: $(srcdir)/examples/parray-bbox.cc
	@rm -f $@.tmp
	@touch $@.tmp
	$(srcdir)/tools/split_sample.sh $< cc raw $(srcdir)/examples/split
	@mv -f $@.tmp $@

$(srcdir)/examples/split/parray-bbox-1.cc.raw: $(srcdir)/examples/split/parray-bbox.cc.stamp
	@if test -f $@; then :; else \
	  rm -f $<; \
	  $(MAKE) $(AM_MAKEFLAGS) $<; \
	fi

$(srcdir)/examples/split/paste.cc.stamp: $(srcdir)/examples/paste.cc
	@rm -f $@.tmp
	@touch $@.tmp
	$(srcdir)/tools/split_sample.sh $< cc raw $(srcdir)/examples/split
	@mv -f $@.tmp $@

$(srcdir)/examples/split/paste-1.cc.raw: $(srcdir)/examples/split/paste.cc.stamp
	@if test -f $@; then :; else \
	  rm -f $<; \
	  $(MAKE) $(AM_MAKEFLAGS) $<; \
	fi

$(srcdir)/examples/split/paste-call-1.cc.stamp: $(srcdir)/examples/paste-call-1.cc
	@rm -f $@.tmp
	@touch $@.tmp
	$(srcdir)/tools/split_sample.sh $< cc raw $(srcdir)/examples/split
	@mv -f $@.tmp $@

$(srcdir)/examples/split/paste-call-1-1.cc.raw: $(srcdir)/examples/split/paste-call-1.cc.stamp
	@if test -f $@; then :; else \
	  rm -f $<; \
	  $(MAKE) $(AM_MAKEFLAGS) $<; \
	fi

$(srcdir)/examples/split/point-1.cc.stamp: $(srcdir)/examples/point-1.cc
	@rm -f $@.tmp
	@touch $@.tmp
	$(srcdir)/tools/split_sample.sh $< cc raw $(srcdir)/examples/split
	@mv -f $@.tmp $@

$(srcdir)/examples/split/point-1-1.cc.raw: $(srcdir)/examples/split/point-1.cc.stamp
	@if test -f $@; then :; else \
	  rm -f $<; \
	  $(MAKE) $(AM_MAKEFLAGS) $<; \
	fi

$(srcdir)/examples/split/predicate-1.cc.stamp: $(srcdir)/examples/predicate-1.cc
	@rm -f $@.tmp
	@touch $@.tmp
	$(srcdir)/tools/split_sample.sh $< cc raw $(srcdir)/examples/split
	@mv -f $@.tmp $@

$(srcdir)/examples/split/predicate-1-1.cc.raw: $(srcdir)/examples/split/predicate-1.cc.stamp
	@if test -f $@; then :; else \
	  rm -f $<; \
	  $(MAKE) $(AM_MAKEFLAGS) $<; \
	fi

$(srcdir)/examples/split/tuto2_first_image.cc.stamp: $(srcdir)/examples/tuto2_first_image.cc
	@rm -f $@.tmp
	@touch $@.tmp
	$(srcdir)/tools/split_sample.sh $< cc raw $(srcdir)/examples/split
	@mv -f $@.tmp $@

$(srcdir)/examples/split/tuto2_first_image-1.cc.raw $(srcdir)/examples/split/tuto2_first_image-2.cc.raw $(srcdir)/examples/split/tuto2_first_image-3.cc.raw $(srcdir)/examples/split/tuto2_first_image-4.cc.raw: $(srcdir)/examples/split/tuto2_first_image.cc.stamp
	@if test -f $@; then :; else \
	  rm -f $<; \
	  $(MAKE) $(AM_MAKEFLAGS) $<; \
	fi

$(srcdir)/examples/split/tuto3_colorize.cc.stamp: $(srcdir)/examples/tuto3/colorize.cc
	@rm -f $@.tmp
	@touch $@.tmp
	$(srcdir)/tools/split_sample.sh $< cc raw $(srcdir)/examples/split
	@mv -f $@.tmp $@

$(srcdir)/examples/split/tuto3_colorize-1.cc.raw: $(srcdir)/examples/split/tuto3_colorize.cc.stamp
	@if test -f $@; then :; else \
	  rm -f $<; \
	  $(MAKE) $(AM_MAKEFLAGS) $<; \
	fi

$(srcdir)/examples/split/tuto3_first_routine.cc.stamp: $(srcdir)/examples/tuto3/first_routine.cc
	@rm -f $@.tmp
	@touch $@.tmp
	$(srcdir)/tools/split_sample.sh $< cc raw $(srcdir)/examples/split
	@mv -f $@.tmp $@

$(srcdir)/examples/split/tuto3_first_routine-1.cc.raw $(srcdir)/examples/split/tuto3_first_routine-2.cc.raw $(srcdir)/examples/split/tuto3_first_routine-3.cc.raw $(srcdir)/examples/split/tuto3_first_routine-4.cc.raw $(srcdir)/examples/split/tuto3_first_routine-5.cc.raw $(srcdir)/examples/split/tuto3_first_routine-6.cc.raw $(srcdir)/examples/split/tuto3_first_routine-7.cc.raw $(srcdir)/examples/split/tuto3_first_routine-8.cc.raw: $(srcdir)/examples/split/tuto3_first_routine.cc.stamp
	@if test -f $@; then :; else \
	  rm -f $<; \
	  $(MAKE) $(AM_MAKEFLAGS) $<; \
	fi

$(srcdir)/examples/split/tuto3_println.cc.stamp: $(srcdir)/examples/tuto3/println.cc
	@rm -f $@.tmp
	@touch $@.tmp
	$(srcdir)/tools/split_sample.sh $< cc raw $(srcdir)/examples/split
	@mv -f $@.tmp $@

$(srcdir)/examples/split/tuto3_println-1.cc.raw $(srcdir)/examples/split/tuto3_println-2.cc.raw: $(srcdir)/examples/split/tuto3_println.cc.stamp
	@if test -f $@; then :; else \
	  rm -f $<; \
	  $(MAKE) $(AM_MAKEFLAGS) $<; \
	fi

$(srcdir)/examples/split/tuto3_trace.cc.stamp: $(srcdir)/examples/tuto3/trace.cc
	@rm -f $@.tmp
	@touch $@.tmp
	$(srcdir)/tools/split_sample.sh $< cc raw $(srcdir)/examples/split
	@mv -f $@.tmp $@

$(srcdir)/examples/split/tuto3_trace-1.cc.raw $(srcdir)/examples/split/tuto3_trace-2.cc.raw: $(srcdir)/examples/split/tuto3_trace.cc.stamp
	@if test -f $@; then :; else \
	  rm -f $<; \
	  $(MAKE) $(AM_MAKEFLAGS) $<; \
	fi

$(srcdir)/examples/split/tuto3_rw_image.cc.stamp: $(srcdir)/examples/tuto3_rw_image.cc
	@rm -f $@.tmp
	@touch $@.tmp
	$(srcdir)/tools/split_sample.sh $< cc raw $(srcdir)/examples/split
	@mv -f $@.tmp $@

$(srcdir)/examples/split/tuto3_rw_image-1.cc.raw $(srcdir)/examples/split/tuto3_rw_image-2.cc.raw $(srcdir)/examples/split/tuto3_rw_image-3.cc.raw $(srcdir)/examples/split/tuto3_rw_image-4.cc.raw $(srcdir)/examples/split/tuto3_rw_image-5.cc.raw $(srcdir)/examples/split/tuto3_rw_image-6.cc.raw $(srcdir)/examples/split/tuto3_rw_image-7.cc.raw: $(srcdir)/examples/split/tuto3_rw_image.cc.stamp
	@if test -f $@; then :; else \
	  rm -f $<; \
	  $(MAKE) $(AM_MAKEFLAGS) $<; \
	fi

$(srcdir)/examples/split/tuto4_point2d.cc.stamp: $(srcdir)/examples/tuto4/point2d.cc
	@rm -f $@.tmp
	@touch $@.tmp
	$(srcdir)/tools/split_sample.sh $< cc raw $(srcdir)/examples/split
	@mv -f $@.tmp $@

$(srcdir)/examples/split/tuto4_point2d-1.cc.raw: $(srcdir)/examples/split/tuto4_point2d.cc.stamp
	@if test -f $@; then :; else \
	  rm -f $<; \
	  $(MAKE) $(AM_MAKEFLAGS) $<; \
	fi

$(srcdir)/examples/split/tuto4_site_set_create.cc.stamp: $(srcdir)/examples/tuto4/site_set_create.cc
	@rm -f $@.tmp
	@touch $@.tmp
	$(srcdir)/tools/split_sample.sh $< cc raw $(srcdir)/examples/split
	@mv -f $@.tmp $@

$(srcdir)/examples/split/tuto4_site_set_create-1.cc.raw $(srcdir)/examples/split/tuto4_site_set_create-2.cc.raw $(srcdir)/examples/split/tuto4_site_set_create-3.cc.raw $(srcdir)/examples/split/tuto4_site_set_create-4.cc.raw $(srcdir)/examples/split/tuto4_site_set_create-5.cc.raw: $(srcdir)/examples/split/tuto4_site_set_create.cc.stamp
	@if test -f $@; then :; else \
	  rm -f $<; \
	  $(MAKE) $(AM_MAKEFLAGS) $<; \
	fi

$(srcdir)/examples/split/tuto4_genericity_and_algorithms.cc.stamp: $(srcdir)/examples/tuto4_genericity_and_algorithms.cc
	@rm -f $@.tmp
	@touch $@.tmp
	$(srcdir)/tools/split_sample.sh $< cc raw $(srcdir)/examples/split
	@mv -f $@.tmp $@

$(srcdir)/examples/split/tuto4_genericity_and_algorithms-1.cc.raw $(srcdir)/examples/split/tuto4_genericity_and_algorithms-2.cc.raw $(srcdir)/examples/split/tuto4_genericity_and_algorithms-3.cc.raw $(srcdir)/examples/split/tuto4_genericity_and_algorithms-4.cc.raw $(srcdir)/examples/split/tuto4_genericity_and_algorithms-5.cc.raw $(srcdir)/examples/split/tuto4_genericity_and_algorithms-6.cc.raw $(srcdir)/examples/split/tuto4_genericity_and_algorithms-7.cc.raw $(srcdir)/examples/split/tuto4_genericity_and_algorithms-8.cc.raw $(srcdir)/examples/split/tuto4_genericity_and_algorithms-9.cc.raw $(srcdir)/examples/split/tuto4_genericity_and_algorithms-10.cc.raw $(srcdir)/examples/split/tuto4_genericity_and_algorithms-11.cc.raw $(srcdir)/examples/split/tuto4_genericity_and_algorithms-12.cc.raw: $(srcdir)/examples/split/tuto4_genericity_and_algorithms.cc.stamp
	@if test -f $@; then :; else \
	  rm -f $<; \
	  $(MAKE) $(AM_MAKEFLAGS) $<; \
	fi

$(srcdir)/examples/split/win-create-1.cc.stamp: $(srcdir)/examples/win-create-1.cc
	@rm -f $@.tmp
	@touch $@.tmp
	$(srcdir)/tools/split_sample.sh $< cc raw $(srcdir)/examples/split
	@mv -f $@.tmp $@

$(srcdir)/examples/split/win-create-1-1.cc.raw: $(srcdir)/examples/split/win-create-1.cc.stamp
	@if test -f $@; then :; else \
	  rm -f $<; \
	  $(MAKE) $(AM_MAKEFLAGS) $<; \
	fi

$(srcdir)/examples/split/win-create-2.cc.stamp: $(srcdir)/examples/win-create-2.cc
	@rm -f $@.tmp
	@touch $@.tmp
	$(srcdir)/tools/split_sample.sh $< cc raw $(srcdir)/examples/split
	@mv -f $@.tmp $@

$(srcdir)/examples/split/win-create-2-1.cc.raw: $(srcdir)/examples/split/win-create-2.cc.stamp
	@if test -f $@; then :; else \
	  rm -f $<; \
	  $(MAKE) $(AM_MAKEFLAGS) $<; \
	fi

.PHONY: regen-split-examples-mk
regen-split-examples-mk:
	rm -f $(srcdir)/split-examples.mk.tmp
	cd $(srcdir) && ./gen-split-examples-mk >split-examples.mk.tmp
	mv -f $(srcdir)/split-examples.mk.tmp $(srcdir)/split-examples.mk
	chmod -w $(srcdir)/split-examples.mk

# ----------------------- #
# User Reference Manual.  #
# ----------------------- #

all-local: $(srcdir)/$(USER_REFMAN)

# Run "make regen-doc" to forcefully rebuild the Doxygen documentation.
.PHONY: regen-doc
regen-doc:
	rm -f $(srcdir)/user-refman.stamp
	$(MAKE) $(AM_MAKEFLAGS) $(srcdir)/user-refman.stamp

$(DOXYFILE_USER): $(srcdir)/$(DOXYFILE).in
	Id=`grep '^\$$Id' $(top_srcdir)/milena/ChangeLog	\
	      | sed -e 's/\\\$$//g'`;				\
	  $(edit) $< >$@

$(srcdir)/$(USER_REFMAN_PDF): $(srcdir)/$(USER_REFMAN)
	cd $(srcdir)/$(USER_REFMAN)/latex && $(MAKE) $(AM_MAKEFLAGS) pdf
	cp -f $(srcdir)/$(USER_REFMAN)/latex/refman.pdf $@
$(srcdir)/user-refman.stamp: $(srcdir)/$(DOXYFILE).in $(REFMAN_deps)
	@rm -f $@.tmp
	@touch $@.tmp
	rm -rf $(USER_REFMAN).tmp
	$(MAKE) $(AM_MAKE_FLAGS) $(DOXYFILE_USER)
	$(DOXYGEN) $(DOXYFILE_USER)
	test -f $(USER_REFMAN).tmp/latex/refman.tex
	rm -rf $(srcdir)/$(USER_REFMAN)
	mv $(USER_REFMAN).tmp $(srcdir)/$(USER_REFMAN)
	@mv -f $@.tmp $@

$(srcdir)/$(USER_REFMAN): $(srcdir)/user-refman.stamp
	@if test -d $@; then :; else \
	  rm -f $<; \
	  $(MAKE) $(AM_MAKEFLAGS) $<; \
	fi

# ---------------------------- #
# Developer Reference Manual.  #
# ---------------------------- #

# Run "make regen-devel-doc" to forcefully rebuild the Doxygen
# developer documentation.
.PHONY: regen-devel-doc
regen-devel-doc:
	rm -f $(srcdir)/devel-refman.stamp
	$(MAKE) $(AM_MAKEFLAGS) $(srcdir)/devel-refman.stamp

$(DOXYFILE_DEVEL): $(srcdir)/$(DOXYFILE).in
	rm -f $@.tmp
	Id=`grep '^\$$Id' $(top_srcdir)/milena/ChangeLog	\
	      | sed -e 's/\\\$$//g'`;				\
	  $(edit) $< >$@.tmp
	$(edit_devel) $@.tmp >$@
	rm -f $@.tmp
# Be warned, most LaTeX installations will not be able to compile the
# PDF development documentation as-is, as TeX's default memory
# capacities are usually too small to handle such a large document.
$(srcdir)/$(DEVEL_REFMAN_PDF): $(srcdir)/$(DEVEL_REFMAN)
	cd $(srcdir)/$(DEVEL_REFMAN)/latex && $(MAKE) $(AM_MAKEFLAGS) pdf
	cp -f $(srcdir)/$(DEVEL_REFMAN)/latex/refman.pdf $@
$(srcdir)/devel-refman.stamp: $(srcdir)/$(DOXYFILE).in $(REFMAN_deps)
	@rm -f $@.tmp
	@touch $@.tmp
	rm -rf $(DEVEL_REFMAN).tmp
	$(MAKE) $(AM_MAKE_FLAGS) $(DOXYFILE_DEVEL)
	$(DOXYGEN) $(DOXYFILE_DEVEL)
	test -f $(DEVEL_REFMAN).tmp/latex/refman.tex
	rm -rf $(srcdir)/$(DEVEL_REFMAN)
	mv $(DEVEL_REFMAN).tmp $(srcdir)/$(DEVEL_REFMAN)
	@mv -f $@.tmp $@

$(srcdir)/$(DEVEL_REFMAN): $(srcdir)/devel-refman.stamp
	@if test -d $@; then :; else \
	  rm -f $<; \
	  $(MAKE) $(AM_MAKEFLAGS) $<; \
	fi
$(TECHNICAL_PDF): $(TECHNICAL_deps)
all-local: $(srcdir)/$(TECHNICAL).stamp
# The HTML output contains several files (the HTML file itself, its
# CSS style sheet, possibly some images).  Therefore, we cannot rely
# on a simple suffix rule to produce them.  Instead, put the products
# in a directory and use a time stamp.
$(srcdir)/$(TECHNICAL).stamp: $(srcdir)/technical.tex $(TECHNICAL_deps)
	@rm -f $@.tmp
	@touch $@.tmp
	rm -rf $(TECHNICAL).tmp
	mkdir $(TECHNICAL).tmp
	$(TEXI2HTML) $(TEXI2HTML_FLAGS) \
	  -o $(TECHNICAL).tmp/$(TECHNICAL).html $<
	rm -rf $(srcdir)/$(TECHNICAL)
	mv $(TECHNICAL).tmp $(srcdir)/$(TECHNICAL)
	@mv -f $@.tmp $@

$(srcdir)/$(TECHNICAL): $(srcdir)/$(TECHNICAL).stamp
	@if test -d $@; then :; else \
	  rm -f $<; \
	  $(MAKE) $(AM_MAKEFLAGS) $<; \
	fi
$(TUTORIAL_PDF): $(TUTORIAL_deps)
all-local: $(srcdir)/$(TUTORIAL).stamp

# The HTML output contains several files (the HTML file itself, its
# CSS style sheet, possibly some images).  Therefore, we cannot rely
# on a simple suffix rule to produce them.  Instead, put the products
# in a directory and use a time stamp.
$(srcdir)/$(TUTORIAL).stamp: $(srcdir)/tutorial.tex $(TUTORIAL_deps)
	@rm -f $@.tmp
	@touch $@.tmp
	rm -rf $(TUTORIAL).tmp
	mkdir $(TUTORIAL).tmp
	$(TEXI2HTML) $(TEXI2HTML_FLAGS)			\
	  -o $(TUTORIAL).tmp/$(TUTORIAL).html $<
	rm -rf $(srcdir)/$(TUTORIAL)
	mv $(TUTORIAL).tmp $(srcdir)/$(TUTORIAL)
	@mv -f $@.tmp $@

$(srcdir)/$(TUTORIAL): $(srcdir)/$(TUTORIAL).stamp
	@if test -d $@; then :; else \
	  rm -f $<; \
	  $(MAKE) $(AM_MAKEFLAGS) $<; \
	fi
$(TUTORIAL_HH): $(srcdir)/$(TUTORIAL).stamp $(srcdir)/tools/todoxygen.sh
# The script `todoxygen.sh' may fail and still create a (partial and
# invalid) file, thus preventing Make from trying to generate it
# again.  The solution is to use a temporary file as output and rename
# it if the script succeeds.
	rm -f $@.tmp
	$(srcdir)/tools/todoxygen.sh					\
	  $(srcdir)/$(TUTORIAL)/$(TUTORIAL).html $@.tmp $(srcdir)
	mv -f $@.tmp $@
$(WHITE_PAPER_PDF): $(WHITE_PAPER_deps)
all-local: $(srcdir)/$(WHITE_PAPER).stamp

# The HTML output contains several files (the HTML file itself, its
# CSS style sheet, possibly some images).  Therefore, we cannot rely
# on a simple suffix rule to produce them.  Instead, put the products
# in a directory and use a time stamp.
$(srcdir)/$(WHITE_PAPER).stamp: $(srcdir)/white-paper.tex $(WHITE_PAPER_deps)
	@rm -f $@.tmp
	@touch $@.tmp
	rm -rf $(WHITE_PAPER).tmp
	mkdir $(WHITE_PAPER).tmp
	mkdir $(WHITE_PAPER).tmp/figures
	cp $(WHITE_PAPER_FIGURES) $(WHITE_PAPER).tmp/figures
	$(TEXI2HTML) $(TEXI2HTML_FLAGS)			\
	  -o $(WHITE_PAPER).tmp/$(WHITE_PAPER).html $<
	rm -rf $(srcdir)/$(WHITE_PAPER)
	mv $(WHITE_PAPER).tmp $(srcdir)/$(WHITE_PAPER)
	@mv -f $@.tmp $@

$(srcdir)/$(WHITE_PAPER): $(srcdir)/$(WHITE_PAPER).stamp
	@if test -d $@; then :; else \
	  rm -f $<; \
	  $(MAKE) $(AM_MAKEFLAGS) $<; \
	fi
$(REF_GUIDE_PDF): $(REF_GUIDE_deps)
all-local: $(srcdir)/$(REF_GUIDE).stamp

# The HTML output contains several files (the HTML file itself, its
# CSS style sheet, possibly some images).  Therefore, we cannot rely
# on a simple suffix rule to produce them.  Instead, put the products
# in a directory and use a time stamp.
$(srcdir)/$(REF_GUIDE).stamp: $(srcdir)/ref-guide.tex $(REF_GUIDE_deps)
	@rm -f $@.tmp
	@touch $@.tmp
	rm -rf $(REF_GUIDE).tmp
	mkdir $(REF_GUIDE).tmp
	$(TEXI2HTML) $(TEXI2HTML_FLAGS)			\
	  -o $(REF_GUIDE).tmp/$(REF_GUIDE).html $<
	rm -rf $(srcdir)/$(REF_GUIDE)
	mv $(REF_GUIDE).tmp $(srcdir)/$(REF_GUIDE)
	@mv -f $@.tmp $@

$(srcdir)/$(REF_GUIDE): $(srcdir)/$(REF_GUIDE).stamp
	@if test -d $@; then :; else \
	  rm -f $<; \
	  $(MAKE) $(AM_MAKEFLAGS) $<; \
	fi
$(REF_GUIDE_HH): $(srcdir)/$(REF_GUIDE).stamp $(srcdir)/tools/todoxygen.sh
# The script `todoxygen.sh' may fail and still create a (partial and
# invalid) file, thus preventing Make from trying to generate it
# again.  The solution is to use a temporary file as output and rename
# it if the script succeeds.
	rm -f $@.tmp
	$(srcdir)/tools/todoxygen.sh \
	  $(srcdir)/$(REF_GUIDE)/$(REF_GUIDE).html $@.tmp $(srcdir)
	mv -f $@.tmp $@

$(srcdir)/outputs.mk: $(srcdir)/gen-make-variable
	rm -f $@.tmp
# Ignore sources in examples/trash/.
	$(srcdir)/gen-make-variable OUTPUTS				\
	  `find $(srcdir)/examples					\
               -name \*.cc -a \! -path $(srcdir)/examples/trash/\*	\
	     | sed -e 's,$(srcdir)/examples/,,'				\
	           -e 'y,/,_,'						\
	           -e 's,\(.*\)\.cc$$,$$(srcdir)/outputs/\1.txt,'`	\
	  >$@.tmp
	mv -f $@.tmp $@
	chmod -w $@

.PHONY: regen-outputs-mk
regen-outputs-mk:
	rm -f $(srcdir)/outputs.mk.tmp
# Ignore sources in examples/trash/.
	$(srcdir)/gen-make-variable OUTPUTS				\
	  `find $(srcdir)/examples					\
               -name \*.cc -a \! -path $(srcdir)/examples/trash/\*	\
	     | sed -e 's,$(srcdir)/examples/,,'				\
	           -e 'y,/,_,'						\
	           -e 's,\(.*\)\.cc$$,$$(srcdir)/outputs/\1.txt,'`	\
	  >$(srcdir)/outputs.mk.tmp
	mv -f $(srcdir)/outputs.mk.tmp $(srcdir)/outputs.mk
	chmod -w $(srcdir)/outputs.mk

$(srcdir)/examples-outputs.mk: $(srcdir)/gen-examples-outputs-mk
	rm -f $@.tmp
# Ignore sources in examples/trash/.
	cd $(srcdir) &&							\
	  ./gen-examples-outputs-mk					\
	    `find examples -name \*.cc -a \! -path examples/trash/\*	\
	       | env LC_ALL=C sort`					\
	    >examples-outputs.mk.tmp
	mv -f $@.tmp $@
	chmod -w $@

$(srcdir)/examples/accu-right-instantiation.stamp: examples/accu-right-instantiation.cc
	@rm -f $@.tmp
	@touch $@.tmp
	$(MAKE) $(AM_MAKEFLAGS) accu-right-instantiation$(EXEEXT)
	./accu-right-instantiation$(EXEEXT) >$(srcdir)/outputs/accu-right-instantiation.txt.tmp
	mv $(srcdir)/outputs/accu-right-instantiation.txt.tmp $(srcdir)/outputs/accu-right-instantiation.txt
	@mv -f $@.tmp $@

$(srcdir)/outputs/accu-right-instantiation.txt: $(srcdir)/examples/accu-right-instantiation.stamp
	@if test -f $@; then :; else \
	  rm -f $<; \
	  $(MAKE) $(AM_MAKEFLAGS) $<; \
	fi

$(srcdir)/examples/borderthickness.stamp: examples/borderthickness.cc
	@rm -f $@.tmp
	@touch $@.tmp
	$(MAKE) $(AM_MAKEFLAGS) borderthickness$(EXEEXT)
	./borderthickness$(EXEEXT) >$(srcdir)/outputs/borderthickness.txt.tmp
	mv $(srcdir)/outputs/borderthickness.txt.tmp $(srcdir)/outputs/borderthickness.txt
	@mv -f $@.tmp $@

$(srcdir)/outputs/borderthickness.txt: $(srcdir)/examples/borderthickness.stamp
	@if test -f $@; then :; else \
	  rm -f $<; \
	  $(MAKE) $(AM_MAKEFLAGS) $<; \
	fi

$(srcdir)/examples/box2d-bbox.stamp: examples/box2d-bbox.cc
	@rm -f $@.tmp
	@touch $@.tmp
	$(MAKE) $(AM_MAKEFLAGS) box2d-bbox$(EXEEXT)
	./box2d-bbox$(EXEEXT) >$(srcdir)/outputs/box2d-bbox.txt.tmp
	mv $(srcdir)/outputs/box2d-bbox.txt.tmp $(srcdir)/outputs/box2d-bbox.txt
	@mv -f $@.tmp $@

$(srcdir)/outputs/box2d-bbox.txt: $(srcdir)/examples/box2d-bbox.stamp
	@if test -f $@; then :; else \
	  rm -f $<; \
	  $(MAKE) $(AM_MAKEFLAGS) $<; \
	fi

$(srcdir)/examples/domain-display.stamp: examples/domain-display.cc
	@rm -f $@.tmp
	@touch $@.tmp
	$(MAKE) $(AM_MAKEFLAGS) domain-display$(EXEEXT)
	./domain-display$(EXEEXT) >$(srcdir)/outputs/domain-display.txt.tmp
	mv $(srcdir)/outputs/domain-display.txt.tmp $(srcdir)/outputs/domain-display.txt
	@mv -f $@.tmp $@

$(srcdir)/outputs/domain-display.txt: $(srcdir)/examples/domain-display.stamp
	@if test -f $@; then :; else \
	  rm -f $<; \
	  $(MAKE) $(AM_MAKEFLAGS) $<; \
	fi

$(srcdir)/examples/dpoint-1.stamp: examples/dpoint-1.cc
	@rm -f $@.tmp
	@touch $@.tmp
	$(MAKE) $(AM_MAKEFLAGS) dpoint-1$(EXEEXT)
	./dpoint-1$(EXEEXT) >$(srcdir)/outputs/dpoint-1.txt.tmp
	mv $(srcdir)/outputs/dpoint-1.txt.tmp $(srcdir)/outputs/dpoint-1.txt
	@mv -f $@.tmp $@

$(srcdir)/outputs/dpoint-1.txt: $(srcdir)/examples/dpoint-1.stamp
	@if test -f $@; then :; else \
	  rm -f $<; \
	  $(MAKE) $(AM_MAKEFLAGS) $<; \
	fi

$(srcdir)/examples/estim-sites.stamp: examples/estim-sites.cc
	@rm -f $@.tmp
	@touch $@.tmp
	$(MAKE) $(AM_MAKEFLAGS) estim-sites$(EXEEXT)
	./estim-sites$(EXEEXT) >$(srcdir)/outputs/estim-sites.txt.tmp
	mv $(srcdir)/outputs/estim-sites.txt.tmp $(srcdir)/outputs/estim-sites.txt
	@mv -f $@.tmp $@

$(srcdir)/outputs/estim-sites.txt: $(srcdir)/examples/estim-sites.stamp
	@if test -f $@; then :; else \
	  rm -f $<; \
	  $(MAKE) $(AM_MAKEFLAGS) $<; \
	fi

$(srcdir)/examples/extend.stamp: examples/extend.cc
	@rm -f $@.tmp
	@touch $@.tmp
	$(MAKE) $(AM_MAKEFLAGS) extend$(EXEEXT)
	./extend$(EXEEXT) >$(srcdir)/outputs/extend.txt.tmp
	mv $(srcdir)/outputs/extend.txt.tmp $(srcdir)/outputs/extend.txt
	@mv -f $@.tmp $@

$(srcdir)/outputs/extend.txt: $(srcdir)/examples/extend.stamp
	@if test -f $@; then :; else \
	  rm -f $<; \
	  $(MAKE) $(AM_MAKEFLAGS) $<; \
	fi

$(srcdir)/examples/extension-ignore.stamp: examples/extension-ignore.cc
	@rm -f $@.tmp
	@touch $@.tmp
	$(MAKE) $(AM_MAKEFLAGS) extension-ignore$(EXEEXT)
	./extension-ignore$(EXEEXT) >$(srcdir)/outputs/extension-ignore.txt.tmp
	mv $(srcdir)/outputs/extension-ignore.txt.tmp $(srcdir)/outputs/extension-ignore.txt
	@mv -f $@.tmp $@

$(srcdir)/outputs/extension-ignore.txt: $(srcdir)/examples/extension-ignore.stamp
	@if test -f $@; then :; else \
	  rm -f $<; \
	  $(MAKE) $(AM_MAKEFLAGS) $<; \
	fi

$(srcdir)/examples/fill-call-1.stamp: examples/fill-call-1.cc
	@rm -f $@.tmp
	@touch $@.tmp
	$(MAKE) $(AM_MAKEFLAGS) fill-call-1$(EXEEXT)
	./fill-call-1$(EXEEXT) >$(srcdir)/outputs/fill-call-1.txt.tmp
	mv $(srcdir)/outputs/fill-call-1.txt.tmp $(srcdir)/outputs/fill-call-1.txt
	@mv -f $@.tmp $@

$(srcdir)/outputs/fill-call-1.txt: $(srcdir)/examples/fill-call-1.stamp
	@if test -f $@; then :; else \
	  rm -f $<; \
	  $(MAKE) $(AM_MAKEFLAGS) $<; \
	fi

$(srcdir)/examples/fill-imageif-cfun.stamp: examples/fill-imageif-cfun.cc
	@rm -f $@.tmp
	@touch $@.tmp
	$(MAKE) $(AM_MAKEFLAGS) fill-imageif-cfun$(EXEEXT)
	./fill-imageif-cfun$(EXEEXT) >$(srcdir)/outputs/fill-imageif-cfun.txt.tmp
	mv $(srcdir)/outputs/fill-imageif-cfun.txt.tmp $(srcdir)/outputs/fill-imageif-cfun.txt
	@mv -f $@.tmp $@

$(srcdir)/outputs/fill-imageif-cfun.txt: $(srcdir)/examples/fill-imageif-cfun.stamp
	@if test -f $@; then :; else \
	  rm -f $<; \
	  $(MAKE) $(AM_MAKEFLAGS) $<; \
	fi

$(srcdir)/examples/fill-part-image.stamp: examples/fill-part-image.cc
	@rm -f $@.tmp
	@touch $@.tmp
	$(MAKE) $(AM_MAKEFLAGS) fill-part-image$(EXEEXT)
	./fill-part-image$(EXEEXT) >$(srcdir)/outputs/fill-part-image.txt.tmp
	mv $(srcdir)/outputs/fill-part-image.txt.tmp $(srcdir)/outputs/fill-part-image.txt
	@mv -f $@.tmp $@

$(srcdir)/outputs/fill-part-image.txt: $(srcdir)/examples/fill-part-image.stamp
	@if test -f $@; then :; else \
	  rm -f $<; \
	  $(MAKE) $(AM_MAKEFLAGS) $<; \
	fi

$(srcdir)/examples/fill-subdomain-shorter.stamp: examples/fill-subdomain-shorter.cc
	@rm -f $@.tmp
	@touch $@.tmp
	$(MAKE) $(AM_MAKEFLAGS) fill-subdomain-shorter$(EXEEXT)
	./fill-subdomain-shorter$(EXEEXT) >$(srcdir)/outputs/fill-subdomain-shorter.txt.tmp
	mv $(srcdir)/outputs/fill-subdomain-shorter.txt.tmp $(srcdir)/outputs/fill-subdomain-shorter.txt
	@mv -f $@.tmp $@

$(srcdir)/outputs/fill-subdomain-shorter.txt: $(srcdir)/examples/fill-subdomain-shorter.stamp
	@if test -f $@; then :; else \
	  rm -f $<; \
	  $(MAKE) $(AM_MAKEFLAGS) $<; \
	fi

$(srcdir)/examples/fill-subdomain.stamp: examples/fill-subdomain.cc
	@rm -f $@.tmp
	@touch $@.tmp
	$(MAKE) $(AM_MAKEFLAGS) fill-subdomain$(EXEEXT)
	./fill-subdomain$(EXEEXT) >$(srcdir)/outputs/fill-subdomain.txt.tmp
	mv $(srcdir)/outputs/fill-subdomain.txt.tmp $(srcdir)/outputs/fill-subdomain.txt
	@mv -f $@.tmp $@

$(srcdir)/outputs/fill-subdomain.txt: $(srcdir)/examples/fill-subdomain.stamp
	@if test -f $@; then :; else \
	  rm -f $<; \
	  $(MAKE) $(AM_MAKEFLAGS) $<; \
	fi

$(srcdir)/examples/fill.stamp: examples/fill.cc
	@rm -f $@.tmp
	@touch $@.tmp
	$(MAKE) $(AM_MAKEFLAGS) fill$(EXEEXT)
	./fill$(EXEEXT) >$(srcdir)/outputs/fill.txt.tmp
	mv $(srcdir)/outputs/fill.txt.tmp $(srcdir)/outputs/fill.txt
	@mv -f $@.tmp $@

$(srcdir)/outputs/fill.txt: $(srcdir)/examples/fill.stamp
	@if test -f $@; then :; else \
	  rm -f $<; \
	  $(MAKE) $(AM_MAKEFLAGS) $<; \
	fi

$(srcdir)/examples/forall-piter.stamp: examples/forall-piter.cc
	@rm -f $@.tmp
	@touch $@.tmp
	$(MAKE) $(AM_MAKEFLAGS) forall-piter$(EXEEXT)
	./forall-piter$(EXEEXT) >$(srcdir)/outputs/forall-piter.txt.tmp
	mv $(srcdir)/outputs/forall-piter.txt.tmp $(srcdir)/outputs/forall-piter.txt
	@mv -f $@.tmp $@

$(srcdir)/outputs/forall-piter.txt: $(srcdir)/examples/forall-piter.stamp
	@if test -f $@; then :; else \
	  rm -f $<; \
	  $(MAKE) $(AM_MAKEFLAGS) $<; \
	fi

$(srcdir)/examples/fun-p2v-1.stamp: examples/fun-p2v-1.cc
	@rm -f $@.tmp
	@touch $@.tmp
	$(MAKE) $(AM_MAKEFLAGS) fun-p2v-1$(EXEEXT)
	./fun-p2v-1$(EXEEXT) >$(srcdir)/outputs/fun-p2v-1.txt.tmp
	mv $(srcdir)/outputs/fun-p2v-1.txt.tmp $(srcdir)/outputs/fun-p2v-1.txt
	@mv -f $@.tmp $@

$(srcdir)/outputs/fun-p2v-1.txt: $(srcdir)/examples/fun-p2v-1.stamp
	@if test -f $@; then :; else \
	  rm -f $<; \
	  $(MAKE) $(AM_MAKEFLAGS) $<; \
	fi

$(srcdir)/examples/graph-data.stamp: examples/graph-data.cc
	@rm -f $@.tmp
	@touch $@.tmp
	$(MAKE) $(AM_MAKEFLAGS) graph-data$(EXEEXT)
	./graph-data$(EXEEXT) >$(srcdir)/outputs/graph-data.txt.tmp
	mv $(srcdir)/outputs/graph-data.txt.tmp $(srcdir)/outputs/graph-data.txt
	@mv -f $@.tmp $@

$(srcdir)/outputs/graph-data.txt: $(srcdir)/examples/graph-data.stamp
	@if test -f $@; then :; else \
	  rm -f $<; \
	  $(MAKE) $(AM_MAKEFLAGS) $<; \
	fi

$(srcdir)/examples/graph-iter.stamp: examples/graph-iter.cc
	@rm -f $@.tmp
	@touch $@.tmp
	$(MAKE) $(AM_MAKEFLAGS) graph-iter$(EXEEXT)
	./graph-iter$(EXEEXT) >$(srcdir)/outputs/graph-iter.txt.tmp
	mv $(srcdir)/outputs/graph-iter.txt.tmp $(srcdir)/outputs/graph-iter.txt
	@mv -f $@.tmp $@

$(srcdir)/outputs/graph-iter.txt: $(srcdir)/examples/graph-iter.stamp
	@if test -f $@; then :; else \
	  rm -f $<; \
	  $(MAKE) $(AM_MAKEFLAGS) $<; \
	fi

$(srcdir)/examples/ima-has.stamp: examples/ima-has.cc
	@rm -f $@.tmp
	@touch $@.tmp
	$(MAKE) $(AM_MAKEFLAGS) ima-has$(EXEEXT)
	./ima-has$(EXEEXT) >$(srcdir)/outputs/ima-has.txt.tmp
	mv $(srcdir)/outputs/ima-has.txt.tmp $(srcdir)/outputs/ima-has.txt
	@mv -f $@.tmp $@

$(srcdir)/outputs/ima-has.txt: $(srcdir)/examples/ima-has.stamp
	@if test -f $@; then :; else \
	  rm -f $<; \
	  $(MAKE) $(AM_MAKEFLAGS) $<; \
	fi

$(srcdir)/examples/ima-load.stamp: examples/ima-load.cc
	@rm -f $@.tmp
	@touch $@.tmp
	$(MAKE) $(AM_MAKEFLAGS) ima-load$(EXEEXT)
	./ima-load$(EXEEXT) >$(srcdir)/outputs/ima-load.txt.tmp
	mv $(srcdir)/outputs/ima-load.txt.tmp $(srcdir)/outputs/ima-load.txt
	@mv -f $@.tmp $@

$(srcdir)/outputs/ima-load.txt: $(srcdir)/examples/ima-load.stamp
	@if test -f $@; then :; else \
	  rm -f $<; \
	  $(MAKE) $(AM_MAKEFLAGS) $<; \
	fi

$(srcdir)/examples/ima-save.stamp: examples/ima-save.cc
	@rm -f $@.tmp
	@touch $@.tmp
	$(MAKE) $(AM_MAKEFLAGS) ima-save$(EXEEXT)
	./ima-save$(EXEEXT) >$(srcdir)/outputs/ima-save.txt.tmp
	mv $(srcdir)/outputs/ima-save.txt.tmp $(srcdir)/outputs/ima-save.txt
	@mv -f $@.tmp $@

$(srcdir)/outputs/ima-save.txt: $(srcdir)/examples/ima-save.stamp
	@if test -f $@; then :; else \
	  rm -f $<; \
	  $(MAKE) $(AM_MAKEFLAGS) $<; \
	fi

$(srcdir)/examples/ima-size.stamp: examples/ima-size.cc
	@rm -f $@.tmp
	@touch $@.tmp
	$(MAKE) $(AM_MAKEFLAGS) ima-size$(EXEEXT)
	./ima-size$(EXEEXT) >$(srcdir)/outputs/ima-size.txt.tmp
	mv $(srcdir)/outputs/ima-size.txt.tmp $(srcdir)/outputs/ima-size.txt
	@mv -f $@.tmp $@

$(srcdir)/outputs/ima-size.txt: $(srcdir)/examples/ima-size.stamp
	@if test -f $@; then :; else \
	  rm -f $<; \
	  $(MAKE) $(AM_MAKEFLAGS) $<; \
	fi

$(srcdir)/examples/ima2d-1.stamp: examples/ima2d-1.cc
	@rm -f $@.tmp
	@touch $@.tmp
	$(MAKE) $(AM_MAKEFLAGS) ima2d-1$(EXEEXT)
	./ima2d-1$(EXEEXT) >$(srcdir)/outputs/ima2d-1.txt.tmp
	mv $(srcdir)/outputs/ima2d-1.txt.tmp $(srcdir)/outputs/ima2d-1.txt
	@mv -f $@.tmp $@

$(srcdir)/outputs/ima2d-1.txt: $(srcdir)/examples/ima2d-1.stamp
	@if test -f $@; then :; else \
	  rm -f $<; \
	  $(MAKE) $(AM_MAKEFLAGS) $<; \
	fi

$(srcdir)/examples/ima2d-2.stamp: examples/ima2d-2.cc
	@rm -f $@.tmp
	@touch $@.tmp
	$(MAKE) $(AM_MAKEFLAGS) ima2d-2$(EXEEXT)
	./ima2d-2$(EXEEXT) >$(srcdir)/outputs/ima2d-2.txt.tmp
	mv $(srcdir)/outputs/ima2d-2.txt.tmp $(srcdir)/outputs/ima2d-2.txt
	@mv -f $@.tmp $@

$(srcdir)/outputs/ima2d-2.txt: $(srcdir)/examples/ima2d-2.stamp
	@if test -f $@; then :; else \
	  rm -f $<; \
	  $(MAKE) $(AM_MAKEFLAGS) $<; \
	fi

$(srcdir)/examples/ima2d-3.stamp: examples/ima2d-3.cc
	@rm -f $@.tmp
	@touch $@.tmp
	$(MAKE) $(AM_MAKEFLAGS) ima2d-3$(EXEEXT)
	./ima2d-3$(EXEEXT) >$(srcdir)/outputs/ima2d-3.txt.tmp
	mv $(srcdir)/outputs/ima2d-3.txt.tmp $(srcdir)/outputs/ima2d-3.txt
	@mv -f $@.tmp $@

$(srcdir)/outputs/ima2d-3.txt: $(srcdir)/examples/ima2d-3.stamp
	@if test -f $@; then :; else \
	  rm -f $<; \
	  $(MAKE) $(AM_MAKEFLAGS) $<; \
	fi

$(srcdir)/examples/ima2d-4.stamp: examples/ima2d-4.cc
	@rm -f $@.tmp
	@touch $@.tmp
	$(MAKE) $(AM_MAKEFLAGS) ima2d-4$(EXEEXT)
	./ima2d-4$(EXEEXT) >$(srcdir)/outputs/ima2d-4.txt.tmp
	mv $(srcdir)/outputs/ima2d-4.txt.tmp $(srcdir)/outputs/ima2d-4.txt
	@mv -f $@.tmp $@

$(srcdir)/outputs/ima2d-4.txt: $(srcdir)/examples/ima2d-4.stamp
	@if test -f $@; then :; else \
	  rm -f $<; \
	  $(MAKE) $(AM_MAKEFLAGS) $<; \
	fi

$(srcdir)/examples/ima2d-5.stamp: examples/ima2d-5.cc
	@rm -f $@.tmp
	@touch $@.tmp
	$(MAKE) $(AM_MAKEFLAGS) ima2d-5$(EXEEXT)
	./ima2d-5$(EXEEXT) >$(srcdir)/outputs/ima2d-5.txt.tmp
	mv $(srcdir)/outputs/ima2d-5.txt.tmp $(srcdir)/outputs/ima2d-5.txt
	@mv -f $@.tmp $@

$(srcdir)/outputs/ima2d-5.txt: $(srcdir)/examples/ima2d-5.stamp
	@if test -f $@; then :; else \
	  rm -f $<; \
	  $(MAKE) $(AM_MAKEFLAGS) $<; \
	fi

$(srcdir)/examples/ima2d-6-clone.stamp: examples/ima2d-6-clone.cc
	@rm -f $@.tmp
	@touch $@.tmp
	$(MAKE) $(AM_MAKEFLAGS) ima2d-6-clone$(EXEEXT)
	./ima2d-6-clone$(EXEEXT) >$(srcdir)/outputs/ima2d-6-clone.txt.tmp
	mv $(srcdir)/outputs/ima2d-6-clone.txt.tmp $(srcdir)/outputs/ima2d-6-clone.txt
	@mv -f $@.tmp $@

$(srcdir)/outputs/ima2d-6-clone.txt: $(srcdir)/examples/ima2d-6-clone.stamp
	@if test -f $@; then :; else \
	  rm -f $<; \
	  $(MAKE) $(AM_MAKEFLAGS) $<; \
	fi

$(srcdir)/examples/ima2d-7.stamp: examples/ima2d-7.cc
	@rm -f $@.tmp
	@touch $@.tmp
	$(MAKE) $(AM_MAKEFLAGS) ima2d-7$(EXEEXT)
	./ima2d-7$(EXEEXT) >$(srcdir)/outputs/ima2d-7.txt.tmp
	mv $(srcdir)/outputs/ima2d-7.txt.tmp $(srcdir)/outputs/ima2d-7.txt
	@mv -f $@.tmp $@

$(srcdir)/outputs/ima2d-7.txt: $(srcdir)/examples/ima2d-7.stamp
	@if test -f $@; then :; else \
	  rm -f $<; \
	  $(MAKE) $(AM_MAKEFLAGS) $<; \
	fi

$(srcdir)/examples/ima2d-rot.stamp: examples/ima2d-rot.cc
	@rm -f $@.tmp
	@touch $@.tmp
	$(MAKE) $(AM_MAKEFLAGS) ima2d-rot$(EXEEXT)
	./ima2d-rot$(EXEEXT) >$(srcdir)/outputs/ima2d-rot.txt.tmp
	mv $(srcdir)/outputs/ima2d-rot.txt.tmp $(srcdir)/outputs/ima2d-rot.txt
	@mv -f $@.tmp $@

$(srcdir)/outputs/ima2d-rot.txt: $(srcdir)/examples/ima2d-rot.stamp
	@if test -f $@; then :; else \
	  rm -f $<; \
	  $(MAKE) $(AM_MAKEFLAGS) $<; \
	fi

$(srcdir)/examples/labeling-compute.stamp: examples/labeling-compute.cc
	@rm -f $@.tmp
	@touch $@.tmp
	$(MAKE) $(AM_MAKEFLAGS) labeling-compute$(EXEEXT)
	./labeling-compute$(EXEEXT) >$(srcdir)/outputs/labeling-compute.txt.tmp
	mv $(srcdir)/outputs/labeling-compute.txt.tmp $(srcdir)/outputs/labeling-compute.txt
	@mv -f $@.tmp $@

$(srcdir)/outputs/labeling-compute.txt: $(srcdir)/examples/labeling-compute.stamp
	@if test -f $@; then :; else \
	  rm -f $<; \
	  $(MAKE) $(AM_MAKEFLAGS) $<; \
	fi

$(srcdir)/examples/logical-not.stamp: examples/logical-not.cc
	@rm -f $@.tmp
	@touch $@.tmp
	$(MAKE) $(AM_MAKEFLAGS) logical-not$(EXEEXT)
	./logical-not$(EXEEXT) >$(srcdir)/outputs/logical-not.txt.tmp
	mv $(srcdir)/outputs/logical-not.txt.tmp $(srcdir)/outputs/logical-not.txt
	@mv -f $@.tmp $@

$(srcdir)/outputs/logical-not.txt: $(srcdir)/examples/logical-not.stamp
	@if test -f $@; then :; else \
	  rm -f $<; \
	  $(MAKE) $(AM_MAKEFLAGS) $<; \
	fi

$(srcdir)/examples/mln_var.stamp: examples/mln_var.cc
	@rm -f $@.tmp
	@touch $@.tmp
	$(MAKE) $(AM_MAKEFLAGS) mln_var$(EXEEXT)
	./mln_var$(EXEEXT) >$(srcdir)/outputs/mln_var.txt.tmp
	mv $(srcdir)/outputs/mln_var.txt.tmp $(srcdir)/outputs/mln_var.txt
	@mv -f $@.tmp $@

$(srcdir)/outputs/mln_var.txt: $(srcdir)/examples/mln_var.stamp
	@if test -f $@; then :; else \
	  rm -f $<; \
	  $(MAKE) $(AM_MAKEFLAGS) $<; \
	fi

$(srcdir)/examples/parray-append.stamp: examples/parray-append.cc
	@rm -f $@.tmp
	@touch $@.tmp
	$(MAKE) $(AM_MAKEFLAGS) parray-append$(EXEEXT)
	./parray-append$(EXEEXT) >$(srcdir)/outputs/parray-append.txt.tmp
	mv $(srcdir)/outputs/parray-append.txt.tmp $(srcdir)/outputs/parray-append.txt
	@mv -f $@.tmp $@

$(srcdir)/outputs/parray-append.txt: $(srcdir)/examples/parray-append.stamp
	@if test -f $@; then :; else \
	  rm -f $<; \
	  $(MAKE) $(AM_MAKEFLAGS) $<; \
	fi

$(srcdir)/examples/parray-bbox.stamp: examples/parray-bbox.cc
	@rm -f $@.tmp
	@touch $@.tmp
	$(MAKE) $(AM_MAKEFLAGS) parray-bbox$(EXEEXT)
	./parray-bbox$(EXEEXT) >$(srcdir)/outputs/parray-bbox.txt.tmp
	mv $(srcdir)/outputs/parray-bbox.txt.tmp $(srcdir)/outputs/parray-bbox.txt
	@mv -f $@.tmp $@

$(srcdir)/outputs/parray-bbox.txt: $(srcdir)/examples/parray-bbox.stamp
	@if test -f $@; then :; else \
	  rm -f $<; \
	  $(MAKE) $(AM_MAKEFLAGS) $<; \
	fi

$(srcdir)/examples/paste-call-1.stamp: examples/paste-call-1.cc
	@rm -f $@.tmp
	@touch $@.tmp
	$(MAKE) $(AM_MAKEFLAGS) paste-call-1$(EXEEXT)
	./paste-call-1$(EXEEXT) >$(srcdir)/outputs/paste-call-1.txt.tmp
	mv $(srcdir)/outputs/paste-call-1.txt.tmp $(srcdir)/outputs/paste-call-1.txt
	@mv -f $@.tmp $@

$(srcdir)/outputs/paste-call-1.txt: $(srcdir)/examples/paste-call-1.stamp
	@if test -f $@; then :; else \
	  rm -f $<; \
	  $(MAKE) $(AM_MAKEFLAGS) $<; \
	fi

$(srcdir)/examples/paste.stamp: examples/paste.cc
	@rm -f $@.tmp
	@touch $@.tmp
	$(MAKE) $(AM_MAKEFLAGS) paste$(EXEEXT)
	./paste$(EXEEXT) >$(srcdir)/outputs/paste.txt.tmp
	mv $(srcdir)/outputs/paste.txt.tmp $(srcdir)/outputs/paste.txt
	@mv -f $@.tmp $@

$(srcdir)/outputs/paste.txt: $(srcdir)/examples/paste.stamp
	@if test -f $@; then :; else \
	  rm -f $<; \
	  $(MAKE) $(AM_MAKEFLAGS) $<; \
	fi

$(srcdir)/examples/point-1.stamp: examples/point-1.cc
	@rm -f $@.tmp
	@touch $@.tmp
	$(MAKE) $(AM_MAKEFLAGS) point-1$(EXEEXT)
	./point-1$(EXEEXT) >$(srcdir)/outputs/point-1.txt.tmp
	mv $(srcdir)/outputs/point-1.txt.tmp $(srcdir)/outputs/point-1.txt
	@mv -f $@.tmp $@

$(srcdir)/outputs/point-1.txt: $(srcdir)/examples/point-1.stamp
	@if test -f $@; then :; else \
	  rm -f $<; \
	  $(MAKE) $(AM_MAKEFLAGS) $<; \
	fi

$(srcdir)/examples/predicate-1.stamp: examples/predicate-1.cc
	@rm -f $@.tmp
	@touch $@.tmp
	$(MAKE) $(AM_MAKEFLAGS) predicate-1$(EXEEXT)
	./predicate-1$(EXEEXT) >$(srcdir)/outputs/predicate-1.txt.tmp
	mv $(srcdir)/outputs/predicate-1.txt.tmp $(srcdir)/outputs/predicate-1.txt
	@mv -f $@.tmp $@

$(srcdir)/outputs/predicate-1.txt: $(srcdir)/examples/predicate-1.stamp
	@if test -f $@; then :; else \
	  rm -f $<; \
	  $(MAKE) $(AM_MAKEFLAGS) $<; \
	fi

$(srcdir)/examples/tuto2_first_image.stamp: examples/tuto2_first_image.cc
	@rm -f $@.tmp
	@touch $@.tmp
	$(MAKE) $(AM_MAKEFLAGS) tuto2_first_image$(EXEEXT)
	./tuto2_first_image$(EXEEXT) >$(srcdir)/outputs/tuto2_first_image.txt.tmp
	mv $(srcdir)/outputs/tuto2_first_image.txt.tmp $(srcdir)/outputs/tuto2_first_image.txt
	@mv -f $@.tmp $@

$(srcdir)/outputs/tuto2_first_image.txt: $(srcdir)/examples/tuto2_first_image.stamp
	@if test -f $@; then :; else \
	  rm -f $<; \
	  $(MAKE) $(AM_MAKEFLAGS) $<; \
	fi

$(srcdir)/examples/tuto3/colorize.stamp: examples/tuto3/colorize.cc
	@rm -f $@.tmp
	@touch $@.tmp
	$(MAKE) $(AM_MAKEFLAGS) tuto3_colorize$(EXEEXT)
	./tuto3_colorize$(EXEEXT) >$(srcdir)/outputs/tuto3_colorize.txt.tmp
	mv $(srcdir)/outputs/tuto3_colorize.txt.tmp $(srcdir)/outputs/tuto3_colorize.txt
	@mv -f $@.tmp $@

$(srcdir)/outputs/tuto3_colorize.txt: $(srcdir)/examples/tuto3/colorize.stamp
	@if test -f $@; then :; else \
	  rm -f $<; \
	  $(MAKE) $(AM_MAKEFLAGS) $<; \
	fi

$(srcdir)/examples/tuto3/first_routine.stamp: examples/tuto3/first_routine.cc
	@rm -f $@.tmp
	@touch $@.tmp
	$(MAKE) $(AM_MAKEFLAGS) tuto3_first_routine$(EXEEXT)
	./tuto3_first_routine$(EXEEXT) >$(srcdir)/outputs/tuto3_first_routine.txt.tmp
	mv $(srcdir)/outputs/tuto3_first_routine.txt.tmp $(srcdir)/outputs/tuto3_first_routine.txt
	@mv -f $@.tmp $@

$(srcdir)/outputs/tuto3_first_routine.txt: $(srcdir)/examples/tuto3/first_routine.stamp
	@if test -f $@; then :; else \
	  rm -f $<; \
	  $(MAKE) $(AM_MAKEFLAGS) $<; \
	fi

$(srcdir)/examples/tuto3/println.stamp: examples/tuto3/println.cc
	@rm -f $@.tmp
	@touch $@.tmp
	$(MAKE) $(AM_MAKEFLAGS) tuto3_println$(EXEEXT)
	./tuto3_println$(EXEEXT) >$(srcdir)/outputs/tuto3_println.txt.tmp
	mv $(srcdir)/outputs/tuto3_println.txt.tmp $(srcdir)/outputs/tuto3_println.txt
	@mv -f $@.tmp $@

$(srcdir)/outputs/tuto3_println.txt: $(srcdir)/examples/tuto3/println.stamp
	@if test -f $@; then :; else \
	  rm -f $<; \
	  $(MAKE) $(AM_MAKEFLAGS) $<; \
	fi

$(srcdir)/examples/tuto3/trace.stamp: examples/tuto3/trace.cc
	@rm -f $@.tmp
	@touch $@.tmp
	$(MAKE) $(AM_MAKEFLAGS) tuto3_trace$(EXEEXT)
	./tuto3_trace$(EXEEXT) >$(srcdir)/outputs/tuto3_trace.txt.tmp
	mv $(srcdir)/outputs/tuto3_trace.txt.tmp $(srcdir)/outputs/tuto3_trace.txt
	@mv -f $@.tmp $@

$(srcdir)/outputs/tuto3_trace.txt: $(srcdir)/examples/tuto3/trace.stamp
	@if test -f $@; then :; else \
	  rm -f $<; \
	  $(MAKE) $(AM_MAKEFLAGS) $<; \
	fi

$(srcdir)/examples/tuto3_rw_image.stamp: examples/tuto3_rw_image.cc
	@rm -f $@.tmp
	@touch $@.tmp
	$(MAKE) $(AM_MAKEFLAGS) tuto3_rw_image$(EXEEXT)
	./tuto3_rw_image$(EXEEXT) >$(srcdir)/outputs/tuto3_rw_image.txt.tmp
	mv $(srcdir)/outputs/tuto3_rw_image.txt.tmp $(srcdir)/outputs/tuto3_rw_image.txt
	@mv -f $@.tmp $@

$(srcdir)/outputs/tuto3_rw_image.txt: $(srcdir)/examples/tuto3_rw_image.stamp
	@if test -f $@; then :; else \
	  rm -f $<; \
	  $(MAKE) $(AM_MAKEFLAGS) $<; \
	fi

$(srcdir)/examples/tuto4/image.stamp: examples/tuto4/image.cc
	@rm -f $@.tmp
	@touch $@.tmp
	$(MAKE) $(AM_MAKEFLAGS) tuto4_image$(EXEEXT)
	./tuto4_image$(EXEEXT) >$(srcdir)/outputs/tuto4_image.txt.tmp
	mv $(srcdir)/outputs/tuto4_image.txt.tmp $(srcdir)/outputs/tuto4_image.txt
	@mv -f $@.tmp $@

$(srcdir)/outputs/tuto4_image.txt: $(srcdir)/examples/tuto4/image.stamp
	@if test -f $@; then :; else \
	  rm -f $<; \
	  $(MAKE) $(AM_MAKEFLAGS) $<; \
	fi

$(srcdir)/examples/tuto4/point2d.stamp: examples/tuto4/point2d.cc
	@rm -f $@.tmp
	@touch $@.tmp
	$(MAKE) $(AM_MAKEFLAGS) tuto4_point2d$(EXEEXT)
	./tuto4_point2d$(EXEEXT) >$(srcdir)/outputs/tuto4_point2d.txt.tmp
	mv $(srcdir)/outputs/tuto4_point2d.txt.tmp $(srcdir)/outputs/tuto4_point2d.txt
	@mv -f $@.tmp $@

$(srcdir)/outputs/tuto4_point2d.txt: $(srcdir)/examples/tuto4/point2d.stamp
	@if test -f $@; then :; else \
	  rm -f $<; \
	  $(MAKE) $(AM_MAKEFLAGS) $<; \
	fi

$(srcdir)/examples/tuto4/site_set_create.stamp: examples/tuto4/site_set_create.cc
	@rm -f $@.tmp
	@touch $@.tmp
	$(MAKE) $(AM_MAKEFLAGS) tuto4_site_set_create$(EXEEXT)
	./tuto4_site_set_create$(EXEEXT) >$(srcdir)/outputs/tuto4_site_set_create.txt.tmp
	mv $(srcdir)/outputs/tuto4_site_set_create.txt.tmp $(srcdir)/outputs/tuto4_site_set_create.txt
	@mv -f $@.tmp $@

$(srcdir)/outputs/tuto4_site_set_create.txt: $(srcdir)/examples/tuto4/site_set_create.stamp
	@if test -f $@; then :; else \
	  rm -f $<; \
	  $(MAKE) $(AM_MAKEFLAGS) $<; \
	fi

$(srcdir)/examples/tuto4_genericity_and_algorithms.stamp: examples/tuto4_genericity_and_algorithms.cc
	@rm -f $@.tmp
	@touch $@.tmp
	$(MAKE) $(AM_MAKEFLAGS) tuto4_genericity_and_algorithms$(EXEEXT)
	./tuto4_genericity_and_algorithms$(EXEEXT) >$(srcdir)/outputs/tuto4_genericity_and_algorithms.txt.tmp
	mv $(srcdir)/outputs/tuto4_genericity_and_algorithms.txt.tmp $(srcdir)/outputs/tuto4_genericity_and_algorithms.txt
	@mv -f $@.tmp $@

$(srcdir)/outputs/tuto4_genericity_and_algorithms.txt: $(srcdir)/examples/tuto4_genericity_and_algorithms.stamp
	@if test -f $@; then :; else \
	  rm -f $<; \
	  $(MAKE) $(AM_MAKEFLAGS) $<; \
	fi

$(srcdir)/examples/win-create-1.stamp: examples/win-create-1.cc
	@rm -f $@.tmp
	@touch $@.tmp
	$(MAKE) $(AM_MAKEFLAGS) win-create-1$(EXEEXT)
	./win-create-1$(EXEEXT) >$(srcdir)/outputs/win-create-1.txt.tmp
	mv $(srcdir)/outputs/win-create-1.txt.tmp $(srcdir)/outputs/win-create-1.txt
	@mv -f $@.tmp $@

$(srcdir)/outputs/win-create-1.txt: $(srcdir)/examples/win-create-1.stamp
	@if test -f $@; then :; else \
	  rm -f $<; \
	  $(MAKE) $(AM_MAKEFLAGS) $<; \
	fi

$(srcdir)/examples/win-create-2.stamp: examples/win-create-2.cc
	@rm -f $@.tmp
	@touch $@.tmp
	$(MAKE) $(AM_MAKEFLAGS) win-create-2$(EXEEXT)
	./win-create-2$(EXEEXT) >$(srcdir)/outputs/win-create-2.txt.tmp
	mv $(srcdir)/outputs/win-create-2.txt.tmp $(srcdir)/outputs/win-create-2.txt
	@mv -f $@.tmp $@

$(srcdir)/outputs/win-create-2.txt: $(srcdir)/examples/win-create-2.stamp
	@if test -f $@; then :; else \
	  rm -f $<; \
	  $(MAKE) $(AM_MAKEFLAGS) $<; \
	fi

.PHONY: regen-examples-outputs-mk
regen-examples-outputs-mk:
	rm -f $(srcdir)/examples-outputs.mk.tmp
	cd $(srcdir) &&							\
	  ./gen-examples-outputs-mk					\
	    `find examples -name \*.cc -a \! -path examples/trash/\*	\
	       | env LC_ALL=C sort`					\
	    >examples-outputs.mk.tmp
	mv -f $(srcdir)/examples-outputs.mk.tmp $(srcdir)/examples-outputs.mk
	chmod -w $(srcdir)/examples-outputs.mk
$(srcdir)/split-outputs.mk: $(srcdir)/gen-split-outputs-mk
	rm -f $@.tmp
	cd $(srcdir) && ./gen-split-outputs-mk >split-outputs.mk.tmp
	mv -f $@.tmp $@
	chmod -w $@

$(srcdir)/outputs/split/graph-iter.txt.stamp: $(srcdir)/outputs/graph-iter.txt
	@rm -f $@.tmp
	@touch $@.tmp
	$(srcdir)/tools/split_sample.sh $< txt "" $(srcdir)/outputs/split
	@mv -f $@.tmp $@

$(srcdir)/outputs/split/graph-iter-1.txt $(srcdir)/outputs/split/graph-iter-2.txt $(srcdir)/outputs/split/graph-iter-3.txt $(srcdir)/outputs/split/graph-iter-4.txt: $(srcdir)/outputs/split/graph-iter.txt.stamp
	@if test -f $@; then :; else \
	  rm -f $<; \
	  $(MAKE) $(AM_MAKEFLAGS) $<; \
	fi

$(srcdir)/outputs/split/tuto3_println.txt.stamp: $(srcdir)/outputs/tuto3_println.txt
	@rm -f $@.tmp
	@touch $@.tmp
	$(srcdir)/tools/split_sample.sh $< txt "" $(srcdir)/outputs/split
	@mv -f $@.tmp $@

$(srcdir)/outputs/split/tuto3_println-1.txt $(srcdir)/outputs/split/tuto3_println-2.txt: $(srcdir)/outputs/split/tuto3_println.txt.stamp
	@if test -f $@; then :; else \
	  rm -f $<; \
	  $(MAKE) $(AM_MAKEFLAGS) $<; \
	fi

$(srcdir)/outputs/split/tuto4_site_set_create.txt.stamp: $(srcdir)/outputs/tuto4_site_set_create.txt
	@rm -f $@.tmp
	@touch $@.tmp
	$(srcdir)/tools/split_sample.sh $< txt "" $(srcdir)/outputs/split
	@mv -f $@.tmp $@

$(srcdir)/outputs/split/tuto4_site_set_create-1.txt $(srcdir)/outputs/split/tuto4_site_set_create-2.txt $(srcdir)/outputs/split/tuto4_site_set_create-3.txt: $(srcdir)/outputs/split/tuto4_site_set_create.txt.stamp
	@if test -f $@; then :; else \
	  rm -f $<; \
	  $(MAKE) $(AM_MAKEFLAGS) $<; \
	fi

.PHONY: regen-split-outputs-mk
regen-split-outputs-mk:
	rm -f $(srcdir)/split-outputs.mk.tmp
	cd $(srcdir) && ./gen-split-outputs-mk >split-outputs.mk.tmp
	mv -f $(srcdir)/split-outputs.mk.tmp $(srcdir)/split-outputs.mk
	chmod -w $(srcdir)/split-outputs.mk

regen: regen-recursive
regen-am:
# Copied and adjusted from a generated Makefile.in (rule
# `$(RECURSIVE_TARGETS)').  (Automake does not allow us to interact
# with the code it generates in Makefile.in.)  We might want to
# propose this as a patch to the Automake project.
regen-recursive:
	@failcom='exit 1'; \
	for f in x $$MAKEFLAGS; do \
	  case $$f in \
	    *=* | --[!k]*);; \
	    *k*) failcom='fail=yes';; \
	  esac; \
	done; \
	dot_seen=no; \
	target=`echo $@ | sed s/-recursive//`; \
	list='$(REGEN_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) \
	  || eval $$failcom; \
	done; \
	if test "$$dot_seen" = "no"; then \
	  $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
	fi; test -z "$$fail"

.PHONY: regen regen-am regen-recursive
regen-am:
	$(MAKE) $(AM_MAKEFLAGS) regen-figures-mk
	$(MAKE) $(AM_MAKEFLAGS) regen-examples-mk
	$(MAKE) $(AM_MAKEFLAGS) regen-split-examples-mk
	$(MAKE) $(AM_MAKEFLAGS) regen-outputs-mk
	$(MAKE) $(AM_MAKEFLAGS) regen-examples-outputs-mk
	$(MAKE) $(AM_MAKEFLAGS) regen-split-outputs-mk

maintainer-clean-local:
	-rm -rf $(USER_REFMAN).tmp $(srcdir)/$(USER_REFMAN)
	-rm -rf $(DEVEL_REFMAN).tmp $(srcdir)/$(DEVEL_REFMAN)
	-for d in $(DATA_html_dirs); do		\
	  rm -rf $$d.tmp $(srcdir)/$$d;		\
	done

# We install by hand, otherwise Automake produces "install .../srcdoc
# .../srcdoc", which installs our dir into the previous one, instead
# of replacing it.
install-data-local:
	$(mkdir_p) $(DESTDIR)$(htmldir)
# The user reference manual is located in a subdirectory, hence this
# special case.
	rm -rf $(DESTDIR)$(htmldir)/$(USER_REFMAN)
	cp -r $(srcdir)/$(USER_REFMAN)/html $(DESTDIR)$(htmldir)/$(USER_REFMAN)
# Other HTML directories can be processed uniformly.
	for d in $(DATA_html_dirs_inst); do			\
	  rm -rf $(DESTDIR)$(htmldir)/$$d;		\
	  cp -r $(srcdir)/$$d $(DESTDIR)$(htmldir);	\
	done
	chmod -R a+rX $(DESTDIR)$(htmldir) || \
	find $(DESTDIR)$(htmldir) \( -type d -a -exec chmod a+rx {} \; \) \
             -o -exec chmod a+r {} \;

uninstall-local:
	for d in $(DATA_html_dirs_inst); do			\
	  chmod -R 700 $(DESTDIR)$(htmldir)/$$d;	\
	  rm -rf $(DESTDIR)$(htmldir)/$$d;		\
	done
# Same remark as above regarding the special case of the user
# reference manual.
	chmod -R 700 $(DESTDIR)$(htmldir)/$(USER_REFMAN)
	rm -rf $(DESTDIR)$(htmldir)/$(USER_REFMAN)

# 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:
