# Makefile.in --
#
#	This file is a Makefile for "@@PNAME@@ @@PMAJORV@@.@@PMINORV@@". 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) @@YEAR@@ @@PORG@@
#
# Generated by @@CRITCL@@
# At           @@NOW@@
#
# See the file "license.terms" for information on usage and redistribution
# of this file, and for a DISCLAIMER OF ALL WARRANTIES.

#========================================================================
# 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@

sbindir		= @sbindir@
libexecdir	= @libexecdir@
datarootdir	= @datarootdir@
datadir		= @datadir@
sysconfdir	= @sysconfdir@
sharedir	= @sharedstatedir@
statedir	= @localstatedir@
includedir	= @includedir@
oldincludedir	= @oldincludedir@

DESTDIR		=
pkglibdir	= $(libdir)/@PACKAGE_NAME@@PACKAGE_VERSION@
top_builddir	= .

PACKAGE = @PACKAGE_NAME@
VERSION = @PACKAGE_VERSION@
CYGPATH = @CYGPATH@

TCLSH_PROG = @TCLSH_PROG@
CRITCL     = `$(CYGPATH) $(srcdir)/critcl/main.tcl`

CONFIG_CLEAN_FILES =
@@API@@
@@UCONFIG@@
#========================================================================
# PKG_TCL_SOURCES identifies Tcl runtime files that are associated with
# this package that need to be installed, if any.
#========================================================================

PKG_TCL_SOURCES = @@PFILES@@

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

all:
	@echo %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
	@echo Please run '"make install"' to build and install the package.
	@echo Critcl has no separate build-step.

doc:
	@echo No documentation to build.

install:
	@echo %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% ; \
	cat $(top_builddir)/Config | grep -v '^#' ; \
	echo %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% ; \
	rm -rf $(top_builddir)/results-tea ; \
	$(TCLSH_PROG) $(CRITCL) \
		-I $(prefix)/include \
		-I $(exec_prefix)/include \
		-I $(includedir)@@APIUSE@@ \
		@@UCONFIGUSE@@ \
		-keep       -cache  $(top_builddir)/results-tea \
		-target TEA -config $(top_builddir)/Config \
		-libdir     $(DESTDIR)$(libdir) \
		-includedir $(DESTDIR)$(includedir) \
		-pkg $(PACKAGE)$(VERSION) \
		$(PKG_TCL_SOURCES) ; \
	echo %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% ; \
	cat $(top_builddir)/results-tea/*.log
	echo %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% ; \

install-auto: show-auto
	@rm -rf $(top_builddir)/results-auto ; \
	$(TCLSH_PROG) $(CRITCL) \
		-I $(prefix)/include \
		-I $(exec_prefix)/include \
		-I $(includedir)@@APIUSE@@ \
		@@UCONFIGUSE@@ \
		-keep -cache $(top_builddir)/results-auto \
		-libdir     $(DESTDIR)$(libdir) \
		-includedir $(DESTDIR)$(includedir) \
		-pkg $(PACKAGE)$(VERSION) \
		$(PKG_TCL_SOURCES) ; \
	echo %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% ; \
	cat $(top_builddir)/results-auto/*.log
	echo %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% ; \

install-doc:
	@echo No documentation to install.

show:
	@$(TCLSH_PROG) $(CRITCL) \
		-keep -cache $(top_builddir)/results-tea \
		-target TEA -config $(top_builddir)/Config \
		-libdir $(DESTDIR)$(libdir) \
		-pkg -show

show-auto:
	@$(TCLSH_PROG) $(CRITCL) \
		-keep -cache $(top_builddir)/results-auto \
		-libdir $(DESTDIR)$(libdir) \
		-pkg -show

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


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