# Generated automatically from Makefile.in by configure.
# $Id: Makefile.in,v 1.9 1996/06/15 23:55:18 tom Exp $
################################################################################
# Copyright 1996 by Thomas E. Dickey <dickey@clark.net>                        #
# All Rights Reserved.                                                         #
#                                                                              #
# Permission to use, copy, modify, and distribute this software and its        #
# documentation for any purpose and without fee is hereby granted, provided    #
# that the above copyright notice appear in all copies and that both that      #
# copyright notice and this permission notice appear in supporting             #
# documentation, and that the name of the above listed copyright holder(s) not #
# be used in advertising or publicity pertaining to distribution of the        #
# software without specific, written prior permission. THE ABOVE LISTED        #
# COPYRIGHT HOLDER(S) DISCLAIM ALL WARRANTIES WITH REGARD TO THIS SOFTWARE,    #
# INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO EVENT #
# SHALL THE ABOVE LISTED COPYRIGHT HOLDER(S) BE LIABLE FOR ANY SPECIAL,        #
# INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM   #
# LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE   #
# OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR    #
# PERFORMANCE OF THIS SOFTWARE.                                                #
################################################################################
# Master Makefile for ncurses library.

SHELL = /bin/sh

INSTALL_PREFIX=
NC_MFLAGS = $(MFLAGS) INSTALL_PREFIX="$(INSTALL_PREFIX)"



DIRS_TO_MAKE = lib objects

all ::	$(DIRS_TO_MAKE)

$(DIRS_TO_MAKE) :
	mkdir $@

# Put the common rules here so that we can easily construct the list of
# directories to visit.
all \
clean \
distclean \
mostlyclean \
realclean \
install ::
	cd include; $(MAKE) $(NC_MFLAGS) $@
	cd man; $(MAKE) $(NC_MFLAGS) $@
	cd ncurses; $(MAKE) $(NC_MFLAGS) $@
	cd progs; $(MAKE) $(NC_MFLAGS) $@
	cd panel; $(MAKE) $(NC_MFLAGS) $@
	cd menu; $(MAKE) $(NC_MFLAGS) $@
	cd form; $(MAKE) $(NC_MFLAGS) $@
	cd misc; $(MAKE) $(NC_MFLAGS) $@
	cd test; $(MAKE) $(NC_MFLAGS) $@
	cd c++; $(MAKE) $(NC_MFLAGS) $@

install.libs \
install.includes ::
	cd include; $(MAKE) $(NC_MFLAGS) $@

lint \
lintlib \
install.libs \
install.ncurses ::
	cd ncurses; $(MAKE) $(NC_MFLAGS) $@

lint \
lintlib \
install.libs \
install.progs ::
	cd progs; $(MAKE) $(NC_MFLAGS) $@

install.includes \
lint \
lintlib \
install.libs \
install.panel ::
	cd panel; $(MAKE) $(NC_MFLAGS) $@

install.includes \
lint \
lintlib \
install.libs \
install.menu ::
	cd menu; $(MAKE) $(NC_MFLAGS) $@

install.includes \
lint \
lintlib \
install.libs \
install.form ::
	cd form; $(MAKE) $(NC_MFLAGS) $@

lintlib \
install.libs \
install.c++ ::
	cd c++; $(MAKE) $(NC_MFLAGS) $@

lint ::
	cd test; $(MAKE) $(NC_MFLAGS) $@

install.data ::
	cd misc; $(MAKE) $(NC_MFLAGS) $@

install.man ::
	cd man; $(MAKE) $(NC_MFLAGS) $@

distclean ::
	rm -f config.cache config.log config.status Makefile include/config.h
	rm -f headers.sh headers.sed
	rm -rf $(DIRS_TO_MAKE)
