summaryrefslogtreecommitdiffstats
path: root/fortran/src/Makefile.am
diff options
context:
space:
mode:
authorJames Laird <jlaird@hdfgroup.org>2005-06-07 21:17:46 (GMT)
committerJames Laird <jlaird@hdfgroup.org>2005-06-07 21:17:46 (GMT)
commit6a259df23d0b5743220324b2f655fd0088d01879 (patch)
tree501407ae4000c78c22a85e5404ff8e580f3fb081 /fortran/src/Makefile.am
parent8c5b212422fde4a46136fbd020871fb3df56645d (diff)
downloadhdf5-6a259df23d0b5743220324b2f655fd0088d01879.zip
hdf5-6a259df23d0b5743220324b2f655fd0088d01879.tar.gz
hdf5-6a259df23d0b5743220324b2f655fd0088d01879.tar.bz2
[svn-r10870] Purpose:
Bug fix Description: Fortran type detection failed on Cygwin. This is because executables in Cygwin have the .exe extension, which confused dependencies in the Makefile. Solution: Sprinkled the $(EXEEXT) variable liberally about the fortran/src Makefile.am. This variable is set at configure time and will be ".exe" on Cygwin and stay "" on Linux. Platforms tested: Cygwin, modi4, mir
Diffstat (limited to 'fortran/src/Makefile.am')
-rw-r--r--fortran/src/Makefile.am8
1 files changed, 4 insertions, 4 deletions
diff --git a/fortran/src/Makefile.am b/fortran/src/Makefile.am
index da4549c..14a1c11 100644
--- a/fortran/src/Makefile.am
+++ b/fortran/src/Makefile.am
@@ -121,13 +121,13 @@ BUILT_SOURCES = H5f90i_gen.h
# it needs to run H5match_types.
H5fortran_types.f90 H5f90i_gen.h: H5match_types.c
$(MAKE) $(AM_MAKEFLAGS) H5fort_type_defines.h
- $(MAKE) $(AM_MAKEFLAGS) H5match_types
- $(RUNSERIAL) ./H5match_types
+ $(MAKE) $(AM_MAKEFLAGS) H5match_types$(EXEEXT)
+ $(RUNSERIAL) ./H5match_types$(EXEEXT)
# H5fort_type_defines.h is created by running H5fortran_detect.
# Obviously, H5fortran_detect needs to be built first.
-H5fort_type_defines.h: H5fortran_detect
- $(RUNSERIAL) ./H5fortran_detect > H5fort_type_defines.h
+H5fort_type_defines.h: H5fortran_detect$(EXEEXT)
+ $(RUNSERIAL) ./H5fortran_detect$(EXEEXT) > H5fort_type_defines.h
# Automake knows how to build fortran programs if we tell it the source
# files.