Overview
Comment:Moved rules for ibg.m and abg.m so that -ibg can be used with dia models.
Need to create cmp.m files before this combination will work.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | origin/master | trunk
Files: files | file ages | folders
SHA3-256: c930f72c5e6f442ecf7008d87be0b4bda48f0ac8e8734efc0e00b4f0039ae3d6
User & Date: geraint@users.sourceforge.net on 2004-08-01 19:50:07
Other Links: branch diff | manifest | tags
Context
2004-08-01
20:13:30
ibg2abg transformation does not require lbl.txt (directly) check-in: b58a6177cf user: geraint@users.sourceforge.net tags: origin/master, trunk
19:50:07
Moved rules for ibg.m and abg.m so that -ibg can be used with dia models.
Need to create cmp.m files before this combination will work.
check-in: c930f72c5e user: geraint@users.sourceforge.net tags: origin/master, trunk
19:47:59
New file. check-in: 463d65dd40 user: geraint@users.sourceforge.net tags: origin/master, trunk
Changes

Modified mttroot/mtt/bin/mtt from [fd5005a95c] to [b8ded42ff7].

13
14
15
16
17
18
19



20
21
22
23
24
25
26
# Copyright (C) 2001 by Peter J. Gawthrop

###############################################################
## Version control history
###############################################################
## $Header$
## $Log$



## Revision 1.381  2003/08/10 18:56:55  gawthrop
## Explicitly generate eps files
##
## Revision 1.380  2003/08/06 14:44:51  gawthrop
## Don't include -q or -u in long file names via ${__ARGS}
##
## Revision 1.379  2003/08/06 10:33:42  gawthrop







>
>
>







13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
# Copyright (C) 2001 by Peter J. Gawthrop

###############################################################
## Version control history
###############################################################
## $Header$
## $Log$
## Revision 1.382  2003/09/23 20:53:49  geraint
## Updated version number (5.0).
##
## Revision 1.381  2003/08/10 18:56:55  gawthrop
## Explicitly generate eps files
##
## Revision 1.380  2003/08/06 14:44:51  gawthrop
## Don't include -q or -u in long file names via ${__ARGS}
##
## Revision 1.379  2003/08/06 10:33:42  gawthrop
2812
2813
2814
2815
2816
2817
2818

2819
2820
2821
2822
2823
2824
2825
2826
2827
2828



2829
2830
2831
2832
2833
2834
2835
2836
2837
2838
2839
2840
	sub_sh2tex -l $1
endif

#SUMMARY abg	acausal bond graph (m)
#Raw bond graph to acausal bond graph: mfile

ifneq ($start_at_abg,yes)

%_abg.m: %_abg.dia %_lbl.txt %_alias.m
	abg_dia2m \$*
	(sh \$*_sub.sh "mtt $mtt_switches -q -u -l $level+1 " ' abg m null  || exit 1') || exit 1

ifneq ($use_ibg,yes)
%_abg.m: %_rbg.m %_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
.PRECIOUS: %_ibg.m



%_ibg.m: %_rbg.m
	@echo "EXPERIMENTAL: Creating \$@"
	rbg2ibg_m $info_switch \$*

%_abg.m: %_ibg.m %_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)







>




<





>
>
>




|







2815
2816
2817
2818
2819
2820
2821
2822
2823
2824
2825
2826

2827
2828
2829
2830
2831
2832
2833
2834
2835
2836
2837
2838
2839
2840
2841
2842
2843
2844
2845
2846
	sub_sh2tex -l $1
endif

#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 %_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 %_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
.PRECIOUS: %_ibg.m
%_ibg.m: %_abg.dia %_alias.m
	abg2ibg_dia2m \$*

%_ibg.m: %_rbg.m
	@echo "EXPERIMENTAL: 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)


MTT: Model Transformation Tools
GitHub | SourceHut | Sourceforge | Fossil RSS ]