diff options
author | wkj <devnull@localhost> | 2004-04-21 17:52:08 +0000 |
---|---|---|
committer | wkj <devnull@localhost> | 2004-04-21 17:52:08 +0000 |
commit | 7025271a714583fc0b34f7c794a0a24e7241971d (patch) | |
tree | de7c78cacd6e14185037aee0388a12cd47a5720e /src | |
parent | 0b424d7bd770a7767da58427e549022279a65d51 (diff) | |
download | plan9port-7025271a714583fc0b34f7c794a0a24e7241971d.tar.gz plan9port-7025271a714583fc0b34f7c794a0a24e7241971d.tar.bz2 plan9port-7025271a714583fc0b34f7c794a0a24e7241971d.zip |
Libsec doesn't compile without a reduce script, either.
Diffstat (limited to 'src')
-rw-r--r-- | src/libmp/port/reduce | 2 | ||||
-rw-r--r-- | src/libsec/port/reduce | 13 |
2 files changed, 13 insertions, 2 deletions
diff --git a/src/libmp/port/reduce b/src/libmp/port/reduce index 78be309e..9e074b92 100644 --- a/src/libmp/port/reduce +++ b/src/libmp/port/reduce @@ -3,8 +3,6 @@ shift objtype=$1 shift -nl=' -' for i in $* do j=`echo $i | sed 's/\.o//'` diff --git a/src/libsec/port/reduce b/src/libsec/port/reduce new file mode 100644 index 00000000..9e074b92 --- /dev/null +++ b/src/libsec/port/reduce @@ -0,0 +1,13 @@ +O=$1 +shift +objtype=$1 +shift + +for i in $* +do + j=`echo $i | sed 's/\.o//'` + if test ! -f ../$objtype/$j.c -a ! -f ../$objtype/$j.s -a ! -f ../$objtype/$j.spp + then + echo $i + fi +done |