diff options
Diffstat (limited to 'fortran')
-rw-r--r-- | fortran/Makefile.am | 6 | ||||
-rw-r--r-- | fortran/Makefile.in | 3 |
2 files changed, 7 insertions, 2 deletions
diff --git a/fortran/Makefile.am b/fortran/Makefile.am index 06bd888..dce1857 100644 --- a/fortran/Makefile.am +++ b/fortran/Makefile.am @@ -28,7 +28,11 @@ if BUILD_PARALLEL_CONDITIONAL endif # Subdirectories in build order, not including examples directory -SUBDIRS=src test $(TESTPARALLEL_DIR) +## Only recurse into subdirectories if HDF5 is configured to use Fortran. +if BUILD_FORTRAN_CONDITIONAL + SUBDIRS=src test $(TESTPARALLEL_DIR) +endif + # All directories that have Makefiles DIST_SUBDIRS=src test testpar examples diff --git a/fortran/Makefile.in b/fortran/Makefile.in index dd8e34c..b9967e1 100644 --- a/fortran/Makefile.in +++ b/fortran/Makefile.in @@ -286,7 +286,8 @@ H5FC_PP = $(bindir)/h5pfc @BUILD_PARALLEL_CONDITIONAL_TRUE@TESTPARALLEL_DIR = testpar # Subdirectories in build order, not including examples directory -SUBDIRS = src test $(TESTPARALLEL_DIR) +@BUILD_FORTRAN_CONDITIONAL_TRUE@SUBDIRS = src test $(TESTPARALLEL_DIR) + # All directories that have Makefiles DIST_SUBDIRS = src test testpar examples |