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

# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
# 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 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@



VPATH = @srcdir@
am__make_dryrun = \
  { \
    am__dry=no; \
    case $$MAKEFLAGS in \
      *\\[\ \	]*) \
        echo 'am--echo: ; @echo "AM"  OK' | $(MAKE) -f - 2>/dev/null \
          | grep '^AM OK$$' >/dev/null || am__dry=yes;; \
      *) \
        for am__flg in $$MAKEFLAGS; do \
          case $$am__flg in \
            *=*|--*) ;; \
            *n*) am__dry=yes; break;; \
          esac; \
        done;; \
    esac; \
    test $$am__dry = yes; \
  }
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 = $(srcdir)/Makefile.am $(srcdir)/Makefile.deps \
	$(srcdir)/Makefile.in $(srcdir)/crossref.sh.in \
	$(srcdir)/gfs-highlight.in $(srcdir)/gfs2doc.in
noinst_PROGRAMS = classes$(EXEEXT) modules$(EXEEXT)
subdir = doc/examples
ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
am__aclocal_m4_deps = $(top_srcdir)/acinclude.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 = gfs2doc gfs-highlight crossref.sh
CONFIG_CLEAN_VPATH_FILES =
PROGRAMS = $(noinst_PROGRAMS)
am_classes_OBJECTS = classes-classes.$(OBJEXT) classes-init.$(OBJEXT)
classes_OBJECTS = $(am_classes_OBJECTS)
am__DEPENDENCIES_1 =
classes_DEPENDENCIES = $(am__DEPENDENCIES_1)
classes_LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \
	--mode=link $(CCLD) $(classes_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) \
	$(LDFLAGS) -o $@
am_modules_OBJECTS = modules-modules.$(OBJEXT)
modules_OBJECTS = $(am_modules_OBJECTS)
modules_DEPENDENCIES = $(am__DEPENDENCIES_1)
modules_LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \
	--mode=link $(CCLD) $(modules_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) \
	$(LDFLAGS) -o $@
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__uninstall_files_from_dir = { \
  test -z "$$files" \
    || { test ! -d "$$dir" && test ! -f "$$dir" && test ! -r "$$dir"; } \
    || { echo " ( cd '$$dir' && rm -f" $$files ")"; \
         $(am__cd) "$$dir" && rm -f $$files; }; \
  }
am__installdirs = "$(DESTDIR)$(bindir)" "$(DESTDIR)$(pkgdatadir)"
SCRIPTS = $(bin_SCRIPTS)
DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir)
depcomp = $(SHELL) $(top_srcdir)/depcomp
am__depfiles_maybe = depfiles
am__mv = mv -f
COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
	$(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
LTCOMPILE = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \
	--mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \
	$(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
CCLD = $(CC)
LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \
	--mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) \
	$(LDFLAGS) -o $@
SOURCES = classes.c modules.c
DIST_SOURCES = classes.c modules.c
am__can_run_installinfo = \
  case $$AM_UPDATE_INFO_DIR in \
    n|no|NO) false;; \
    *) (install-info --version) >/dev/null 2>&1;; \
  esac
DATA = $(pkgdata_DATA)
ETAGS = etags
CTAGS = ctags
am__tty_colors = \
red=; grn=; lgn=; blu=; std=
# Restructured Text title and section.
am__rst_title = sed 's/.*/   &   /;h;s/./=/g;p;x;p;g;p;s/.*//'
am__rst_section = sed 'p;s/./=/g;p;g'
# Put stdin (possibly several lines separated by ".  ") in a box.
# Prefix each line by 'col' and terminate each with 'std', for coloring.
# Multi line coloring is problematic with "less -R", so we really need
# to color each line individually.
am__text_box = $(AWK) '{			\
  n = split($$0, lines, "\\.  "); max = 0;	\
  for (i = 1; i <= n; ++i)			\
    if (max < length(lines[i]))			\
      max = length(lines[i]);			\
  for (i = 0; i < max; ++i)			\
    line = line "=";				\
  print col line std;				\
  for (i = 1; i <= n; ++i)			\
    if (lines[i])				\
      print col lines[i] std;			\
  print col line std;				\
}'
# Solaris 10 'make', and several other traditional 'make' implementations,
# pass "-e" to $(SHELL), and POSIX 2008 even requires this.  Work around it
# by disabling -e (using the XSI extension "set +e") if it's set.
am__sh_e_setup = case $$- in *e*) set +e;; esac
# To be inserted before the command running the test.  Creates the
# directory for the log if needed.  Stores in $dir the directory
# containing $f, in $tst the test, in $log the log, and passes
# TESTS_ENVIRONMENT.  Save and restore TERM around use of
# TESTS_ENVIRONMENT, in case that unsets it.
am__check_pre = \
$(am__sh_e_setup);					\
$(am__vpath_adj_setup) $(am__vpath_adj)			\
srcdir=$(srcdir); export srcdir;			\
rm -f $@-t;						\
am__trap='rm -f '\''$(abs_builddir)/$@-t'\''; (exit $$st); exit $$st'; \
trap "st=129; $$am__trap" 1; trap "st=130; $$am__trap" 2;	\
trap "st=141; $$am__trap" 13; trap "st=143; $$am__trap" 15; \
am__odir=`echo "./$@" | sed 's|/[^/]*$$||'`;		\
test "x$$am__odir" = x. || $(MKDIR_P) "$$am__odir" || exit $$?;	\
if test -f "./$$f"; then dir=./;			\
elif test -f "$$f"; then dir=;				\
else dir="$(srcdir)/"; fi;				\
tst=$$dir$$f; log='$@'; __SAVED_TERM=$$TERM;		\
$(TESTS_ENVIRONMENT)
# To be appended to the command running the test.  Handle the stdout
# and stderr redirection, and catch the exit status.
am__check_post = \
>$@-t 2>&1;						\
estatus=$$?;						\
if test -n '$(DISABLE_HARD_ERRORS)'			\
   && test $$estatus -eq 99; then			\
  estatus=1;						\
fi;							\
TERM=$$__SAVED_TERM; export TERM;			\
$(am__tty_colors);					\
xfailed=PASS;						\
case " $(XFAIL_TESTS) " in				\
  *[\ \	]$$f[\ \	]* | *[\ \	]$$dir$$f[\ \	]*) \
    xfailed=XFAIL;;					\
esac;							\
case $$estatus.$$xfailed in				\
    0.XFAIL) col=$$red; res=XPASS;;			\
    0.*)     col=$$grn; res=PASS ;;			\
    77.*)    col=$$blu; res=SKIP ;;			\
    99.*)    col=$$red; res=FAIL ;;			\
    *.XFAIL) col=$$lgn; res=XFAIL;;			\
    *.*)     col=$$red; res=FAIL ;;			\
esac;							\
echo "$${col}$$res$${std}: $$f";			\
echo "$$res: $$f (exit: $$estatus)" |			\
  $(am__rst_section) >$@;				\
cat $@-t >>$@;						\
rm -f $@-t
RECHECK_LOGS = $(TEST_LOGS)
AM_RECURSIVE_TARGETS = check recheck check-html recheck-html
TEST_SUITE_HTML = $(TEST_SUITE_LOG:.log=.html)
TEST_SUITE_LOG = test-suite.log
TEST_EXTENSIONS = @EXEEXT@ .test
LOG_COMPILE = $(LOG_COMPILER) $(AM_LOG_FLAGS) $(LOG_FLAGS)
am__test_logs1 = $(TESTS:=.log)
am__test_logs2 = $(am__test_logs1:@EXEEXT@.log=.log)
TEST_LOGS = $(am__test_logs2:.test.log=.log)
TEST_LOG_COMPILE = $(TEST_LOG_COMPILER) $(AM_TEST_LOG_FLAGS) \
	$(TEST_LOG_FLAGS)
TEST_LOGS_TMP = $(TEST_LOGS:.log=.log-t)
DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
ACLOCAL = @ACLOCAL@
AMTAR = @AMTAR@
AR = @AR@
AS = @AS@
AUTOCONF = @AUTOCONF@
AUTOHEADER = @AUTOHEADER@
AUTOMAKE = @AUTOMAKE@
AWK = @AWK@
CC = @CC@
CCDEPMODE = @CCDEPMODE@
CFLAGS = @CFLAGS@
CPP = @CPP@
CPPFLAGS = @CPPFLAGS@
CYGPATH_W = @CYGPATH_W@
DEFS = @DEFS@
DEPDIR = @DEPDIR@
DLLTOOL = @DLLTOOL@
DSYMUTIL = @DSYMUTIL@
DUMPBIN = @DUMPBIN@
ECHO_C = @ECHO_C@
ECHO_N = @ECHO_N@
ECHO_T = @ECHO_T@
EGREP = @EGREP@
EXEEXT = @EXEEXT@
F77 = @F77@
FC = @FC@
FCFLAGS = @FCFLAGS@
FFLAGS = @FFLAGS@
FFTW3_CFLAGS = @FFTW3_CFLAGS@
FFTW3_LIBS = @FFTW3_LIBS@
FGREP = @FGREP@
FLIBS = @FLIBS@
GFS2D_LIBS = @GFS2D_LIBS@
GFS3D_LIBS = @GFS3D_LIBS@
GFS_COMPILATION_FLAGS = @GFS_COMPILATION_FLAGS@
GFS_MAJOR_VERSION = @GFS_MAJOR_VERSION@
GFS_MICRO_VERSION = @GFS_MICRO_VERSION@
GFS_MINOR_VERSION = @GFS_MINOR_VERSION@
GFS_VERSION = @GFS_VERSION@
GREP = @GREP@
GSL_CFLAGS = @GSL_CFLAGS@
GSL_CONFIG = @GSL_CONFIG@
GSL_LIBS = @GSL_LIBS@
GTS_CFLAGS = @GTS_CFLAGS@
GTS_LIBS = @GTS_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@
LT_AGE = @LT_AGE@
LT_CURRENT = @LT_CURRENT@
LT_RELEASE = @LT_RELEASE@
LT_REVISION = @LT_REVISION@
MAINT = @MAINT@
MAKEINFO = @MAKEINFO@
MANIFEST_TOOL = @MANIFEST_TOOL@
MKDIR_P = @MKDIR_P@
NM = @NM@
NMEDIT = @NMEDIT@
NO_UNDEFINED = @NO_UNDEFINED@
OBJDUMP = @OBJDUMP@
OBJEXT = @OBJEXT@
ODE_CFLAGS = @ODE_CFLAGS@
ODE_LIBS = @ODE_LIBS@
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@
PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@
PKG_CONFIG_PATH = @PKG_CONFIG_PATH@
RANLIB = @RANLIB@
SED = @SED@
SET_MAKE = @SET_MAKE@
SHELL = @SHELL@
STRIP = @STRIP@
VERSION = @VERSION@
W3INIT = @W3INIT@
WEBROOT = @WEBROOT@
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_DUMPBIN = @ac_ct_DUMPBIN@
ac_ct_F77 = @ac_ct_F77@
ac_ct_FC = @ac_ct_FC@
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@
have_m4 = @have_m4@
have_pkg_config = @have_pkg_config@
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@
ode = @ode@
oldincludedir = @oldincludedir@
pdfdir = @pdfdir@
prefix = @prefix@
program_transform_name = @program_transform_name@
psdir = @psdir@
sbindir = @sbindir@
sharedstatedir = @sharedstatedir@
srcdir = @srcdir@
sysconfdir = @sysconfdir@
target_alias = @target_alias@
top_build_prefix = @top_build_prefix@
top_builddir = @top_builddir@
top_srcdir = @top_srcdir@
use_mpicc = @use_mpicc@
AUTOMAKE_OPTIONS = parallel-tests
EXTRA_DIST = template.tex gfs2tex.py gfs2tex depend.py test.py \
	Makefile.deps crossref.sh.in gfsxref gfs-mode.el modulesyms.sh \
	gfs.sty gfs.hva kaltura.sh gfs.php.sh $(TESTS) \
	cylinder/cylinder.gfs cylinder/parallel/parallel.gfs \
	cylinder/parallel/parallel.sh cylinder/parallel/pid.gfv \
	cylinder/heated/heated.gfs rt/rt.gfs rt/rt.gfv \
	boussinesq/boussinesq.gfs boussinesq/boussinesq.gfv \
	logo/logo.gfs logo/logo.gfv column/column.gfs \
	column/comparison.plot column/column.gfv column/grains.tgz \
	column/movie.gfv starting/starting.gfs starting/starting.sh \
	starting/starting.gfv starting/n2414.dat viscmix/viscmix.gfs \
	viscmix/run.sh viscmix/viscmix.gfv bubble/bubble.gfs \
	bubble/bubble.sh bubble/bubble.gfv bubble/cap/cap.gfs \
	bubble/cap/bubble.sh bubble/cap/bubble.gfv \
	tangaroa/tangaroa.gfs tangaroa/tangaroa.gts \
	tangaroa/sections.gfv plateau/plateau.gfs plateau/plateau.gfv \
	plateau/white.gfv plateau/closeup.gfv \
	atomisation/atomisation.gfs atomisation/atomisation.sh \
	atomisation/jet.gfv atomisation/back.gfv ship/ship.gfs \
	ship/closeup.gfv ship/front.gfv ship/comparison.gfv \
	ship/tank-data.png forcedturbulence/forcedturbulence.gfs \
	forcedturbulence/spectral.dat forcedturbulence/multiview.gfv \
	wingtip/wingtip.gfs wingtip/n2414.dat wingtip/wingtip.gfv \
	wingtip/wingtip.sh tides/tides.gfs tides/tides.sh \
	tides/bathymetry tides/coefficients tides/amplitude.gfv \
	tides/ellipses.gfv tides/phase.gfv tides/residual.gfv \
	tides/tides.gfv dam/dam.gfs dam/dam.plot hump/hump.gfs \
	hump/hump.gfv hump/isolines.gfv hump/cells.gfv shock/shock.gfs \
	shock/depth.gfv shock/mesh.gfv monai/monai.gfs monai/monai.sh \
	monai/3D.gfv monai/leveque.gfv monai/mesh.gfv \
	monai/overhead.gfv monai/probe.gfv tsunami/tsunami.gfs \
	tsunami/output.gfs tsunami/tsunami.gfv tsunami/h.gfv \
	tsunami/level.gfv tsunami/hmax.gfv tsunami/hmax-detail.gfv \
	tsunami/hanires.txt tsunami/diegres.txt tsunami/maleres.txt \
	tsunami/colores.txt tsunami/ganares.txt tsunami/jason.xy \
	tsunami/jasonres.txt garden/garden.gfs garden/garden.sh \
	garden/end.gfv garden/mesh.gfv cyclone/cyclone.gfs \
	cyclone/cyclone.gfv cyclone/hs.gfv cyclone/mesh.gfv \
	cyclone/shifted.gfv
bin_SCRIPTS = \
	gfs2doc gfs-highlight gfsxref

BUILT_SOURCES = \
	gfs2doc gfs-highlight gfs.lang gerris.dic gfs-keywords.el gfs.php

CLEANFILES = $(BUILT_SOURCES) Makefile.deps
pkgdata_DATA = gfs2tex.py gfs.lang gerris.dic gfs-keywords.el gfs-mode.el gfs.sty gfs.hva kaltura.sh gfs.php
DOC = examples

# we need this for bibtex
BIBINPUTS = $(top_srcdir)/doc
DOCS = \
	cylinder/cylinder.gfs.html\
	cylinder/t.mpg\
	cylinder/vort.mpg\
	cylinder/parallel/parallel.gfs.html\
	cylinder/parallel/pid.mpg\
	cylinder/heated/heated.gfs.html\
	cylinder/heated/t.mpg\
	rt/rt.gfs.html\
	rt/t.mpg\
	rt/vort.mpg\
	boussinesq/boussinesq.gfs.html\
	boussinesq/t.mpg\
	logo/logo.gfs.html\
	logo/logo.mpg\
	logo/logo.png\
	column/column.gfs.html\
	column/movie.ogv\
	starting/starting.gfs.html\
	starting/starting.mpg\
	viscmix/viscmix.gfs.html\
	viscmix/viscmix.mpg\
	bubble/bubble.gfs.html\
	bubble/cap/cap.gfs.html\
	tangaroa/tangaroa.gfs.html\
	tangaroa/sections.mpg\
	plateau/plateau.gfs.html\
	plateau/plateau.ogv\
	plateau/white.ogv\
	plateau/closeup.ogv\
	plateau/plateau.png\
	plateau/white.png\
	plateau/closeup.png\
	atomisation/atomisation.gfs.html\
	atomisation/jet.ogv\
	atomisation/back.ogv\
	atomisation/jet.png\
	atomisation/back.png\
	ship/ship.gfs.html\
	ship/closeup.mpg\
	forcedturbulence/forcedturbulence.gfs.html\
	forcedturbulence/multiview.mpg\
	wingtip/wingtip.gfs.html\
	wingtip/wingtip.mpg\
	tides/tides.gfs.html\
	dam/dam.gfs.html\
	hump/hump.gfs.html\
	hump/hump.mpg\
	shock/shock.gfs.html\
	shock/depth.mpg\
	monai/monai.gfs.html\
	monai/monai.mpg\
	monai/comparison.mp4\
	tsunami/tsunami.gfs.html\
	tsunami/h.mpg\
	tsunami/level.mpg\
	garden/garden.gfs.html\
	cyclone/cyclone.gfs.html\
	cylinder/cylinder.gfs\
	cylinder/parallel/parallel.gfs\
	cylinder/parallel/parallel.sh\
	cylinder/parallel/pid.gfv\
	cylinder/heated/heated.gfs\
	rt/rt.gfs\
	rt/rt.gfv\
	boussinesq/boussinesq.gfs\
	boussinesq/boussinesq.gfv\
	logo/logo.gfs\
	logo/logo.gfv\
	column/column.gfs\
	column/comparison.plot\
	column/column.gfv\
	column/grains.tgz\
	column/movie.gfv\
	starting/starting.gfs\
	starting/starting.sh\
	starting/starting.gfv\
	starting/n2414.dat\
	viscmix/viscmix.gfs\
	viscmix/run.sh\
	viscmix/viscmix.gfv\
	bubble/bubble.gfs\
	bubble/bubble.sh\
	bubble/bubble.gfv\
	bubble/cap/cap.gfs\
	bubble/cap/bubble.sh\
	bubble/cap/bubble.gfv\
	tangaroa/tangaroa.gfs\
	tangaroa/tangaroa.gts\
	tangaroa/sections.gfv\
	plateau/plateau.gfs\
	plateau/plateau.gfv\
	plateau/white.gfv\
	plateau/closeup.gfv\
	atomisation/atomisation.gfs\
	atomisation/atomisation.sh\
	atomisation/jet.gfv\
	atomisation/back.gfv\
	ship/ship.gfs\
	ship/closeup.gfv\
	ship/front.gfv\
	ship/comparison.gfv\
	ship/tank-data.png\
	forcedturbulence/forcedturbulence.gfs\
	forcedturbulence/spectral.dat\
	forcedturbulence/multiview.gfv\
	wingtip/wingtip.gfs\
	wingtip/n2414.dat\
	wingtip/wingtip.gfv\
	wingtip/wingtip.sh\
	tides/tides.gfs\
	tides/tides.sh\
	tides/bathymetry\
	tides/coefficients\
	tides/amplitude.gfv\
	tides/ellipses.gfv\
	tides/phase.gfv\
	tides/residual.gfv\
	tides/tides.gfv\
	dam/dam.gfs\
	dam/dam.plot\
	hump/hump.gfs\
	hump/hump.gfv\
	hump/isolines.gfv\
	hump/cells.gfv\
	shock/shock.gfs\
	shock/depth.gfv\
	shock/mesh.gfv\
	monai/monai.gfs\
	monai/monai.sh\
	monai/3D.gfv\
	monai/leveque.gfv\
	monai/mesh.gfv\
	monai/overhead.gfv\
	monai/probe.gfv\
	tsunami/tsunami.gfs\
	tsunami/output.gfs\
	tsunami/tsunami.gfv\
	tsunami/h.gfv\
	tsunami/level.gfv\
	tsunami/hmax.gfv\
	tsunami/hmax-detail.gfv\
	tsunami/hanires.txt\
	tsunami/diegres.txt\
	tsunami/maleres.txt\
	tsunami/colores.txt\
	tsunami/ganares.txt\
	tsunami/jason.xy\
	tsunami/jasonres.txt\
	garden/garden.gfs\
	garden/garden.sh\
	garden/end.gfv\
	garden/mesh.gfv\
	cyclone/cyclone.gfs\
	cyclone/cyclone.gfv\
	cyclone/hs.gfv\
	cyclone/mesh.gfv\
	cyclone/shifted.gfv

TESTS = \
	cylinder.sh\
	rt.sh\
	boussinesq.sh\
	logo.sh\
	column.sh\
	starting.sh\
	viscmix.sh\
	bubble.sh\
	tangaroa.sh\
	plateau.sh\
	atomisation.sh\
	ship.sh\
	forcedturbulence.sh\
	wingtip.sh\
	tides.sh\
	dam.sh\
	hump.sh\
	shock.sh\
	monai.sh\
	tsunami.sh\
	garden.sh\
	cyclone.sh

EXAMPLES = cylinder rt boussinesq logo column starting viscmix bubble tangaroa plateau atomisation ship forcedturbulence wingtip tides dam hump shock monai tsunami garden cyclone
INCLUDES = -I$(top_srcdir)/src -I$(includedir) -DG_LOG_DOMAIN=\"Gfs-tools\"\
            $(GTS_CFLAGS)

classes_SOURCES = classes.c $(top_srcdir)/src/init.c
classes_CFLAGS = $(AM_CFLAGS) -DFTT_2D=1
classes_CPPFLAGS = $(INCLUDES) -I$(top_builddir)/src
classes_LDADD = $(GFS2D_LIBS)
modules_SOURCES = modules.c
modules_CFLAGS = $(AM_CFLAGS) -DFTT_2D=1
modules_CPPFLAGS = $(INCLUDES)
modules_LDADD = $(GFS2D_LIBS)
all: $(BUILT_SOURCES)
	$(MAKE) $(AM_MAKEFLAGS) all-am

.SUFFIXES:
.SUFFIXES: .c .html .lo .log .o .obj .test .test$(EXEEXT)
$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(srcdir)/Makefile.deps $(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 doc/examples/Makefile'; \
	$(am__cd) $(top_srcdir) && \
	  $(AUTOMAKE) --gnu doc/examples/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;
$(srcdir)/Makefile.deps:

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

$(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
	cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
$(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
	cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
$(am__aclocal_m4_deps):
gfs2doc: $(top_builddir)/config.status $(srcdir)/gfs2doc.in
	cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@
gfs-highlight: $(top_builddir)/config.status $(srcdir)/gfs-highlight.in
	cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@
crossref.sh: $(top_builddir)/config.status $(srcdir)/crossref.sh.in
	cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@

clean-noinstPROGRAMS:
	@list='$(noinst_PROGRAMS)'; test -n "$$list" || exit 0; \
	echo " rm -f" $$list; \
	rm -f $$list || exit $$?; \
	test -n "$(EXEEXT)" || exit 0; \
	list=`for p in $$list; do echo "$$p"; done | sed 's/$(EXEEXT)$$//'`; \
	echo " rm -f" $$list; \
	rm -f $$list
classes$(EXEEXT): $(classes_OBJECTS) $(classes_DEPENDENCIES) 
	@rm -f classes$(EXEEXT)
	$(classes_LINK) $(classes_OBJECTS) $(classes_LDADD) $(LIBS)
modules$(EXEEXT): $(modules_OBJECTS) $(modules_DEPENDENCIES) 
	@rm -f modules$(EXEEXT)
	$(modules_LINK) $(modules_OBJECTS) $(modules_LDADD) $(LIBS)
install-binSCRIPTS: $(bin_SCRIPTS)
	@$(NORMAL_INSTALL)
	@list='$(bin_SCRIPTS)'; test -n "$(bindir)" || list=; \
	if test -n "$$list"; then \
	  echo " $(MKDIR_P) '$(DESTDIR)$(bindir)'"; \
	  $(MKDIR_P) "$(DESTDIR)$(bindir)" || exit 1; \
	fi; \
	for p in $$list; do \
	  if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
	  if test -f "$$d$$p"; then echo "$$d$$p"; echo "$$p"; else :; fi; \
	done | \
	sed -e 'p;s,.*/,,;n' \
	    -e 'h;s|.*|.|' \
	    -e 'p;x;s,.*/,,;$(transform)' | sed 'N;N;N;s,\n, ,g' | \
	$(AWK) 'BEGIN { files["."] = ""; dirs["."] = 1; } \
	  { d=$$3; if (dirs[d] != 1) { print "d", d; dirs[d] = 1 } \
	    if ($$2 == $$4) { files[d] = files[d] " " $$1; \
	      if (++n[d] == $(am__install_max)) { \
		print "f", d, files[d]; n[d] = 0; files[d] = "" } } \
	    else { print "f", d "/" $$4, $$1 } } \
	  END { for (d in files) print "f", d, files[d] }' | \
	while read type dir files; do \
	     if test "$$dir" = .; then dir=; else dir=/$$dir; fi; \
	     test -z "$$files" || { \
	       echo " $(INSTALL_SCRIPT) $$files '$(DESTDIR)$(bindir)$$dir'"; \
	       $(INSTALL_SCRIPT) $$files "$(DESTDIR)$(bindir)$$dir" || exit $$?; \
	     } \
	; done

uninstall-binSCRIPTS:
	@$(NORMAL_UNINSTALL)
	@list='$(bin_SCRIPTS)'; test -n "$(bindir)" || exit 0; \
	files=`for p in $$list; do echo "$$p"; done | \
	       sed -e 's,.*/,,;$(transform)'`; \
	dir='$(DESTDIR)$(bindir)'; $(am__uninstall_files_from_dir)

mostlyclean-compile:
	-rm -f *.$(OBJEXT)

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

@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/classes-classes.Po@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/classes-init.Po@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/modules-modules.Po@am__quote@

.c.o:
@am__fastdepCC_TRUE@	$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
@am__fastdepCC_TRUE@	$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
@AMDEP_TRUE@@am__fastdepCC_FALSE@	source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
@AMDEP_TRUE@@am__fastdepCC_FALSE@	DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
@am__fastdepCC_FALSE@	$(COMPILE) -c $<

.c.obj:
@am__fastdepCC_TRUE@	$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'`
@am__fastdepCC_TRUE@	$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
@AMDEP_TRUE@@am__fastdepCC_FALSE@	source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
@AMDEP_TRUE@@am__fastdepCC_FALSE@	DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
@am__fastdepCC_FALSE@	$(COMPILE) -c `$(CYGPATH_W) '$<'`

.c.lo:
@am__fastdepCC_TRUE@	$(LTCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
@am__fastdepCC_TRUE@	$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Plo
@AMDEP_TRUE@@am__fastdepCC_FALSE@	source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@
@AMDEP_TRUE@@am__fastdepCC_FALSE@	DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
@am__fastdepCC_FALSE@	$(LTCOMPILE) -c -o $@ $<

classes-classes.o: classes.c
@am__fastdepCC_TRUE@	$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(classes_CPPFLAGS) $(CPPFLAGS) $(classes_CFLAGS) $(CFLAGS) -MT classes-classes.o -MD -MP -MF $(DEPDIR)/classes-classes.Tpo -c -o classes-classes.o `test -f 'classes.c' || echo '$(srcdir)/'`classes.c
@am__fastdepCC_TRUE@	$(am__mv) $(DEPDIR)/classes-classes.Tpo $(DEPDIR)/classes-classes.Po
@AMDEP_TRUE@@am__fastdepCC_FALSE@	source='classes.c' object='classes-classes.o' libtool=no @AMDEPBACKSLASH@
@AMDEP_TRUE@@am__fastdepCC_FALSE@	DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
@am__fastdepCC_FALSE@	$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(classes_CPPFLAGS) $(CPPFLAGS) $(classes_CFLAGS) $(CFLAGS) -c -o classes-classes.o `test -f 'classes.c' || echo '$(srcdir)/'`classes.c

classes-classes.obj: classes.c
@am__fastdepCC_TRUE@	$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(classes_CPPFLAGS) $(CPPFLAGS) $(classes_CFLAGS) $(CFLAGS) -MT classes-classes.obj -MD -MP -MF $(DEPDIR)/classes-classes.Tpo -c -o classes-classes.obj `if test -f 'classes.c'; then $(CYGPATH_W) 'classes.c'; else $(CYGPATH_W) '$(srcdir)/classes.c'; fi`
@am__fastdepCC_TRUE@	$(am__mv) $(DEPDIR)/classes-classes.Tpo $(DEPDIR)/classes-classes.Po
@AMDEP_TRUE@@am__fastdepCC_FALSE@	source='classes.c' object='classes-classes.obj' libtool=no @AMDEPBACKSLASH@
@AMDEP_TRUE@@am__fastdepCC_FALSE@	DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
@am__fastdepCC_FALSE@	$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(classes_CPPFLAGS) $(CPPFLAGS) $(classes_CFLAGS) $(CFLAGS) -c -o classes-classes.obj `if test -f 'classes.c'; then $(CYGPATH_W) 'classes.c'; else $(CYGPATH_W) '$(srcdir)/classes.c'; fi`

classes-init.o: $(top_srcdir)/src/init.c
@am__fastdepCC_TRUE@	$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(classes_CPPFLAGS) $(CPPFLAGS) $(classes_CFLAGS) $(CFLAGS) -MT classes-init.o -MD -MP -MF $(DEPDIR)/classes-init.Tpo -c -o classes-init.o `test -f '$(top_srcdir)/src/init.c' || echo '$(srcdir)/'`$(top_srcdir)/src/init.c
@am__fastdepCC_TRUE@	$(am__mv) $(DEPDIR)/classes-init.Tpo $(DEPDIR)/classes-init.Po
@AMDEP_TRUE@@am__fastdepCC_FALSE@	source='$(top_srcdir)/src/init.c' object='classes-init.o' libtool=no @AMDEPBACKSLASH@
@AMDEP_TRUE@@am__fastdepCC_FALSE@	DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
@am__fastdepCC_FALSE@	$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(classes_CPPFLAGS) $(CPPFLAGS) $(classes_CFLAGS) $(CFLAGS) -c -o classes-init.o `test -f '$(top_srcdir)/src/init.c' || echo '$(srcdir)/'`$(top_srcdir)/src/init.c

classes-init.obj: $(top_srcdir)/src/init.c
@am__fastdepCC_TRUE@	$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(classes_CPPFLAGS) $(CPPFLAGS) $(classes_CFLAGS) $(CFLAGS) -MT classes-init.obj -MD -MP -MF $(DEPDIR)/classes-init.Tpo -c -o classes-init.obj `if test -f '$(top_srcdir)/src/init.c'; then $(CYGPATH_W) '$(top_srcdir)/src/init.c'; else $(CYGPATH_W) '$(srcdir)/$(top_srcdir)/src/init.c'; fi`
@am__fastdepCC_TRUE@	$(am__mv) $(DEPDIR)/classes-init.Tpo $(DEPDIR)/classes-init.Po
@AMDEP_TRUE@@am__fastdepCC_FALSE@	source='$(top_srcdir)/src/init.c' object='classes-init.obj' libtool=no @AMDEPBACKSLASH@
@AMDEP_TRUE@@am__fastdepCC_FALSE@	DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
@am__fastdepCC_FALSE@	$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(classes_CPPFLAGS) $(CPPFLAGS) $(classes_CFLAGS) $(CFLAGS) -c -o classes-init.obj `if test -f '$(top_srcdir)/src/init.c'; then $(CYGPATH_W) '$(top_srcdir)/src/init.c'; else $(CYGPATH_W) '$(srcdir)/$(top_srcdir)/src/init.c'; fi`

modules-modules.o: modules.c
@am__fastdepCC_TRUE@	$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(modules_CPPFLAGS) $(CPPFLAGS) $(modules_CFLAGS) $(CFLAGS) -MT modules-modules.o -MD -MP -MF $(DEPDIR)/modules-modules.Tpo -c -o modules-modules.o `test -f 'modules.c' || echo '$(srcdir)/'`modules.c
@am__fastdepCC_TRUE@	$(am__mv) $(DEPDIR)/modules-modules.Tpo $(DEPDIR)/modules-modules.Po
@AMDEP_TRUE@@am__fastdepCC_FALSE@	source='modules.c' object='modules-modules.o' libtool=no @AMDEPBACKSLASH@
@AMDEP_TRUE@@am__fastdepCC_FALSE@	DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
@am__fastdepCC_FALSE@	$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(modules_CPPFLAGS) $(CPPFLAGS) $(modules_CFLAGS) $(CFLAGS) -c -o modules-modules.o `test -f 'modules.c' || echo '$(srcdir)/'`modules.c

modules-modules.obj: modules.c
@am__fastdepCC_TRUE@	$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(modules_CPPFLAGS) $(CPPFLAGS) $(modules_CFLAGS) $(CFLAGS) -MT modules-modules.obj -MD -MP -MF $(DEPDIR)/modules-modules.Tpo -c -o modules-modules.obj `if test -f 'modules.c'; then $(CYGPATH_W) 'modules.c'; else $(CYGPATH_W) '$(srcdir)/modules.c'; fi`
@am__fastdepCC_TRUE@	$(am__mv) $(DEPDIR)/modules-modules.Tpo $(DEPDIR)/modules-modules.Po
@AMDEP_TRUE@@am__fastdepCC_FALSE@	source='modules.c' object='modules-modules.obj' libtool=no @AMDEPBACKSLASH@
@AMDEP_TRUE@@am__fastdepCC_FALSE@	DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
@am__fastdepCC_FALSE@	$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(modules_CPPFLAGS) $(CPPFLAGS) $(modules_CFLAGS) $(CFLAGS) -c -o modules-modules.obj `if test -f 'modules.c'; then $(CYGPATH_W) 'modules.c'; else $(CYGPATH_W) '$(srcdir)/modules.c'; fi`

mostlyclean-libtool:
	-rm -f *.lo

clean-libtool:
	-rm -rf .libs _libs
install-pkgdataDATA: $(pkgdata_DATA)
	@$(NORMAL_INSTALL)
	@list='$(pkgdata_DATA)'; test -n "$(pkgdatadir)" || list=; \
	if test -n "$$list"; then \
	  echo " $(MKDIR_P) '$(DESTDIR)$(pkgdatadir)'"; \
	  $(MKDIR_P) "$(DESTDIR)$(pkgdatadir)" || exit 1; \
	fi; \
	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)$(pkgdatadir)'"; \
	  $(INSTALL_DATA) $$files "$(DESTDIR)$(pkgdatadir)" || exit $$?; \
	done

uninstall-pkgdataDATA:
	@$(NORMAL_UNINSTALL)
	@list='$(pkgdata_DATA)'; test -n "$(pkgdatadir)" || list=; \
	files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
	dir='$(DESTDIR)$(pkgdatadir)'; $(am__uninstall_files_from_dir)

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

$(TEST_SUITE_LOG): $(TEST_LOGS)
	@$(am__sh_e_setup);						\
	list='$(TEST_LOGS)';						\
	results=`for f in $$list; do					\
		   test -r $$f && read line < $$f && echo "$$line"	\
		     || echo FAIL;					\
		 done`;							\
	all=`echo "$$results" | sed '/^$$/d' | wc -l | sed -e 's/^[	 ]*//'`; \
	fail=`echo "$$results" | grep -c '^FAIL'`;			\
	pass=`echo "$$results" | grep -c '^PASS'`;			\
	skip=`echo "$$results" | grep -c '^SKIP'`;			\
	xfail=`echo "$$results" | grep -c '^XFAIL'`;			\
	xpass=`echo "$$results" | grep -c '^XPASS'`;			\
	failures=`expr $$fail + $$xpass`;				\
	all=`expr $$all - $$skip`;					\
	if test "$$all" -eq 1; then tests=test; All=;			\
	else tests=tests; All="All "; fi;				\
	case fail=$$fail:xpass=$$xpass:xfail=$$xfail in			\
	  fail=0:xpass=0:xfail=0)					\
	    msg="$$All$$all $$tests passed.  ";				\
	    exit=true;;							\
	  fail=0:xpass=0:xfail=*)					\
	    msg="$$All$$all $$tests behaved as expected";		\
	    if test "$$xfail" -eq 1; then xfailures=failure;		\
	    else xfailures=failures; fi;				\
	    msg="$$msg ($$xfail expected $$xfailures).  ";		\
	    exit=true;;							\
	  fail=*:xpass=0:xfail=*)					\
	    msg="$$fail of $$all $$tests failed.  ";			\
	    exit=false;;						\
	  fail=*:xpass=*:xfail=*)					\
	    msg="$$failures of $$all $$tests did not behave as expected"; \
	    if test "$$xpass" -eq 1; then xpasses=pass;			\
	    else xpasses=passes; fi;					\
	    msg="$$msg ($$xpass unexpected $$xpasses).  ";		\
	    exit=false;;						\
	  *)								\
	    echo >&2 "incorrect case"; exit 4;;				\
	esac;								\
	if test "$$skip" -ne 0; then					\
	  if test "$$skip" -eq 1; then					\
	    msg="$$msg($$skip test was not run).  ";			\
	  else								\
	    msg="$$msg($$skip tests were not run).  ";			\
	  fi;								\
	fi;								\
	{								\
	  echo "$(PACKAGE_STRING): $(subdir)/$(TEST_SUITE_LOG)" |	\
	    $(am__rst_title);						\
	  echo "$$msg";							\
	  echo;								\
	  echo ".. contents:: :depth: 2";				\
	  echo;								\
	  for f in $$list; do						\
	    test -r $$f && read line < $$f || line=;			\
	    case $$line in						\
	      PASS:*|XFAIL:*);;						\
	      *) echo; cat $$f;;					\
	    esac;							\
	  done;								\
	} >$(TEST_SUITE_LOG).tmp;					\
	mv $(TEST_SUITE_LOG).tmp $(TEST_SUITE_LOG);			\
	if test "$$failures" -ne 0; then				\
	  msg="$${msg}See $(subdir)/$(TEST_SUITE_LOG).  ";		\
	  if test -n "$(PACKAGE_BUGREPORT)"; then			\
	    msg="$${msg}Please report to $(PACKAGE_BUGREPORT).  ";	\
	  fi;								\
	fi;								\
	test x"$$VERBOSE" = x || $$exit || cat $(TEST_SUITE_LOG);	\
	$(am__tty_colors);						\
	if $$exit; then							\
	  col="$$grn";							\
	 else								\
	  col="$$red";							\
	fi;								\
	echo "$$msg" | $(am__text_box) "col=$$col" "std=$$std";		\
	$$exit || exit 1

check-TESTS recheck:
	@if test $@ != recheck; then \
	   list='$(RECHECK_LOGS)'; test -z "$$list" || rm -f $$list; \
	 fi
	@test -z "$(TEST_SUITE_LOG)" || rm -f $(TEST_SUITE_LOG)
	@list='' list2='$(TEST_LOGS)'; for f in $$list2; do \
	  test .log = $$f && continue; \
	  if test $@ = recheck; then \
	    test -f $$f || continue; \
	    if test -r $$f && read line < $$f; then \
	      case $$line in FAIL*|XPASS*) : ;; *) continue;; esac; \
	    fi; \
	  fi; \
	  if test -z "$$list"; then list=$$f; else list="$$list $$f"; fi; \
	done; \
	if test $@ = recheck && test -n "$$list"; then \
	  $(am__make_dryrun) || rm -f $$list || exit 1; \
	fi; \
	$(MAKE) $(AM_MAKEFLAGS) $(TEST_SUITE_LOG) TEST_LOGS="$$list"
recheck: 

am--mostlyclean-test-html:
	list='$(TEST_LOGS:.log=.html)'; test -z "$$list" || rm -f $$list
	rm -f $(TEST_SUITE_HTML)

.log.html:
	@list='$(RST2HTML) $$RST2HTML rst2html rst2html.py';		\
	for r2h in $$list; do						\
	  if ($$r2h --version) >/dev/null 2>&1; then			\
	    R2H=$$r2h;							\
	  fi;								\
	done;								\
	if test -z "$$R2H"; then					\
	  echo >&2 "cannot find rst2html, cannot create $@";		\
	  exit 2;							\
	fi;								\
	$$R2H $< >$@.tmp
	@mv $@.tmp $@

# Be sure to run check first, and then to convert the result.
# Beware of concurrent executions.  Run "check" not "check-TESTS", as
# check-SCRIPTS and other dependencies are rebuilt by the former only.
# And expect check to fail.
check-html recheck-html:
	@target=`echo $@ | sed 's/-html$$//'`; \
	rv=0; $(MAKE) $(AM_MAKEFLAGS) $$target || rv=$$?; \
	$(MAKE) $(AM_MAKEFLAGS) $(TEST_SUITE_HTML) TEST_LOGS= || exit 4; \
	exit $$rv
cylinder.sh.log: cylinder.sh
	@p='cylinder.sh'; $(am__check_pre) $(LOG_COMPILE) "$$tst" $(am__check_post)
rt.sh.log: rt.sh
	@p='rt.sh'; $(am__check_pre) $(LOG_COMPILE) "$$tst" $(am__check_post)
boussinesq.sh.log: boussinesq.sh
	@p='boussinesq.sh'; $(am__check_pre) $(LOG_COMPILE) "$$tst" $(am__check_post)
logo.sh.log: logo.sh
	@p='logo.sh'; $(am__check_pre) $(LOG_COMPILE) "$$tst" $(am__check_post)
column.sh.log: column.sh
	@p='column.sh'; $(am__check_pre) $(LOG_COMPILE) "$$tst" $(am__check_post)
starting.sh.log: starting.sh
	@p='starting.sh'; $(am__check_pre) $(LOG_COMPILE) "$$tst" $(am__check_post)
viscmix.sh.log: viscmix.sh
	@p='viscmix.sh'; $(am__check_pre) $(LOG_COMPILE) "$$tst" $(am__check_post)
bubble.sh.log: bubble.sh
	@p='bubble.sh'; $(am__check_pre) $(LOG_COMPILE) "$$tst" $(am__check_post)
tangaroa.sh.log: tangaroa.sh
	@p='tangaroa.sh'; $(am__check_pre) $(LOG_COMPILE) "$$tst" $(am__check_post)
plateau.sh.log: plateau.sh
	@p='plateau.sh'; $(am__check_pre) $(LOG_COMPILE) "$$tst" $(am__check_post)
atomisation.sh.log: atomisation.sh
	@p='atomisation.sh'; $(am__check_pre) $(LOG_COMPILE) "$$tst" $(am__check_post)
ship.sh.log: ship.sh
	@p='ship.sh'; $(am__check_pre) $(LOG_COMPILE) "$$tst" $(am__check_post)
forcedturbulence.sh.log: forcedturbulence.sh
	@p='forcedturbulence.sh'; $(am__check_pre) $(LOG_COMPILE) "$$tst" $(am__check_post)
wingtip.sh.log: wingtip.sh
	@p='wingtip.sh'; $(am__check_pre) $(LOG_COMPILE) "$$tst" $(am__check_post)
tides.sh.log: tides.sh
	@p='tides.sh'; $(am__check_pre) $(LOG_COMPILE) "$$tst" $(am__check_post)
dam.sh.log: dam.sh
	@p='dam.sh'; $(am__check_pre) $(LOG_COMPILE) "$$tst" $(am__check_post)
hump.sh.log: hump.sh
	@p='hump.sh'; $(am__check_pre) $(LOG_COMPILE) "$$tst" $(am__check_post)
shock.sh.log: shock.sh
	@p='shock.sh'; $(am__check_pre) $(LOG_COMPILE) "$$tst" $(am__check_post)
monai.sh.log: monai.sh
	@p='monai.sh'; $(am__check_pre) $(LOG_COMPILE) "$$tst" $(am__check_post)
tsunami.sh.log: tsunami.sh
	@p='tsunami.sh'; $(am__check_pre) $(LOG_COMPILE) "$$tst" $(am__check_post)
garden.sh.log: garden.sh
	@p='garden.sh'; $(am__check_pre) $(LOG_COMPILE) "$$tst" $(am__check_post)
cyclone.sh.log: cyclone.sh
	@p='cyclone.sh'; $(am__check_pre) $(LOG_COMPILE) "$$tst" $(am__check_post)
.test.log:
	@p='$<'; $(am__check_pre) $(TEST_LOG_COMPILE) "$$tst" $(am__check_post)
@am__EXEEXT_TRUE@.test$(EXEEXT).log:
@am__EXEEXT_TRUE@	@p='$<'; $(am__check_pre) $(TEST_LOG_COMPILE) "$$tst" $(am__check_post)

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
	$(MAKE) $(AM_MAKEFLAGS) check-TESTS
check: $(BUILT_SOURCES)
	$(MAKE) $(AM_MAKEFLAGS) check-am
all-am: Makefile $(PROGRAMS) $(SCRIPTS) $(DATA)
installdirs:
	for dir in "$(DESTDIR)$(bindir)" "$(DESTDIR)$(pkgdatadir)"; do \
	  test -z "$$dir" || $(MKDIR_P) "$$dir"; \
	done
install: $(BUILT_SOURCES)
	$(MAKE) $(AM_MAKEFLAGS) 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:
	if test -z '$(STRIP)'; then \
	  $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
	    install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
	      install; \
	else \
	  $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
	    install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
	    "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \
	fi
mostlyclean-generic:
	-test -z "$(TEST_LOGS)" || rm -f $(TEST_LOGS)
	-test -z "$(TEST_LOGS_TMP)" || rm -f $(TEST_LOGS_TMP)
	-test -z "$(TEST_SUITE_LOG)" || rm -f $(TEST_SUITE_LOG)

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)

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 "$(BUILT_SOURCES)" || rm -f $(BUILT_SOURCES)
clean: clean-am

clean-am: clean-generic clean-libtool clean-noinstPROGRAMS \
	mostlyclean-am

distclean: distclean-am
	-rm -rf ./$(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-pkgdataDATA

install-dvi: install-dvi-am

install-dvi-am:

install-exec-am: install-binSCRIPTS

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 ./$(DEPDIR)
	-rm -f Makefile
maintainer-clean-am: distclean-am maintainer-clean-generic

mostlyclean: mostlyclean-am

mostlyclean-am: am--mostlyclean-test-html mostlyclean-compile \
	mostlyclean-generic mostlyclean-libtool

pdf: pdf-am

pdf-am:

ps: ps-am

ps-am:

uninstall-am: uninstall-binSCRIPTS uninstall-pkgdataDATA

.MAKE: all check check-am check-html install install-am install-strip \
	recheck-html

.PHONY: CTAGS GTAGS all all-am am--mostlyclean-test-html check \
	check-TESTS check-am check-html clean clean-generic \
	clean-libtool clean-noinstPROGRAMS ctags distclean \
	distclean-compile distclean-generic distclean-libtool \
	distclean-tags distdir dvi dvi-am html html-am info info-am \
	install install-am install-binSCRIPTS install-data \
	install-data-am 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-pkgdataDATA install-ps install-ps-am install-strip \
	installcheck installcheck-am installdirs maintainer-clean \
	maintainer-clean-generic mostlyclean mostlyclean-compile \
	mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \
	recheck recheck-html tags uninstall uninstall-am \
	uninstall-binSCRIPTS uninstall-pkgdataDATA


gerris.dic: classes modulesyms.sh $(top_srcdir)/modules/Makefile.am modules.list
	($(builddir)/classes && sh $(srcdir)/modulesyms.sh $(top_srcdir)/modules $(pkglibdir)) | sort > gerris.dic

gfs.lang: gerris.dic
	echo "# Language file for source-highlight" > gfs.lang
	echo "# Generated automatically by classes.c" >> gfs.lang
	awk '{ printf ("classname = \"%s\"\n", $$1) }' < gerris.dic >> gfs.lang
	echo "include \"/usr/share/source-highlight/cpp.lang\"" >> gfs.lang
	echo "comment start \"#\"" >> gfs.lang
	echo "redef preproc = \"C preprocessor command is not compatible with the use of # as comment character in GTS\"" >> gfs.lang

modules.list: modules $(top_srcdir)/modules/Makefile.am
	$(builddir)/modules $(top_srcdir)/modules/*.la $(pkglibdir)/*.so | sort | uniq > modules.list

gfs-keywords.el: gerris.dic modules.list
	echo "(defvar gfs-abbrevs '(" > gfs-keywords.el
	awk '{ printf ("\"%s\"\n", $$1) }' < gerris.dic >> gfs-keywords.el
	echo ")" >> gfs-keywords.el
	echo "\"Gerris keywords automatically generated by classes.c.\")" >> gfs-keywords.el
	echo "(defvar gfs-modules '(" >> gfs-keywords.el
	awk '{ printf ("\"%s\"\n", $$1) }' < modules.list >> gfs-keywords.el
	echo ")" >> gfs-keywords.el
	echo "\"Gerris modules automatically generated by modules.c.\")" >> gfs-keywords.el
	echo "(provide 'gfs-keywords)" >> gfs-keywords.el

gfs.php: gerris.dic modules.list gfs.php.sh
	sh $(srcdir)/gfs.php.sh > gfs.php

gfs2doc: gfs2doc.in

gfs-highlight: gfs-highlight.in

clean-generic:
	$(RM) *.dvi *.aux *.log *.toc *.out examples.tex *.pyc test.sh gfs2doc
	$(RM) -r examples

Makefile.deps: template.tex depend.py Makefile.am
	python depend.py `grep \\test{[^/]*} < template.tex | sed 's/\\\\test{\(.*\)}/\1/g'` > Makefile.deps
	echo "" >> Makefile.deps
	echo -n "EXAMPLES = " >> Makefile.deps
	echo `grep \\test{[^/]*} < template.tex | sed 's/\\\\test{\(.*\)}/\1/g'` >> Makefile.deps

examples.tex: \
	cylinder/cylinder.gfs\
	cylinder/t.mpg\
	cylinder/vort.mpg\
	cylinder/t.eps\
	cylinder/vort.eps\
	cylinder/parallel/parallel.gfs\
	cylinder/parallel/pid.mpg\
	cylinder/parallel/pid.eps\
	cylinder/parallel/balance.eps\
	cylinder/heated/heated.gfs\
	cylinder/heated/t.mpg\
	cylinder/heated/t.eps\
	rt/rt.gfs\
	rt/t.mpg\
	rt/vort.mpg\
	rt/t.eps\
	rt/vort.eps\
	rt/t-0.eps\
	rt/t-0.7.eps\
	rt/t-0.8.eps\
	rt/t-0.9.eps\
	rt/t-1.eps\
	boussinesq/boussinesq.gfs\
	boussinesq/t.mpg\
	boussinesq/t.eps\
	logo/logo.gfs\
	logo/logo.mpg\
	logo/logo.png\
	logo/logo.eps\
	column/column.gfs\
	column/comparison-0.eps\
	column/comparison-0.66.eps\
	column/comparison-0.95.eps\
	column/comparison-1.24.eps\
	column/comparison-1.52.eps\
	column/comparison-2.28.eps\
	column/movie.eps\
	column/movie.ogv\
	starting/starting.gfs\
	starting/starting.mpg\
	starting/starting.eps\
	viscmix/viscmix.gfs\
	viscmix/viscmix.eps\
	viscmix/viscmix.mpg\
	bubble/bubble.gfs\
	bubble/vel.eps\
	bubble/cap/cap.gfs\
	bubble/cap/vel.eps\
	tangaroa/tangaroa.gfs\
	tangaroa/sections.mpg\
	tangaroa/sections.eps\
	plateau/plateau.gfs\
	plateau/plateau.ogv\
	plateau/white.ogv\
	plateau/closeup.ogv\
	plateau/plateau.png\
	plateau/white.png\
	plateau/closeup.png\
	plateau/plateau.eps\
	plateau/white.eps\
	plateau/closeup.eps\
	plateau/size.eps\
	atomisation/atomisation.gfs\
	atomisation/jet.ogv\
	atomisation/back.ogv\
	atomisation/jet.eps\
	atomisation/jet.png\
	atomisation/back.eps\
	atomisation/back.png\
	atomisation/balance.eps\
	ship/ship.gfs\
	ship/closeup.mpg\
	ship/closeup.eps\
	ship/front.eps\
	ship/f.eps\
	ship/comparison.eps\
	forcedturbulence/forcedturbulence.gfs\
	forcedturbulence/multiview.mpg\
	forcedturbulence/multiview.eps\
	forcedturbulence/Energy.eps\
	forcedturbulence/Dissipation.eps\
	forcedturbulence/Reynolds.eps\
	forcedturbulence/size.eps\
	wingtip/wingtip.gfs\
	wingtip/wingtip.mpg\
	wingtip/wingtip.eps\
	tides/tides.gfs\
	tides/a0.eps\
	tides/amplitude.eps\
	tides/ellipses.eps\
	tides/phase.eps\
	tides/pv.eps\
	tides/residual.eps\
	dam/dam.gfs\
	dam/dam.gif\
	hump/hump.gfs\
	hump/cells-0.6.eps\
	hump/cells-1.2.eps\
	hump/cells-1.8.eps\
	hump/iso-0.9.eps\
	hump/iso-1.5.eps\
	hump/cells-0.9.eps\
	hump/cells-1.5.eps\
	hump/iso-0.6.eps\
	hump/iso-1.2.eps\
	hump/iso-1.8.eps\
	hump/hump.eps\
	hump/hump.mpg\
	shock/shock.gfs\
	shock/depth.mpg\
	shock/depth.eps\
	shock/mesh.eps\
	monai/monai.gfs\
	monai/monai.mpg\
	monai/monai.eps\
	monai/fig4-10.eps\
	monai/mesh-10.eps\
	monai/fig4-12.eps\
	monai/mesh-12.eps\
	monai/fig4-14.eps\
	monai/mesh-14.eps\
	monai/fig4-16.eps\
	monai/mesh-16.eps\
	monai/fig4-18.eps\
	monai/mesh-18.eps\
	monai/fig4-20.eps\
	monai/mesh-20.eps\
	monai/p5.eps\
	monai/p7.eps\
	monai/p9.eps\
	monai/comparison.eps\
	monai/comparison.mp4\
	tsunami/tsunami.gfs\
	tsunami/h.eps\
	tsunami/level.eps\
	tsunami/h.mpg\
	tsunami/level.mpg\
	tsunami/hmax.eps\
	tsunami/hmax-detail.eps\
	tsunami/hani.eps\
	tsunami/dieg.eps\
	tsunami/male.eps\
	tsunami/colo.eps\
	tsunami/gana.eps\
	tsunami/jason.eps\
	garden/garden.gfs\
	garden/end.eps\
	garden/mesh.eps\
	garden/cpu.tex\
	cyclone/cyclone.gfs\
	cyclone/hs-12.eps\
	cyclone/hs-36.eps\
	cyclone/mesh-12.eps\
	cyclone/mesh-36.eps\
	cyclone/hs-24.eps\
	cyclone/hs-48.eps\
	cyclone/mesh-24.eps\
	cyclone/mesh-48.eps\
	cyclone/hsmax.eps\
	cyclone/shifted.eps

examples.tex: template.tex Makefile.deps gfs2tex gfs2tex.py
	rm -r -f examples
	python gfs2tex $(EXAMPLES)
	sed -e "s/GFS_VERSION/`$(top_srcdir)/src/gerris2D -V 2>&1 | head -1 | cut -d' ' -f6-`/g" \
	    -e 's/\\test{\(.*\)\/\(.*\)}/\\input{\1\/\2\/\2.tex}/g' \
	    -e 's/\\test{\(.*\)}/\\input{\1\/\1.tex}/g' \
            -e 's/\\today/'"`date +\"%B %e, %Y\"`/g" < template.tex > examples.tex

examples: examples.dvi crossref.sh
	hevea -fix $(DOC).tex
	imagen -res 600 -extra "pnmscale 0.24" $(DOC)
	hacha $(DOC).html
	rm -f $(DOC).html
	mv -f $(DOC)[0-9][0-9][0-9].png $(DOC)
	mv -f *.html $(DOC)
	cat $(DOC).css ../share/darcs.css > $(DOC)/$(DOC).css
	for f in $(DOC)/*.html; do sh kaltura.sh $$f; done
	sh ../share/fixnav.sh $(DOC)
	cp -f ../share/contents.png ../share/next.png ../share/prev.png $(DOC)
	rm -f *_motif.gif $(DOC).h{tml,aux,ind,toc} $(DOC).image.tex $(DOC).css
	sh ./crossref.sh --url=http://gerris.dalembert.upmc.fr/gerris/examples/examples $(EXAMPLES)
	mv references examples

examples.dvi: examples.tex $(top_srcdir)/doc/gerris.bib
	- latex -interaction=nonstopmode examples.tex > /dev/null 2>&1
	BIBINPUTS=$(BIBINPUTS) bibtex examples
	- latex -interaction=nonstopmode examples.tex > /dev/null 2>&1
	latex -interaction=nonstopmode examples.tex

examples.pdf: examples.dvi
	dvips -Ppdf -G0 examples.dvi -o examples.ps
	ps2pdf -sPAPERSIZE=a4 -dMaxSubsetPct=100 -dCompatibilityLevel=1.2 -dSubsetFonts=true -dEmbedAllFonts=true examples.ps examples.pdf
	rm -f examples.ps

examples.tar.gz: examples.pdf examples $(DOCS)
	tar czf examples.tar.gz examples $(DOCS)
	rm -r -f examples

publish: examples.tar.gz
	cp examples.tar.gz $(WEBROOT)/examples
	cd $(WEBROOT)/examples && tar xzf examples.tar.gz && rm -f examples.tar.gz

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