# Makefile.in --
#
#	This file is a Makefile for the tcllib standard tcl library. If this
#	is "Makefile.in" then it is a template for a Makefile;  to generate 
#	the actual Makefile, run "./configure", which is a configuration script
#	generated by the "autoconf" program (constructs like "@foo@" will get
#	replaced in the actual Makefile.
#
# Copyright (c) 1999-2000 Ajuba Solutions
# Copyright (c) 2001      ActiveState Tool Corp.
#
# See the file "license.terms" for information on usage and redistribution
# of this file, and for a DISCLAIMER OF ALL WARRANTIES.
#
# RCS: @(#) $Id: Makefile.in,v 1.101 2007/08/21 22:04:14 andreas_kupries Exp $

#========================================================================
# Nothing of the variables below this line need to be changed.  Please
# check the TARGETS section below to make sure the make targets are
# correct.
#========================================================================

SHELL		= @SHELL@

srcdir		= @srcdir@
top_srcdir	= @top_srcdir@
prefix		= @prefix@
exec_prefix	= @exec_prefix@
libdir		= @libdir@
mandir		= @mandir@
bindir		= @bindir@

DESTDIR		=
pkglibdir	= $(libdir)/@PACKAGE@@VERSION@
top_builddir	= .

PACKAGE = @PACKAGE@
VERSION = @VERSION@
CYGPATH = @CYGPATH@

TCLSH_PROG = @TCLSH_PROG@

CONFIG_CLEAN_FILES =

#========================================================================
# Start of user-definable TARGETS section
#========================================================================

all:
doc:     html-doc nroff-doc

install:
	$(TCLSH_PROG) `$(CYGPATH) $(srcdir)/installer.tcl` \
		-no-examples -no-html \
		-pkg-path   `$(CYGPATH) $(DESTDIR)$(pkglibdir)` \
		-app-path   `$(CYGPATH) $(DESTDIR)$(bindir)` \
		-nroff-path `$(CYGPATH) $(DESTDIR)$(mandir)/mann` \
		-no-wait -no-gui

install-libraries:
	$(TCLSH_PROG) `$(CYGPATH) $(srcdir)/installer.tcl` \
		-pkg-path   `$(CYGPATH) $(DESTDIR)$(pkglibdir)` \
		-no-examples -no-html -no-nroff \
		-no-wait -no-gui -no-apps

install-applications:
	$(TCLSH_PROG) `$(CYGPATH) $(srcdir)/installer.tcl` \
		-app-path   `$(CYGPATH) $(DESTDIR)$(bindir)` \
		-no-examples -no-html -no-nroff \
		-no-wait -no-gui -no-pkgs

install-doc:
	$(TCLSH_PROG) `$(CYGPATH) $(srcdir)/installer.tcl` \
		-nroff-path `$(CYGPATH) $(DESTDIR)$(mandir)/mann` \
		-no-examples -no-pkgs -no-html \
		-no-wait -no-gui -no-apps

test:
	if test -t 1 ; \
	then $(MAKE) test_interactive ; \
	else $(MAKE) test_batch ; \
	fi

test_batch:
	$(TCLSH_PROG) `$(CYGPATH) $(srcdir)/sak.tcl` test run -v -s "$(TCLSH_PROG)"

test_interactive:
	$(TCLSH_PROG) `$(CYGPATH) $(srcdir)/sak.tcl` test run -s "$(TCLSH_PROG)"

depend:
dist:
	$(TCLSH_PROG) `$(CYGPATH) $(srcdir)/sak.tcl` gendist

critcl:
	$(TCLSH_PROG) `$(CYGPATH) $(srcdir)/sak.tcl` critcl

clean:
	rm -rf doc *-doc

distclean: clean
	-rm -f Makefile $(CONFIG_CLEAN_FILES)
	-rm -f config.cache config.log stamp-h stamp-h[0-9]*
	-rm -f config.status

Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
	cd $(top_builddir) \
	  && CONFIG_FILES=$@ CONFIG_HEADERS= $(SHELL) ./config.status

uninstall-binaries:


html-doc:
	$(TCLSH_PROG) `$(CYGPATH) $(srcdir)/sak.tcl` doc html
nroff-doc:
	$(TCLSH_PROG) `$(CYGPATH) $(srcdir)/sak.tcl` doc nroff
tmml-doc:
	$(TCLSH_PROG) `$(CYGPATH) $(srcdir)/sak.tcl` doc tmml
wiki-doc:
	$(TCLSH_PROG) `$(CYGPATH) $(srcdir)/sak.tcl` doc wiki
latex-doc:
	$(TCLSH_PROG) `$(CYGPATH) $(srcdir)/sak.tcl` doc ps
list-doc:
	$(TCLSH_PROG) `$(CYGPATH) $(srcdir)/sak.tcl` doc list

check:
	$(TCLSH_PROG) `$(CYGPATH) $(srcdir)/sak.tcl` validate

sak-help:
	$(TCLSH_PROG) `$(CYGPATH) $(srcdir)/sak.tcl` help

shed:
	$(TCLSH_PROG) `$(CYGPATH) $(srcdir)/../sherpa/sherpa.tcl` shed generate `pwd` support/tool.tcl

.PHONY: all binaries clean depend distclean doc install installdirs libraries test shed

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