Add basic libmp support for the x86.
This commit is contained in:
parent
f2a700e22a
commit
ac0e2db600
9 changed files with 349 additions and 15 deletions
|
|
@ -33,10 +33,9 @@ FILES=\
|
|||
mptov\
|
||||
mptouv\
|
||||
|
||||
OFILES=${FILES:%=%.$O}
|
||||
|
||||
ALLOFILES=${FILES:%=%.$O}
|
||||
# cull things in the per-machine directories from this list
|
||||
# OFILES= `{sh ./reduce $O $objtype $ALLOFILES}
|
||||
OFILES= `{sh ./reduce $O $objtype $ALLOFILES}
|
||||
|
||||
HFILES=\
|
||||
$PLAN9/include/lib9.h\
|
||||
|
|
@ -44,3 +43,6 @@ HFILES=\
|
|||
dat.h\
|
||||
|
||||
<$PLAN9/src/mksyslib
|
||||
|
||||
poot:
|
||||
echo $OFILES
|
||||
|
|
|
|||
|
|
@ -3,14 +3,6 @@ shift
|
|||
objtype=$1
|
||||
shift
|
||||
|
||||
ls -p ../$objtype/*.[cs] >[2]/dev/null | sed 's/..$//' > /tmp/reduce.$pid
|
||||
#
|
||||
# if empty directory, just return the input files
|
||||
#
|
||||
if (! ~ $status '|') {
|
||||
echo $*
|
||||
rm /tmp/reduce.$pid
|
||||
exit 0
|
||||
}
|
||||
echo $* | tr ' ' \012 | grep -v -f /tmp/reduce.$pid | tr \012 ' '
|
||||
rm /tmp/reduce.$pid
|
||||
reduce="("`ls -p ../$objtype/*.[cs] 2>/dev/null | sed 's/..$//' | sed 's/^.*\///' | tr '\012' '|' | sed 's/.$//'`")"
|
||||
|
||||
echo $* | tr ' ' '\012' | egrep -v $reduce | tr \012 ' '
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue