Overview
Comment:Applies CRs before creating sese.make to avoid Circular dependencies.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | origin/master | trunk
Files: files | file ages | folders
SHA3-256: 2a7f044b8c42e3d055c478df97f783fc08759983d6d0e4b1b76ad7c5da5f26c0
User & Date: geraint@users.sourceforge.net on 2004-09-07 20:38:44
Other Links: branch diff | manifest | tags
Context
2004-09-09
23:15:40
Typo: missing $ in front of variable names. check-in: 119443cd8f user: geraint@users.sourceforge.net tags: origin/master, trunk
2004-09-07
20:38:44
Applies CRs before creating sese.make to avoid Circular dependencies. check-in: 2a7f044b8c user: geraint@users.sourceforge.net tags: origin/master, trunk
20:37:48
No longer appends ';end;' to the end of the file. check-in: 5cd1f5b9fe user: geraint@users.sourceforge.net tags: origin/master, trunk
Changes

Modified mttroot/mtt/bin/mtt from [1decc6d85a] to [0278e5c7e6].

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.401  2004/09/02 22:04:06  geraint
## Passes ${use_reduce} to mtt_make_sympar so that it can decide
## if to issue warnings about Reduce reserved words
##
## Revision 1.400  2004/08/31 01:29:48  geraint
## CRs are applied to sorted equation files during production.
##







>
>
>







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.402  2004/09/03 08:35:27  geraint
## Copies Perl CRs to an mtt subdirectory (=> mtt:: workspace).
##
## Revision 1.401  2004/09/02 22:04:06  geraint
## Passes ${use_reduce} to mtt_make_sympar so that it can decide
## if to issue warnings about Reduce reserved words
##
## Revision 1.400  2004/08/31 01:29:48  geraint
## CRs are applied to sorted equation files during production.
##
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
3055
3056
${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}_cr.txt perl_crs.stamp
	echo Creating \$@
	make -f \$< all |\
	apply_crs ${sys} > \$@
${sys}_sesx.r: ${sys}_sese.make ${sys}_cr.txt perl_crs.stamp
	echo Creating \$@
	make -f \$< MTTdX |\
	apply_crs ${sys} > \$@
${sys}_sesy.r: ${sys}_sese.make ${sys}_cr.txt perl_crs.stamp
	echo Creating \$@
	make -f \$< MTTy |\
	apply_crs ${sys} > \$@
${sys}_sae.r: ${sys}_sese.make ${sys}_cr.txt perl_crs.stamp
	echo Creating \$@
	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
	mkdir -p mtt
	cp ${MTT_LIB}/cr/perl/*.pm mtt/
	touch \$@
endif







|

|
<
|

|
<
|

|
<
|

|
<

|

|
>
>
>
>
>







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
3055
3056
3057
3058
3059
3060
${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
	echo Creating \$@
	make -f \$< all   > \$@

${sys}_sesx.r: ${sys}_sese.make
	echo Creating \$@
	make -f \$< MTTdX > \$@

${sys}_sesy.r: ${sys}_sese.make
	echo Creating \$@
	make -f \$< MTTy  > \$@

${sys}_sae.r: ${sys}_sese.make
	echo Creating \$@
	make -f \$< MTTyz > \$@


${sys}_sese.make: ${sys}_ese.txt
	echo Creating \$@
	ese_txt2make.pl --sys=${sys} --infile=${sys}_ese.txt --outfile=\$@ --$debug

${sys}_ese.txt: ${sys}_ese.r ${sys}_cr.txt perl_crs.stamp
	echo Creating \$@
	ese_r2txt.pl < \$< |\
	apply_crs ${sys} > \$@

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


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