INCLUDES = -I../include -I${srcdir}/../include
EXTERNAL_LIBS = m
LDADD = 
DEPADD = @MPILIBLOC@ ../util/mtest.o
smvar_do_sharedlibs = 0
#
bcasttest_SOURCES = bcasttest.c
bcast2_SOURCES = bcast2.c
bcast2_LDADD = ../util/mtest.o
bcast3_SOURCES = bcast3.c
bcast3_LDADD = ../util/mtest.o
allred_SOURCES = allred.c
allred_LDADD = -lm
allred2_SOURCES = allred2.c
allred2_LDADD = ../util/mtest.o
allred3_SOURCES = allred3.c
allred3_LDADD = ../util/mtest.o
allred4_SOURCES = allred4.c
allred4_LDADD = ../util/mtest.o
red3_SOURCES = red3.c
red3_LDADD = ../util/mtest.o
red4_SOURCES = red4.c
red4_LDADD = ../util/mtest.o
reduce_SOURCES = reduce.c
reduce_LDADD = ../util/mtest.o
coll8_SOURCES = coll8.c
coll13_SOURCES = coll13.c
alltoallv_SOURCES = alltoallv.c
alltoallv_LDADD = ../util/mtest.o
alltoallv0_SOURCES = alltoallv0.c
alltoallv0_LDADD = ../util/mtest.o
alltoallw1_SOURCES = alltoallw1.c
alltoallw1_LDADD = ../util/mtest.o
alltoallw2_SOURCES = alltoallw2.c
alltoallw2_LDADD = ../util/mtest.o
alltoall1_SOURCES = alltoall1.c
redscat_SOURCES = redscat.c
coll9_SOURCES = coll9.c
coll7_SOURCES = coll7.c
coll6_SOURCES = coll6.c
coll5_SOURCES = coll5.c
coll4_SOURCES = coll4.c
coll3_SOURCES = coll3.c
coll2_SOURCES = coll2.c
allredmany_SOURCES = allredmany.c
scantst_SOURCES = scantst.c
longuser_SOURCES = longuser.c
coll10_SOURCES = coll10.c
coll11_SOURCES = coll11.c
coll12_SOURCES = coll12.c
scatterv_SOURCES = scatterv.c
scattern_SOURCES = scattern.c
scatter2_SOURCES = scatter2.c
scatter2_LDADD = ../util/mtest.o
scatter3_SOURCES = scatter3.c
scatter3_LDADD = ../util/mtest.o
gather_SOURCES = gather.c
gather_LDADD = ../util/mtest.o
gather2_SOURCES = gather2.c
gather2_LDADD = ../util/mtest.o
allgather2_SOURCES = allgather2.c
allgather2_LDADD = ../util/mtest.o
allgather3_SOURCES = allgather3.c
allgather3_LDADD = ../util/mtest.o
allgatherv2_SOURCES = allgatherv2.c
allgatherv2_LDADD = ../util/mtest.o
allgatherv3_SOURCES = allgatherv3.c
allgatherv3_LDADD = ../util/mtest.o
icbcast_SOURCES = icbcast.c
icbcast_LDADD = ../util/mtest.o
icbarrier_SOURCES = icbarrier.c
icbarrier_LDADD = ../util/mtest.o
icscatter_SOURCES = icscatter.c
icscatter_LDADD = ../util/mtest.o
icgather_SOURCES = icgather.c
icgather_LDADD = ../util/mtest.o
icscatterv_SOURCES = icscatterv.c
icscatterv_LDADD = ../util/mtest.o
icgatherv_SOURCES = icgatherv.c
icgatherv_LDADD = ../util/mtest.o
icallgather_SOURCES = icallgather.c
icallgather_LDADD = ../util/mtest.o
icallgatherv_SOURCES = icallgatherv.c
icallgatherv_LDADD = ../util/mtest.o
icallreduce_SOURCES = icallreduce.c
icallreduce_LDADD = ../util/mtest.o
icreduce_SOURCES = icreduce.c
icreduce_LDADD = ../util/mtest.o
icalltoall_SOURCES = icalltoall.c
icalltoall_LDADD = ../util/mtest.o
icalltoallv_SOURCES = icalltoallv.c
icalltoallv_LDADD = ../util/mtest.o
icalltoallw_SOURCES = icalltoallw.c
icalltoallw_LDADD = ../util/mtest.o
alltoall1_LDADD = ../util/mtest.o
opland_SOURCES = opland.c
opland_LDADD = ../util/mtest.o
oplor_SOURCES = oplor.c
oplor_LDADD = ../util/mtest.o
oplxor_SOURCES = oplxor.c
oplxor_LDADD = ../util/mtest.o
opband_SOURCES = opband.c
opband_LDADD = ../util/mtest.o
opbor_SOURCES = opbor.c
opbor_LDADD = ../util/mtest.o
opbxor_SOURCES = opbxor.c
opbxor_LDADD = ../util/mtest.o
opsum_SOURCES = opsum.c
opsum_LDADD = ../util/mtest.o
opmax_SOURCES = opmax.c
opmax_LDADD = ../util/mtest.o
opmin_SOURCES = opmin.c
opmin_LDADD = ../util/mtest.o
opminloc_SOURCES = opminloc.c
opminloc_LDADD = ../util/mtest.o
opmaxloc_SOURCES = opmaxloc.c
opmaxloc_LDADD = ../util/mtest.o
opprod_SOURCES = opprod.c
opprod_LDADD = ../util/mtest.o
exscan_SOURCES = exscan.c
exscan_LDADD = ../util/mtest.o
exscan2_SOURCES = exscan2.c
exscan2_LDADD = ../util/mtest.o

../util/mtest.o:
	(cd ../util && $(MAKE))

# A special testing target to simplify running just the collective tests
testing:
	../runtests -srcdir=$(srcdir) -tests=testlist \
		   -mpiexec=$(bindir)/mpiexec \
		   -xmlfile=summary.xml
