Mercurial > hg > octave-terminal
changeset 10438:44538c4ff9d1
liboctave/config-ops.sh: handle 'all' case correctly
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Tue, 23 Mar 2010 15:06:33 -0400 |
parents | 0a210203481b |
children | 59967776ed4a |
files | liboctave/ChangeLog liboctave/config-ops.sh |
diffstat | 2 files changed, 26 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/liboctave/ChangeLog +++ b/liboctave/ChangeLog @@ -1,3 +1,7 @@ +2010-03-23 John W. Eaton <jwe@octave.org> + + * config-ops.sh: Work properly for "all" cases. + 2010-03-23 Jaroslav Hajek <highegg@gmail.com> * oct-inttypes.h (octave_int_arith_base::rem, octave_int_base::mod):
--- a/liboctave/config-ops.sh +++ b/liboctave/config-ops.sh @@ -35,7 +35,13 @@ echo "VX_OP_INC = $(echo $VX_INC)" > $liboctave_dir/vx-op-inc.mk-t $top_srcdir/move-if-change $liboctave_dir/vx-op-inc.mk-t $liboctave_dir/vx-op-inc.mk ;; + esac + ;; +esac +case "$obj_type" in + vx | all) + case "$src_type" in src | all) VX_SRC=$($AWK -f $mk_ops prefix=vx list_cc_files=1 $liboctave_dir/vx-ops) echo "VX_OP_SRC = $(echo $VX_SRC)" > $liboctave_dir/vx-op-src.mk-t @@ -43,7 +49,9 @@ ;; esac ;; +esac +case "$obj_type" in mx | all) case "$src_type" in inc | all) @@ -51,7 +59,13 @@ echo "MX_OP_INC = $(echo $MX_INC)" > $liboctave_dir/mx-op-inc.mk-t $top_srcdir/move-if-change $liboctave_dir/mx-op-inc.mk-t $liboctave_dir/mx-op-inc.mk ;; + esac + ;; +esac +case "$obj_type" in + mx | all) + case "$src_type" in src | all) MX_SRC=$($AWK -f $mk_ops prefix=mx list_cc_files=1 $liboctave_dir/mx-ops) echo "MX_OP_SRC = $(echo $MX_SRC)" > $liboctave_dir/mx-op-src.mk-t @@ -59,7 +73,9 @@ ;; esac ;; +esac +case "$obj_type" in smx | all) case "$src_type" in inc | all) @@ -67,7 +83,13 @@ echo "SMX_OP_INC = $(echo $SMX_INC)" > $liboctave_dir/smx-op-inc.mk-t $top_srcdir/move-if-change $liboctave_dir/smx-op-inc.mk-t $liboctave_dir/smx-op-inc.mk ;; + esac + ;; +esac +case "$obj_type" in + smx | all) + case "$src_type" in src | all) SMX_SRC=$($AWK -f $sparse_mk_ops prefix=smx list_cc_files=1 $liboctave_dir/sparse-mx-ops) echo "SMX_OP_SRC = $(echo $SMX_SRC)" > $liboctave_dir/smx-op-src.mk-t