Overview
Comment:CRs are applied to sorted equation files during production.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | origin/master | trunk
Files: files | file ages | folders
SHA3-256: 785bd9f79e64477e25dcb5b44e8dbe40193843d091b683de15de0b4b2549496a
User & Date: geraint@users.sourceforge.net on 2004-08-31 01:29:48
Other Links: branch diff | manifest | tags
Context
2004-08-31
01:59:12
Fixed C,I and R causality. check-in: 77f7cdf8d2 user: geraint@users.sourceforge.net tags: origin/master, trunk
01:29:48
CRs are applied to sorted equation files during production. check-in: 785bd9f79e user: geraint@users.sourceforge.net tags: origin/master, trunk
01:28:11
Reads the contents of _cr.txt and adds CRs for which a cr.pm exists
to the argument list of apply_cr.pl, which modifies the standard stream.
check-in: 9cc176e69a user: geraint@users.sourceforge.net tags: origin/master, trunk
Changes

Modified mttroot/mtt/bin/mtt from [ff17076521] to [e21893f444].

13
14
15
16
17
18
19







20
21
22
23
24
25
26
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33







+
+
+
+
+
+
+







# Copyright (C) 2001 by Peter J. Gawthrop

###############################################################
## Version control history
###############################################################
## $Header$
## $Log$
## Revision 1.399  2004/08/29 16:09:49  geraint
## Added option -no-reduce
##
## Code sorting can now be used with Reduce (via sese.r) so that existing CRs
## work with sorted code (using -make-sort or -sort), or without by using
## -no-reduce; this option implies -make-sort.
##
## Revision 1.398  2004/08/29 14:39:23  geraint
## Added rule to create dae from sorted equations (sese) if sorting is requested.
##
## Revision 1.397  2004/08/29 13:17:30  geraint
## Added rules to use sae (sorted algebraic equations) instead
## of ae if sorted equations are being used.
##
3009
3010
3011
3012
3013
3014
3015
3016

3017
3018
3019
3020



3021
3022
3023



3024
3025
3026



3027
3028


3029
3030
3031
3032





3033
3034
3035
3036
3037
3038
3039
3016
3017
3018
3019
3020
3021
3022

3023
3024



3025
3026
3027
3028


3029
3030
3031
3032


3033
3034
3035
3036

3037
3038
3039
3040
3041
3042
3043
3044
3045
3046
3047
3048
3049
3050
3051
3052
3053
3054







-
+

-
-
-
+
+
+

-
-
+
+
+

-
-
+
+
+

-
+
+




+
+
+
+
+







${sys}_sesy.m: ${sys}_def.r ${sys}_sesy.r ${sys}_sympar.txt
	echo Creating \$@
	mtt_r2m ${sys} sesy m
${sys}_sae.m: ${sys}_def.r ${sys}_sae.r ${sys}_sympar.txt
	echo Creating \$@
	mtt_r2m ${sys} sae m

${sys}_sese.r: ${sys}_sese.make
${sys}_sese.r: ${sys}_sese.make ${sys}_cr.txt perl_crs.stamp
	echo Creating \$@
	make -f \$< all > \$@
	echo ";end;" >> \$@
${sys}_sesx.r: ${sys}_sese.make
	make -f \$< all |\
	apply_crs ${sys} > \$@
${sys}_sesx.r: ${sys}_sese.make ${sys}_cr.txt perl_crs.stamp
	echo Creating \$@
	make -f \$< MTTdX > \$@
${sys}_sesy.r: ${sys}_sese.make
	make -f \$< MTTdX |\
	apply_crs ${sys} > \$@
${sys}_sesy.r: ${sys}_sese.make ${sys}_cr.txt perl_crs.stamp
	echo Creating \$@
	make -f \$< MTTy > \$@
${sys}_sae.r: ${sys}_sese.make
	make -f \$< MTTy |\
	apply_crs ${sys} > \$@
${sys}_sae.r: ${sys}_sese.make ${sys}_cr.txt perl_crs.stamp
	echo Creating \$@
	make -f \$< MTTyz > \$@
	make -f \$< MTTyz |\
	apply_crs ${sys} > \$@

${sys}_sese.make: ${sys}_ese.r
	echo Creating \$@
	ese_r2make.pl --sys=${sys} --outfile=\$@ --$debug

perl_crs.stamp:
	echo Copying CRs from ${MTT_LIB}/cr/perl
	cp ${MTT_LIB}/cr/perl/*.pm .
	touch \$@
endif

$1_def.r: $1_ese.r
	touch $1_def.r
$1_struc.txt: $1_ese.r
	touch $1_struc.txt
$1_aliased.txt: $1_ese.r


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