#
# This file is the toplevel Makefile for [incr Tcl].  If it has the
# name "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.
#
# RCS: $Id: Makefile.in,v 1.11 1998/09/03 02:03:04 stanton Exp $

# Default top-level directories in which to install architecture-
# specific files (exec_prefix) and machine-independent files such
# as scripts (prefix).  The values specified here may be overridden
# at configure-time with the --exec-prefix and --prefix options
# to the "configure" script.

prefix =	@prefix@
exec_prefix =	@exec_prefix@

subdirs =	@subdirs@

# Some versions of make, like SGI's, use the following variable to
# determine which shell to use for executing commands:
SHELL =		/bin/sh

all:
	for dir in $(subdirs) ; do \
		(cd $$dir; $(MAKE) $@) \
	done;

test:
	for dir in $(subdirs) ; do \
		(cd $$dir; $(MAKE) $@) \
	done;

static:
	for dir in $(subdirs) ; do \
		(cd $$dir; $(MAKE) $@) \
	done;

standalone:
	for dir in $(subdirs) ; do \
		(cd $$dir; $(MAKE) $@) \
	done;

plusplus:
	for dir in $(subdirs) ; do \
		(cd $$dir; $(MAKE) $@) \
	done;

install:
	for dir in $(subdirs) ; do \
		(cd $$dir; $(MAKE) $@) \
	done;

install-binaries:
	for dir in $(subdirs) ; do \
		(cd $$dir; $(MAKE) $@) \
	done;

install-libraries:
	for dir in $(subdirs) ; do \
		(cd $$dir; $(MAKE) $@) \
	done;

clean:
	for dir in $(subdirs) ; do \
		(cd $$dir; $(MAKE) $@) \
	done;

distclean:
	rm -f Makefile config.log config.status config.cache
	for dir in $(subdirs) ; do \
		(cd $$dir; $(MAKE) $@) \
	done;

#
# Target to create a proper Tcl distribution from information in the
# master source directory.  DISTDIR must be defined to indicate where
# to put the distribution.
#

configure: configure.in
	autoconf
	for dir in $(subdirs) ; do \
		(cd $$dir; autoconf) \
	done;

# DO NOT DELETE THIS LINE -- make depend depends on it.
