Reverts the removal of config/conclude_fc.am while keeping

the changes to config/gnu-fflags.
This commit is contained in:
Dana Robinson 2019-07-31 22:51:53 -05:00
parent 438935557e
commit 4227b8948d
9 changed files with 39 additions and 8 deletions

View File

@ -119,6 +119,7 @@
./config/cce-flags
./config/commence.am
./config/conclude.am
./config/conclude_fc.am
./config/examples.am
./config/freebsd
./config/gnu-cxxflags

31
config/conclude_fc.am Normal file
View File

@ -0,0 +1,31 @@
## config/conclude_fc.am
## (Use double hashes for copyright notice so that automake treats it as
## comments and does not pass it to Makefile.in)
## Copyright by The HDF Group.
## Copyright by the Board of Trustees of the University of Illinois.
## All rights reserved.
##
## This file is part of HDF5. The full HDF5 copyright notice, including
## terms governing use, modification, and redistribution, is contained in
## the COPYING file, which can be found at the root of the source code
## distribution tree, or in https://support.hdfgroup.org/ftp/HDF5/releases.
## If you do not have access to either file, you may request a copy from
## help@hdfgroup.org.
## Textually included at the end of the Fortran HDF5 Makefiles.am.
# Makefile.am include fragment with Fortran helper rules and macros.
# AM_FCCPPFLAGS, FCCPPFLAGS are currently not used.
PPFCCOMPILE = $(FC) $(FCDEFS) $(DEFAULT_INCLUDES) $(FCINCLUDES) $(AM_FCCPPFLAGS) $(FCCPPFLAGS) $(AM_FCFLAGS) $(FCFLAGS)
LTPPFCCOMPILE = $(LIBTOOL) --tag=FC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(PPFCCOMPILE)
# Treat all .f90 and .F90 files as preprocessed Fortran.
.f90.o:
$(PPFCCOMPILE) -c -o $@ $<
.F90.o:
$(PPFCCOMPILE) -c -o $@ $<
include $(top_srcdir)/config/conclude.am

View File

@ -105,4 +105,4 @@ compound_fortran2003: compound_fortran2003.f90
compound_complex_fortran2003: compound_complex_fortran2003.f90
include $(top_srcdir)/config/examples.am
include $(top_srcdir)/config/conclude.am
include $(top_srcdir)/config/conclude_fc.am

View File

@ -165,4 +165,4 @@ HDF5.lo: $(srcdir)/HDF5.F90 H5f90global.lo H5_ff.lo H5Aff.lo \
H5Off.lo H5Pff.lo H5Rff.lo \
H5Sff.lo H5Tff.lo H5Zff.lo H5_gen.lo
include $(top_srcdir)/config/conclude.am
include $(top_srcdir)/config/conclude_fc.am

View File

@ -100,4 +100,4 @@ H5_test_buildiface_LDADD =
fflush2.chkexe_: fflush1.chkexe_
include $(top_srcdir)/config/conclude.am
include $(top_srcdir)/config/conclude_fc.am

View File

@ -48,4 +48,4 @@ LDADD=$(LIBH5FTEST) $(LIBH5TEST) $(LIBH5F) $(LIBHDF5)
# Mark this directory as part of the Fortran API
FORTRAN_API=yes
include $(top_srcdir)/config/conclude.am
include $(top_srcdir)/config/conclude_fc.am

View File

@ -62,4 +62,4 @@ EXAMPLETOPDIR=${DESTDIR}$(exec_prefix)/share/hdf5_examples/hl
# and fortran libraries above.
include $(top_srcdir)/config/examples.am
include $(top_srcdir)/config/conclude.am
include $(top_srcdir)/config/conclude_fc.am

View File

@ -114,5 +114,4 @@ H5IMff.lo: $(srcdir)/H5IMff.F90
H5TBff.lo: $(srcdir)/H5TBff.F90
H5LTff_gen.lo: H5LTff.lo H5LTff_gen.F90
H5TBff_gen.lo: H5TBff.lo H5LTff_gen.F90 H5TBff_gen.F90
include $(top_srcdir)/config/conclude.am
include $(top_srcdir)/config/conclude_fc.am

View File

@ -62,4 +62,4 @@ clean-local:
# from tests in conclude.am)
FORTRAN_API=yes
include $(top_srcdir)/config/conclude.am
include $(top_srcdir)/config/conclude_fc.am