automake: Fortran 77 Support
1
1 8.14 Fortran 77 Support
1 =======================
1
1 Automake includes full support for Fortran 77.
1
1 Any package including Fortran 77 code must define the output variable
1 ‘F77’ in ‘configure.ac’; the simplest way to do this is to use the
11 ‘AC_PROG_F77’ macro (⇒Particular Program Checks
(autoconf)Particular Programs.).
1
1 A few additional variables are defined when a Fortran 77 source file
1 is seen:
1
1 ‘F77’
1 The name of the Fortran 77 compiler.
1
1 ‘FFLAGS’
1 Any flags to pass to the Fortran 77 compiler.
1
1 ‘AM_FFLAGS’
1 The maintainer’s variant of ‘FFLAGS’.
1
1 ‘RFLAGS’
1 Any flags to pass to the Ratfor compiler.
1
1 ‘AM_RFLAGS’
1 The maintainer’s variant of ‘RFLAGS’.
1
1 ‘F77COMPILE’
1 The command used to actually compile a Fortran 77 source file. The
1 file name is appended to form the complete command line.
1
1 ‘FLINK’
1 The command used to actually link a pure Fortran 77 program or
1 shared library.
1
1 Automake can handle preprocessing Fortran 77 and Ratfor source files
1 in addition to compiling them(1). Automake also contains some support
1 for creating programs and shared libraries that are a mixture of Fortran
1 77 and other languages (⇒Mixing Fortran 77 With C and C++).
1
1 These issues are covered in the following sections.
1
Menu