Open MPI logo

Open MPI Development Mailing List Archives

  |   Home   |   Support   |   FAQ   |   all Development mailing list

From: Ralf Wildenhues (Ralf.Wildenhues_at_[hidden])
Date: 2006-05-18 04:08:26


Hi there,

I currently need this patch to build the trunk, so that
attr_fn-f90-interfaces.h will be found in a VPATH build,
and distributed. I don't know whether the header should
be installed, though -- in that case, this change needs
to be adjusted.

Cheers,
Ralf

Index: ompi/mpi/f90/Makefile.am
===================================================================
--- ompi/mpi/f90/Makefile.am (revision 9962)
+++ ompi/mpi/f90/Makefile.am (working copy)
@@ -50,7 +50,7 @@
 
 SUBDIRS = scripts
 
-AM_FCFLAGS = -I$(top_builddir)/ompi/include $(OMPI_FC_MODULE_FLAG).
+AM_FCFLAGS = -I$(top_builddir)/ompi/include $(OMPI_FC_MODULE_FLAG). -I$(srcdir)
 
 # Override the default f90 rules because we have to insert
 # $(FCFLAGS_f90) right before the source filename. This is necessary
@@ -151,7 +151,7 @@
 # distributed. This file is always in the library, regardless of the
 # size that we're building.
 
-libmpi_f90_a_SOURCES = mpi.f90
+libmpi_f90_a_SOURCES = mpi.f90 attr_fn-f90-interfaces.h
 
 # These files are all generated by scripts in the scripts/ directory.