summaryrefslogtreecommitdiff
path: root/libgfortran/Makefile.am
diff options
context:
space:
mode:
authorrth <rth@138bc75d-0d04-0410-961f-82ee72b054a4>2005-11-20 20:35:17 +0000
committerrth <rth@138bc75d-0d04-0410-961f-82ee72b054a4>2005-11-20 20:35:17 +0000
commit2b355134f41a287cad3136e466401f0d0fb4bd75 (patch)
tree6bf9d47b30fa9b2a2af3fcde7e9899a2b5dcf11c /libgfortran/Makefile.am
parent8f0c8a8b1d184a7d759f6736cddd5d7a485a908b (diff)
downloadgcc-2b355134f41a287cad3136e466401f0d0fb4bd75.tar.gz
* Makefile.am: Revert 2005-11-14 change. Enable -free-vectorize
via gmake per-target variables. * Makefile.in, aclocal.m4: Regenerate. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@107261 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libgfortran/Makefile.am')
-rw-r--r--libgfortran/Makefile.am11
1 files changed, 4 insertions, 7 deletions
diff --git a/libgfortran/Makefile.am b/libgfortran/Makefile.am
index 1d916da3c70..221f78756dc 100644
--- a/libgfortran/Makefile.am
+++ b/libgfortran/Makefile.am
@@ -433,7 +433,7 @@ m4_files= m4/iparm.m4 m4/ifunction.m4 m4/iforeach.m4 m4/all.m4 \
gfor_built_src= $(i_all_c) $(i_any_c) $(i_count_c) $(i_maxloc0_c) \
$(i_maxloc1_c) $(i_maxval_c) $(i_minloc0_c) $(i_minloc1_c) $(i_minval_c) \
$(i_product_c) $(i_sum_c) $(i_dotprod_c) $(i_dotprodl_c) $(i_dotprodc_c) \
- $(i_matmull_c) $(i_transpose_c) $(i_shape_c) $(i_eoshift1_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) \
@@ -573,17 +573,14 @@ $(gfor_built_specific2_src) \
intrinsics/dprod_r8.f90 \
intrinsics/f2c_specifics.F90
-EXTRA_LTLIBRARIES = libmatmul.la
-libmatmul_la_SOURCES = $(i_matmul_c)
-libmatmul_la_CFLAGS = -ftree-vectorize $(AM_CFLAGS)
+# Turn on vectorization for matmul.
+$(patsubst %.c,%.lo,$(notdir $(i_matmul_c))): AM_CFLAGS += -ftree-vectorize
BUILT_SOURCES=$(gfor_built_src) $(gfor_built_specific_src) \
- $(gfor_built_specific2_src) $(libmatmul_la_SOURCES)
+ $(gfor_built_specific2_src)
libgfortran_la_SOURCES = $(gfor_src) $(gfor_built_src) $(gfor_io_src) \
$(gfor_helper_src) $(gfor_io_headers) $(gfor_specific_src)
-libgfortran_la_LIBADD = libmatmul.la
-
I_M4_DEPS=m4/iparm.m4
I_M4_DEPS0=$(I_M4_DEPS) m4/iforeach.m4
I_M4_DEPS1=$(I_M4_DEPS) m4/ifunction.m4