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:
parent
1fa8a6b88b
commit
f98b35050f
9
linux/projects/frm
Executable file
9
linux/projects/frm
Executable 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
13
linux/projects/ini
Executable 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
9
linux/projects/msk
Executable 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
11
linux/projects/msk2
Executable 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
9
linux/projects/rpt
Executable 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
|
Loading…
x
Reference in New Issue
Block a user