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

Packit 0848f5
# This Makefile.am generated automatically by f77tof90
Packit 0848f5
# from test/mpi/f77/attr/Makefile.am.  DO NOT EDIT
Packit 0848f5
# -*- Mode: Makefile; -*-
Packit 0848f5
# vim: set ft=automake :
Packit 0848f5
#
Packit 0848f5
# (C) 2011 by Argonne National Laboratory.
Packit 0848f5
#     See COPYRIGHT in top-level directory.
Packit 0848f5
#
Packit 0848f5
Packit 0848f5
include $(top_srcdir)/Makefile_f90.mtest
Packit 0848f5
Packit 0848f5
EXTRA_DIST = testlist
Packit 0848f5
Packit 0848f5
# avoid having to write many "foo_SOURCES = foo.f90" lines
Packit 0848f5
AM_DEFAULT_SOURCE_EXT = .f90
Packit 0848f5
Packit 0848f5
noinst_PROGRAMS =                   \
Packit 0848f5
    attrmpi1f90                       \
Packit 0848f5
    baseattrf90 baseattr2f90            \
Packit 0848f5
    commattrf90 commattr2f90            \
Packit 0848f5
    commattr3f90 commattr4f90           \
Packit 0848f5
    typeattrf90 typeattr2f90 typeattr3f90
Packit 0848f5
Packit 0848f5
## attraints.h will be distributed because it's listed in AC_CONFIG_FILES/AC_OUTPUT
Packit 0848f5
Packit 0848f5
# ensure that "{comm,type}attr*f.o" will be rebuilt when attraints.h is updated
Packit 0848f5
Packit 0848f5
Packit 0848f5
if MAINTAINER_MODE
Packit 0848f5
Packit 0848f5
# f77tof90 only replaces output files if the contents differ, so we must use a
Packit 0848f5
# separate timestamp file in order avoid constantly trying to remake the f90
Packit 0848f5
# copy of the Makefile when the f77 copy is updated in a way that does not
Packit 0848f5
# change its contents
Packit 0848f5
$(srcdir)/Makefile.am: $(srcdir)/Makefile.am-stamp
Packit 0848f5
Packit 0848f5
$(srcdir)/Makefile.am-stamp: $(master_top_srcdir)/test/mpi/f77/attr/Makefile.am $(master_top_srcdir)/maint/f77tof90
Packit 0848f5
	( cd $(master_top_srcdir) && ./maint/f77tof90 test/mpi/f77/attr test/mpi/f90/attr Makefile.am Makefile.ap )
Packit 0848f5
Packit 0848f5
MAINTAINERCLEANFILES = Makefile.am-stamp
Packit 0848f5
EXTRA_DIST += Makefile.am-stamp testlist.ap Makefile.ap
Packit 0848f5
Packit 0848f5
endif MAINTAINER_MODE
Packit 0848f5
Packit 0848f5
## vim: set ft=automake :
Packit 0848f5
Packit 0848f5
noinst_PROGRAMS += fandcattrf90 baseattr3f90 attrlangf90
Packit 0848f5
fandcattrf90_SOURCES = fandcattrf90.f90 fandcattrc.c
Packit 0848f5
baseattr3f90_SOURCES = baseattr3f90.f90
Packit 0848f5
attrlangf90_SOURCES = attrlangf90.f90 attrlangc.c
Packit 0848f5
Packit 0848f5
# Remove any created module files, if we know the extension of those files
Packit 0848f5
clean-local:
Packit 0848f5
	if [ "@FCMODEXT@" != "" ] ; then rm -f *.@FCMODEXT@ ; fi
Packit 0848f5
Packit 0848f5