1# This Makefile.am generated automatically by f77tof90
2# from f77/rma/Makefile.am.  DO NOT EDIT
3##
4## Copyright (C) by Argonne National Laboratory
5##     See COPYRIGHT in top-level directory
6##
7
8include $(top_srcdir)/Makefile_f90.mtest
9
10EXTRA_DIST = testlist.in
11
12# avoid having to write many "foo_SOURCES = foo.f90" lines
13AM_DEFAULT_SOURCE_EXT = .f90
14
15noinst_PROGRAMS = \
16    winscale1f90    \
17    winscale2f90    \
18    winfencef90     \
19    wingetf90       \
20    winerrf90       \
21    winnamef90      \
22    wingroupf90     \
23    winaccf90       \
24    winaccf90       \
25    c2f2cwinf90     \
26    baseattrwinf90  \
27    winattrf90      \
28    winattr2f90
29
30if BUILD_MPIX_TESTS
31noinst_PROGRAMS += aintf90
32endif
33
34## this test was commented out in the simplemake version...
35##    allocmem
36
37c2f2cwinf90_SOURCES = c2f2cwinf90.f90 c2f902cwin.c
38
39# see include note in Makefile_f90.mtest
40AM_FFLAGS += -I../attr
41
42## addsize.h will be distributed because it's listed in AC_CONFIG_FILES/AC_OUTPUT
43
44# ensure that dependent tests will be rebuilt when addsize.h is updated
45
46## DJG: the following comment+code was present in the simplemake version... I'm
47## not sure how accurate it is.
48# bindir may be used in MPIEXEC, so make sure it is defined
49BINDIR=${bindir}
50
51if MAINTAINER_MODE
52
53# f77tof90 only replaces output files if the contents differ, so we must use a
54# separate timestamp file in order avoid constantly trying to remake the f90
55# copy of the Makefile when the f77 copy is updated in a way that does not
56# change its contents
57$(srcdir)/Makefile.am: $(srcdir)/Makefile.am-stamp
58
59$(srcdir)/Makefile.am-stamp: $(top_srcdir)/f77/rma/Makefile.am $(top_srcdir)/maint/f77tof90
60	( cd $(top_srcdir) && ./maint/f77tof90 f77/rma f90/rma Makefile.am Makefile.ap )
61
62MAINTAINERCLEANFILES = Makefile.am-stamp
63EXTRA_DIST += Makefile.am-stamp
64
65endif MAINTAINER_MODE
66
67