Index: mttroot/mtt/bin/mtt ================================================================== --- mttroot/mtt/bin/mtt +++ mttroot/mtt/bin/mtt @@ -15,10 +15,13 @@ ############################################################### ## Version control history ############################################################### ## $Header$ ## $Log$ +## Revision 1.388 2004/08/11 08:18:07 geraint +## Ignores diy make files if the file ${rep}_rep.make.ignore exists, thus allowing user-defined makefiles to use the default MTT rules for languages which they do not override. See odes_rep.make and odeso_rep.make for an example of its use. +## ## Revision 1.387 2004/08/11 07:44:18 geraint ## Included cmp.m as a prerequisite for abg.m ## ## Revision 1.386 2004/08/05 00:02:57 geraint ## Uses lbl2cmp_txt2m.pl to generate _cmp.m. @@ -2838,33 +2841,25 @@ #SUMMARY abg acausal bond graph (m) #Raw bond graph to acausal bond graph: mfile ifneq ($start_at_abg,yes) -ifneq ($use_ibg,yes) -%_abg.m: %_abg.dia %_cmp.m %_lbl.txt %_alias.m - abg_dia2m \$* - (sh \$*_sub.sh "mtt $mtt_switches -q -u -l $level+1 " ' abg m null || exit 1') || exit 1 - -%_abg.m: %_rbg.m %_cmp.m %_lbl.txt %_alias.m %_sub.sh %_icd.m - (sh \$*_sub.sh "mtt $mtt_switches -q -u -l $level+1 " ' abg m null || exit 1') || exit 1 - rbg2abg_m $info_switch \$* -else +%_abg.m: %_ibg.m %_cmp.m %_lbl.txt %_alias.m %_sub.sh %_icd.m + @echo "Creating \$@" + (sh \$*_sub.sh "mtt $mtt_switches -q -u -l $level+1 " ' abg m null || exit 1') || exit 1 + ibg2abg_m $info_switch \$* +endif + + .PRECIOUS: %_ibg.m %_ibg.m: %_abg.dia %_alias.m abg2ibg_dia2m \$* -%_ibg.m: %_rbg.m - @echo "EXPERIMENTAL: Creating \$@" +%_ibg.m: %_abg.fig %_rbg.m + @echo "Creating \$@" rbg2ibg_m $info_switch \$* -%_abg.m: %_ibg.m %_cmp.m %_lbl.txt %_alias.m %_sub.sh %_icd.m - @echo "EXPERIMENTAL: Creating \$@" - (sh \$*_sub.sh "mtt $mtt_switches -q -u -l $level+1 " ' abg m null || exit 1') || exit 1 - ibg2abg_m $info_switch \$* -endif -endif #SUMMARY cbg* causal bond graph (m) #Acausal bond graph to causal bond graph: mfile $1_cbg.m: $1_abg.m abg2cbg_m $info_switch $causality_switch $1 Index: mttroot/mtt/debian/control ================================================================== --- mttroot/mtt/debian/control +++ mttroot/mtt/debian/control @@ -5,12 +5,12 @@ Build-Depends: debhelper (>> 3.0.0) Standards-Version: 3.5.2 Package: mtt Architecture: all -Depends: gawk, octave, units, xfig -Recommends: mtt-examples, blas-dev, fftw-dev, c-compiler, g++, gnuplot, info-browser, lapack-dev, latex2html, libkpathsea-dev, libncurses5-dev, libreadline4-dev, pdf-viewer, postscript-viewer, octave-headers, octave-info, p2c, transfig, xterm, www-browser, wish +Depends: gawk, octave, units, xfig, perl +Recommends: mtt-examples, blas-dev, fftw-dev, c-compiler, dia, g++, gnuplot, info-browser, lapack-dev, latex2html, libkpathsea-dev, libncurses5-dev, libreadline4-dev, libxml-dom-perl, pdf-viewer, postscript-viewer, octave-headers, octave-info, p2c, transfig, xterm, www-browser, wish Suggests: scigraphica, zip Description: Model Transformation Tools. A set of tools for modelling dynamic physical systems using the bond-graph methodology and transforming these models into representations suitable for analysis, control and simulation. These tools use, and generate m files for, GNU Octave. . The MTT homepage is located at http://mtt.sourceforge.net. An on-line manual is available at http://mtt.sourceforge.net/doc.