summaryrefslogtreecommitdiffstats
path: root/fortran/testpar
diff options
context:
space:
mode:
Diffstat (limited to 'fortran/testpar')
-rw-r--r--fortran/testpar/Makefile.am3
-rw-r--r--fortran/testpar/Makefile.in4
2 files changed, 3 insertions, 4 deletions
diff --git a/fortran/testpar/Makefile.am b/fortran/testpar/Makefile.am
index fb32621..41414a8 100644
--- a/fortran/testpar/Makefile.am
+++ b/fortran/testpar/Makefile.am
@@ -20,8 +20,7 @@
include $(top_srcdir)/config/commence.am
# Include files
-AM_FFLAGS=-I$(top_srcdir)/fortran/src -I$(top_srcdir)/fortran/test
-MODULE=$(top_srcdir)/fortran/src
+AM_FFLAGS=-I$(top_srcdir)/fortran/src -I$(top_srcdir)/fortran/test $(F9XMODFLAG)$(top_builddir)/fortran/src
# These are our main targets
TEST_PROG_PARA=ptesthdf5_fortran
diff --git a/fortran/testpar/Makefile.in b/fortran/testpar/Makefile.in
index cca643d..244a2b3 100644
--- a/fortran/testpar/Makefile.in
+++ b/fortran/testpar/Makefile.in
@@ -194,10 +194,10 @@ H5FC_PP = $(bindir)/h5pfc
# Make sure that these variables are exported to the Makefiles
F9XMODEXT = @F9XMODEXT@
+F9XMODFLAG = @F9XMODFLAG@
# Include files
-AM_FFLAGS = -I$(top_srcdir)/fortran/src -I$(top_srcdir)/fortran/test
-MODULE = $(top_srcdir)/fortran/src
+AM_FFLAGS = -I$(top_srcdir)/fortran/src -I$(top_srcdir)/fortran/test $(F9XMODFLAG)$(top_builddir)/fortran/src
# These are our main targets
TEST_PROG_PARA = ptesthdf5_fortran