File: Makefile.am

package info (click to toggle)
mpich 3.2-7
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 81,040 kB
  • ctags: 68,664
  • sloc: ansic: 358,905; f90: 54,597; perl: 18,527; cpp: 10,203; sh: 9,839; xml: 8,195; fortran: 7,799; makefile: 4,868; ruby: 53; sed: 9; php: 8
file content (33 lines) | stat: -rw-r--r-- 941 bytes parent folder | download | duplicates (2)
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
# -*- Mode: Makefile; -*-
# vim: set ft=automake :
#
# (C) 2011 by Argonne National Laboratory.
#     See COPYRIGHT in top-level directory.
#

include $(top_srcdir)/Makefile_f77.mtest

EXTRA_DIST = testlist.in

# allocmemf is an "extra" program because it requires a Fortran extension
EXTRA_PROGRAMS = allocmemf

noinst_PROGRAMS = c2f2cf ctypesinf c2fmult

allocmemf_SOURCES = allocmemf.f
c2f2cf_SOURCES = c2f2c.c c2f2cf.f
ctypesinf_SOURCES = ctypesinf.f ctypesfromc.c

# C programs get a different mtest utility object
c2fmult_LDADD = $(top_builddir)/util/mtest.o
c2fmult_SOURCES = c2fmult.c

## add1size.h will be distributed because it's listed in AC_CONFIG_FILES/AC_OUTPUT

# ensure that dependent tests will be rebuilt when add1size.h is updated
allocmemf.$(OBJEXT): add1size.h

# we don't get this from Makefile_f77.mtest and we don't include Makefile.mtest
$(top_builddir)/util/mtest.o:
	(cd $(top_builddir)/util && $(MAKE) mtest.o)