#
# Top level makefile
#
# Copyright (C) 1999-2002 Equinox Systems Inc.                                    
#
# Builds and installs the source for the Equinox SST "eqnx" software.
#
# The following file contains the version number which may need to be
# changed for a new version:
#	version.include
#
# Also, documentation to be updated is located at:
#	inst/INSTALL.TXT
#	inst/README.TXT
#	inst/RELEASE.TXT
#
# The following targets are available:
#    make clean 
#		this removes .o files from the source directories
# 
#    make clobber
#		this removes .o files from the source directories
#		and removes all object
# 
#    make build
#		this builds all object 
#
#    make install
#		creates the installation media with built object.
#		(note: internal only)
#
# With no targets a "make build install" will be done.

all:	build install

build:
	cd drv; make build
	cd utils; make build
	cd utils/ssdiag; make build
	cd inst; make build

install:
	cd drv; make install
	cd utils; make install
	cd utils/ssdiag; make install
	cd inst; make install

clean:
	cd drv; make clean
	cd utils; make clean
	cd utils/ssdiag; make clean
	cd inst; make clean

clobber:
	cd drv;  make clobber
	cd utils; make clobber
	cd utils/ssdiag; make clobber
	cd inst; make clobber
