# Makefile.in --
#
#	This file is a Makefile for the tklib 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.8 2012/06/21 18:15:24 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@
bindir		= @bindir@
libdir		= @libdir@
mandir		= @mandir@

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   $(DESTDIR)$(pkglibdir) \
		-app-path   $(DESTDIR)$(bindir) \
		-nroff-path $(DESTDIR)$(mandir)/mann \
		-no-wait -no-gui

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

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

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

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


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

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