[svn-r3126] Purpose:

Bug Fix
Description:
	Parallel stuff wasn't being compiled on T3E. It was complaining
	about not being able to find said files. Also, I was confused
	about which Fortran module needed to be compiled when it was
	parallel.
Solution:
	Did magic so that the correct files are specified when parallel
	is enabled.
Platforms tested:
	T3E
This commit is contained in:
Bill Wendling 2000-12-13 11:47:02 -05:00
parent 7e2e2add53
commit 4b882ef486

View File

@ -22,18 +22,18 @@ LIB=libhdf5_fortran.la
DISTCLEAN=H5fortran_types.f90
## Source and object files for the library
CPAR_SRC=H5FDmpiof.c
FPAR_SRC=H5FDmpioff.f90 HDF5mpio.f90
ADD_PARALLEL_FILES=@ADD_PARALLEL_FILES@
CPARALLEL=${ADD_PARALLEL_FILES:yes=$(CPAR_SRC)}
FPAR_MOD=${ADD_PARALLEL_FILES:yes=HDF5mpio.f90}
CPARALLEL=${ADD_PARALLEL_FILES:yes=H5FDmpiof.c}
CLIB_SRC=H5f90kit.c H5f.c H5Git.c H5Rf.c H5Ff.c H5Sf.c H5Df.c H5Gf.c \
H5Af.c H5Tf.c H5Pf.c H5If.c H5Ef.c ${CPARALLEL:no=}
FPARALLEL=${ADD_PARALLEL_FILES:yes=$(FPAR_SRC)}
FPARALLEL=${ADD_PARALLEL_FILES:yes=H5FDmpioff.f90}
FLIB_SRC=H5fortran_types.f90 H5fortran_flags.f90 H5f90global.f90 H5ff.f90 \
H5Rff.f90 H5Fff.f90 H5Sff.f90 H5Dff.f90 H5Gff.f90 H5Aff.f90 H5Tff.f90 \
H5Pff.f90 H5Iff.f90 H5Eff.f90 HDF5.f90 ${FPARALLEL:no=}
H5Pff.f90 H5Iff.f90 H5Eff.f90 HDF5.f90 ${FPARALLEL:no=} ${FPAR_MOD:no=HDF5.f90}
LIB_SRC=$(CLIB_SRC) $(FLIB_SRC)
LIB_OBJ=$(CLIB_SRC:.c=.lo) $(FLIB_SRC:.f90=.lo)