ggiunti script per ls compilazione delle maschere, rpt, ini e frm in Linux

git-svn-id: svn://10.65.10.50/trunk@11349 c028cbd2-c16b-5b4b-a496-9718f37d4682
This commit is contained in:
alex 2003-07-25 10:23:46 +00:00
parent 1fa8a6b88b
commit f98b35050f
5 changed files with 51 additions and 0 deletions

9
linux/projects/frm Executable file
View File

@ -0,0 +1,9 @@
echo Compiling $1 into $2
TMPNAME=/tmp/msk$$.c
OUTNAME=/tmp/msk.$$
NAME=/tmp/msk$$.c
cat ../../include/lffiles.h $1 >$TMPNAME
INC="-iprefix ../../ -iwithprefix include -iwithprefix ab -iwithprefix ba -iwithprefix ce -iwithprefix cg -iwithprefix cm -iwithprefix db -iwithprefix dl -iwithprefix ef -iwithprefix in -iwithprefix m770 -iwithprefix mg -iwithprefix mr -iwithprefix or -iwithprefix pr -iwithprefix sc -iwithprefix sv -iwithprefix ve -iwithprefix xvaga"
gcc -E $INC -o $OUTNAME $TMPNAME
grep -v ^# $OUTNAME | grep -v "^[ ]*$" >$2
rm $TMPNAME $OUTNAME

13
linux/projects/ini Executable file
View File

@ -0,0 +1,13 @@
echo Compiling $1 into $2
TMPNAME=/tmp/msk$$.c
OUTNAME=/tmp/msk.$$
NAME=/tmp/msk$$.c
cat ../../include/lffiles.h $1 >$TMPNAME
INC="-iprefix ../../ -iwithprefix include -iwithprefix ab -iwithprefix ba -iwithprefix ce -iwithprefix cg -iwithprefix cm -iwithprefix db -iwithprefix dl -iwithprefix ef -iwithprefix in -iwithprefix m770 -iwithprefix mg -iwithprefix mr -iwithprefix or -iwithprefix pr -iwithprefix sc -iwithprefix sv -iwithprefix ve -iwithprefix xvaga"
gcc -E $INC -o $OUTNAME $TMPNAME
grep -v ^# $OUTNAME | grep -v "^[ ]*$" >$2
rm $TMPNAME $OUTNAME
pushd
cd ../../exe
ve0 -3 %2 -uADMIN
popd

9
linux/projects/msk Executable file
View File

@ -0,0 +1,9 @@
echo Compiling $1 into $2
TMPNAME=/tmp/msk$$.c
OUTNAME=/tmp/msk.$$
NAME=/tmp/msk$$.c
cat ../../include/uml.h $1 >$TMPNAME
INC="-iprefix ../../ -iwithprefix include -iwithprefix ab -iwithprefix ba -iwithprefix ce -iwithprefix cg -iwithprefix cm -iwithprefix db -iwithprefix dl -iwithprefix ef -iwithprefix in -iwithprefix m770 -iwithprefix mg -iwithprefix mr -iwithprefix or -iwithprefix pr -iwithprefix sc -iwithprefix sv -iwithprefix ve -iwithprefix xvaga"
gcc -E $INC -o $OUTNAME $TMPNAME
grep -v ^# $OUTNAME | grep -v "^[ ]*$" >$2
rm $TMPNAME $OUTNAME

11
linux/projects/msk2 Executable file
View File

@ -0,0 +1,11 @@
echo Compiling $1 into $2
TMPNAME=/tmp/msk$$.c
OUTNAME=/tmp/msk.$$
NAME=/tmp/msk$$.c
cat ../../include/uml.h $1 >$TMPNAME
INC="-iprefix ../../ -iwithprefix include -iwithprefix ab -iwithprefix ba -iwithprefix ce -iwithprefix cg -iwithprefix cm -iwithprefix db -iwithprefix dl -iwithprefix ef -iwithprefix in -iwithprefix m770 -iwithprefix mg -iwithprefix mr -iwithprefix or -iwithprefix pr -iwithprefix sc -iwithprefix sv -iwithprefix ve -iwithprefix xvaga"
gcc -E $INC -o $OUTNAME $TMPNAME
sed -e 's/!!/#/g' $OUTNAME | sed -e 's/;/\n/g' >$TMPNAME
gcc -E $INC -o $OUTNAME $TMPNAME
grep -v ^# $OUTNAME | grep -v "^[ ]*$" >$2
rm $TMPNAME $OUTNAME

9
linux/projects/rpt Executable file
View File

@ -0,0 +1,9 @@
echo Compiling $1 into $2
TMPNAME=/tmp/msk$$.c
OUTNAME=/tmp/msk.$$
NAME=/tmp/msk$$.c
cat ../../include/lffiles.h $1 >$TMPNAME
INC="-iprefix ../../ -iwithprefix include -iwithprefix ab -iwithprefix ba -iwithprefix ce -iwithprefix cg -iwithprefix cm -iwithprefix db -iwithprefix dl -iwithprefix ef -iwithprefix in -iwithprefix m770 -iwithprefix mg -iwithprefix mr -iwithprefix or -iwithprefix pr -iwithprefix sc -iwithprefix sv -iwithprefix ve -iwithprefix xvaga"
gcc -E $INC -o $OUTNAME $TMPNAME
grep -v ^# $OUTNAME | grep -v "^[ ]*$" >$2
rm $TMPNAME $OUTNAME