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

# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
# 2003, 2004  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@

# "dox/man/Makefile.am"
# Makefile for man pages directory
#	$Id: Makefile.am,v 1.1 2005/09/04 22:13:48 fang Exp $

# "dox/Make.dox-head"
#	$Id: Make.dox-head,v 1.15 2009/05/29 15:13:16 fang Exp $
#	vi: ft=automake
# To be included first by Makefiles in subdirectories
# The complement is "dox/Make.dox-tail" which includes "dox/mk/Make.latex".

# Define the following before including this file:
# PDFS = <list of pdf's>
# PSS = <list of ps's>

# "Make.stddef"
#	vi: ft=automake
# make-independent definitions
# This Makefile fragment should be included as early as possible
# by other makefiles.  
#	$Id: Make.stddef,v 1.29 2008/12/04 21:27:08 fang Exp $

# "installdirs.mk
#	$Id: installdirs.mk,v 1.3 2009/02/23 09:11:10 fang Exp $
# install paths that depend on variables defined in installcheck.mk
# Rationale for this file:
# * Minimize definition clutter in Make.stddef
# * Define common install subdirectories globally with minimal
#	configure-dependency, these are configure-independent relative dirs

# Prerequisite:
#include $(top_builddir)/installcheck.mk
# or equivalent definitions, which define configure-dependent dirs

# "dox/Make.dox-tail"
# To be included last by Makefiles in subdirectories
#	$Id: Make.dox-tail,v 1.17 2009/06/05 16:28:01 fang Exp $
#	vim: ft=automake

# "dox/mk/Make.latex"
#	vim: ft=automake
# Include this file *LAST* in latex Makefiles.  
# This file uses macros defined in "dox/Make.dox-head"
#	In other words, that file must be included first!
# Note, this is a configurable Makefile.in, resolved by the top configure script
#	$Id: Make.latex,v 1.18 2008/03/21 00:19:37 fang Exp $

# "mk/Make.fig"
#	$Id: Make.fig,v 1.7 2009/02/24 03:18:21 fang Exp $
#	vi: ft=automake
# This makefile includes rules for converting to and from xfig figures.

# "updatefig.mk"
#	$Id: updatefig.mk,v 1.2 2007/06/12 05:12:33 fang Exp $
# Makefile macros for "updatefig.awk".

# The following macros must be predefined:
#	CAT
#	SED
#	AWK
#	GREP
#	ECHO

#	UPDATEFIG: should point to the source script, updatefig.awk

# "Make.global"
#	vi: ft=automake
# Project-wide Makefile targets and dependencies.
# Generally, it is recommended to include this Makefile last.  
# This file may be used as an includable Makefile snippet, 
# or with automake for automatic inlining.  
# NOTE: standard definition macros appear in "Make.stddef" and should
# be included *before* the inclusion of this Makefile.  
# NOTE: the for-loop syntax used requires that SHELL = sh, not bash.
#	$Id: Make.global,v 1.33 2008/12/23 04:42:20 fang Exp $

srcdir = @srcdir@
top_srcdir = @top_srcdir@
VPATH = @srcdir@
pkgdatadir = $(datadir)/@PACKAGE@
pkglibdir = $(libdir)/@PACKAGE@
pkgincludedir = $(includedir)/@PACKAGE@
top_builddir = ../..
am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
INSTALL = @INSTALL@
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 = README $(dist_pdf_DATA) $(dist_ps_DATA) \
	$(srcdir)/Makefile.am $(srcdir)/Makefile.in \
	$(top_srcdir)/Make.global $(top_srcdir)/Make.stddef \
	$(top_srcdir)/dox/Make.dox-head \
	$(top_srcdir)/dox/Make.dox-tail $(top_srcdir)/dox/mk/Make.fig \
	$(top_srcdir)/dox/mk/Make.latex \
	$(top_srcdir)/dox/mk/updatefig.mk $(top_srcdir)/installdirs.mk
@ENABLE_DOCS_TRUE@@HAVE_LATEX_TRUE@am__append_1 = $(PSS)
@ENABLE_DOCS_TRUE@@HAVE_PDFLATEX_TRUE@am__append_2 = $(PDFS)
@AUTO_CVSIGNORE_TRUE@am__append_3 = local.cvsignore
@AUTO_CVSIGNORE_TRUE@am__append_4 = local.cvsignore

######## HTML install hooks ###################################################
# don't bother if configured with --disable-docs
@ENABLE_DOCS_TRUE@am__append_5 = $(HTML_HOOKS)
# workaround: use install hooks
@ENABLE_DOCS_TRUE@am__append_6 = $(HTML_HOOKS)

# make cvsignore by default
@AUTO_CVSIGNORE_TRUE@am__append_7 = cvsignore-am

# automake doesn't like b/c RECURSIVE_TARGETS not defined early enough
@AUTO_CVSIGNORE_TRUE@am__append_8 = cvsignore-recursive
@AUTO_CVSIGNORE_TRUE@am__append_9 = clean-cvsignore-recursive
subdir = dox/man
ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
am__aclocal_m4_deps = $(top_srcdir)/config/builtin_funcs.m4 \
	$(top_srcdir)/config/cc.m4 $(top_srcdir)/config/cxx.m4 \
	$(top_srcdir)/config/cxx_STL.m4 \
	$(top_srcdir)/config/documentation.m4 \
	$(top_srcdir)/config/guile.m4 $(top_srcdir)/config/hackt.m4 \
	$(top_srcdir)/config/header_validation.m4 \
	$(top_srcdir)/config/lexyacc.m4 $(top_srcdir)/config/os.m4 \
	$(top_srcdir)/config/rl_el.m4 $(top_srcdir)/configure.ac
am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
	$(ACLOCAL_M4)
mkinstalldirs = $(install_sh) -d
CONFIG_HEADER = $(top_builddir)/src/__config__.h
CONFIG_CLEAN_FILES =
SOURCES =
DIST_SOURCES =
TEXINFO_TEX = $(top_srcdir)/config/texinfo.tex
am__TEXINFO_TEX_DIR = $(top_srcdir)/config
DVIS =
PDFS =
PSS =
HTMLS =
TEXINFOS =
TEXI2DVI = texi2dvi
TEXI2PDF = $(TEXI2DVI) --pdf --batch
MAKEINFOHTML = $(MAKEINFO) --html
AM_MAKEINFOHTMLFLAGS = $(AM_MAKEINFOFLAGS)
DVIPS = dvips
am__installdirs = "$(DESTDIR)$(infodir)" "$(DESTDIR)$(pdfdir)" \
	"$(DESTDIR)$(psdir)"
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 = `echo $$p | sed -e 's|^.*/||'`;
dist_pdfDATA_INSTALL = $(INSTALL_DATA)
dist_psDATA_INSTALL = $(INSTALL_DATA)
DATA = $(dist_pdf_DATA) $(dist_ps_DATA) $(noinst_DATA)
DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
ABI_ILP32_FALSE = @ABI_ILP32_FALSE@
ABI_ILP32_TRUE = @ABI_ILP32_TRUE@
ABI_ILP64_FALSE = @ABI_ILP64_FALSE@
ABI_ILP64_TRUE = @ABI_ILP64_TRUE@
ACLOCAL = @ACLOCAL@
ACLOCAL_FLAGS = @ACLOCAL_FLAGS@
ALLOCA = @ALLOCA@
ALWAYS_TRUE_FALSE = @ALWAYS_TRUE_FALSE@
ALWAYS_TRUE_TRUE = @ALWAYS_TRUE_TRUE@
AMDEP_FALSE = @AMDEP_FALSE@
AMDEP_TRUE = @AMDEP_TRUE@
AMTAR = @AMTAR@
AR = @AR@
AUTOCONF = @AUTOCONF@
AUTOHEADER = @AUTOHEADER@
AUTOMAKE = @AUTOMAKE@
AUTO_CPPFLAGS = @AUTO_CPPFLAGS@
AUTO_CVSIGNORE_FALSE = @AUTO_CVSIGNORE_FALSE@
AUTO_CVSIGNORE_TRUE = @AUTO_CVSIGNORE_TRUE@
AUTO_LDFLAGS = @AUTO_LDFLAGS@
AWK = @AWK@
BIBTEX = @BIBTEX@
BIN_TEST = @BIN_TEST@
BUILD_DARWIN_FALSE = @BUILD_DARWIN_FALSE@
BUILD_DARWIN_TRUE = @BUILD_DARWIN_TRUE@
CALLMAKE = @CALLMAKE@
# std-options

# useful standard utility definitions
# consider autoconf-ing these...
CAT = @CAT@
CC = @CC@
CCDEPMODE = @CCDEPMODE@
CFLAGS = @CFLAGS@
CFLAT = @CFLAT@
CHECK_TESTS_FALSE = @CHECK_TESTS_FALSE@
CHECK_TESTS_TRUE = @CHECK_TESTS_TRUE@
CHMOD = @CHMOD@
CIRCO = @CIRCO@
CONFIGDATE = @CONFIGDATE@
CONVENIENCE_LTDL_FALSE = @CONVENIENCE_LTDL_FALSE@
CONVENIENCE_LTDL_TRUE = @CONVENIENCE_LTDL_TRUE@
CPP = @CPP@
CPPFLAGS = @CPPFLAGS@
# not gcc -E
CPP_TRADITIONAL = @CPP_TRADITIONAL@
CUT = @CUT@
CVS = @CVS@
CXX = @CXX@
CXXCPP = @CXXCPP@
CXXDEPMODE = @CXXDEPMODE@
CXXFLAGS = @CXXFLAGS@
CXX_VERSION = @CXX_VERSION@
CYGPATH_W = @CYGPATH_W@
DATE = @DATE@
DEFS = @DEFS@
DEPDIR = @DEPDIR@
DIFF = @DIFF@
DOT = @DOT@
DOTTY = @DOTTY@
DOT_PATH = @DOT_PATH@
DOXYGEN = @DOXYGEN@
# -B: ignore blank line diffs
ECHO = @ECHO@
ECHO_C = @ECHO_C@
ECHO_N = @ECHO_N@
ECHO_T = @ECHO_T@
EGREP = @EGREP@
EL_INCLUDE = @EL_INCLUDE@
EL_LDPATH = @EL_LDPATH@
EL_LIB = @EL_LIB@
ENABLE_DOCS_FALSE = @ENABLE_DOCS_FALSE@
ENABLE_DOCS_TRUE = @ENABLE_DOCS_TRUE@
ENABLE_HEADER_VALIDATION_FALSE = @ENABLE_HEADER_VALIDATION_FALSE@
ENABLE_HEADER_VALIDATION_TRUE = @ENABLE_HEADER_VALIDATION_TRUE@
EXEEXT = @EXEEXT@
F77 = @F77@
FANG_DIALECT_FLAGS = @FANG_DIALECT_FLAGS@
FANG_WARN_CFLAGS = @FANG_WARN_CFLAGS@
FANG_WARN_CXXFLAGS = @FANG_WARN_CXXFLAGS@
FANG_WARN_FLAGS = @FANG_WARN_FLAGS@
FDP = @FDP@
FFLAGS = @FFLAGS@
FIG2DEV = @FIG2DEV@
FIG2DEV_PDFTEX_FALSE = @FIG2DEV_PDFTEX_FALSE@
FIG2DEV_PDFTEX_TRUE = @FIG2DEV_PDFTEX_TRUE@
FIND = @FIND@
GMP_INCLUDE = @GMP_INCLUDE@
GMP_LDPATH = @GMP_LDPATH@
GMP_LIB = @GMP_LIB@
GREP = @GREP@
GUILE = @GUILE@
GUILE_CONFIG = @GUILE_CONFIG@
GUILE_CONFIG_VERSION = @GUILE_CONFIG_VERSION@
GUILE_CPPFLAGS = @GUILE_CPPFLAGS@
GUILE_LDFLAGS = @GUILE_LDFLAGS@
GUILE_PATH = @GUILE_PATH@
HAVE_BIBTEX_FALSE = @HAVE_BIBTEX_FALSE@
HAVE_BIBTEX_TRUE = @HAVE_BIBTEX_TRUE@
HAVE_BISON_FALSE = @HAVE_BISON_FALSE@
HAVE_BISON_TRUE = @HAVE_BISON_TRUE@
HAVE_BYACC_FALSE = @HAVE_BYACC_FALSE@
HAVE_BYACC_TRUE = @HAVE_BYACC_TRUE@
HAVE_CFLAT_FALSE = @HAVE_CFLAT_FALSE@
HAVE_CFLAT_TRUE = @HAVE_CFLAT_TRUE@
HAVE_CIRCO_FALSE = @HAVE_CIRCO_FALSE@
HAVE_CIRCO_TRUE = @HAVE_CIRCO_TRUE@
HAVE_CVS_FALSE = @HAVE_CVS_FALSE@
HAVE_CVS_TRUE = @HAVE_CVS_TRUE@
HAVE_DOT = @HAVE_DOT@
HAVE_DOTTY_FALSE = @HAVE_DOTTY_FALSE@
HAVE_DOTTY_TRUE = @HAVE_DOTTY_TRUE@
HAVE_DOT_FALSE = @HAVE_DOT_FALSE@
HAVE_DOT_TRUE = @HAVE_DOT_TRUE@
HAVE_DOXYGEN_FALSE = @HAVE_DOXYGEN_FALSE@
HAVE_DOXYGEN_TRUE = @HAVE_DOXYGEN_TRUE@
HAVE_FDP_FALSE = @HAVE_FDP_FALSE@
HAVE_FDP_TRUE = @HAVE_FDP_TRUE@
HAVE_FIG2DEV_FALSE = @HAVE_FIG2DEV_FALSE@
HAVE_FIG2DEV_TRUE = @HAVE_FIG2DEV_TRUE@
HAVE_GXX_FALSE = @HAVE_GXX_FALSE@
HAVE_GXX_TRUE = @HAVE_GXX_TRUE@
HAVE_ICC_FALSE = @HAVE_ICC_FALSE@
HAVE_ICC_TRUE = @HAVE_ICC_TRUE@
HAVE_INFO_FALSE = @HAVE_INFO_FALSE@
HAVE_INFO_TRUE = @HAVE_INFO_TRUE@
HAVE_LATEX = @HAVE_LATEX@
HAVE_LATEX_FALSE = @HAVE_LATEX_FALSE@
HAVE_LATEX_TRUE = @HAVE_LATEX_TRUE@
HAVE_LEFTY_FALSE = @HAVE_LEFTY_FALSE@
HAVE_LEFTY_TRUE = @HAVE_LEFTY_TRUE@
HAVE_LIBGUILE_FALSE = @HAVE_LIBGUILE_FALSE@
HAVE_LIBGUILE_TRUE = @HAVE_LIBGUILE_TRUE@
HAVE_LVS_FALSE = @HAVE_LVS_FALSE@
HAVE_LVS_TRUE = @HAVE_LVS_TRUE@
HAVE_MAKEINDEX_FALSE = @HAVE_MAKEINDEX_FALSE@
HAVE_MAKEINDEX_TRUE = @HAVE_MAKEINDEX_TRUE@
HAVE_NEATO_FALSE = @HAVE_NEATO_FALSE@
HAVE_NEATO_TRUE = @HAVE_NEATO_TRUE@
HAVE_PDFLATEX = @HAVE_PDFLATEX@
HAVE_PDFLATEX_FALSE = @HAVE_PDFLATEX_FALSE@
HAVE_PDFLATEX_TRUE = @HAVE_PDFLATEX_TRUE@
HAVE_PKG_CONFIG_FALSE = @HAVE_PKG_CONFIG_FALSE@
HAVE_PKG_CONFIG_TRUE = @HAVE_PKG_CONFIG_TRUE@
HAVE_PRSIM_FALSE = @HAVE_PRSIM_FALSE@
HAVE_PRSIM_TRUE = @HAVE_PRSIM_TRUE@
HAVE_PS2EPSI_FALSE = @HAVE_PS2EPSI_FALSE@
HAVE_PS2EPSI_TRUE = @HAVE_PS2EPSI_TRUE@
HAVE_PS2PDF_FALSE = @HAVE_PS2PDF_FALSE@
HAVE_PS2PDF_TRUE = @HAVE_PS2PDF_TRUE@
HAVE_TWOPI_FALSE = @HAVE_TWOPI_FALSE@
HAVE_TWOPI_TRUE = @HAVE_TWOPI_TRUE@
HAVE_VCS_FALSE = @HAVE_VCS_FALSE@
HAVE_VCS_TRUE = @HAVE_VCS_TRUE@
HAVE_VPI_FALSE = @HAVE_VPI_FALSE@
HAVE_VPI_TRUE = @HAVE_VPI_TRUE@
HAVE_X11_FALSE = @HAVE_X11_FALSE@
HAVE_X11_TRUE = @HAVE_X11_TRUE@
HAVE_YACC_FALSE = @HAVE_YACC_FALSE@
HAVE_YACC_TRUE = @HAVE_YACC_TRUE@
HEAD = @HEAD@
HEXDUMP = @HEXDUMP@
INDENT = @INDENT@
INFO = @INFO@
INSTALL_DATA = @INSTALL_DATA@
INSTALL_LTDL_FALSE = @INSTALL_LTDL_FALSE@
INSTALL_LTDL_TRUE = @INSTALL_LTDL_TRUE@
INSTALL_PROGRAM = @INSTALL_PROGRAM@
INSTALL_SCRIPT = @INSTALL_SCRIPT@
INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
INSTALL_TESTS_FALSE = @INSTALL_TESTS_FALSE@
INSTALL_TESTS_TRUE = @INSTALL_TESTS_TRUE@
INTERACTIVE_TESTS_FALSE = @INTERACTIVE_TESTS_FALSE@
INTERACTIVE_TESTS_TRUE = @INTERACTIVE_TESTS_TRUE@
LATEX = @LATEX@
LDFLAGS = @LDFLAGS@
LEFTY = @LEFTY@
LEX = @LEX@
LEXLIB = @LEXLIB@
LEX_OUTPUT_ROOT = @LEX_OUTPUT_ROOT@
LEX_VERSION = @LEX_VERSION@
LIBADD_DL = @LIBADD_DL@
LIBLTDL = @LIBLTDL@
LIBOBJS = @LIBOBJS@
LIBS = @LIBS@
LIBTOOL = @LIBTOOL@
LIBTOOL_DEPS = @LIBTOOL_DEPS@
LIBTOOL_FLAGS = @LIBTOOL_FLAGS@
LN_S = @LN_S@
LTDLINCL = @LTDLINCL@
LTDL_OBJDIR = @LTDL_OBJDIR@
LTDL_SHLIBPATH_VAR = @LTDL_SHLIBPATH_VAR@
LTLIBOBJS = @LTLIBOBJS@
LVS = @LVS@
M4 = @M4@
MAKEINDEX = @MAKEINDEX@
MAKEINFO = @MAKEINFO@
NCURSES_INCLUDE = @NCURSES_INCLUDE@
NCURSES_LDPATH = @NCURSES_LDPATH@
NCURSES_LIB = @NCURSES_LIB@
NEATO = @NEATO@
OBJECT_ALIGN_CHECKING_FALSE = @OBJECT_ALIGN_CHECKING_FALSE@
OBJECT_ALIGN_CHECKING_TRUE = @OBJECT_ALIGN_CHECKING_TRUE@
OBJEXT = @OBJEXT@
PACKAGE = @PACKAGE@
PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
PACKAGE_NAME = @PACKAGE_NAME@
PACKAGE_STRING = @PACKAGE_STRING@
PACKAGE_TARNAME = @PACKAGE_TARNAME@
PACKAGE_VERSION = @PACKAGE_VERSION@
PASTE = @PASTE@
PATCH = @PATCH@
PATH_SEPARATOR = @PATH_SEPARATOR@
PDFLATEX = @PDFLATEX@
PERL = @PERL@
PERL_PATH = @PERL_PATH@
PKG_CONFIG = @PKG_CONFIG@
PRINTF = @PRINTF@
PRSIM = @PRSIM@
PS2EPSI = @PS2EPSI@
PS2PDF = @PS2PDF@
PSNUP = @PSNUP@
RANDOM_TESTS_FALSE = @RANDOM_TESTS_FALSE@
RANDOM_TESTS_TRUE = @RANDOM_TESTS_TRUE@
RANLIB = @RANLIB@
RL_INCLUDE = @RL_INCLUDE@
RL_LDPATH = @RL_LDPATH@
RL_LIB = @RL_LIB@
SED = sed
SET_MAKE = @SET_MAKE@
SH = @SH@

# force use of the ancient canonical bourne shell, 
# else configure may pick up bash as the shell interpreter.  
SHELL = @SH_PATH@
SH_PATH = @SH_PATH@
SLEEP = @SLEEP@
SORT = @SORT@
SRCDIR_BUILD_FALSE = @SRCDIR_BUILD_FALSE@
SRCDIR_BUILD_TRUE = @SRCDIR_BUILD_TRUE@
STRIP = @STRIP@
TAIL = @TAIL@
TEE = @TEE@
TEXI2HTML = @TEXI2HTML@
TOUCH = @TOUCH@
TR = @TR@
TRANSFIG = @TRANSFIG@
TWOPI = @TWOPI@
VCS = @VCS@
VERBOSE_CHECK_FALSE = @VERBOSE_CHECK_FALSE@
VERBOSE_CHECK_TRUE = @VERBOSE_CHECK_TRUE@
VERSION = @VERSION@
VPI_INCLUDE = @VPI_INCLUDE@
VPI_LDPATH = @VPI_LDPATH@
WANT_LIBMISCFUN_FALSE = @WANT_LIBMISCFUN_FALSE@
WANT_LIBMISCFUN_TRUE = @WANT_LIBMISCFUN_TRUE@
X11_INCLUDE = @X11_INCLUDE@
X11_LDPATH = @X11_LDPATH@
XARGS = @XARGS@
XDR_INCLUDE = @XDR_INCLUDE@
XDR_LDPATH = @XDR_LDPATH@
XDR_LIB = @XDR_LIB@
XFIG = @XFIG@
YACC = @YACC@
YACC_FIRST_TOKEN_ENUM = @YACC_FIRST_TOKEN_ENUM@
YACC_PURE_PARSER = @YACC_PURE_PARSER@
YACC_VERSION = @YACC_VERSION@
ac_ct_AR = @ac_ct_AR@
ac_ct_CC = @ac_ct_CC@
ac_ct_CXX = @ac_ct_CXX@
ac_ct_F77 = @ac_ct_F77@
ac_ct_RANLIB = @ac_ct_RANLIB@
ac_ct_STRIP = @ac_ct_STRIP@
am__fastdepCC_FALSE = @am__fastdepCC_FALSE@
am__fastdepCC_TRUE = @am__fastdepCC_TRUE@
am__fastdepCXX_FALSE = @am__fastdepCXX_FALSE@
am__fastdepCXX_TRUE = @am__fastdepCXX_TRUE@
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@
datadir = @datadir@
exec_prefix = @exec_prefix@
host = @host@
host_alias = @host_alias@
host_cpu = @host_cpu@
host_os = @host_os@
host_vendor = @host_vendor@
includedir = @includedir@
infodir = @infodir@
install_sh = @install_sh@
libdir = @libdir@
libexecdir = @libexecdir@
localstatedir = @localstatedir@
mandir = @mandir@
mkdir_p = @mkdir_p@
oldincludedir = @oldincludedir@
prefix = @prefix@
program_transform_name = @program_transform_name@
sbindir = @sbindir@
sharedstatedir = @sharedstatedir@
subdirs = @subdirs@
sysconfdir = @sysconfdir@
target_alias = @target_alias@
# usually /bin/sh, but this is determined by configure
# add -v for verbose

# to control the version of automake (minimum)
AUTOMAKE_OPTIONS = 1.9 gnu
CP = cp -f
TEA = $(TEE) -a
PWD = @PWD@
RM = rm -f
MV = mv -f
SYNC = sync

# The following are detected and set by autoconf
# AR = ar
# ARFLAGS = -ru
# AWK = awk
# CPP = cpp
# LN = ln -fs
# RANLIB = ranlib

# defined with intention of self-modification... no used anymore
# THISMAKEFILE = Makefile

# standard automake targets to be initialized empty so subsequent uses
# may simply accumulate using +=, without having to worry about initialization
CLEANFILES = 
DISTCLEANFILES = $(am__append_4) check.log cvsdiffs $(AUTO_DEPENDS)
CLEANDIRS = 
DISTCLEANDIRS = 
# distribute dvi files
# distribute generated texi files
EXTRA_DIST = $(DVIS) $(AUTO_TEXINFO_DEPS) README $(am__append_6)
TESTS = 
# EXTRA_DIST files that should only be searched from the srcdir
srcdir_EXTRA_DIST = 

# pipe to strip out srcdir from a name
# NOTE: this was ripped from $(am__vpath_adj_setup)
#	and $(am__vpath_adj)
SED_srcdir_strip_setup = srcdirstrip=`$(ECHO) "$(srcdir)" | $(SED) 's|.|.|g'`
# SED_srcdir_strip_setup = $(am__vpath_adj_setup)
SED_srcdir_strip_fast = $(SED) "s|^$$srcdirstrip/||"
SED_srcdir_strip = { $(SED_srcdir_strip_setup) ; $(SED_srcdir_strip_fast) ;}

# strip all directory prefix (from am__strip_dir)
SED_stripdir = $(SED) 's|^.*/||'

# these files are automatically removed from distribution by dist-hook
DISTHOOK_CLEANFILES = 

# The following macros are custom-defined for use with this project, 
# in particular for coupled use with Make.global.

# yeah, stupid place to put a globally useful script, move it later...
# WARNING: don't put spaces in file names!
# SPACES_TO_NEWLINE = $(AWK) '{gsub("[ \t]+","\n"); print;}'
SPACES_TO_NEWLINE = $(TR) '[:blank:]' '\n'

# to accumulate and generate automatic .cvsignore
# we've provided some project wide definitions in Make.global
# NOTE: only directory and file names here
# Wild-cards like "*.foo*" must be wrapped in quotes when listed
# CVS ignore generated texi files

# list of files to automatically CVS ignore, accumulated over Makefile
AUTO_IGNORE = $(AUTO_TEXINFO_DEPS) $(am__append_3) .gdb_history \
	.cvsignore Makefile.in Makefile make.log ignore backup temp \
	$(CLEANFILES) $(DISTCLEANFILES)

# automatically built dependencies
AUTO_DEPENDS = 

# since automake doesn't allow appending RECURSIVE_TARGETS, we define our own:
MORE_RECURSIVE_TARGETS = force-recursive $(am__append_8) \
	build-check-recursive
MORE_CLEAN_RECURSIVE_TARGETS = $(am__append_9)

# This helper script is built by the top-level Makefile
# This is useful self-contained script for transforming program names
# to their installed names.  
INSTALL_TRANSFORM_SH = $(top_builddir)/install_transform.sh

# more robust way of removing patterns
# note: pattern arguments must be wrapped in quotes, e.g. "*.o"
RM_PATTERN = $(top_srcdir)/scripts/rm_pattern.sh

# for automatic regeneration of configured files:
RECONFIGURE = cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@

# script to extract texinfo documentation from source:
# invokable after cd $(srcdir):
EXTRACT_TEXINFO_IN_SRCDIR = $(AWK) -f $(top_builddir)/scripts/extract_texinfo.awk
# invokable from any subdir:
EXTRACT_TEXINFO = $(AWK) -f $(top_srcdir)/scripts/extract_texinfo.awk

# this path should be consistent with scripts/init_hackt.[c]sh
# also keep consistent with hackt-config.in
scmdir = $(pkgdatadir)/scm

# more install directories
# NOTE: these variables may already be defined by autoconf-2.60+
# where various documents (pdf, ps) should be installed
# Keep these consistent with src/scripts/init_hackt.{csh,sh}[.in}
docdir = $(pkgdatadir)/doc
# infodir = $(datadir)/info
htmldir = $(docdir)/html
pdfdir = $(docdir)/pdf
psdir = $(docdir)/ps
# using arch-specific directories because they reference exec_prefix paths
examplesdir = $(docdir)/examples/$(host)

# commented definitions are set by configure
# DVIPS = dvips
# PSNUP = psnup
# LATEX = latex
# PDFLATEX = pdflatex
# BIBTEX = bibtex
# MAKEINDEX = makeindex

# MAKETEXDEPEND s now obsolete
# MAKETEXDEPEND = $(AWK) -f $(top_srcdir)/dox/mk/maketexdepend.awk \
#	-v script=$(top_srcdir)/dox/mk/maketexdepend.awk -v srcdir=$(srcdir) \
#	-v readable=1 -v extensions="pdf dvi depend" -v touch=0
SUFFIXES = .ps .dvi .tex .pdf .ind .idx .bbl .aux .dvidepend \
	.pdfdepend .dot .fig .figtex .ps .eps .pdf .pstex .pstex_t \
	.pdftex .pdftex_t .png

# define as empty and append, to force subdir's automakes to use texinfos.am
info_TEXINFOS = 
AUTOPDFS = $(am__append_2)
AUTOPSS = $(am__append_1)

# The documents are only built by default if configure had docs enabled by
# default and the right latex programs were found.  
dist_pdf_DATA = $(AUTOPDFS)
dist_ps_DATA = $(AUTOPSS)
noinst_DATA = $(am__append_5)

# Add html directories here to install directories properly
# Actions defined in install-hooks in Make.dox-tail
HTML_HOOKS = 

# extract texinfo documentation into $(srcdir)
# For use with Makefile rules, 
# works for rules with single or multiple dependencies
# EXTRACT_TEXINFO_IN_SRCDIR defined in $(top_srcdir)/Make.stddef
# want to be "for s in $?", but leaves false deps...
EXTRACT_TEXINFO_SRCDIR_BATCH_SCRIPT = \
	(cd $(srcdir) && \
	for s in $^ ; do \
	  f="$(top_builddir)"`$(ECHO) $$s | $(SED) 's|$(top_srcdir)||'` ; \
	  if (test -f $$f && test -r $$f) ; then \
	    $(ECHO) "Extracting Texinfo from $$f ..." ; \
	    $(EXTRACT_TEXINFO_IN_SRCDIR) $$f ; \
	  fi ; \
	done )


# Pipe for extracting @includes from .texi sources
EXTRACT_TEXI_INCLUDES = $(GREP) "^@include" | $(CUT) -d\  -f2 | \
	$(AWK) '{printf(" \\\n\t$$(srcdir)/" $$1);}'

#	$(AWK) '{printf(" \\\n\t" $$1);}'
# need $(srcdir) to force it to look there w/o relying on VPATH

# cumulative variables:
# auto-generated Makefile snippets
AUTO_TEXINFO_DEPS = 
# used by clean-texi target
TEXI_CLEANFILES = 
MAINTAINERCLEANFILES = $(AUTO_TEXINFO_DEPS) $(TEXI_CLEANFILES)

# useful macros
# some of these are defined to be specific to this (hackt) project
get_bldroot = `echo "$@" | sed -e 's|^.*/||g' -e 's|\..*$$||g'`
COMMONINPUTS = .$(PATH_SEPARATOR)$(srcdir)$(PATH_SEPARATOR)$(top_srcdir)/dox/common$(PATH_SEPARATOR)
AUTOTEXINPUTS = $(COMMONINPUTS)"$$TEXINPUTS"$(PATH_SEPARATOR)
AUTOBIBINPUTS = $(COMMONINPUTS)"$$BIBINPUTS"$(PATH_SEPARATOR)

# dependence generation
# this is now obsolete
# .tex.depend:
#	@$(ECHO) "Generating auto-dependencies $@..." ; \
#	if test -f $@ ; then \
#		$(MAKETEXDEPEND) $< > $@.new ; \
#		if ! $(DIFF) -q $@ $@.new ; then \
#			mv -f $@.new $@ ; \
#			$(ECHO) "Updated $@." ; \
#		else 	$(RM) $@.new ; \
#			$(ECHO) "$@ is unchanged."; \
#			$(TOUCH) $@; \
#		fi > /dev/null ; \
#	else	$(MAKETEXDEPEND) $< > $@ ; \
#		$(ECHO) "Created $@." ; \
#	fi
IGNORE_TEXDEPEND_EXTENSIONS = aux bbl ind lot lof out toc
# can += this variable to add more
SCANTEXDEPEND_FILTER = $(AWK) -f $(top_srcdir)/dox/mk/scantexdepend.awk -v ignore_extensions="$(IGNORE_TEXDEPEND_EXTENSIONS)"
SCANTEXDEPEND_SCRIPT = { $(PRINTF) "$@:" ; \
	$(SCANTEXDEPEND_FILTER) $*.log ;} > $$depfile


# other option is to skip fig and go directly to pdf or ps
ECHO_NO_DOT = $(ECHO) "Sorry, no dot found in path during configure."
ECHO_NO_FIG2DEV = $(ECHO) "Sorry, no fig2dev found in path during configure."
UPDATEFIG = $(AWK) -f $(top_srcdir)/dox/mk/updatefig.awk
FIG_RED = 4
FIG_GREEN = 2
FIG_BLUE = 1
FIG_YELLOW = 6
FIG_CYAN = 3
FIG_MAGENTA = 5
FIG_WHITE = 7
FIG_BLACK = 0
MATCH_ELLIPSE = -v match_object_code=1
MATCH_CIRCLE_RADIUS = $(MATCH_ELLIPSE) -v match_sub_type=3
MATCH_CIRCLE_DIAMETER = $(MATCH_ELLIPSE) -v match_sub_type=4
MATCH_POLYLINE = -v match_object_code=2
MATCH_SPLINE = -v match_object_code=3
MATCH_TEXT = -v match_object_code=4
MATCH_LINE = $(MATCH_POLYLINE) -v match_npoints=2
MATCH_RECT = $(MATCH_POLYLINE) -v match_npoints=5
MATCH_TRIANGLE = $(MATCH_POLYLINE) -v match_npoints=4
MATCH_ARC_BOX = $(MATCH_POLYLINE) -v match_sub_type=4
MATCH_ARC = -v match_object_code=5
MATCH_LATEX_MATH = $(MATCH_TEXT) -v match_regexp='[$$].*[$$]'
MATCH_LATEX_COMMAND = $(MATCH_TEXT) -v match_regexp='\\\\'
FLAG_LATEX_TEXT = -v update_font_flags=2

# strips .fig file of its header, assuming 1200 dpi
STRIPFIG = $(SED) -e "/\#FIG/,/1200 2/d"

# for xfig stream editing

# includes closed shapes
# filter to prevent filled shapes from smothering text at same depth
POLYLINES_TO_DEPTH_100 = $(UPDATEFIG) $(MATCH_POLYLINE) -v update_depth=100 | \
	$(UPDATEFIG) $(MATCH_ELLIPSE) -v update_depth=100

DOTFIG_FILTER = $(POLYLINES_TO_DEPTH_100)
@FIG2DEV_PDFTEX_FALSE@PDFTEX_LANG = pdf
@FIG2DEV_PDFTEX_TRUE@PDFTEX_LANG = pdftex
@FIG2DEV_PDFTEX_FALSE@PDFTEX_T_LANG = pstex_t
@FIG2DEV_PDFTEX_TRUE@PDFTEX_T_LANG = pdftex_t
ALL_CVSIGNORE = $(am__append_7)
# RECURSIVE_TARGETS =

# blatantly copied from Makefile.in, generated by automake
RECURSIVE_TARGET_SCRIPT = \
	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='$(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"


# always bottom-up and reverse order
# NOTE: this script needs to be prepended with '+' to connect jobserver
CLEAN_RECURSIVE_TARGET_SCRIPT = \
	set fnord $$MAKEFLAGS; amf=$$2; \
	list='$(SUBDIRS)'; \
	rev=''; for subdir in $$list; do \
	  if test "$$subdir" = "."; then :; else \
	    rev="$$subdir $$rev"; \
	  fi; \
	done; \
	target=`echo $@ | sed s/-recursive//`; \
	for subdir in $$rev; do \
	  echo "Making $$target in $$subdir"; \
	  (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$target) \
	   || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \
	done && test -z "$$fail"

@AUTO_CVSIGNORE_TRUE@PHONY_CVSIGNORE = clean-cvsignore-local clean-cvsignore-am cvsignore \
@AUTO_CVSIGNORE_TRUE@	clean-cvsignore cvsignore-local cvsignore-am

all: all-am

.SUFFIXES:
.SUFFIXES: .ps .dvi .tex .pdf .ind .idx .bbl .aux .dvidepend .pdfdepend .dot .fig .figtex .ps .eps .pdf .pstex .pstex_t .pdftex .pdftex_t .png
$(srcdir)/Makefile.in:  $(srcdir)/Makefile.am $(top_srcdir)/dox/Make.dox-head $(top_srcdir)/Make.stddef $(top_srcdir)/installdirs.mk $(top_srcdir)/dox/Make.dox-tail $(top_srcdir)/dox/mk/Make.latex $(top_srcdir)/dox/mk/Make.fig $(top_srcdir)/dox/mk/updatefig.mk $(top_srcdir)/Make.global $(am__configure_deps)
	@for dep in $?; do \
	  case '$(am__configure_deps)' in \
	    *$$dep*) \
	      cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \
		&& exit 0; \
	      exit 1;; \
	  esac; \
	done; \
	echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu  dox/man/Makefile'; \
	cd $(top_srcdir) && \
	  $(AUTOMAKE) --gnu  dox/man/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

mostlyclean-libtool:
	-rm -f *.lo

clean-libtool:
	-rm -rf .libs _libs

distclean-libtool:
	-rm -f libtool
.dvi.ps:
	$(DVIPS) -o $@ $<

uninstall-info-am:
	$(PRE_UNINSTALL)
	@if (install-info --version && \
	     install-info --version 2>&1 | sed 1q | grep -i -v debian) >/dev/null 2>&1; then \
	  list='$(INFO_DEPS)'; \
	  for file in $$list; do \
	    relfile=`echo "$$file" | sed 's|^.*/||'`; \
	    echo " install-info --info-dir='$(DESTDIR)$(infodir)' --remove '$(DESTDIR)$(infodir)/$$relfile'"; \
	    install-info --info-dir="$(DESTDIR)$(infodir)" --remove "$(DESTDIR)$(infodir)/$$relfile"; \
	  done; \
	else :; fi
	@$(NORMAL_UNINSTALL)
	@list='$(INFO_DEPS)'; \
	for file in $$list; do \
	  relfile=`echo "$$file" | sed 's|^.*/||'`; \
	  relfile_i=`echo "$$relfile" | sed 's|\.info$$||;s|$$|.i|'`; \
	  (if cd "$(DESTDIR)$(infodir)"; then \
	     echo " rm -f $$relfile $$relfile-[0-9] $$relfile-[0-9][0-9] $$relfile_i[0-9] $$relfile_i[0-9][0-9])"; \
	     rm -f $$relfile $$relfile-[0-9] $$relfile-[0-9][0-9] $$relfile_i[0-9] $$relfile_i[0-9][0-9]; \
	   else :; fi); \
	done

dist-info: $(INFO_DEPS)
	@srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
	list='$(INFO_DEPS)'; \
	for base in $$list; do \
	  case $$base in \
	    $(srcdir)/*) base=`echo "$$base" | sed "s|^$$srcdirstrip/||"`;; \
	  esac; \
	  if test -f $$base; then d=.; else d=$(srcdir); fi; \
	  for file in $$d/$$base*; do \
	    relfile=`expr "$$file" : "$$d/\(.*\)"`; \
	    test -f $(distdir)/$$relfile || \
	      cp -p $$file $(distdir)/$$relfile; \
	  done; \
	done

mostlyclean-aminfo:
	-rm -rf 

maintainer-clean-aminfo:
	@list='$(INFO_DEPS)'; for i in $$list; do \
	  i_i=`echo "$$i" | sed 's|\.info$$||;s|$$|.i|'`; \
	  echo " rm -f $$i $$i-[0-9] $$i-[0-9][0-9] $$i_i[0-9] $$i_i[0-9][0-9]"; \
	  rm -f $$i $$i-[0-9] $$i-[0-9][0-9] $$i_i[0-9] $$i_i[0-9][0-9]; \
	done
install-dist_pdfDATA: $(dist_pdf_DATA)
	@$(NORMAL_INSTALL)
	test -z "$(pdfdir)" || $(mkdir_p) "$(DESTDIR)$(pdfdir)"
	@list='$(dist_pdf_DATA)'; for p in $$list; do \
	  if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
	  f=$(am__strip_dir) \
	  echo " $(dist_pdfDATA_INSTALL) '$$d$$p' '$(DESTDIR)$(pdfdir)/$$f'"; \
	  $(dist_pdfDATA_INSTALL) "$$d$$p" "$(DESTDIR)$(pdfdir)/$$f"; \
	done

uninstall-dist_pdfDATA:
	@$(NORMAL_UNINSTALL)
	@list='$(dist_pdf_DATA)'; for p in $$list; do \
	  f=$(am__strip_dir) \
	  echo " rm -f '$(DESTDIR)$(pdfdir)/$$f'"; \
	  rm -f "$(DESTDIR)$(pdfdir)/$$f"; \
	done
install-dist_psDATA: $(dist_ps_DATA)
	@$(NORMAL_INSTALL)
	test -z "$(psdir)" || $(mkdir_p) "$(DESTDIR)$(psdir)"
	@list='$(dist_ps_DATA)'; for p in $$list; do \
	  if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
	  f=$(am__strip_dir) \
	  echo " $(dist_psDATA_INSTALL) '$$d$$p' '$(DESTDIR)$(psdir)/$$f'"; \
	  $(dist_psDATA_INSTALL) "$$d$$p" "$(DESTDIR)$(psdir)/$$f"; \
	done

uninstall-dist_psDATA:
	@$(NORMAL_UNINSTALL)
	@list='$(dist_ps_DATA)'; for p in $$list; do \
	  f=$(am__strip_dir) \
	  echo " rm -f '$(DESTDIR)$(psdir)/$$f'"; \
	  rm -f "$(DESTDIR)$(psdir)/$$f"; \
	done
tags: TAGS
TAGS:

ctags: CTAGS
CTAGS:


check-TESTS: $(TESTS)
	@failed=0; all=0; xfail=0; xpass=0; skip=0; \
	srcdir=$(srcdir); export srcdir; \
	list='$(TESTS)'; \
	if test -n "$$list"; then \
	  for tst in $$list; do \
	    if test -f ./$$tst; then dir=./; \
	    elif test -f $$tst; then dir=; \
	    else dir="$(srcdir)/"; fi; \
	    if $(TESTS_ENVIRONMENT) $${dir}$$tst; then \
	      all=`expr $$all + 1`; \
	      case " $(XFAIL_TESTS) " in \
	      *" $$tst "*) \
		xpass=`expr $$xpass + 1`; \
		failed=`expr $$failed + 1`; \
		echo "XPASS: $$tst"; \
	      ;; \
	      *) \
		echo "PASS: $$tst"; \
	      ;; \
	      esac; \
	    elif test $$? -ne 77; then \
	      all=`expr $$all + 1`; \
	      case " $(XFAIL_TESTS) " in \
	      *" $$tst "*) \
		xfail=`expr $$xfail + 1`; \
		echo "XFAIL: $$tst"; \
	      ;; \
	      *) \
		failed=`expr $$failed + 1`; \
		echo "FAIL: $$tst"; \
	      ;; \
	      esac; \
	    else \
	      skip=`expr $$skip + 1`; \
	      echo "SKIP: $$tst"; \
	    fi; \
	  done; \
	  if test "$$failed" -eq 0; then \
	    if test "$$xfail" -eq 0; then \
	      banner="All $$all tests passed"; \
	    else \
	      banner="All $$all tests behaved as expected ($$xfail expected failures)"; \
	    fi; \
	  else \
	    if test "$$xpass" -eq 0; then \
	      banner="$$failed of $$all tests failed"; \
	    else \
	      banner="$$failed of $$all tests did not behave as expected ($$xpass unexpected passes)"; \
	    fi; \
	  fi; \
	  dashes="$$banner"; \
	  skipped=""; \
	  if test "$$skip" -ne 0; then \
	    skipped="($$skip tests were not run)"; \
	    test `echo "$$skipped" | wc -c` -le `echo "$$banner" | wc -c` || \
	      dashes="$$skipped"; \
	  fi; \
	  report=""; \
	  if test "$$failed" -ne 0 && test -n "$(PACKAGE_BUGREPORT)"; then \
	    report="Please report to $(PACKAGE_BUGREPORT)"; \
	    test `echo "$$report" | wc -c` -le `echo "$$banner" | wc -c` || \
	      dashes="$$report"; \
	  fi; \
	  dashes=`echo "$$dashes" | sed s/./=/g`; \
	  echo "$$dashes"; \
	  echo "$$banner"; \
	  test -z "$$skipped" || echo "$$skipped"; \
	  test -z "$$report" || echo "$$report"; \
	  echo "$$dashes"; \
	  test "$$failed" -eq 0; \
	else :; fi

distdir: $(DISTFILES)
	$(mkdir_p) $(distdir)/../.. $(distdir)/../../dox $(distdir)/../../dox/mk
	@srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
	topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \
	list='$(DISTFILES)'; for file in $$list; do \
	  case $$file in \
	    $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \
	    $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \
	  esac; \
	  if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
	  dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
	  if test "$$dir" != "$$file" && test "$$dir" != "."; then \
	    dir="/$$dir"; \
	    $(mkdir_p) "$(distdir)$$dir"; \
	  else \
	    dir=''; \
	  fi; \
	  if test -d $$d/$$file; then \
	    if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
	      cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
	    fi; \
	    cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
	  else \
	    test -f $(distdir)/$$file \
	    || cp -p $$d/$$file $(distdir)/$$file \
	    || exit 1; \
	  fi; \
	done
	$(MAKE) $(AM_MAKEFLAGS) \
	  top_distdir="$(top_distdir)" distdir="$(distdir)" \
	  dist-info dist-hook
check-am: all-am
	$(MAKE) $(AM_MAKEFLAGS) check-TESTS
check: check-am
all-am: Makefile $(INFO_DEPS) $(DATA) all-local
installdirs:
	for dir in "$(DESTDIR)$(infodir)" "$(DESTDIR)$(pdfdir)" "$(DESTDIR)$(psdir)"; 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 -z "$(DISTCLEANFILES)" || rm -f $(DISTCLEANFILES)

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)
@ENABLE_DOCS_FALSE@install-data-hook:
@ENABLE_DOCS_FALSE@uninstall-hook:
clean: clean-am

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

distclean: distclean-am
	-rm -f Makefile
distclean-am: clean-am distclean-generic distclean-libtool \
	distclean-local

dvi: dvi-am

dvi-am: $(DVIS)

html: html-am

html-am: $(HTMLS)

info: info-am

info-am: $(INFO_DEPS)

install-data-am: install-dist_pdfDATA install-dist_psDATA \
	install-info-am
	@$(NORMAL_INSTALL)
	$(MAKE) $(AM_MAKEFLAGS) install-data-hook

install-exec-am:

install-info: install-info-am

install-info-am: $(INFO_DEPS)
	@$(NORMAL_INSTALL)
	test -z "$(infodir)" || $(mkdir_p) "$(DESTDIR)$(infodir)"
	@srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
	list='$(INFO_DEPS)'; \
	for file in $$list; do \
	  case $$file in \
	    $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \
	  esac; \
	  if test -f $$file; then d=.; else d=$(srcdir); fi; \
	  file_i=`echo "$$file" | sed 's|\.info$$||;s|$$|.i|'`; \
	  for ifile in $$d/$$file $$d/$$file-[0-9] $$d/$$file-[0-9][0-9] \
                       $$d/$$file_i[0-9] $$d/$$file_i[0-9][0-9] ; do \
	    if test -f $$ifile; then \
	      relfile=`echo "$$ifile" | sed 's|^.*/||'`; \
	      echo " $(INSTALL_DATA) '$$ifile' '$(DESTDIR)$(infodir)/$$relfile'"; \
	      $(INSTALL_DATA) "$$ifile" "$(DESTDIR)$(infodir)/$$relfile"; \
	    else : ; fi; \
	  done; \
	done
	@$(POST_INSTALL)
	@if (install-info --version && \
	     install-info --version 2>&1 | sed 1q | grep -i -v debian) >/dev/null 2>&1; then \
	  list='$(INFO_DEPS)'; \
	  for file in $$list; do \
	    relfile=`echo "$$file" | sed 's|^.*/||'`; \
	    echo " install-info --info-dir='$(DESTDIR)$(infodir)' '$(DESTDIR)$(infodir)/$$relfile'";\
	    install-info --info-dir="$(DESTDIR)$(infodir)" "$(DESTDIR)$(infodir)/$$relfile" || :;\
	  done; \
	else : ; fi
install-man:

installcheck-am:

maintainer-clean: maintainer-clean-am
	-rm -f Makefile
maintainer-clean-am: distclean-am maintainer-clean-aminfo \
	maintainer-clean-generic

mostlyclean: mostlyclean-am

mostlyclean-am: mostlyclean-aminfo mostlyclean-generic \
	mostlyclean-libtool

pdf: pdf-am

pdf-am: $(PDFS) pdf-local

ps: ps-am

ps-am: $(PSS) ps-local

uninstall-am: uninstall-dist_pdfDATA uninstall-dist_psDATA \
	uninstall-info-am
	@$(NORMAL_INSTALL)
	$(MAKE) $(AM_MAKEFLAGS) uninstall-hook

.PHONY: all all-am all-local check check-TESTS check-am clean \
	clean-generic clean-libtool clean-local dist-hook dist-info \
	distclean distclean-generic distclean-libtool distclean-local \
	distdir dvi dvi-am html html-am info info-am install \
	install-am install-data install-data-am install-data-hook \
	install-dist_pdfDATA install-dist_psDATA install-exec \
	install-exec-am install-info install-info-am install-man \
	install-strip installcheck installcheck-am installdirs \
	maintainer-clean maintainer-clean-aminfo \
	maintainer-clean-generic mostlyclean mostlyclean-aminfo \
	mostlyclean-generic mostlyclean-libtool pdf pdf-am pdf-local \
	ps ps-am ps-local uninstall uninstall-am \
	uninstall-dist_pdfDATA uninstall-dist_psDATA uninstall-hook \
	uninstall-info-am

force-am:
force:

# end "Make.stddef"

# Can always explicitly try to build pdf/ps with "make pdf ps", 
# regardless of configuration
pdf-local: $(PDFS)
ps-local: $(PSS)
# EXTRA_DIST += $(TEXI_CLEANFILES)

@AUTO_CVSIGNORE_TRUE@local.cvsignore: $(top_srcdir)/dox/local.cvsignore
@AUTO_CVSIGNORE_TRUE@	$(CP) $< $@

# should use $(mkinstalldirs)?
@ENABLE_DOCS_TRUE@install-data-hook: $(HTML_HOOKS)
@ENABLE_DOCS_TRUE@	$(mkdir_p) $(DESTDIR)$(htmldir) && \
@ENABLE_DOCS_TRUE@	for d in '$^' ; do \
@ENABLE_DOCS_TRUE@	  test -z "$$d" || \
@ENABLE_DOCS_TRUE@	    { $(CP) -r $$d $(DESTDIR)$(htmldir) && \
@ENABLE_DOCS_TRUE@	    base=`basename $$d` && \
@ENABLE_DOCS_TRUE@	    $(CHMOD) u+w $(DESTDIR)$(htmldir)/$$base ;} ; \
@ENABLE_DOCS_TRUE@	done
# for distcheck, chmod to fix permissions copying from read-only dir
# perhaps something like $(INSTALL_DATA) would be more correct?

@ENABLE_DOCS_TRUE@uninstall-hook:
@ENABLE_DOCS_TRUE@	for d in '$(HTML_HOOKS)' ; do \
@ENABLE_DOCS_TRUE@	  test -z "$$d" || \
@ENABLE_DOCS_TRUE@	    $(RM) -r $(DESTDIR)$(htmldir)/$$d ; \
@ENABLE_DOCS_TRUE@	done

###############################################################################

clean-local: clean-figs

# be careful, PNGs might be listed as source images, not necessarily generated
clean-figs: force
	$(RM) figs/*.fig.orig
	$(RM) figs/*.figtex
	$(RM) figs/*.eps
	$(RM) figs/*.ps
	$(RM) figs/*.pdf
	$(RM) figs/*.pstex
	$(RM) figs/*.pdftex
	$(RM) figs/*.pstex_t
	$(RM) figs/*.pdftex_t
	$(RM) figs/*.png

clean-texi:
	-test -z "$(TEXI_CLEANFILES)" || $(RM) $(TEXI_CLEANFILES)

# prefer to list .pdf/.dvi pairs explicitly, more fine-grained
# .NOTPARALLEL: pdf ps

.PHONY: help-dox clean-figs clean-texi

help-dox:
	@$(ECHO) "Documentation make targets" ; \
	$(ECHO) "    pdf: builds PDF documents" ; \
	$(ECHO) "    ps: builds PostScript documents"

help-local:
	@{ $(CALLMAKE) help-dox ; \
	$(CALLMAKE) help-latex ;} 2> /dev/null

# create dummy dependencies first, overwrite later
# .pdf.pdfdepend:
#	@:
.tex.pdfdepend:
	@$(TOUCH) $@

# .dvi.dvidepend:
#	@:
.tex.dvidepend:
	@$(TOUCH) $@

# makeindex
.idx.ind:
@HAVE_MAKEINDEX_TRUE@	@if test -f $< ; then $(MAKEINDEX) $< ; fi 
	@$(TOUCH) $@

# bibtex
.aux.bbl:
@HAVE_BIBTEX_TRUE@	@bldroot=$(get_bldroot) ; \
@HAVE_BIBTEX_TRUE@	if $(GREP) -q "\\citation" $< ; then \
@HAVE_BIBTEX_TRUE@		BIBINPUTS=$(AUTOBIBINPUTS) $(BIBTEX) $$bldroot ; \
@HAVE_BIBTEX_TRUE@	fi
	@$(TOUCH) $@

.tex.dvi:
@HAVE_LATEX_TRUE@	@bldroot=$(get_bldroot) ; \
@HAVE_LATEX_TRUE@	depfile=$@depend ; \
@HAVE_LATEX_TRUE@	$(ECHO) "Generating $$bldroot.dvi..." ; \
@HAVE_LATEX_TRUE@	if test -f $$bldroot.stamp ; then \
@HAVE_LATEX_TRUE@		if $(GREP) -q $(PDFLATEX) $$bldroot.stamp ; then \
@HAVE_LATEX_TRUE@			$(MAKE) clean-temps ; fi \
@HAVE_LATEX_TRUE@	fi ; \
@HAVE_LATEX_TRUE@	TEXINPUTS=$(AUTOTEXINPUTS) $(LATEX) $< > /dev/null < /dev/null ; \
@HAVE_LATEX_TRUE@	$(ECHO) $(LATEX) > $$bldroot.stamp ; \
@HAVE_LATEX_TRUE@	$(ECHO) "Generating auto-dependencies from $*.log..." ; \
@HAVE_LATEX_TRUE@	$(SCANTEXDEPEND_SCRIPT) ; \
@HAVE_LATEX_TRUE@	if $(GREP) "TeX capacity" $$bldroot.log; \
@HAVE_LATEX_TRUE@		then $(ECHO) SHIT ; \
@HAVE_LATEX_TRUE@	fi ; \
@HAVE_LATEX_TRUE@	if test -f $$bldroot.idx ; then $(MAKE) $$bldroot.ind ; fi ; \
@HAVE_LATEX_TRUE@	if test -f $$bldroot.aux ; then $(MAKE) $$bldroot.bbl ; fi ; \
@HAVE_LATEX_TRUE@	if ($(GREP) 'LaTeX Warning:' $$bldroot.log | $(GREP) -v floats); then \
@HAVE_LATEX_TRUE@		$(ECHO); $(ECHO) "Detected warnings, doing second LaTeX pass..." ; \
@HAVE_LATEX_TRUE@		TEXINPUTS=$(AUTOTEXINPUTS) $(LATEX) $< > /dev/null < /dev/null; \
@HAVE_LATEX_TRUE@		if test -f $$bldroot.idx ; then $(MAKE) $$bldroot.ind ; fi ; \
@HAVE_LATEX_TRUE@		if $(GREP) "TeX capacity" $$bldroot.log; \
@HAVE_LATEX_TRUE@			then $(ECHO) SHIT; \
@HAVE_LATEX_TRUE@		elif $(GREP) 'LaTeX Warning: Citation' $$bldroot.log; then \
@HAVE_LATEX_TRUE@			$(ECHO); $(ECHO) "Citation warnings, third LaTeX pass..."; \
@HAVE_LATEX_TRUE@			TEXINPUTS=$(AUTOTEXINPUTS) $(LATEX) $< > /dev/null < /dev/null; \
@HAVE_LATEX_TRUE@		fi; \
@HAVE_LATEX_TRUE@		($(GREP) 'LaTeX Warn' $$bldroot.log || ($(ECHO) > /dev/null)); \
@HAVE_LATEX_TRUE@	fi
@HAVE_LATEX_TRUE@	@$(ECHO) "$@ completed."
@HAVE_LATEX_FALSE@	@$(ECHO) "Sorry, no latex found in path during configuration." ; \
@HAVE_LATEX_FALSE@	exit 1

.tex.pdf:
@HAVE_PDFLATEX_TRUE@	@bldroot=$(get_bldroot) ; \
@HAVE_PDFLATEX_TRUE@	depfile=$@depend ; \
@HAVE_PDFLATEX_TRUE@	$(ECHO) "Generating $$bldroot.pdf..." ; \
@HAVE_PDFLATEX_TRUE@	if test -f $$bldroot.stamp ; then \
@HAVE_PDFLATEX_TRUE@		if $(GREP) -q $(PDFLATEX) $$bldroot.stamp ; then \
@HAVE_PDFLATEX_TRUE@			: ; else $(MAKE) clean-temps ; fi \
@HAVE_PDFLATEX_TRUE@	fi ; \
@HAVE_PDFLATEX_TRUE@	TEXINPUTS=$(AUTOTEXINPUTS) $(PDFLATEX) $< > /dev/null < /dev/null ; \
@HAVE_PDFLATEX_TRUE@	$(ECHO) $(PDFLATEX) > $$bldroot.stamp ; \
@HAVE_PDFLATEX_TRUE@	$(ECHO) "Generating auto-dependencies from $*.log..." ; \
@HAVE_PDFLATEX_TRUE@	$(SCANTEXDEPEND_SCRIPT) ; \
@HAVE_PDFLATEX_TRUE@	if $(GREP) "TeX capacity" $$bldroot.log; \
@HAVE_PDFLATEX_TRUE@		then $(ECHO) SHIT ; \
@HAVE_PDFLATEX_TRUE@	fi ; \
@HAVE_PDFLATEX_TRUE@	if test -f $$bldroot.idx ; then $(MAKE) $$bldroot.ind ; fi ; \
@HAVE_PDFLATEX_TRUE@	if test -f $$bldroot.aux ; then $(MAKE) $$bldroot.bbl ; fi ; \
@HAVE_PDFLATEX_TRUE@	if ($(GREP) 'LaTeX Warning:' $$bldroot.log | $(GREP) -v floats); then \
@HAVE_PDFLATEX_TRUE@		$(ECHO); $(ECHO) "Detected warnings, doing second LaTeX pass..." ; \
@HAVE_PDFLATEX_TRUE@		TEXINPUTS=$(AUTOTEXINPUTS) $(PDFLATEX) $< > /dev/null < /dev/null ; \
@HAVE_PDFLATEX_TRUE@		if test -f $$bldroot.idx ; then $(MAKE) $$bldroot.ind ; fi ; \
@HAVE_PDFLATEX_TRUE@		if $(GREP) "TeX capacity" $$bldroot.log; \
@HAVE_PDFLATEX_TRUE@			then $(ECHO) SHIT; \
@HAVE_PDFLATEX_TRUE@		elif $(GREP) 'LaTeX Warning: Citation' $$bldroot.log; then \
@HAVE_PDFLATEX_TRUE@			$(ECHO); $(ECHO) "Citation warnings, third LaTeX pass..."; \
@HAVE_PDFLATEX_TRUE@			TEXINPUTS=$(AUTOTEXINPUTS) $(PDFLATEX) $< > /dev/null < /dev/null; \
@HAVE_PDFLATEX_TRUE@		fi; \
@HAVE_PDFLATEX_TRUE@		($(GREP) 'LaTeX Warn' $$bldroot.log || ($(ECHO) > /dev/null)); \
@HAVE_PDFLATEX_TRUE@	fi
@HAVE_PDFLATEX_TRUE@	@$(ECHO) "$@ completed."
@HAVE_PDFLATEX_FALSE@	@$(ECHO) "Sorry, no pdflatex found in path during configuration." ; \
@HAVE_PDFLATEX_FALSE@	exit 1

# This is now provided by texinfos.am (automake)
# if HAVE_DVIPS
# .dvi.ps:
#	$(DVIPS) $< -o $@
# endif

# files that may conflict between latex and pdflatex
# may add .lof, .lot, for list of ...

echo-autotexinputs: force
	@$(ECHO) $(AUTOTEXINPUTS)

echo-autobibinputs: force
	@$(ECHO) $(AUTOBIBINPUTS)

echo-commoninputs: force
	@$(ECHO) $(COMMONINPUTS)

clean-temps: clean-bib clean-index clean-aux
	-$(RM) *.stamp

clean-bib:
	-$(RM) *.bbl *.blg

clean-index:
	-$(RM) *.idx *.ind *.ilg *.out

clean-aux:
	-$(RM) *.aux *.log *.toc

distclean-depend:
	-$(RM) *.depend
	-$(RM) *.*depend

clean-docs:
	-$(RM) *.ps *.dvi *.pdf

clean-local: clean-docs clean-temps

distclean-local: distclean-depend

.PHONY: help-latex
help-latex:
	@$(ECHO) "LaTeX make targets"
	@$(ECHO) "    clean-*: (all included in clean target)"
	@$(ECHO) "	temps: removes all auxiliary files"
	@$(ECHO) "	bib: removes BibTeX auxiliary files"
	@$(ECHO) "	index: removes makeindex auxiliary files"
	@$(ECHO) "	aux: removes LaTeX auxiliary files"
	@$(ECHO) "	docs: removes output files"
	@$(ECHO) "	depend: removes .depend dependency files"
	@$(ECHO) "    echo-*: print some variables passed to LaTeX and friends"
	@$(ECHO) "	commoninputs: COMMONINPUTS"
	@$(ECHO) "	autotexinputs: AUTOTEXINPUTS"
	@$(ECHO) "	autobibinputs: AUTOBIBINPUTS"

# help: help-latex

.dot.fig:
#	$(DOT) -Tfig $< | $(DOTFIG_FILTER) > $@
@HAVE_DOT_TRUE@	$(DOT) -Tfig $< -o $@.orig && \
@HAVE_DOT_TRUE@	$(CAT) $@.orig | $(DOTFIG_FILTER) > $@
@HAVE_DOT_FALSE@	@$(ECHO_NO_DOT)
@HAVE_DOT_FALSE@	$(LN_S) -f $(top_srcdir)/dox/common/missing-dot.fig $@

# TODO: make a placeholder dummy box for missing figures.  
# don't use .tex extension, else make will chain suffix, using wrong rules
.fig.figtex:
	@$(ECHO) "Generating $@ from $<" ; \
	pdf=`$(ECHO) $@ | $(SED) 's|figtex$$|pdftex_t|'` ; \
	ps=`$(ECHO) $@ | $(SED) 's|figtex$$|pstex_t|'` ; \
	$(PRINTF) "\\\\ifpdf\\\\input{$$pdf}\\\\else\\\\input{$$ps}\\\\fi\\n" > $@

.fig.pdf:
@HAVE_FIG2DEV_TRUE@	$(FIG2DEV) -L$(PDFTEX_LANG) $< $@
@HAVE_FIG2DEV_FALSE@	@$(ECHO_NO_FIG2DEV)
@HAVE_FIG2DEV_FALSE@	$(LN_S) -f $(top_srcdir)/dox/common/missing-pdf.pdf $@

.fig.pdftex:
@HAVE_FIG2DEV_TRUE@	$(FIG2DEV) -L$(PDFTEX_LANG) $< $@
@HAVE_FIG2DEV_FALSE@	@$(ECHO_NO_FIG2DEV)
@HAVE_FIG2DEV_FALSE@	$(LN_S) -f $(top_srcdir)/dox/common/missing-pdf.pdf $@

.fig.pdftex_t:
@HAVE_FIG2DEV_TRUE@	@$(ECHO) "$(FIG2DEV) -L$(PDFTEX_T_LANG) $< > $@ ..." ; \
@HAVE_FIG2DEV_TRUE@	pdf=`$(ECHO) $@ | $(SED) 's|\.pdftex_t$$||'` ; \
@HAVE_FIG2DEV_TRUE@	{ $(PRINTF) "\\\\begin{picture}(0,0)%%\\n" ; \
@HAVE_FIG2DEV_TRUE@	$(PRINTF) "\\\\includegraphics{$$pdf}%%\\n" ; \
@HAVE_FIG2DEV_TRUE@	$(PRINTF) "\\\\end{picture}%%\\n" ; \
@HAVE_FIG2DEV_TRUE@	$(FIG2DEV) -L$(PDFTEX_T_LANG) $< ;} > $@
@HAVE_FIG2DEV_FALSE@	@$(ECHO_NO_FIG2DEV)
@HAVE_FIG2DEV_FALSE@	@pdf=`$(ECHO) $@ | $(SED) 's|\.pdftex_t$$||'` ; \
@HAVE_FIG2DEV_FALSE@	{ $(PRINTF) "\\\\begin{picture}(0,0)%%\\n" ; \
@HAVE_FIG2DEV_FALSE@	$(PRINTF) "\\\\includegraphics{$$pdf}%%\\n" ; \
@HAVE_FIG2DEV_FALSE@	$(PRINTF) "\\\\end{picture}%%\\n" ;} $@

.fig.ps:
@HAVE_FIG2DEV_TRUE@	$(FIG2DEV) -Lpstex $< $@
@HAVE_FIG2DEV_FALSE@	@$(ECHO_NO_FIG2DEV)
@HAVE_FIG2DEV_FALSE@	$(LN_S) -f $(top_srcdir)/dox/common/missing-ps.ps $@

.fig.eps:
@HAVE_FIG2DEV_TRUE@	$(FIG2DEV) -Leps $< $@
@HAVE_FIG2DEV_FALSE@	@$(ECHO_NO_FIG2DEV)
@HAVE_FIG2DEV_FALSE@	$(LN_S) -f $(top_srcdir)/dox/common/missing-ps.eps $@

.fig.pstex:
@HAVE_FIG2DEV_TRUE@	$(FIG2DEV) -Lpstex $< $@
@HAVE_FIG2DEV_FALSE@	@$(ECHO_NO_FIG2DEV)
@HAVE_FIG2DEV_FALSE@	$(LN_S) -f $(top_srcdir)/dox/common/missing-ps.ps $@

.fig.pstex_t:
@HAVE_FIG2DEV_TRUE@	@$(ECHO) "$(FIG2DEV) -Lpstex_t $< > $@ ..." ; \
@HAVE_FIG2DEV_TRUE@	ps=`$(ECHO) $@ | $(SED) 's|\.pstex_t$$||'` ; \
@HAVE_FIG2DEV_TRUE@	{ $(PRINTF) "\\\\begin{picture}(0,0)%%\\n" ; \
@HAVE_FIG2DEV_TRUE@	$(PRINTF) "\\\\includegraphics{$$ps}%%\\n" ; \
@HAVE_FIG2DEV_TRUE@	$(PRINTF) "\\\\end{picture}%%\\n" ; \
@HAVE_FIG2DEV_TRUE@	$(FIG2DEV) -Lpstex_t $< ;} > $@
@HAVE_FIG2DEV_FALSE@	@$(ECHO_NO_FIG2DEV)
@HAVE_FIG2DEV_FALSE@	@ps=`$(ECHO) $@ | $(SED) 's|\.pstex_t$$||'` ; \
@HAVE_FIG2DEV_FALSE@	{ $(PRINTF) "\\\\begin{picture}(0,0)%%\\n" ; \
@HAVE_FIG2DEV_FALSE@	$(PRINTF) "\\\\includegraphics{$$ps}%%\\n" ; \
@HAVE_FIG2DEV_FALSE@	$(PRINTF) "\\\\end{picture}%%\\n" ;} > $@

.fig.png:
@HAVE_FIG2DEV_TRUE@	$(FIG2DEV) -Lpng $< $@
@HAVE_FIG2DEV_FALSE@	@$(ECHO_NO_FIG2DEV)
@HAVE_FIG2DEV_FALSE@	$(LN_S) -f $(top_srcdir)/dox/common/missing-png.png $@

# automatically runs autotools (and recursively in subdirectories)
reconf: force
	autoreconf

# .cvsignore for this project will always be semi-automatically generated
# .cvsignore is never needed for VPATH builds, duh!
@AUTO_CVSIGNORE_TRUE@$(srcdir)/.cvsignore: $(srcdir)/Makefile.am $(top_srcdir)/Make.global

# phony recursive target
@AUTO_CVSIGNORE_TRUE@cvsignore-recursive: $(srcdir)/.cvsignore force

@AUTO_CVSIGNORE_TRUE@cvsignore: cvsignore-recursive

@AUTO_CVSIGNORE_TRUE@cvsignore-am: $(srcdir)/.cvsignore cvsignore-local

@AUTO_CVSIGNORE_TRUE@clean-cvsignore: clean-cvsignore-recursive

@AUTO_CVSIGNORE_TRUE@clean-cvsignore-am: clean-cvsignore-local
@AUTO_CVSIGNORE_TRUE@	-$(RM) $(srcdir)/.cvsignore

# DISTCLEANFILES += $(srcdir)/.cvsignore

all-local: $(ALL_CVSIGNORE)

build-check: build-check-recursive

build-check-am: build-check-local

build-check-local:

# convenient target for building subtree of the distribution
# not a recursive target
# this also clears out the target distribution directory first
distdir-subdir:
	top_distdir="$(top_builddir)/$(PACKAGE)-$(VERSION)" ; \
	distdir="$$top_distdir/$(subdir)" ; \
	until rm -fr $$distdir ; do : ; done ; \
	$(mkdir_p) $$distdir ; \
	$(MAKE) top_distdir="$$top_distdir" distdir="$$distdir" distdir ; \
	$(ECHO) "$$distdir ready for inspection."

# This target tells make to look exclusively in the srcdir for these files
# and copy them over to the distdir.
# This is needed because the EXTRA_DIST target sometimes finds unwanted files
# in the build directory.  (e.g. auto-generated empty files)
# $distdir is assumed passed in as Makefile variable already because it 
# is a dependency of dist-hook, which is a dependency of distdir.
# NOTE: this ignores files that are not found in the srcdir!
srcdir-distfiles: force
	list='$(srcdir_EXTRA_DIST)'; \
	for file in $$list ; do \
	  test ! -f $(srcdir)/$$file || cp -p $(srcdir)/$$file $(distdir) ; \
	done
#	for file in $$list ; do \
#	  case $$file in \
#	    $(srcdir)/*) cp $$file $(distdir) ;; \
#	    *) cp $(srcdir)/$$file $(distdir) ;; \
#	  esac ; \
#	done

dist-hook: srcdir-distfiles

cleandirs:
	test -z "$(CLEANDIRS)" || $(RM) -r $(CLEANDIRS)

clean-local: cleandirs

# $distdir is assumed passed in as Makefile variable
distcleandirs:
	test -z "$(DISTCLEANDIRS)" || $(RM) -r $(DISTCLEANDIRS)

distclean-local: distcleandirs

# $distdir is assumed passed in as Makefile variable
dist-hook-autoclean:
	-cd $(distdir) && { test -z "$(DISTHOOK_CLEANFILES)" || $(RM) $(DISTHOOK_CLEANFILES) ;}

dist-hook: dist-hook-autoclean

# echo makefile debugging
echo-extra-dist: force
	@$(ECHO) $(EXTRA_DIST)

echo-srcdir-extra-dist: force
	@$(ECHO) $(srcdir_EXTRA_DIST)

# list the automatically distributed files
echo-dist-common: force
	@$(ECHO) $(DIST_COMMON)

echo-distfiles: force
	@$(ECHO) $(DISTFILES)

echo-cleanfiles: force
	@$(ECHO) $(CLEANFILES)

echo-disthook-cleanfiles: force
	@$(ECHO) $(DISTHOOK_CLEANFILES)

echo-distcleanfiles: force
	@$(ECHO) $(DISTCLEANFILES)

echo-auto-ignore: force
	@$(ECHO) $(AUTO_IGNORE)

echo-config: force
	cd $(top_builddir) && ./config.status --version

echo-srcdir: force
	@$(ECHO) $(srcdir)

echo-top-srcdir: force
	@$(ECHO) $(top_srcdir)

echo-top-builddir: force
	@$(ECHO) $(top_builddir)

echo-subdir: force
	@$(ECHO) $(subdir)

echo-subdirs: force
	@$(ECHO) $(SUBDIRS)

echo-dist-subdirs: force
	@$(ECHO) $(DIST_SUBDIRS)

echo-build: force
	@$(ECHO) $(build)

echo-host: force
	@$(ECHO) $(host)

echo-program-transform-name: force
	@$(ECHO) $(program_transform_name)

echo-prefix: force
	@$(ECHO) $(prefix)

echo-exec-prefix: force
	@$(ECHO) $(exec_prefix)

echo-programs: force
	@$(ECHO) $(PROGRAMS)

echo-scripts: force
	@$(ECHO) $(SCRIPTS)

echo-data: force
	@$(ECHO) $(DATA)

echo-texinfos: force
	@$(ECHO) $(TEXINFOS)

echo-dvis: force
	@$(ECHO) $(DVIS)

echo-pdfs: force
	@$(ECHO) $(PDFS)

echo-pss: force
	@$(ECHO) $(PSS)

echo-htmls: force
	@$(ECHO) $(htmls)

echo-package: force
	@$(ECHO) $(PACKAGE)

echo-package-bugreport: force
	@$(ECHO) $(PACKAGE_BUGREPORT)

echo-package-version: force
	@$(ECHO) $(PACKAGE_VERSION)

echo-SUFFIXES: force
	@$(ECHO) $(SUFFIXES)

echo-LEX: force
	@$(ECHO) $(LEX)

echo-YACC: force
	@$(ECHO) $(YACC)

echo-AM_CFLAGS: force
	@$(ECHO) $(AM_CFLAGS)

echo-AM_CXXFLAGS: force
	@$(ECHO) $(AM_CXXFLAGS)

echo-AM_CPPFLAGS: force
	@$(ECHO) $(AM_CPPFLAGS)

echo-AM_LDFLAGS: force
	@$(ECHO) $(AM_LDFLAGS)

echo-CFLAGS: force
	@$(ECHO) $(CFLAGS)

echo-CXXFLAGS: force
	@$(ECHO) $(CXXFLAGS)

echo-CPPFLAGS: force
	@$(ECHO) $(CPPFLAGS)

echo-LDFLAGS: force
	@$(ECHO) $(LDFLAGS)

echo-LIBS: force
	@$(ECHO) $(LIBS)

# might as well include this for non-maintainers too
# again, can't append to file with cat redirection because distclean
# sets permissions of new files as read-only
# NOTE: local.cvsignore may be normal or automatically generated
@AUTO_CVSIGNORE_TRUE@$(srcdir)/.cvsignore: local.cvsignore
@AUTO_CVSIGNORE_TRUE@	@$(ECHO) $(AUTO_IGNORE) | $(SPACES_TO_NEWLINE) > $@.temp
@AUTO_CVSIGNORE_TRUE@	-$(CAT) $< $@.temp > $@
@AUTO_CVSIGNORE_TRUE@	-$(RM) $@.temp

# -k option allows continuation past directories with failed tests
check.log: force
	@$(ECHO) "Logging results of \"make -k check\" in $@ ..."
	@$(ECHO) Tests started `$(DATE)` > $@.tmp
	-$(MAKE) -k check >> $@.tmp 2>&1
	@$(ECHO) Tests finished `$(DATE)` >> $@.tmp
	-$(MV) $@.tmp $@
# dump failures
	-$(GREP) -v "^PASS" $@ | $(GREP) -v "ignored"
	-$(GREP) "^Tests" $@
#	@$(ECHO) `$(GREP) "Abort trap" $@ | wc -l` cases crashed.
#	@$(ECHO) Total of `$(GREP) ^FAIL $@ | wc -l` failures encountered.
	$(AWK) -f $(top_srcdir)/scripts/tally_tests.awk $@
	@if $(GREP) "make.* \*\*\* " $@ ; then \
		$(ECHO) "Errors found!  see $@." ; \
		exit 1 ; \
	fi

# filters are specific to this project
# don't depend on check.log which is forced
check.log.filter:
	@test -f check.log && \
	$(CAT) check.log | $(GREP) -v "^Summarizing" | \
		$(GREP) -v "src/hackt" > $@ \
		|| $(ECHO) "\'make check.log\' first"

# assumes 'wc' in PATH
@HAVE_CVS_TRUE@cvsdiffs: force
@HAVE_CVS_TRUE@	-{ cd $(srcdir) && $(CVS) $(DIFF) -uN ;} > $@
@HAVE_CVS_TRUE@	@$(ECHO) `$(GREP) "^-" $@ | $(GREP) -v "^---" | wc -l` "lines removed" ; \
@HAVE_CVS_TRUE@	$(ECHO) `$(GREP) "^+" $@ | $(GREP) -v "^+++" | wc -l` "lines added"
@HAVE_CVS_FALSE@cvsdiffs: force
@HAVE_CVS_FALSE@	@$(ECHO) "Sorry, no 'cvs' found in path."

# general rule for recursive targets
$(MORE_RECURSIVE_TARGETS):
	+@$(RECURSIVE_TARGET_SCRIPT)

$(MORE_CLEAN_RECURSIVE_TARGETS):
	+@$(CLEAN_RECURSIVE_TARGET_SCRIPT)

# this shouldn't be parallel...
# .NOTPARALLEL: help
# .NOTPARALLEL unfortunately kills everything...
# help: help-global help-local
help: 
# ignore stderr
	-@{ $(CALLMAKE) help-global ; \
	$(CALLMAKE) help-local ;} 2> /dev/null

help-local:

# brief description of targets
help-global:
	@$(ECHO) "Global make targets:" ; \
	$(ECHO) "    help: lists some useful make targets" ; \
	$(ECHO) "    all: builds everything (recursive)" ; \
	$(ECHO) "    clean: removes make targets (recursive)" ; \
	$(ECHO) "    distclean: removes configure targets (recursive)" ; \
	$(ECHO) "    cvsdiffs: creates difference patch from CVS"
@AUTO_CVSIGNORE_TRUE@	@$(ECHO) "    cvsignore: generates $$(srcdir)/.cvsignore (recursive)" ; \
@AUTO_CVSIGNORE_TRUE@	$(ECHO) "    clean-cvsignore: cleans $$(srcdir)/.cvsignore (recursive)"
	@$(ECHO) "    check: runs tests (recursive)" ; \
	$(ECHO) "    build-check: create/run tests, without check (recursive)" ; \
	$(ECHO) "    check.log: logs make check -k" ; \
	$(ECHO) "    distdir-subdir: packages subtree of distribution" ; \
	$(ECHO) "    pdf: builds PDFs (recursive)" ; \
	$(ECHO) "    ps: builds PostScripts (recursive)" ; \
	$(ECHO) "    info: builds texinfo files (recursive)" ; \
	$(ECHO) "    html: builds HTML files (recursive)" ; \
	$(ECHO) "    echo-*:" ; \
	$(ECHO) "	config: configure invocation (config.status --version)" ; \
	$(ECHO) "	cleanfiles: list of cleaned files" ; \
	$(ECHO) "	distcleanfiles: list of distcleaned files" ; \
	$(ECHO) "	SUFFIXES: list of Makefile suffixes" ; \
	$(ECHO) "	extra-dist: list of EXTRA_DIST files" ; \
	$(ECHO) "	srcdir-extra-dist: list of source-only distrib. files" ; \
	$(ECHO) "	dist-common: list automatic DIST_COMMON files" ; \
	$(ECHO) "	distfiles: list of all DISTFILES" ; \
	$(ECHO) "	disthook-cleanfiles: list of all DISTHOOK_CLEANFILES" ; \
	$(ECHO) "	auto-ignore: list of automatic cvsignored files" ; \
	$(ECHO) "	srcdir, top-srcdir, top-builddir, subdir, " ; \
	$(ECHO) "	build, host, prefix, exec-prefix" ; \
	$(ECHO) "	subdirs, dist-subdirs" ; \
	$(ECHO) "	programs, scripts, data" ; \
	$(ECHO) "	texinfos, dvis, pdfs, pss, htmls" ; \
	$(ECHO) "	program-transform-name, package{,-version,-bugreport}" ; \
	$(ECHO) "	CFLAGS, CXXFLAGS, CPPFLAGS, LDFLAGS, AM_*FLAGS, LIBS, LEX, YACC"

# http://xkcd.com/149/
sandwich:
	@if test `whoami` = "root" ; then \
	  $(ECHO) "Okay." ; \
	else \
	  $(ECHO) "What? Make it yourself." ; \
	fi

# standard phony target for unconditional targets
force:

.PHONY: force $(PHONY_CVSIGNORE) \
	$(MORE_RECURSIVE_TARGETS) $(MORE_CLEAN_RECURSIVE_TARGETS) \
	help help-local help-global dist-hook dist-hook-autoclean \
	srcdir-distfiles build-check build-check-am build-check-local

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