Blob Blame History Raw
# This Makefile.am generated automatically by f77tof90
# from f77/spawn/Makefile.am.  DO NOT EDIT
# -*- Mode: Makefile; -*-
# vim: set ft=automake :
#
# (C) 2011 by Argonne National Laboratory.
#     See COPYRIGHT in top-level directory.
#

include $(top_srcdir)/Makefile_f90.mtest

EXTRA_DIST = testlist.in

# avoid having to write many "foo_SOURCES = foo.f90" lines
AM_DEFAULT_SOURCE_EXT = .f90

noinst_PROGRAMS = namepubf90 spawnf90 spawnargvf90 spawnmultf90 spawnmult2f90 connaccf90

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

# ensure that dependent tests will be rebuilt when type1aint.h is updated

# add "-lU77" (or equivalent) to the link line for these tests that use getarg
spawnargvf90_LDADD = $(LDADD) $(FC_GETARG_LIBS)
spawnmultf90_LDADD = $(LDADD) $(FC_GETARG_LIBS)

if MAINTAINER_MODE

# f77tof90 only replaces output files if the contents differ, so we must use a
# separate timestamp file in order avoid constantly trying to remake the f90
# copy of the Makefile when the f77 copy is updated in a way that does not
# change its contents
$(srcdir)/Makefile.am: $(srcdir)/Makefile.am-stamp

$(srcdir)/Makefile.am-stamp: $(top_srcdir)/f77/spawn/Makefile.am $(top_srcdir)/maint/f77tof90
	( cd $(top_srcdir) && ./maint/f77tof90 f77/spawn f90/spawn Makefile.am Makefile.ap )

MAINTAINERCLEANFILES = Makefile.am-stamp
EXTRA_DIST += Makefile.am-stamp testlist.ap Makefile.ap

endif MAINTAINER_MODE

## vim: set ft=automake :

noinst_PROGRAMS += spawnargvf03 spawnmultf03
spawnargvf03_SOURCES = spawnargvf03.f90
spawnmultf03_SOURCES = spawnmultf03.f90