#
# Makefile.in for HnSRTree/include
# Copyright (C) 1997 Norio Katayama
#
# This library is free software; you can redistribute it and/or
# modify it under the terms of the GNU Library General Public
# License as published by the Free Software Foundation; either
# version 2 of the License, or (at your option) any later version.
#
# This library is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
# Library General Public License for more details.
#
# You should have received a copy of the GNU Library General Public
# License along with this library; if not, write to the Free
# Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
#
# 06/09/96 katayama@rd.nacsis.ac.jp
# $Id: Makefile.in,v 1.3 2000/06/10 11:10:24 katayama Exp $
#

           DIRS = HnSRTree

    CURRENT_DIR	= include

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

         curdir = include

all:
	@for d in $(DIRS); \
	do \
	(cd $$d && echo "making in $(CURRENT_DIR)/$$d" && \
	$(MAKE) $(MFLAGS) "CURRENT_DIR=$(CURRENT_DIR)/$$d" \
	all); \
	done

Makefile: $(top_srcdir)/config.status Makefile.in
	(cd $(top_srcdir) && \
	 CONFIG_FILES=$(curdir)/Makefile CONFIG_HEADERS= ./config.status)

includes:
	@for d in $(DIRS); \
	do \
	(cd $$d && echo "including in $(CURRENT_DIR)/$$d" && \
	$(MAKE) $(MFLAGS) "CURRENT_DIR=$(CURRENT_DIR)/$$d" \
	includes); \
	done

clean:
	@for d in $(DIRS); \
	do \
	(cd $$d && echo "cleaning in $(CURRENT_DIR)/$$d" && \
	$(MAKE) $(MFLAGS) "CURRENT_DIR=$(CURRENT_DIR)/$$d" \
	clean); \
	done

realclean: clean
	@for d in $(DIRS); \
	do \
	(cd $$d && echo "realclean in $(CURRENT_DIR)/$$d" && \
	$(MAKE) $(MFLAGS) "CURRENT_DIR=$(CURRENT_DIR)/$$d" \
	realclean); \
        done

distclean: clean
	@for d in $(DIRS); \
	do \
	(cd $$d && echo "distclean in $(CURRENT_DIR)/$$d" && \
	$(MAKE) $(MFLAGS) "CURRENT_DIR=$(CURRENT_DIR)/$$d" \
	distclean); \
	done
	rm -f Makefile

install:
	@for d in $(DIRS); \
	do \
	(cd $$d && echo "installing in $(CURRENT_DIR)/$$d" && \
	$(MAKE) $(MFLAGS) "CURRENT_DIR=$(CURRENT_DIR)/$$d" \
	install); \
	done

depend:
	@for d in $(DIRS); \
	do \
	(cd $$d && echo "depending in $(CURRENT_DIR)/$$d" && \
	$(MAKE) $(MFLAGS) "CURRENT_DIR=$(CURRENT_DIR)/$$d" \
	depend); \
	done
