Blame test/mpi/f90/rma/Makefile.am

Packit Service c5cf8c
# This Makefile.am generated automatically by f77tof90
Packit Service c5cf8c
# from f77/rma/Makefile.am.  DO NOT EDIT
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
include $(top_srcdir)/Makefile_f90.mtest
Packit Service c5cf8c
Packit Service c5cf8c
EXTRA_DIST = testlist.in
Packit Service c5cf8c
Packit Service c5cf8c
# avoid having to write many "foo_SOURCES = foo.f90" lines
Packit Service c5cf8c
AM_DEFAULT_SOURCE_EXT = .f90
Packit Service c5cf8c
Packit Service c5cf8c
noinst_PROGRAMS = \
Packit Service c5cf8c
    winscale1f90    \
Packit Service c5cf8c
    winscale2f90    \
Packit Service c5cf8c
    winfencef90     \
Packit Service c5cf8c
    wingetf90       \
Packit Service c5cf8c
    winerrf90       \
Packit Service c5cf8c
    winnamef90      \
Packit Service c5cf8c
    wingroupf90     \
Packit Service c5cf8c
    winaccf90       \
Packit Service c5cf8c
    winaccf90       \
Packit Service c5cf8c
    c2f2cwinf90     \
Packit Service c5cf8c
    baseattrwinf90  \
Packit Service c5cf8c
    winattrf90      \
Packit Service c5cf8c
    winattr2f90
Packit Service c5cf8c
Packit Service c5cf8c
if BUILD_MPIX_TESTS
Packit Service c5cf8c
noinst_PROGRAMS += aintf90
Packit Service c5cf8c
endif
Packit Service c5cf8c
Packit Service c5cf8c
## this test was commented out in the simplemake version...
Packit Service c5cf8c
##    allocmem
Packit Service c5cf8c
Packit Service c5cf8c
c2f2cwinf90_SOURCES = c2f2cwinf90.f90 c2f902cwin.c
Packit Service c5cf8c
Packit Service c5cf8c
# see include note in Makefile_f90.mtest
Packit Service c5cf8c
AM_FFLAGS += -I../attr
Packit Service c5cf8c
Packit Service c5cf8c
## addsize.h will be distributed because it's listed in AC_CONFIG_FILES/AC_OUTPUT
Packit Service c5cf8c
Packit Service c5cf8c
# ensure that dependent tests will be rebuilt when addsize.h is updated
Packit Service c5cf8c
Packit Service c5cf8c
## DJG: the following comment+code was present in the simplemake version... I'm
Packit Service c5cf8c
## not sure how accurate it is.
Packit Service c5cf8c
# bindir may be used in MPIEXEC, so make sure it is defined
Packit Service c5cf8c
BINDIR=${bindir}
Packit Service c5cf8c
Packit Service c5cf8c
if MAINTAINER_MODE
Packit Service c5cf8c
Packit Service c5cf8c
# f77tof90 only replaces output files if the contents differ, so we must use a
Packit Service c5cf8c
# separate timestamp file in order avoid constantly trying to remake the f90
Packit Service c5cf8c
# copy of the Makefile when the f77 copy is updated in a way that does not
Packit Service c5cf8c
# change its contents
Packit Service c5cf8c
$(srcdir)/Makefile.am: $(srcdir)/Makefile.am-stamp
Packit Service c5cf8c
Packit Service c5cf8c
$(srcdir)/Makefile.am-stamp: $(top_srcdir)/f77/rma/Makefile.am $(top_srcdir)/maint/f77tof90
Packit Service c5cf8c
	( cd $(top_srcdir) && ./maint/f77tof90 f77/rma f90/rma Makefile.am Makefile.ap )
Packit Service c5cf8c
Packit Service c5cf8c
MAINTAINERCLEANFILES = Makefile.am-stamp
Packit Service c5cf8c
EXTRA_DIST += Makefile.am-stamp  
Packit Service c5cf8c
Packit Service c5cf8c
endif MAINTAINER_MODE
Packit Service c5cf8c