File: Makefile.am

package info (click to toggle)
mpich 5.0.0-1
  • links: PTS, VCS
  • area: main
  • in suites: experimental
  • size: 251,828 kB
  • sloc: ansic: 1,323,147; cpp: 82,869; f90: 72,420; javascript: 40,763; perl: 28,296; sh: 19,399; python: 16,191; xml: 14,418; makefile: 9,468; fortran: 8,046; java: 4,635; pascal: 352; asm: 324; ruby: 176; awk: 27; lisp: 19; php: 8; sed: 4
file content (69 lines) | stat: -rw-r--r-- 2,368 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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
##
## Copyright (C) by Argonne National Laboratory
##     See COPYRIGHT in top-level directory
##

AM_CPPFLAGS = -I$(srcdir)/../include -I../include -I$(srcdir)/../dtpools/include

noinst_LTLIBRARIES = libmtest.la
libmtest_la_SOURCES = mtest.c mtest_common.c
# All GPU code is currently in mtest_common.c, so all flags and
# libraries can go here. Any program that links with libmtest.la will
# get the right dependencies via libtool.
libmtest_la_LIBADD = @cuda_LIBS@ @ze_LIBS@ @hip_LIBS@
libmtest_la_LDFLAGS = @cuda_LDFLAGS@ @ze_LDFLAGS@ @hip_LDFLAGS@
libmtest_la_CPPFLAGS = $(AM_CPPFLAGS) @cuda_CPPFLAGS@ @ze_CPPFLAGS@ @hip_CPPFLAGS@

noinst_LTLIBRARIES += libdtypes.la
libdtypes_la_SOURCES = dtypes.c

#---- run_mpitests ------------------------------------------------------------
noinst_LTLIBRARIES += librun_mpitests.la
librun_mpitests_la_SOURCES = run_mpitests.c

#---- CXX ---------------------------------------------------------------------
if HAS_CXX

## list a dummy library that we don't actually build in order to cause automake
## to emit a rule for building mtest_cxx.o from mtest_cxx.cxx
noinst_LTLIBRARIES += libmtest_cxx.la
libmtest_cxx_la_SOURCES = mtest_cxx.cxx mtest_common.c
libmtest_cxx_la_LIBADD = @cuda_LIBS@ @ze_LIBS@ @hip_LIBS@
libmtest_cxx_la_LDFLAGS = @cuda_LDFLAGS@ @ze_LDFLAGS@ @hip_LDFLAGS@
libmtest_cxx_la_CPPFLAGS = $(AM_CPPFLAGS) @cuda_CPPFLAGS@ @ze_CPPFLAGS@ @hip_CPPFLAGS@

endif

#---- F77 ---------------------------------------------------------------------
if HAS_F77

noinst_LTLIBRARIES += libmtest_f77.la
libmtest_f77_la_SOURCES = mtest_f77.f

endif

#---- F90 ---------------------------------------------------------------------
if HAS_F90

noinst_LTLIBRARIES += libmtest_f90.la
libmtest_f90_la_SOURCES = mtest_f90.f90

endif

#---- F08 ---------------------------------------------------------------------
if HAS_F08

noinst_LTLIBRARIES += libmtest_f08.la
libmtest_f08_la_SOURCES = mtest_f08.f90

endif

#---- single ---------------------------------------------------------------------
noinst_LTLIBRARIES += libmtest_single.la
libmtest_single_la_SOURCES = mtest_single.c
libmtest_single_la_LIBADD = libmtest.la

#---- thread ---------------------------------------------------------------------
noinst_LTLIBRARIES += libmtest_thread.la
libmtest_thread_la_SOURCES = mtest_thread.c
libmtest_thread_la_LIBADD = libmtest.la