Skip to content

Commit

Permalink
Moved several targets out of the default.do file.
Browse files Browse the repository at this point in the history
  • Loading branch information
bruceg committed Nov 17, 2006
1 parent a926bb0 commit b3912db
Show file tree
Hide file tree
Showing 5 changed files with 16 additions and 29 deletions.
7 changes: 7 additions & 0 deletions auto-ccld.sh.do
@@ -0,0 +1,7 @@
dependon conf-cc conf-ld conf-ldso conf-sub warn-auto.sh
formake '( cat warn-auto.sh; \'
formake 'sub=`head -n 1 conf-sub` ; \'
formake 'echo CC=\'\''`head -n 1 conf-cc`\'\''; \'
formake 'echo LD=\'\''`head -n 1 conf-ld`\'\''; \'
formake 'echo LDSO=\'\''`head -n 1 conf-ldso`\'\''; \'
formake ') > auto-ccld.sh'
29 changes: 0 additions & 29 deletions default.do
Expand Up @@ -35,11 +35,6 @@ then
fi

case "$1" in
shar)
dependon FILES `cat FILES`
formake 'shar -m `cat FILES` > shar'
formake 'chmod 400 shar'
;;
compile|load|makelib|makeso)
dependon make-$1 warn-auto.sh systype
formake "( cat warn-auto.sh; ./make-$1 "'"`cat systype`"'" ) > $1"
Expand All @@ -50,30 +45,6 @@ case "$1" in
formake "cat auto-ccld.sh $1.sh > $1"
formake "chmod 755 $1"
;;
systype)
dependon find-systype trycpp.c
formake './find-systype > systype'
;;
find-systype)
dependon find-systype.sh auto-ccld.sh
formake 'cat auto-ccld.sh find-systype.sh > find-systype'
formake 'chmod 755 find-systype'
;;
auto-ccld.sh)
dependon conf-cc conf-ld conf-ldso conf-sub warn-auto.sh
formake '( cat warn-auto.sh; \'
formake 'sub=`head -n 1 conf-sub` ; \'
formake 'echo CC=\'\''`head -n 1 conf-cc`\'\''; \'
formake 'echo LD=\'\''`head -n 1 conf-ld`\'\''; \'
formake 'echo LDSO=\'\''`head -n 1 conf-ldso`\'\''; \'
formake ') > auto-ccld.sh'
;;
ezmlm-mktab)
dependon conf-sub
formake "rm -f $1"
formake 'sub=`head -n 1 conf-sub` ; ln sub_$$sub/'$1 $1
formake "touch $1"
;;
lang/*/ezmlmrc)
lang=${1#lang/}
lang=${lang%/ezmlmrc}
Expand Down
4 changes: 4 additions & 0 deletions ezmlm-mktab.do
@@ -0,0 +1,4 @@
dependon conf-sub
formake "rm -f $1"
formake 'sub=`head -n 1 conf-sub` ; ln sub_$$sub/'$1 $1
formake "touch $1"
3 changes: 3 additions & 0 deletions find-systype.do
@@ -0,0 +1,3 @@
dependon find-systype.sh auto-ccld.sh
formake 'cat auto-ccld.sh find-systype.sh > find-systype'
formake 'chmod 755 find-systype'
2 changes: 2 additions & 0 deletions systype.do
@@ -0,0 +1,2 @@
dependon find-systype trycpp.c
formake './find-systype > systype'

0 comments on commit b3912db

Please sign in to comment.