Blame test/mpi/Makefile_cxx.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 |
## This is an automake makefile fragment that should be included by:
|
|
Packit Service |
c5cf8c |
##
|
|
Packit Service |
c5cf8c |
## include $(top_srcdir)/Makefile_cxx.mtest
|
|
Packit Service |
c5cf8c |
##
|
|
Packit Service |
c5cf8c |
## see Makefile.mtest for a description why this file exists, but for C++
|
|
Packit Service |
c5cf8c |
|
|
Packit Service |
c5cf8c |
AM_CPPFLAGS = -I$(top_builddir)/include -I$(top_srcdir)/include
|
|
Packit Service |
c5cf8c |
LDADD = $(top_builddir)/cxx/util/mtest.o
|
|
Packit Service |
c5cf8c |
|
|
Packit Service |
c5cf8c |
# Add libdtpools support
|
|
Packit Service |
c5cf8c |
AM_CPPFLAGS += -I$(top_srcdir)/dtpools/include
|
|
Packit Service |
c5cf8c |
LDADD += $(top_builddir)/dtpools/src/.libs/libdtpools.a
|
|
Packit Service |
c5cf8c |
|
|
Packit Service |
c5cf8c |
## FIXME "DEPADD" is a simplemake concept, which we can handle on a per-target
|
|
Packit Service |
c5cf8c |
## prog_DEPENDENCIES variable, but it would be better to figure out the right
|
|
Packit Service |
c5cf8c |
## way to do this
|
|
Packit Service |
c5cf8c |
##DEPADD = @MPILIBLOC@ ../util/cxx/mtest.o
|
|
Packit Service |
c5cf8c |
|
|
Packit Service |
c5cf8c |
$(top_builddir)/cxx/util/mtest.o: $(top_srcdir)/cxx/util/mtest.cxx
|
|
Packit Service |
c5cf8c |
(cd $(top_builddir)/cxx/util && $(MAKE) mtest.o)
|
|
Packit Service |
c5cf8c |
|
|
Packit Service |
c5cf8c |
$(top_builddir)/dtpools/src/.libs/libdtpools.a: $(top_srcdir)/dtpools/src/*.c
|
|
Packit Service |
c5cf8c |
(cd $(top_builddir)/dtpools && $(MAKE))
|
|
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
|