Blame test/mpi/Makefile_f77.mtest
|
Packit |
0848f5 |
## -*- Mode: Makefile; -*-
|
|
Packit |
0848f5 |
## vim: set ft=automake :
|
|
Packit |
0848f5 |
##
|
|
Packit |
0848f5 |
## (C) 2011 by Argonne National Laboratory.
|
|
Packit |
0848f5 |
## See COPYRIGHT in top-level directory.
|
|
Packit |
0848f5 |
##
|
|
Packit |
0848f5 |
|
|
Packit |
0848f5 |
## This is an automake makefile fragment that should be included by:
|
|
Packit |
0848f5 |
##
|
|
Packit |
0848f5 |
## include $(top_srcdir)/Makefile_cxx.mtest
|
|
Packit |
0848f5 |
##
|
|
Packit |
0848f5 |
## see Makefile.mtest for a description why this file exists, but for C++
|
|
Packit |
0848f5 |
|
|
Packit |
0848f5 |
# these CPPFLAGS are only used when building C/C++ source files, not for actual
|
|
Packit |
0848f5 |
# F77 code itself
|
|
Packit |
0848f5 |
AM_CPPFLAGS = -I$(top_builddir)/include -I$(top_srcdir)/include
|
|
Packit |
0848f5 |
|
|
Packit |
0848f5 |
# This is right for many platforms, but not all. The right fix involves a
|
|
Packit |
0848f5 |
# configure test, but this version is no worse than the simplemake version was.
|
|
Packit |
0848f5 |
AM_FFLAGS = -I.
|
|
Packit |
0848f5 |
|
|
Packit |
0848f5 |
LDADD = $(top_builddir)/f77/util/mtestf.o
|
|
Packit |
0848f5 |
|
|
Packit |
0848f5 |
## FIXME "DEPADD" is a simplemake concept, which we can handle on a per-target
|
|
Packit |
0848f5 |
## prog_DEPENDENCIES variable, but it would be better to figure out the right
|
|
Packit |
0848f5 |
## way to do this
|
|
Packit |
0848f5 |
##DEPADD = @MPILIBLOC@ ../util/mtest.o
|
|
Packit |
0848f5 |
|
|
Packit |
0848f5 |
$(top_builddir)/f77/util/mtestf.o: $(top_srcdir)/f77/util/mtestf.f
|
|
Packit |
0848f5 |
(cd $(top_builddir)/f77/util && $(MAKE) mtestf.o)
|
|
Packit |
0848f5 |
|
|
Packit |
0848f5 |
testing:
|
|
Packit |
0848f5 |
$(top_builddir)/runtests -srcdir=$(srcdir) -tests=testlist \
|
|
Packit |
0848f5 |
-mpiexec=${MPIEXEC} -xmlfile=summary.xml
|
|
Packit |
0848f5 |
|
|
Packit |
0848f5 |
CLEANFILES = summary.xml summary.tap
|