File: Makefile_cxx.mtest

package info (click to toggle)
mpich 3.3-3
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 131,836 kB
  • sloc: ansic: 975,868; cpp: 57,437; f90: 53,762; perl: 19,562; xml: 12,464; sh: 12,303; fortran: 7,875; makefile: 7,078; ruby: 126; java: 100; python: 98; lisp: 19; php: 8; sed: 4
file content (36 lines) | stat: -rw-r--r-- 1,222 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
## -*- Mode: Makefile; -*-
## vim: set ft=automake :
##
## (C) 2011 by Argonne National Laboratory.
##     See COPYRIGHT in top-level directory.
##

## This is an automake makefile fragment that should be included by:
##
##   include $(top_srcdir)/Makefile_cxx.mtest
##
## see Makefile.mtest for a description why this file exists, but for C++

AM_CPPFLAGS = -I$(top_builddir)/include -I$(top_srcdir)/include
LDADD = $(top_builddir)/cxx/util/mtest.o

# Add libdtpools support
AM_CPPFLAGS += -I$(top_builddir)/dtpoos/include -I$(top_srcdir)/dtpools/include
LDADD += $(top_builddir)/dtpools/src/.libs/libdtpools.a

## FIXME "DEPADD" is a simplemake concept, which we can handle on a per-target
## prog_DEPENDENCIES variable, but it would be better to figure out the right
## way to do this
##DEPADD = @MPILIBLOC@ ../util/cxx/mtest.o

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

$(top_builddir)/dtpools/src/.libs/libdtpools.a: $(top_srcdir)/dtpools/src/*.c
	(cd $(top_builddir)/dtpools && $(MAKE))

testing:
	$(top_builddir)/runtests -srcdir=$(srcdir) -tests=testlist \
		-mpiexec=${MPIEXEC} -xmlfile=summary.xml

CLEANFILES = summary.xml summary.tap