diff --git a/src/mpi/interface/c/bindings.h b/src/mpi/interface/c/bindings.h index 1dd5e9686e..874b4ab14f 100644 --- a/src/mpi/interface/c/bindings.h +++ b/src/mpi/interface/c/bindings.h @@ -19,7 +19,7 @@ header file. */ #if LAM_PROFILING_DEFINES -#include "mpi/c/profile/defines.h" +#include "mpi/interface/c/profile/defines.h" #endif #endif /* LAM_C_BINDINGS_H */ diff --git a/src/mpi/interface/c/profile/Makefile.am b/src/mpi/interface/c/profile/Makefile.am index 9924cfbc43..6eca03adc0 100644 --- a/src/mpi/interface/c/profile/Makefile.am +++ b/src/mpi/interface/c/profile/Makefile.am @@ -34,7 +34,7 @@ nodist_libmpi_c_profile_la_SOURCES = \ $(nodist_libmpi_c_profile_la_SOURCES): if test ! -r $@ ; then \ pname=`echo $@ | cut -b '2-'` ; \ - ln -s $(top_srcdir)/src/mpi/c/$$pname $@ ; \ + ln -s $(top_srcdir)/src/mpi/interface/c/$$pname $@ ; \ fi # Conditionally install the header files diff --git a/src/mpi/interface/f77/bindings.h b/src/mpi/interface/f77/bindings.h index 13096ab35e..898227b568 100644 --- a/src/mpi/interface/f77/bindings.h +++ b/src/mpi/interface/f77/bindings.h @@ -39,7 +39,7 @@ #else /* Otherwise, we're compiling in the main directory, so get the defines mapping from mpi_foo_f to the proper symbol convention. */ -#include "mpi/f77/defines.h" +#include "mpi/interface/f77/defines.h" #endif #endif diff --git a/src/mpi/interface/f77/profile/Makefile.am b/src/mpi/interface/f77/profile/Makefile.am index e2d55dfe04..496b9f1f36 100644 --- a/src/mpi/interface/f77/profile/Makefile.am +++ b/src/mpi/interface/f77/profile/Makefile.am @@ -39,7 +39,7 @@ nodist_libmpi_f77_profile_la_SOURCES = \ $(nodist_libmpi_f77_profile_la_SOURCES): if test ! -r $@ ; then \ pname=`echo $@ | cut -b '2-'` ; \ - ln -s $(top_srcdir)/src/mpi/f77/$$pname $@ ; \ + ln -s $(top_srcdir)/src/mpi/interface/f77/$$pname $@ ; \ fi # Conditionally install the header files