summaryrefslogtreecommitdiffstats
path: root/fortran/config
diff options
context:
space:
mode:
Diffstat (limited to 'fortran/config')
-rw-r--r--fortran/config/commence.in1
-rw-r--r--fortran/config/conclude.in4
-rw-r--r--fortran/config/dec-flags2
-rw-r--r--fortran/config/hpux10.202
-rw-r--r--fortran/config/hpux11.002
-rw-r--r--fortran/config/ia64-linux-gnu10
-rw-r--r--fortran/config/irix6.x4
-rw-r--r--fortran/config/linux-gnulibc110
-rw-r--r--fortran/config/powerpc-ibm-aix4.x4
-rw-r--r--fortran/config/powerpc-ibm-aix5.x4
-rw-r--r--fortran/config/rs6000-ibm-aix4.x4
-rw-r--r--fortran/config/solaris2.x10
-rw-r--r--fortran/config/sv1-cray2
-rw-r--r--fortran/config/unicos2
-rw-r--r--fortran/config/unicos10.0.X2
-rw-r--r--fortran/config/unicosmk2
-rw-r--r--fortran/config/unicosmk2.0.5.X2
-rw-r--r--fortran/config/unicosmk2.0.X2
18 files changed, 52 insertions, 17 deletions
diff --git a/fortran/config/commence.in b/fortran/config/commence.in
index 1e23566..7bc5109 100644
--- a/fortran/config/commence.in
+++ b/fortran/config/commence.in
@@ -18,6 +18,7 @@ CC=@CC@
F9X=@F9X@
F9XMODEXT=@F9XMODEXT@
F9XMODFLAG=@F9XMODFLAG@
+FSEARCH_DIRS="@FSEARCH_DIRS@"
CFLAGS=@CFLAGS@
CPPFLAGS=@CPPFLAGS@
FFLAGS=@FFLAGS@
diff --git a/fortran/config/conclude.in b/fortran/config/conclude.in
index 7597d1a..09cdf52 100644
--- a/fortran/config/conclude.in
+++ b/fortran/config/conclude.in
@@ -174,10 +174,10 @@ maintainer-clean: distclean
@$(LT_CCOMPILE) $(CFLAGS) $(CPPFLAGS) -c $<
.f90.o:
- $(F9X) $(FFLAGS) -c $<
+ $(F9X) $(FFLAGS) $(FSEARCH_DIRS) -c $<
.f90.lo:
- @$(LT_FCOMPILE) $(FFLAGS) -c $<
+ @$(LT_FCOMPILE) $(FFLAGS) $(FSEARCH_DIRS) -c $<
##-----------------------------------------------------------------------------
## The following section of this makefile contains dependencies between the
diff --git a/fortran/config/dec-flags b/fortran/config/dec-flags
index c9a34b3..9af2aae 100644
--- a/fortran/config/dec-flags
+++ b/fortran/config/dec-flags
@@ -84,6 +84,8 @@ if test "X-" = "X-$F9X"; then
fi
if test "X-" = "X-$f9x_flags_set"; then
+ F9XSUFFIXFLAG=""
+ FSEARCH_DIRS=""
FFLAGS="-Olimit 2048 -std1"
DEBUG_FFLAGS="-Olimit 2048 -std1"
PROD_FFLAGS="-Olimit 2048 -std1"
diff --git a/fortran/config/hpux10.20 b/fortran/config/hpux10.20
index 5e35d3b..97022c4 100644
--- a/fortran/config/hpux10.20
+++ b/fortran/config/hpux10.20
@@ -58,6 +58,8 @@ if test "X-" = "X-$F9X"; then
fi
if test "X-" = "X-$f9x_flags_set"; then
+ F9XSUFFIXFLAG=""
+ FSEARCH_DIRS=""
FFLAGS="-O"
DEBUG_FFLAGS="-O"
PROD_FFLAGS="-O"
diff --git a/fortran/config/hpux11.00 b/fortran/config/hpux11.00
index 5e35d3b..97022c4 100644
--- a/fortran/config/hpux11.00
+++ b/fortran/config/hpux11.00
@@ -58,6 +58,8 @@ if test "X-" = "X-$F9X"; then
fi
if test "X-" = "X-$f9x_flags_set"; then
+ F9XSUFFIXFLAG=""
+ FSEARCH_DIRS=""
FFLAGS="-O"
DEBUG_FFLAGS="-O"
PROD_FFLAGS="-O"
diff --git a/fortran/config/ia64-linux-gnu b/fortran/config/ia64-linux-gnu
index 8706b18..7dc5239 100644
--- a/fortran/config/ia64-linux-gnu
+++ b/fortran/config/ia64-linux-gnu
@@ -84,9 +84,11 @@ esac
# The following is not right and need work.
if test -z "$f9x_flags_set"; then
- FFLAGS=
- DEBUG_FFLAGS=
- PROD_FFLAGS=
- PROFILE_FFLAGS=
+ F9XSUFFIXFLAG=""
+ FSEARCH_DIRS=""
+ FFLAGS=""
+ DEBUG_FFLAGS=""
+ PROD_FFLAGS=""
+ PROFILE_FFLAGS=""
f9x_flags_set=yes
fi
diff --git a/fortran/config/irix6.x b/fortran/config/irix6.x
index 62505a3..10c48cf 100644
--- a/fortran/config/irix6.x
+++ b/fortran/config/irix6.x
@@ -86,6 +86,8 @@ esac
# Use SGI supplied C compiler by default. There is no ranlib
if test "X-" = "X-$F9X"; then
F9X="f90"
+ F9XSUFFIXFLAG=""
+ FSEARCH_DIRS=""
FFLAGS="-64 -mips4 -O -s"
DEBUG_FFLAGS="-64 -mips4 -O -s"
PROD_FFLAGS="-64 -mips4 -O -s"
@@ -115,6 +117,8 @@ if test "X-" = "X-$F9X"; then
fi
if test "X-" = "X-$f9x_flags_set"; then
+ F9XSUFFIXFLAG=""
+ FSEARCH_DIRS=""
FFLAGS="-64 -mips4 -O -s"
DEBUG_FFLAGS="-64 -mips4 -O -s"
PROD_FFLAGS="-64 -mips4 -O -s"
diff --git a/fortran/config/linux-gnulibc1 b/fortran/config/linux-gnulibc1
index b24bb85..7ecead5 100644
--- a/fortran/config/linux-gnulibc1
+++ b/fortran/config/linux-gnulibc1
@@ -41,9 +41,11 @@ if test -z "$F9X"; then
fi
if test -z "$f9x_flags_set"; then
- FFLAGS=
- DEBUG_FFLAGS=
- PROD_FFLAGS=
- PROFILE_FFLAGS=
+ F9XSUFFIXFLAG=""
+ FSEARCH_DIRS=""
+ FFLAGS=""
+ DEBUG_FFLAGS=""
+ PROD_FFLAGS=""
+ PROFILE_FFLAGS=""
f9x_flags_set=yes
fi
diff --git a/fortran/config/powerpc-ibm-aix4.x b/fortran/config/powerpc-ibm-aix4.x
index 234f7d3..5124107 100644
--- a/fortran/config/powerpc-ibm-aix4.x
+++ b/fortran/config/powerpc-ibm-aix4.x
@@ -34,7 +34,9 @@ if test "X-" = "X-$F9X"; then
fi
if test "X-" = "X-$f9x_flags_set"; then
- FFLAGS="-static -O -qsuffix=f=f90 -qmoddir=./ -I./ -I../src -k"
+ F9XSUFFIXFLAG="-qsuffix=f=f90"
+ FFLAGS="-static -O ${F9XSUFFIXFLAG} -qmoddir=./ -k"
+ FSEARCH_DIRS="-I./ -I../src"
DEBUG_FFLAGS="-O"
PROD_FFLAGS="-O"
PROFILE_FFLAGS="-O"
diff --git a/fortran/config/powerpc-ibm-aix5.x b/fortran/config/powerpc-ibm-aix5.x
index 16ad523..ad89cb1 100644
--- a/fortran/config/powerpc-ibm-aix5.x
+++ b/fortran/config/powerpc-ibm-aix5.x
@@ -47,7 +47,9 @@ if test "X-" = "X-$F9X"; then
fi
if test "X-" = "X-$f9x_flags_set"; then
- FFLAGS="-static -O -qsuffix=f=f90 -qmoddir=./ -I./ -k"
+ F9XSUFFIXFLAG="-qsuffix=f=f90"
+ FFLAGS="-static -O ${F9XSUFFIXFLAG} -qmoddir=./ -k"
+ FSEARCH_DIRS="-I./ -I../src"
DEBUG_FFLAGS="-O"
PROD_FFLAGS="-O"
PROFILE_FFLAGS="-O"
diff --git a/fortran/config/rs6000-ibm-aix4.x b/fortran/config/rs6000-ibm-aix4.x
index 234f7d3..5124107 100644
--- a/fortran/config/rs6000-ibm-aix4.x
+++ b/fortran/config/rs6000-ibm-aix4.x
@@ -34,7 +34,9 @@ if test "X-" = "X-$F9X"; then
fi
if test "X-" = "X-$f9x_flags_set"; then
- FFLAGS="-static -O -qsuffix=f=f90 -qmoddir=./ -I./ -I../src -k"
+ F9XSUFFIXFLAG="-qsuffix=f=f90"
+ FFLAGS="-static -O ${F9XSUFFIXFLAG} -qmoddir=./ -k"
+ FSEARCH_DIRS="-I./ -I../src"
DEBUG_FFLAGS="-O"
PROD_FFLAGS="-O"
PROFILE_FFLAGS="-O"
diff --git a/fortran/config/solaris2.x b/fortran/config/solaris2.x
index c96ec40..52df28e 100644
--- a/fortran/config/solaris2.x
+++ b/fortran/config/solaris2.x
@@ -54,9 +54,11 @@ if test "X-" = "X-$F9X"; then
fi
if test "X-" = "X-$f9x_flags_set"; then
- FFLAGS=
- DEBUG_FFLAGS=
- PROD_FFLAGS=
- PROFILE_FFLAGS=
+ F9XSUFFIXFLAG=""
+ FSEARCH_DIRS=""
+ FFLAGS=""
+ DEBUG_FFLAGS=""
+ PROD_FFLAGS=""
+ PROFILE_FFLAGS=""
f9x_flags_set=yes
fi
diff --git a/fortran/config/sv1-cray b/fortran/config/sv1-cray
index 3c46387..e2a4baf 100644
--- a/fortran/config/sv1-cray
+++ b/fortran/config/sv1-cray
@@ -160,6 +160,8 @@ if test "X-" = "X-$F9X"; then
fi
if test "X-" = "X-$f9x_flags_set"; then
+ F9XSUFFIXFLAG=""
+ FSEARCH_DIRS=""
FFLAGS="-dp"
DEBUG_FFLAGS="-dp"
PROD_FFLAGS="-dp"
diff --git a/fortran/config/unicos b/fortran/config/unicos
index 71201af..541bd78 100644
--- a/fortran/config/unicos
+++ b/fortran/config/unicos
@@ -158,6 +158,8 @@ if test "X-" = "X-$F9X"; then
fi
if test "X-" = "X-$f9x_flags_set"; then
+ F9XSUFFIXFLAG=""
+ FSEARCH_DIRS=""
FFLAGS="-dp"
DEBUG_FFLAGS="-dp"
PROD_FFLAGS="-dp"
diff --git a/fortran/config/unicos10.0.X b/fortran/config/unicos10.0.X
index 71201af..541bd78 100644
--- a/fortran/config/unicos10.0.X
+++ b/fortran/config/unicos10.0.X
@@ -158,6 +158,8 @@ if test "X-" = "X-$F9X"; then
fi
if test "X-" = "X-$f9x_flags_set"; then
+ F9XSUFFIXFLAG=""
+ FSEARCH_DIRS=""
FFLAGS="-dp"
DEBUG_FFLAGS="-dp"
PROD_FFLAGS="-dp"
diff --git a/fortran/config/unicosmk b/fortran/config/unicosmk
index 3c46387..e2a4baf 100644
--- a/fortran/config/unicosmk
+++ b/fortran/config/unicosmk
@@ -160,6 +160,8 @@ if test "X-" = "X-$F9X"; then
fi
if test "X-" = "X-$f9x_flags_set"; then
+ F9XSUFFIXFLAG=""
+ FSEARCH_DIRS=""
FFLAGS="-dp"
DEBUG_FFLAGS="-dp"
PROD_FFLAGS="-dp"
diff --git a/fortran/config/unicosmk2.0.5.X b/fortran/config/unicosmk2.0.5.X
index 36dab49..68a19a8 100644
--- a/fortran/config/unicosmk2.0.5.X
+++ b/fortran/config/unicosmk2.0.5.X
@@ -162,6 +162,8 @@ fi
if test "X-" = "X-$f9x_flags_set"; then
# -Wl passes flags to the linker and -M# will ignore warnings with
# number #. Warning 405 was stopping the executable from being built.
+ F9XSUFFIXFLAG=""
+ FSEARCH_DIRS=""
FFLAGS="-dp -Wl-M405"
DEBUG_FFLAGS=""
PROD_FFLAGS=""
diff --git a/fortran/config/unicosmk2.0.X b/fortran/config/unicosmk2.0.X
index 36dab49..68a19a8 100644
--- a/fortran/config/unicosmk2.0.X
+++ b/fortran/config/unicosmk2.0.X
@@ -162,6 +162,8 @@ fi
if test "X-" = "X-$f9x_flags_set"; then
# -Wl passes flags to the linker and -M# will ignore warnings with
# number #. Warning 405 was stopping the executable from being built.
+ F9XSUFFIXFLAG=""
+ FSEARCH_DIRS=""
FFLAGS="-dp -Wl-M405"
DEBUG_FFLAGS=""
PROD_FFLAGS=""