diff options
author | rth <rth@138bc75d-0d04-0410-961f-82ee72b054a4> | 2004-08-30 21:34:37 +0000 |
---|---|---|
committer | rth <rth@138bc75d-0d04-0410-961f-82ee72b054a4> | 2004-08-30 21:34:37 +0000 |
commit | 5d4b6e9c06cae8242813f303f804f31222500c65 (patch) | |
tree | 02cd41f693c2602a26a17ae6a8a57ac30f5141fa /libgfortran/Makefile.am | |
parent | dfd033af4bae5f6a98854d83bb4f6bdbc7dc933f (diff) | |
download | gcc-5d4b6e9c06cae8242813f303f804f31222500c65.tar.gz |
* Makefile.am (gfor_helper_src): Split selected_kind.f90.
(gfor_built_src): Add selected_int_kind.inc selected_real_kind.inc.
(selected_int_kind.inc selected_real_kind.inc): New rules.
* Makefile.in: Regenerate.
* mk-sik-inc.sh, mk-srk-inc.sh: New files.
* intrinsics/selected_int_kind.f90: Split from selected_kind.f90,
include table of detected kinds.
* intrinsics/selected_real_kind.f90: Similarly.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@86801 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libgfortran/Makefile.am')
-rw-r--r-- | libgfortran/Makefile.am | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/libgfortran/Makefile.am b/libgfortran/Makefile.am index f07f1b554c7..91d70b8129c 100644 --- a/libgfortran/Makefile.am +++ b/libgfortran/Makefile.am @@ -59,7 +59,8 @@ intrinsics/rand.c \ intrinsics/random.c \ intrinsics/reshape_generic.c \ intrinsics/reshape_packed.c \ -intrinsics/selected_kind.f90 \ +intrinsics/selected_int_kind.f90 \ +intrinsics/selected_real_kind.f90 \ intrinsics/system_clock.c \ intrinsics/transpose_generic.c \ intrinsics/unpack_generic.c \ @@ -264,7 +265,8 @@ gfor_built_src= $(i_all_c) $(i_any_c) $(i_count_c) $(i_maxloc0_c) \ $(i_matmul_c) $(i_matmull_c) $(i_transpose_c) $(i_shape_c) $(i_eoshift1_c) \ $(i_eoshift3_c) $(i_cshift1_c) $(i_reshape_c) $(in_pack_c) $(in_unpack_c) \ $(i_exponent_c) $(i_fraction_c) $(i_nearest_c) $(i_set_exponent_c) \ - $(i_pow_c) + $(i_pow_c) \ + selected_int_kind.inc selected_real_kind.inc # We only use these if libm doesn't contain complex math functions. @@ -383,6 +385,12 @@ I_M4_DEPS=m4/iparm.m4 I_M4_DEPS0=$(I_M4_DEPS) m4/iforeach.m4 I_M4_DEPS1=$(I_M4_DEPS) m4/ifunction.m4 +selected_int_kind.inc: $(srcdir)/mk-sik-inc.sh + $(SHELL) $(srcdir)/mk-sik-inc.sh '$(F77COMPILE)' > $@ + +selected_real_kind.inc: $(srcdir)/mk-srk-inc.sh + $(SHELL) $(srcdir)/mk-srk-inc.sh '$(F77COMPILE)' > $@ + ## A 'normal' build shouldn't need to regenerate these ## so we only include them in maintainer mode |