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

# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
# 2003, 2004, 2005  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@
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@
subdir = doc
DIST_COMMON = $(dist_man_MANS) $(gst_TEXINFOS) $(gst_base_TEXINFOS) \
	$(gst_libs_TEXINFOS) $(srcdir)/Makefile.am \
	$(srcdir)/Makefile.in $(srcdir)/stamp-1 $(srcdir)/stamp-2 \
	$(srcdir)/stamp-vti $(srcdir)/vers-base.texi \
	$(srcdir)/vers-gst.texi $(srcdir)/vers-libs.texi
ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
am__aclocal_m4_deps = $(top_srcdir)/build-aux/bold.m4 \
	$(top_srcdir)/build-aux/codeset.m4 \
	$(top_srcdir)/build-aux/emacs-pkg.m4 \
	$(top_srcdir)/build-aux/ext_goto.m4 \
	$(top_srcdir)/build-aux/gcc.m4 \
	$(top_srcdir)/build-aux/glib-2.0.m4 \
	$(top_srcdir)/build-aux/gmp.m4 \
	$(top_srcdir)/build-aux/gst-package.m4 \
	$(top_srcdir)/build-aux/gtk-2.0.m4 \
	$(top_srcdir)/build-aux/iconv.m4 \
	$(top_srcdir)/build-aux/inet.m4 \
	$(top_srcdir)/build-aux/lib-ld.m4 \
	$(top_srcdir)/build-aux/lib-link.m4 \
	$(top_srcdir)/build-aux/lib-prefix.m4 \
	$(top_srcdir)/build-aux/lib.m4 \
	$(top_srcdir)/build-aux/libc-so-name.m4 \
	$(top_srcdir)/build-aux/libtool-tag.m4 \
	$(top_srcdir)/build-aux/libtool-tags.m4 \
	$(top_srcdir)/build-aux/libtool.m4 \
	$(top_srcdir)/build-aux/lightning.m4 \
	$(top_srcdir)/build-aux/ln.m4 \
	$(top_srcdir)/build-aux/localtime.m4 \
	$(top_srcdir)/build-aux/lrint.m4 \
	$(top_srcdir)/build-aux/ltdl.m4 \
	$(top_srcdir)/build-aux/modules.m4 \
	$(top_srcdir)/build-aux/pkg.m4 $(top_srcdir)/build-aux/poll.m4 \
	$(top_srcdir)/build-aux/readline.m4 \
	$(top_srcdir)/build-aux/setenv.m4 \
	$(top_srcdir)/build-aux/snprintfv.m4 \
	$(top_srcdir)/build-aux/strtoul.m4 \
	$(top_srcdir)/build-aux/tcltk.m4 \
	$(top_srcdir)/build-aux/version.m4 \
	$(top_srcdir)/build-aux/vis-hidden.m4 \
	$(top_srcdir)/build-aux/wlong-double.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 =
SOURCES =
DIST_SOURCES =
INFO_DEPS = $(srcdir)/gst.info $(srcdir)/gst-base.info \
	$(srcdir)/gst-libs.info
TEXINFO_TEX = $(top_srcdir)/build-aux/texinfo.tex
am__TEXINFO_TEX_DIR = $(top_srcdir)/build-aux
DVIS = gst.dvi gst-base.dvi gst-libs.dvi
PDFS = gst.pdf gst-base.pdf gst-libs.pdf
PSS = gst.ps gst-base.ps gst-libs.ps
HTMLS = gst.html gst-base.html gst-libs.html
TEXINFOS = gst.texi gst-base.texi gst-libs.texi
TEXI2PDF = $(TEXI2DVI) --pdf --batch
MAKEINFOHTML = $(MAKEINFO) --html
AM_MAKEINFOHTMLFLAGS = $(AM_MAKEINFOFLAGS)
DVIPS = dvips
am__installdirs = "$(DESTDIR)$(infodir)" "$(DESTDIR)$(man1dir)"
man1dir = $(mandir)/man1
NROFF = nroff
MANS = $(dist_man_MANS)
DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
ACLOCAL = @ACLOCAL@
ALLOCA = @ALLOCA@
ALL_PACKAGES = @ALL_PACKAGES@
AMDEP_FALSE = @AMDEP_FALSE@
AMDEP_TRUE = @AMDEP_TRUE@
AMTAR = @AMTAR@
AR = @AR@
AS = @AS@
ATK_CFLAGS = @ATK_CFLAGS@
ATK_LIBS = @ATK_LIBS@
AUTOCONF = @AUTOCONF@
AUTOHEADER = @AUTOHEADER@
AUTOM4TE = @AUTOM4TE@
AUTOMAKE = @AUTOMAKE@
AWK = @AWK@
BLOX_IMPLEMENTATION = @BLOX_IMPLEMENTATION@
BUILT_PACKAGES = @BUILT_PACKAGES@
CC = @CC@
CCDEPMODE = @CCDEPMODE@
CFLAGS = @CFLAGS@
CONVENIENCE_LTDL_FALSE = @CONVENIENCE_LTDL_FALSE@
CONVENIENCE_LTDL_TRUE = @CONVENIENCE_LTDL_TRUE@
CPP = @CPP@
CPPFLAGS = @CPPFLAGS@
CYGPATH_W = @CYGPATH_W@
DEFS = @DEFS@
DEPDIR = @DEPDIR@
DLLTOOL = @DLLTOOL@
ECHO = @ECHO@
ECHO_C = @ECHO_C@
ECHO_N = @ECHO_N@
ECHO_T = @ECHO_T@
EGREP = @EGREP@
EMACS = @EMACS@
EMACSLOADPATH = @EMACSLOADPATH@
ENABLE_DISASSEMBLER_FALSE = @ENABLE_DISASSEMBLER_FALSE@
ENABLE_DISASSEMBLER_TRUE = @ENABLE_DISASSEMBLER_TRUE@
EXEEXT = @EXEEXT@
FFI_CFLAGS = @FFI_CFLAGS@
FFI_LIBS = @FFI_LIBS@
GLIB_CFLAGS = @GLIB_CFLAGS@
GLIB_GENMARSHAL = @GLIB_GENMARSHAL@
GLIB_LIBS = @GLIB_LIBS@
GLIB_MKENUMS = @GLIB_MKENUMS@
GOBJECT_QUERY = @GOBJECT_QUERY@
GPERF = @GPERF@
GREP = @GREP@
GST_RUN = @GST_RUN@
GTK_CFLAGS = @GTK_CFLAGS@
GTK_LIBS = @GTK_LIBS@
HAVE_INSTALLED_LIGHTNING_FALSE = @HAVE_INSTALLED_LIGHTNING_FALSE@
HAVE_INSTALLED_LIGHTNING_TRUE = @HAVE_INSTALLED_LIGHTNING_TRUE@
ICON = @ICON@
INCFFI = @INCFFI@
INCLTDL = @INCLTDL@
INCSIGSEGV = @INCSIGSEGV@
INCSNPRINTFV = @INCSNPRINTFV@
INCTCLTK = @INCTCLTK@
INSTALL_DATA = @INSTALL_DATA@
INSTALL_INFO = @INSTALL_INFO@
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@
LDFLAGS = @LDFLAGS@
LEX = @LEX@
LIBADD_DL = @LIBADD_DL@
LIBC_SO_DIR = @LIBC_SO_DIR@
LIBC_SO_NAME = @LIBC_SO_NAME@
LIBFFI = @LIBFFI@
LIBGMP = @LIBGMP@
LIBICONV = @LIBICONV@
LIBLTDL = @LIBLTDL@
LIBOBJS = @LIBOBJS@
LIBREADLINE = @LIBREADLINE@
LIBS = @LIBS@
LIBSIGSEGV = @LIBSIGSEGV@
LIBSNPRINTFV = @LIBSNPRINTFV@
LIBTCLTK = @LIBTCLTK@
LIBTOOL = @LIBTOOL@
LIGHTNING_MAIN_FALSE = @LIGHTNING_MAIN_FALSE@
LIGHTNING_MAIN_TRUE = @LIGHTNING_MAIN_TRUE@
LN = @LN@
LN_S = @LN_S@
LTALLOCA = @LTALLOCA@
LTLIBICONV = @LTLIBICONV@
LTLIBOBJS = @LTLIBOBJS@
MAINTAINER = @MAINTAINER@
MAKEINFO = @MAKEINFO@
MODULES = @MODULES@
OBJDUMP = @OBJDUMP@
OBJEXT = @OBJEXT@
PACKAGE = @PACKAGE@
PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
PACKAGE_DLOPEN_FLAGS = @PACKAGE_DLOPEN_FLAGS@
PACKAGE_NAME = @PACKAGE_NAME@
PACKAGE_STRING = @PACKAGE_STRING@
PACKAGE_TARNAME = @PACKAGE_TARNAME@
PACKAGE_VERSION = @PACKAGE_VERSION@
PANGO_CFLAGS = @PANGO_CFLAGS@
PANGO_LIBS = @PANGO_LIBS@
PATH_SEPARATOR = @PATH_SEPARATOR@
PKG_CONFIG = @PKG_CONFIG@
RANLIB = @RANLIB@
SED = @SED@
SET_MAKE = @SET_MAKE@
SHELL = @SHELL@
STRIP = @STRIP@
TCLSH = @TCLSH@
VERSION = @VERSION@
VERSION_INFO = @VERSION_INFO@
WITH_EMACS_COMINT_FALSE = @WITH_EMACS_COMINT_FALSE@
WITH_EMACS_COMINT_TRUE = @WITH_EMACS_COMINT_TRUE@
WITH_EMACS_FALSE = @WITH_EMACS_FALSE@
WITH_EMACS_TRUE = @WITH_EMACS_TRUE@
YACC = @YACC@
ZIP = @ZIP@
ac_ct_CC = @ac_ct_CC@
am__fastdepCC_FALSE = @am__fastdepCC_FALSE@
am__fastdepCC_TRUE = @am__fastdepCC_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@
datarootdir = @datarootdir@
docdir = @docdir@
dvidir = @dvidir@
enable_mysql_tests = @enable_mysql_tests@
exec_prefix = @exec_prefix@
host = @host@
host_alias = @host_alias@
host_cpu = @host_cpu@
host_os = @host_os@
host_vendor = @host_vendor@
htmldir = @htmldir@
imagedir = @imagedir@
includedir = @includedir@
infodir = @infodir@
install_sh = @install_sh@
libdir = @libdir@
libexecdir = @libexecdir@
lispdir = @lispdir@
localedir = @localedir@
localstatedir = @localstatedir@
mandir = @mandir@
mkdir_p = @mkdir_p@
oldincludedir = @oldincludedir@
pdfdir = @pdfdir@
prefix = @prefix@
program_transform_name = @program_transform_name@
psdir = @psdir@
sbindir = @sbindir@
sharedstatedir = @sharedstatedir@
subdirs = @subdirs@
sysconfdir = @sysconfdir@
target_alias = @target_alias@
EXTRA_DIST = $(HTML_IMAGES) categories
HTML_IMAGES = images/backon.png images/back.png images/blankon.png \
	images/blank.png images/forwardon.png images/forward.png \
	images/helpon.png images/help.png images/homeon.png \
	images/home.png images/inactive.png images/indexon.png \
	images/index.png images/nexton.png images/next.png \
	images/prevon.png images/prev.png images/tocon.png \
	images/toc.png images/upon.png images/up.png

dist_man_MANS = gst.1 gst-load.1 gst-package.1 gst-sunit.1 gst-config.1 \
	gst-convert.1 gst-doc.1

HELP2MAN = $(top_srcdir)/build-aux/help2man -p gst
info_TEXINFOS = gst.texi gst-base.texi gst-libs.texi
gst_TEXINFOS = tutorial.texi vers-gst.texi
gst_libs_TEXINFOS = blox.texi tcp.texi i18n.texi complex.texi debug.texi \
	dbi.texi zlib.texi using-xml.texi vers-libs.texi

gst_base_TEXINFOS = classes.texi vers-base.texi
TEXI2DVI = pool_size=750000 $(top_srcdir)/build-aux/texi2dvi --expand
MOSTLYCLEANFILES = gst-libs.me gst-libs.mes gst-base.me gst-base.mes \
	gst-libs.cl gst-libs.cls gst-base.cl gst-base.cls \
	gst-libs.sl gst-libs.sls gst-base.sl gst-base.sls

GST_TOOL_ARGS = -I $(top_builddir)/gst.im --kernel-dir $(top_srcdir)/kernel
GST_DOC = $(top_builddir)/gst-tool gst-doc $(GST_TOOL_ARGS)
GST_PACKAGE = $(top_builddir)/gst-tool gst-package $(GST_TOOL_ARGS)

####################################################
####################################################
PUBLISHED_CLASSES = Smalltalk.* SystemExceptions.* NetClients.* VFS.*
all: all-am

.SUFFIXES:
.SUFFIXES: .dvi .html .info .pdf .ps .texi
$(srcdir)/Makefile.in:  $(srcdir)/Makefile.am  $(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  doc/Makefile'; \
	cd $(top_srcdir) && \
	  $(AUTOMAKE) --gnu  doc/Makefile
.PRECIOUS: Makefile
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
	@case '$?' in \
	  *config.status*) \
	    cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
	  *) \
	    echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
	    cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
	esac;

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

$(top_srcdir)/configure:  $(am__configure_deps)
	cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
$(ACLOCAL_M4):  $(am__aclocal_m4_deps)
	cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh

mostlyclean-libtool:
	-rm -f *.lo

clean-libtool:
	-rm -rf .libs _libs

distclean-libtool:
	-rm -f libtool

.texi.dvi:
	TEXINPUTS="$(am__TEXINFO_TEX_DIR)$(PATH_SEPARATOR)$$TEXINPUTS" \
	MAKEINFO='$(MAKEINFO) $(AM_MAKEINFOFLAGS) $(MAKEINFOFLAGS) -I $(srcdir)' \
	$(TEXI2DVI) $<

.texi.pdf:
	TEXINPUTS="$(am__TEXINFO_TEX_DIR)$(PATH_SEPARATOR)$$TEXINPUTS" \
	MAKEINFO='$(MAKEINFO) $(AM_MAKEINFOFLAGS) $(MAKEINFOFLAGS) -I $(srcdir)' \
	$(TEXI2PDF) $<

.texi.html:
	rm -rf $(@:.html=.htp)
	if $(MAKEINFOHTML) $(AM_MAKEINFOHTMLFLAGS) $(MAKEINFOFLAGS) -I $(srcdir) \
	 -o $(@:.html=.htp) $<; \
	then \
	  rm -rf $@; \
	  if test ! -d $(@:.html=.htp) && test -d $(@:.html=); then \
	    mv $(@:.html=) $@; else mv $(@:.html=.htp) $@; fi; \
	else \
	  if test ! -d $(@:.html=.htp) && test -d $(@:.html=); then \
	    rm -rf $(@:.html=); else rm -Rf $(@:.html=.htp) $@; fi; \
	  exit 1; \
	fi
$(srcdir)/gst.info: gst.texi $(srcdir)/vers-gst.texi $(gst_TEXINFOS)
gst.dvi: gst.texi $(srcdir)/vers-gst.texi $(gst_TEXINFOS)
gst.pdf: gst.texi $(srcdir)/vers-gst.texi $(gst_TEXINFOS)
gst.html: gst.texi $(srcdir)/vers-gst.texi $(gst_TEXINFOS)
$(srcdir)/vers-gst.texi:  $(srcdir)/stamp-vti
$(srcdir)/stamp-vti: gst.texi $(top_srcdir)/configure
	@(dir=.; test -f ./gst.texi || dir=$(srcdir); \
	set `$(SHELL) $(top_srcdir)/build-aux/mdate-sh $$dir/gst.texi`; \
	echo "@set UPDATED $$1 $$2 $$3"; \
	echo "@set UPDATED-MONTH $$2 $$3"; \
	echo "@set EDITION $(VERSION)"; \
	echo "@set VERSION $(VERSION)") > vti.tmp
	@cmp -s vti.tmp $(srcdir)/vers-gst.texi \
	  || (echo "Updating $(srcdir)/vers-gst.texi"; \
	      cp vti.tmp $(srcdir)/vers-gst.texi)
	-@rm -f vti.tmp
	@cp $(srcdir)/vers-gst.texi $@

mostlyclean-vti:
	-rm -f vti.tmp

maintainer-clean-vti:
	-rm -f $(srcdir)/stamp-vti $(srcdir)/vers-gst.texi
$(srcdir)/gst-base.info: gst-base.texi $(srcdir)/vers-base.texi $(gst_base_TEXINFOS)
gst-base.dvi: gst-base.texi $(srcdir)/vers-base.texi $(gst_base_TEXINFOS)
gst-base.pdf: gst-base.texi $(srcdir)/vers-base.texi $(gst_base_TEXINFOS)
gst-base.html: gst-base.texi $(srcdir)/vers-base.texi $(gst_base_TEXINFOS)
$(srcdir)/vers-base.texi:  $(srcdir)/stamp-1
$(srcdir)/stamp-1: gst-base.texi $(top_srcdir)/configure
	@(dir=.; test -f ./gst-base.texi || dir=$(srcdir); \
	set `$(SHELL) $(top_srcdir)/build-aux/mdate-sh $$dir/gst-base.texi`; \
	echo "@set UPDATED $$1 $$2 $$3"; \
	echo "@set UPDATED-MONTH $$2 $$3"; \
	echo "@set EDITION $(VERSION)"; \
	echo "@set VERSION $(VERSION)") > 1.tmp
	@cmp -s 1.tmp $(srcdir)/vers-base.texi \
	  || (echo "Updating $(srcdir)/vers-base.texi"; \
	      cp 1.tmp $(srcdir)/vers-base.texi)
	-@rm -f 1.tmp
	@cp $(srcdir)/vers-base.texi $@

mostlyclean-1:
	-rm -f 1.tmp

maintainer-clean-1:
	-rm -f $(srcdir)/stamp-1 $(srcdir)/vers-base.texi
$(srcdir)/gst-libs.info: gst-libs.texi $(srcdir)/vers-libs.texi $(gst_libs_TEXINFOS)
gst-libs.dvi: gst-libs.texi $(srcdir)/vers-libs.texi $(gst_libs_TEXINFOS)
gst-libs.pdf: gst-libs.texi $(srcdir)/vers-libs.texi $(gst_libs_TEXINFOS)
gst-libs.html: gst-libs.texi $(srcdir)/vers-libs.texi $(gst_libs_TEXINFOS)
$(srcdir)/vers-libs.texi:  $(srcdir)/stamp-2
$(srcdir)/stamp-2: gst-libs.texi $(top_srcdir)/configure
	@(dir=.; test -f ./gst-libs.texi || dir=$(srcdir); \
	set `$(SHELL) $(top_srcdir)/build-aux/mdate-sh $$dir/gst-libs.texi`; \
	echo "@set UPDATED $$1 $$2 $$3"; \
	echo "@set UPDATED-MONTH $$2 $$3"; \
	echo "@set EDITION $(VERSION)"; \
	echo "@set VERSION $(VERSION)") > 2.tmp
	@cmp -s 2.tmp $(srcdir)/vers-libs.texi \
	  || (echo "Updating $(srcdir)/vers-libs.texi"; \
	      cp 2.tmp $(srcdir)/vers-libs.texi)
	-@rm -f 2.tmp
	@cp $(srcdir)/vers-libs.texi $@

mostlyclean-2:
	-rm -f 2.tmp

maintainer-clean-2:
	-rm -f $(srcdir)/stamp-2 $(srcdir)/vers-libs.texi
.dvi.ps:
	TEXINPUTS="$(am__TEXINFO_TEX_DIR)$(PATH_SEPARATOR)$$TEXINPUTS" \
	$(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 " cd '$(DESTDIR)$(infodir)' && 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 gst.aux gst.cp gst.cps gst.fn gst.fns gst.ky gst.kys gst.log gst.pg \
	  gst.pgs gst.tmp gst.toc gst.tp gst.tps gst.vr gst.vrs \
	  gst.dvi gst.pdf gst.ps gst.html gst-base.aux gst-base.cp \
	  gst-base.cps gst-base.fn gst-base.fns gst-base.ky \
	  gst-base.kys gst-base.log gst-base.pg gst-base.pgs \
	  gst-base.tmp gst-base.toc gst-base.tp gst-base.tps \
	  gst-base.vr gst-base.vrs gst-base.dvi gst-base.pdf \
	  gst-base.ps gst-base.html gst-libs.aux gst-libs.cp \
	  gst-libs.cps gst-libs.fn gst-libs.fns gst-libs.ky \
	  gst-libs.kys gst-libs.log gst-libs.pg gst-libs.pgs \
	  gst-libs.tmp gst-libs.toc gst-libs.tp gst-libs.tps \
	  gst-libs.vr gst-libs.vrs gst-libs.dvi gst-libs.pdf \
	  gst-libs.ps gst-libs.html

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-man1: $(man1_MANS) $(man_MANS)
	@$(NORMAL_INSTALL)
	test -z "$(man1dir)" || $(mkdir_p) "$(DESTDIR)$(man1dir)"
	@list='$(man1_MANS) $(dist_man1_MANS) $(nodist_man1_MANS)'; \
	l2='$(man_MANS) $(dist_man_MANS) $(nodist_man_MANS)'; \
	for i in $$l2; do \
	  case "$$i" in \
	    *.1*) list="$$list $$i" ;; \
	  esac; \
	done; \
	for i in $$list; do \
	  if test -f $(srcdir)/$$i; then file=$(srcdir)/$$i; \
	  else file=$$i; fi; \
	  ext=`echo $$i | sed -e 's/^.*\\.//'`; \
	  case "$$ext" in \
	    1*) ;; \
	    *) ext='1' ;; \
	  esac; \
	  inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \
	  inst=`echo $$inst | sed -e 's/^.*\///'`; \
	  inst=`echo $$inst | sed '$(transform)'`.$$ext; \
	  echo " $(INSTALL_DATA) '$$file' '$(DESTDIR)$(man1dir)/$$inst'"; \
	  $(INSTALL_DATA) "$$file" "$(DESTDIR)$(man1dir)/$$inst"; \
	done
uninstall-man1:
	@$(NORMAL_UNINSTALL)
	@list='$(man1_MANS) $(dist_man1_MANS) $(nodist_man1_MANS)'; \
	l2='$(man_MANS) $(dist_man_MANS) $(nodist_man_MANS)'; \
	for i in $$l2; do \
	  case "$$i" in \
	    *.1*) list="$$list $$i" ;; \
	  esac; \
	done; \
	for i in $$list; do \
	  ext=`echo $$i | sed -e 's/^.*\\.//'`; \
	  case "$$ext" in \
	    1*) ;; \
	    *) ext='1' ;; \
	  esac; \
	  inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \
	  inst=`echo $$inst | sed -e 's/^.*\///'`; \
	  inst=`echo $$inst | sed '$(transform)'`.$$ext; \
	  echo " rm -f '$(DESTDIR)$(man1dir)/$$inst'"; \
	  rm -f "$(DESTDIR)$(man1dir)/$$inst"; \
	done
tags: TAGS
TAGS:

ctags: CTAGS
CTAGS:


distdir: $(DISTFILES)
	$(mkdir_p) $(distdir)/images
	@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
check-am: all-am
check: check-am
all-am: Makefile $(INFO_DEPS) $(MANS)
installdirs:
	for dir in "$(DESTDIR)$(infodir)" "$(DESTDIR)$(man1dir)"; 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:
	-test -z "$(MOSTLYCLEANFILES)" || rm -f $(MOSTLYCLEANFILES)

clean-generic:

distclean-generic:
	-test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)

maintainer-clean-generic:
	@echo "This command is intended for maintainers to use"
	@echo "it deletes files that may require special tools to rebuild."
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

dvi: dvi-am

dvi-am: $(DVIS)

html-am: $(HTMLS)

info: info-am

info-am: $(INFO_DEPS)

install-data-am: install-data-local install-info-am install-man

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: install-man1

installcheck-am:

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

mostlyclean: mostlyclean-am

mostlyclean-am: mostlyclean-1 mostlyclean-2 mostlyclean-aminfo \
	mostlyclean-generic mostlyclean-libtool mostlyclean-vti

pdf: pdf-am

pdf-am: $(PDFS)

ps: ps-am

ps-am: $(PSS)

uninstall-am: uninstall-info-am uninstall-local uninstall-man

uninstall-man: uninstall-man1

.PHONY: all all-am check check-am clean clean-generic clean-libtool \
	clean-local dist-info distclean distclean-generic \
	distclean-libtool distdir dvi dvi-am html html-am info info-am \
	install install-am install-data install-data-am \
	install-data-local install-exec install-exec-am install-info \
	install-info-am install-man install-man1 install-strip \
	installcheck installcheck-am installdirs maintainer-clean \
	maintainer-clean-1 maintainer-clean-2 maintainer-clean-aminfo \
	maintainer-clean-generic maintainer-clean-vti mostlyclean \
	mostlyclean-1 mostlyclean-2 mostlyclean-aminfo \
	mostlyclean-generic mostlyclean-libtool mostlyclean-vti pdf \
	pdf-am ps ps-am uninstall uninstall-am uninstall-info-am \
	uninstall-local uninstall-man uninstall-man1


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

$(srcdir)/gst-package.1: $(top_srcdir)/scripts/Package.st $(top_srcdir)/configure.ac
	$(HELP2MAN) \
	  --name "create and install GNU Smalltalk .star package files" \
	  "$(top_builddir)/gst-tool gst-package $(GST_TOOL_ARGS)" >$@

$(srcdir)/gst-convert.1: $(top_srcdir)/scripts/Load.st $(top_srcdir)/configure.ac
	$(HELP2MAN) \
	  --name "Smalltalk syntax converter and beautifier" \
	  "$(top_builddir)/gst-tool gst-convert $(GST_TOOL_ARGS)" >$@

$(srcdir)/gst-load.1: $(top_srcdir)/scripts/Load.st $(top_srcdir)/configure.ac
	$(HELP2MAN) \
	  --name "test and load packages into a GNU Smalltalk image" \
	  "$(top_builddir)/gst-tool gst-load $(GST_TOOL_ARGS)" >$@

$(srcdir)/gst-sunit.1: $(top_srcdir)/scripts/Test.st $(top_srcdir)/configure.ac
	$(HELP2MAN) \
	  --name "unit testing tool for GNU Smalltalk" \
	  "$(top_builddir)/gst-tool gst-sunit $(GST_TOOL_ARGS)" >$@

$(srcdir)/gst-doc.1: $(top_srcdir)/scripts/GenDoc.st $(top_srcdir)/configure.ac
	$(HELP2MAN) \
	  --name "GNU Smalltalk documentation generator" \
	  "$(top_builddir)/gst-tool gst-doc $(GST_TOOL_ARGS)" >$@

$(srcdir)/gst.1: $(top_srcdir)/main.c $(top_srcdir)/configure.ac
	$(HELP2MAN) \
	  --name "the GNU Smalltalk virtual machine" $(top_builddir)/gst >$@

$(srcdir)/gst-config.1: $(top_srcdir)/gst-config.in
	$(HELP2MAN) \
	  --name "configuration for libgst" $(top_builddir)/gst-config >$@

uninstall-local:
	rm -f $(DESTDIR)$(man1dir)/gst-reload.1

install-data-local: install-man
	rm -f $(DESTDIR)$(man1dir)/gst-reload.1
	$(LN_S) $(DESTDIR)$(man1dir)/gst-load.1 $(DESTDIR)$(man1dir)/gst-reload.1

$(srcdir)/blox.texi: $(top_srcdir)/packages/blox/tk/stamp-classes
	$(GST_PACKAGE) $(patsubst %, %/package.xml, $(^D)) \
	  --load --list-files=BloxTK | \
	  sed s,^,-f, | \
	  xargs $(GST_DOC) -n BLOX -o $(srcdir)/blox.texi BLOX.* || \
	  rm -f $(srcdir)/blox.texi
	test -f $(srcdir)/blox.texi && touch $(srcdir)/gst-libs.texi 

$(srcdir)/tcp.texi: $(top_srcdir)/packages/tcp/stamp-classes
	$(GST_PACKAGE) $(patsubst %, %/package.xml, $(^D)) \
	  --load --list-files=TCP | \
	  sed s,^,-f, | \
	  xargs $(GST_DOC) -n TCP -o $(srcdir)/tcp.texi TCP.* || \
	  rm -f $(srcdir)/tcp.texi
	test -f $(srcdir)/tcp.texi && touch $(srcdir)/gst-libs.texi 

$(srcdir)/complex.texi: $(top_srcdir)/packages/complex/stamp-classes
	$(GST_PACKAGE) $(patsubst %, %/package.xml, $(^D)) \
	  --load --list-files=Complex | \
	  sed s,^,-f, | \
	  xargs $(GST_DOC) -o $(srcdir)/complex.texi Complex || \
	  rm -f $(srcdir)/complex.texi
	test -f $(srcdir)/complex.texi && touch $(srcdir)/gst-libs.texi 

$(srcdir)/debug.texi: $(top_srcdir)/packages/debug/stamp-classes
	$(GST_PACKAGE) $(patsubst %, %/package.xml, $(^D)) \
	  --load --list-files=DebugTools | \
	  sed s,^,-f, | \
	  xargs $(GST_DOC) -o $(srcdir)/debug.texi Debugger* || \
	  rm -f $(srcdir)/debug.texi
	test -f $(srcdir)/debug.texi && touch $(srcdir)/gst-libs.texi 

$(srcdir)/zlib.texi: $(top_srcdir)/packages/zlib/stamp-classes
	$(GST_PACKAGE) $(patsubst %, %/package.xml, $(^D)) \
	  --load --list-files=ZLib | \
	  sed s,^,-f, | \
	  xargs $(GST_DOC) -n ZLib -o $(srcdir)/zlib.texi ZLib.* || \
	  rm -f $(srcdir)/zlib.texi
	test -f $(srcdir)/zlib.texi && touch $(srcdir)/gst-libs.texi 

$(srcdir)/dbi.texi: $(top_srcdir)/packages/dbi/stamp-classes
	$(GST_PACKAGE) $(patsubst %, %/package.xml, $(^D)) \
	  --load --list-files=DBI | \
	  sed s,^,-f, | \
	  xargs $(GST_DOC) -n DBI -o $(srcdir)/dbi.texi DBI.* || \
	  rm -f $(srcdir)/dbi.texi
	test -f $(srcdir)/dbi.texi && touch $(srcdir)/gst-libs.texi 

$(srcdir)/i18n.texi: $(top_srcdir)/packages/iconv/stamp-classes $(top_srcdir)/packages/i18n/stamp-classes
	$(GST_PACKAGE) $(patsubst %, %/package.xml, $(^D)) \
	  --load --list-files=Iconv --list-files=I18N | \
	  sed s,^,-f, | \
	  xargs $(GST_DOC) -n I18N -o $(srcdir)/i18n.texi I18N.* || \
	  rm -f $(srcdir)/i18n.texi
	test -f $(srcdir)/i18n.texi && touch $(srcdir)/gst-libs.texi 

$(srcdir)/classes.texi: $(top_srcdir)/kernel/stamp-classes
	$(GST_DOC) -o $(srcdir)/classes.texi $(PUBLISHED_CLASSES) || \
	  rm -f $(srcdir)/classes.texi
	test -f $(srcdir)/classes.texi && touch $(srcdir)/gst-base.texi

# In TeX output, having colons in index entries looks pretty, but
# this is impossible in info output!!!  So we hack by replacing
# colons with underscores in the info file.
.texi.info:
	@cd $(srcdir) && rm -f $@ $@-[0-9] $@-[0-9][0-9]
	fixed=`pwd`/`echo $< | $(SED) 's/\.texi/-fixed&/' `; \
	  cd $(srcdir) && \
	  $(MAKEINFO) `echo $< | $(SED) 's,.*/,,'` -E - -o /dev/null | \
	  $(SED) '/^@..index/ s/:/_/g' > $$fixed && \
	  $(MAKEINFO) $$fixed > /dev/null 2>&1 && \
	  rm -f $$fixed

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

# We want the HTML doc to look professional, so we use makeinfo first.
# This rule is pretty complex.  What it does is:
#  - check whether /usr/bin/env perl works
#  - check whether we have makeinfo (it could be faked by the missing script)
#  - check whether we have makeinfo 4.0
#  - resolve macros in gst.texi using makeinfo
#  - finally invoke texi2html
#  - remove the temporary file with resolved macros
html: $(srcdir)/gst.texi $(srcdir)/gst-base.texi $(srcdir)/gst-libs.texi
	@(echo 'print "ohyeah"' | perl | grep ohyeah) > /dev/null 2>&1 || \
	    (echo "You need Perl to make HTML documentation"; exit 1)
	@($(MAKEINFO) --version 2>&1 | grep missing:) > /dev/null 2>&1 || exit 0; \
	    (echo "You need Makeinfo to make HTML documentation"; exit 1)
	rm -rf html
	mkdir html
	@echo "Building HTML documentation may be a long task... please wait"
	($(MAKEINFO) --help | grep ifhtml) > /dev/null 2>&1 && makeinfo4=yes; \
	  htmldir=`pwd`/html && \
	  cd $(srcdir) && \
	  srcdir=`pwd` && \
	  $(MAKEINFO) gst.texi -E $$htmldir/gst.texi \
	    $${makeinfo4+--no-iftex --no-ifinfo --ifhtml} -o /dev/null && \
	  $(MAKEINFO) gst-libs.texi -E $$htmldir/gst-libs.texi \
	    $${makeinfo4+--no-iftex --no-ifinfo --ifhtml} -o /dev/null && \
	  $(MAKEINFO) gst-base.texi -E $$htmldir/gst-base.texi \
	    $${makeinfo4+--no-iftex --no-ifinfo --ifhtml} -o /dev/null && \
	  cd $$htmldir && \
	  $$srcdir/../build-aux/texi2html -Verbose -split section gst.texi && \
	  $$srcdir/../build-aux/texi2html -Verbose -split section gst-libs.texi && \
	  $$srcdir/../build-aux/texi2html -Verbose -split section gst-base.texi && \
	  ln -sf $$srcdir/images $$htmldir/images && \
	  $(RM) $$htmldir/gst.texi $$htmldir/gst-libs.texi $$htmldir/gst-base.texi

clean-local:
	$(RM) -r html

.PHONY: clean-html
# 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:
