#
# $Id: Makefile.in,v 2.0 1998/10/14 22:46:57 hender Exp $
#

# This program is confidential and proprietary to MRJ Technology Solutions
# and may not be reproduced, published or disclosed to others without
# written authorization from MRJ.
# 
# Copyright (c) 1998 MRJ Technology Solutions, Inc. All Rights Reserved.
# 
# This program is derived from prior work some of which was originally
# written as a joint project between the Numerical Aerospace Simulation
# (NAS) Systems Division of NASA Ames Research Center and the National
# Energy Research Supercomputer Center (NERSC) of Lawrence Livermore
# National Laboratory.
#
# the first non-comment line must be .POSIX to assure POSIX make behavior
#
@MAKE_POSIX_TARGET@


srcdir = @srcdir@
top_srcdir = @top_srcdir@

@mk_head@

DOC_DIRS = admin ers ids project_plan requirement_spec test_plan
CFLAGS = @CFLAGS@ @DEFS@

all: build

build print install:: soelim

build print clean distclean::
	@MAKE_POSIX_PLUS@@for d in $(DOC_DIRS) ; do \
		(cd $$d && echo Doing make $@ in $$d && $(MAKE) $@); \
	done


install::
	@echo Installing man pages ; cd ers ; $(MAKE) install

depend::

clean::
	-$(RM) soelim

soelim:	$(srcdir)/soelim.c
	$(CC) $(CFLAGS) -o $@ $?

distclean::
	-$(RM) Makefile soelim

