Blame test/mpi/Makefile_f08.mtest

Packit Service c5cf8c
# -*- Mode: Makefile; -*-
Packit Service c5cf8c
# vim: set ft=automake :
Packit Service c5cf8c
#
Packit Service c5cf8c
# (C) 2011 by Argonne National Laboratory.
Packit Service c5cf8c
#     See COPYRIGHT in top-level directory.
Packit Service c5cf8c
#
Packit Service c5cf8c
Packit Service c5cf8c
# these CPPFLAGS are only used when building C/C++ source files, not for actual
Packit Service c5cf8c
# F08 code itself
Packit Service c5cf8c
AM_CPPFLAGS = -I$(top_builddir)/include -I$(top_srcdir)/include
Packit Service c5cf8c
Packit Service c5cf8c
LDADD = $(top_builddir)/f08/util/mtestf08.o
Packit Service c5cf8c
Packit Service c5cf8c
# This is right for many platforms, but not all.  The right fix involves a
Packit Service c5cf8c
# configure test, but this version is no worse than the simplemake version was.
Packit Service c5cf8c
AM_FFLAGS = -I.
Packit Service c5cf8c
Packit Service c5cf8c
$(top_builddir)/f08/util/mtestf08.o: $(top_srcdir)/f08/util/mtestf08.f90
Packit Service c5cf8c
	(cd $(top_builddir)/f08/util && $(MAKE) mtestf08.o)
Packit Service c5cf8c
Packit Service c5cf8c
Packit Service c5cf8c
testing:
Packit Service c5cf8c
	$(top_builddir)/runtests -srcdir=$(srcdir) -tests=testlist \
Packit Service c5cf8c
		-mpiexec=${MPIEXEC} -xmlfile=summary.xml
Packit Service c5cf8c
Packit Service c5cf8c
CLEANFILES = summary.xml summary.tap