#############################################################################
#
# $Source: /productsrc/VC/Altair/nSource/nsource/include/Makefile,v $
# $Id: Makefile,v 1.2 2000/04/27 04:12:15 mkitchin Exp $
#
#############################################################################
#
# Copyrights & Disclaimers:
#
# Altair Mission Control System
# 
# Copyright (c) 1995 to $Date: 2000/04/27 04:12:15 $ Altair Aerospace Corporation
# All Rights Reserved
#
# This software is provided by Altair Aerospace Corporation (Altair) and 
# contributors ``as is'' and any express or implied warranties, including, 
# but not limited to, the implied warranties of merchantability and fitness 
# for a particular purpose are disclaimed.  In no event shall Altair or 
# contributors be liable for any direct, indirect, incidental, special, 
# exemplary, or consequential damages (including, but not limited to, 
# procurement of substitute goods or services; loss of use, data, or profits; 
# or business interruption) however caused and on any theory of liability, 
# whether in contract, strict liability, or tort (including negligence or 
# otherwise) arising in any way out of the use of this software, even if 
# advised of the possibility of such damage.
#
##############################################################################

######################################################################
# nsource extra include files makefile

include Make/$(M3_MODE).make
include Make/M3.make
include Make/$(M3_ARCH).make

libs_SUBDIRS 	=
plugins_SUBDIRS	=
progs_SUBDIRS 	=
scripts_SUBDIRS	= 
install_EXTRA	= Make

ALLSUBDIRS = $(libs_SUBDIRS) $(plugins_SUBDIRS) $(progs_SUBDIRS) \
	$(scripts_SUBDIRS) $(install_EXTRA)

install_SUBDIRS = $(sort $(ALLSUBDIRS))
clean_SUBDIRS = $(sort $(ALLSUBDIRS))

all: libs plugins scripts progs

libs plugins scripts progs install clean:
	@list='$($@_SUBDIRS)'; \
	for subdir in $$list; do \
		(cd $$subdir && make $@) || exit 1; \
	done
