# Generated automatically from Makefile.in by configure.
###########################################################################
#
# File:        Makefile.in
# Revision:    $Id: Makefile.in,v 1.3 2001/01/16 23:24:09 rminsk Exp $
# Created:     94/06/18
#
###########################################################################

#### Start of system configuration section. ####

srcdir = .

CC = cc

INSTALL = /usr/bin/install -c -o root -g wheel
INSTALL_PROGRAM = $(INSTALL) -m 0555
INSTALL_DATA = $(INSTALL) -m 0644

# Standard definition (a'la GNU)
prefix = /usr/local/Modules/3.1.6
exec_prefix = ${prefix}
man_prefix = /usr/local/Modules/3.1.6

# Directory in which to install binaries, module files, and init files
bindir = $(exec_prefix)/bin
filedir = $(prefix)/modulefiles
initdir = $(prefix)/init

SHELL = /bin/sh

#### End of system configuration section. ####

INIT_FILES= bash csh ksh perl python sh tcsh zsh ksh .modulespath

MAKEDIRS= $(initdir)

all:    $(INIT_FILES)

install: all install-dirs
	$(INSTALL_DATA) bash $(initdir)
	$(INSTALL_DATA) csh  $(initdir)
	$(INSTALL_DATA) perl $(initdir)
	$(INSTALL_DATA) python $(initdir)
	$(INSTALL_DATA) sh   $(initdir)
	$(INSTALL_DATA) tcsh $(initdir)
	$(INSTALL_DATA) zsh  $(initdir)
	$(INSTALL_DATA) ksh  $(initdir)
	$(INSTALL_DATA) .modulespath  $(initdir)

install-dirs:
	@for i in $(MAKEDIRS) ; do \
		echo Making $$i... ; \
		parent=`echo $$i | sed -e 's@/[^/]*$$@@' | sed -e 's@^$$@/@'`; \
		if [ -d $$parent ] ; then true ; else mkdir $$parent ; fi ; \
		if [ ! -d $$i ] ; then \
			if mkdir $$i ; then \
				true ; \
			else \
				exit 1 ; \
			fi ; \
		else \
			true ; \
		fi ; \
	done

clean:
	rm -f $(INIT_FILES)

mostlyclean: clean

distclean:	clean
	rm -f Makefile

realclean:	distclean

bash:
	(cd ..; ./config.status)


syntax highlighted by Code2HTML, v. 0.9.1