# Generated by mm.pl: Mon Mar  9 13:58:39 MST 1998
# ACL:license
#  ----------------------------------------------------------------------
#  This software and ancillary information (herein called "SOFTWARE")
#  called POOMA (Parallel Object-Oriented Methods and Applications) is
#  made available under the terms described here.  The SOFTWARE has been
#  approved for release with associated LA-CC Number LA-CC-98-65.
#  
#  Unless otherwise indicated, this SOFTWARE has been authored by an
#  employee or employees of the University of California, operator of the
#  Los Alamos National Laboratory under Contract No. W-7405-ENG-36 with
#  the U.S. Department of Energy.  The U.S. Government has rights to use,
#  reproduce, and distribute this SOFTWARE. The public may copy, distribute,
#  prepare derivative works and publicly display this SOFTWARE without 
#  charge, provided that this Notice and any statement of authorship are 
#  reproduced on all copies.  Neither the Government nor the University 
#  makes any warranty, express or implied, or assumes any liability or 
#  responsibility for the use of this SOFTWARE.
#  
#  If SOFTWARE is modified to produce derivative works, such modified
#  SOFTWARE should be clearly marked, so as not to confuse it with the
#  version available from LANL.
#  
#  For more information about POOMA, send e-mail to pooma@acl.lanl.gov,
#  or visit the POOMA web page at http://www.acl.lanl.gov/pooma/.
#  ----------------------------------------------------------------------
# ACL:license

# This file is user-editable

PROJECT_ROOT = $(shell cd ../../..; pwd)
include $(PROJECT_ROOT)/config/head.mk

PASS=APP

default:: tests

run: run_tests
	cat *.out

run_tests: tests
	$(MPIRUN) $(ODIR)/gridlayout_test $(TSTOPTS) \
					1>gridlayout_test.out 2>&1
	$(MPIRUN) $(ODIR)/sparsetilelayout_test $(TSTOPTS) \
					1>sparsetilelayout_test.out 2>&1
	$(MPIRUN) $(ODIR)/xcontextlayout_test $(TSTOPTS) \
					1>xcontextlayout_test.out 2>&1
	$(MPIRUN) $(ODIR)/giddatabaseTest $(TSTOPTS) \
					1>giddatabaseTest.out 2>&1
	$(MPIRUN) $(ODIR)/dynamiclayout_test1 $(TSTOPTS) \
					1>dynamiclayout_test1.out 2>&1
	$(MPIRUN) $(ODIR)/dynamiclayout_test2 $(TSTOPTS) \
					1>dynamiclayout_test2.out 2>&1

tests::	gridlayout_test giddatabaseTest sparsetilelayout_test \
	xcontextlayout_test dynamiclayout_test1 dynamiclayout_test2 \
	uniformgridlayout_test

.PHONY: gridlayout_test

gridlayout_test:: $(ODIR)/gridlayout_test

$(ODIR)/gridlayout_test: $(ODIR)/gridlayout_test.o
	$(LinkToSuite)

.PHONY: uniformgridlayout_test

uniformgridlayout_test:: $(ODIR)/uniformgridlayout_test

$(ODIR)/uniformgridlayout_test: $(ODIR)/uniformgridlayout_test.o
	$(LinkToSuite)

.PHONY: dynamiclayout_test1

dynamiclayout_test1:: $(ODIR)/dynamiclayout_test1

$(ODIR)/dynamiclayout_test1: $(ODIR)/dynamiclayout_test1.o
	$(LinkToSuite)

.PHONY: dynamiclayout_test2

dynamiclayout_test2:: $(ODIR)/dynamiclayout_test2

$(ODIR)/dynamiclayout_test2: $(ODIR)/dynamiclayout_test2.o
	$(LinkToSuite)

.PHONY: giddatabaseTest

giddatabaseTest:: $(ODIR)/giddatabaseTest

$(ODIR)/giddatabaseTest: $(ODIR)/giddatabaseTest.o
	$(LinkToSuite)

.PHONY: sparsetilelayout_test

sparsetilelayout_test:: $(ODIR)/sparsetilelayout_test

$(ODIR)/sparsetilelayout_test: $(ODIR)/sparsetilelayout_test.o
	$(LinkToSuite)

.PHONY: xcontextlayout_test

xcontextlayout_test:: $(ODIR)/xcontextlayout_test

$(ODIR)/xcontextlayout_test:  $(ODIR)/xcontextlayout_test.o
	$(LinkToSuite)


include $(SHARED_ROOT)/tail.mk

# ACL:rcsinfo
#  ----------------------------------------------------------------------
#  $RCSfile: makefile,v $   $Author: julianc $
#  $Revision: 1.24 $   $Date: 2000/07/21 18:29:22 $
#  ----------------------------------------------------------------------
# ACL:rcsinfo
