# 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

TSTOPTS =


###########################

default:: tests

tests:: particle_tests bc_tests general_tests

run: run_tests

run_tests:: run_particle_tests run_bc_tests run_general_tests

run_particle_tests: particle_tests
	$(ODIR)/particle_test1 $(TSTOPTS) 1>particle_test1.out 2>&1
	$(ODIR)/particle_test2 $(TSTOPTS) 1>particle_test2.out 2>&1
	$(ODIR)/particle_test3 $(TSTOPTS) 1>particle_test3.out 2>&1
	$(ODIR)/particle_test4 $(TSTOPTS) 1>particle_test4.out 2>&1

run_bc_tests: bc_tests
	$(ODIR)/bclist $(TSTOPTS) 1>bclist.out 2>&1
	$(ODIR)/bctest1 $(TSTOPTS) 1>bctest1.out 2>&1
	$(ODIR)/bctest2 $(TSTOPTS) 1>bctest2.out 2>&1
	$(ODIR)/bctest3 $(TSTOPTS) 1>bctest3.out 2>&1

run_general_tests: general_tests
	$(ODIR)/attributelist $(TSTOPTS) 1>attributelist.out 2>&1
	$(ODIR)/spatial $(TSTOPTS) 1>spatial.out 2>&1
	$(ODIR)/uniform $(TSTOPTS) 1>uniform.out 2>&1
	$(ODIR)/destroy $(TSTOPTS) 1>destroy.out 2>&1
	$(ODIR)/interpolate $(TSTOPTS) 1>interpolate.out 2>&1

particle_tests:: particle_test1 particle_test2 particle_test3 particle_test4

bc_tests:: bclist bctest1 bctest2 bctest3

general_tests:: attributelist spatial uniform destroy interpolate


###########################

bench:: particle_benchmarks

particle_benchmarks:: particle_bench1 particle_bench2 particle_bench3 \
	particle_bench4


###########################

.PHONY: attributelist

attributelist:: $(ODIR)/attributelist

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

.PHONY: bclist

bclist:: $(ODIR)/bclist

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

.PHONY: bctest1

bctest1:: $(ODIR)/bctest1

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

.PHONY: bctest2

bctest2:: $(ODIR)/bctest2

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

.PHONY: bctest3

bctest3:: $(ODIR)/bctest3

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

.PHONY: spatial

spatial:: $(ODIR)/spatial

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

.PHONY: uniform

uniform:: $(ODIR)/uniform

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

.PHONY: destroy

destroy:: $(ODIR)/destroy

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

.PHONY: interpolate

interpolate:: $(ODIR)/interpolate

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


.PHONY: particle_test1

particle_test1:: $(ODIR)/particle_test1

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

.PHONY: particle_test2

particle_test2:: $(ODIR)/particle_test2

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

.PHONY: particle_test3

particle_test3:: $(ODIR)/particle_test3

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

.PHONY: particle_test4

particle_test4:: $(ODIR)/particle_test4

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


.PHONY: particle_bench1

particle_bench1:: $(ODIR)/particle_bench1

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

.PHONY: particle_bench2

particle_bench2:: $(ODIR)/particle_bench2

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

.PHONY: particle_bench3

particle_bench3:: $(ODIR)/particle_bench3

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

.PHONY: particle_bench4

particle_bench4:: $(ODIR)/particle_bench4

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


###########################

include $(SHARED_ROOT)/tail.mk


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