imapext-2007

annotate tools/an @ 0:ada5e610ab86

imap-2007e
author yuuji@gentei.org
date Mon, 14 Sep 2009 15:17:45 +0900
parents
children
rev   line source
yuuji@0 1 #!/bin/sh
yuuji@0 2
yuuji@0 3 # ========================================================================
yuuji@0 4 # Copyright 1988-2007 University of Washington
yuuji@0 5 #
yuuji@0 6 # Licensed under the Apache License, Version 2.0 (the "License");
yuuji@0 7 # you may not use this file except in compliance with the License.
yuuji@0 8 # You may obtain a copy of the License at
yuuji@0 9 #
yuuji@0 10 # http://www.apache.org/licenses/LICENSE-2.0
yuuji@0 11 #
yuuji@0 12 #
yuuji@0 13 # ========================================================================
yuuji@0 14
yuuji@0 15 BASE=`pwd`
yuuji@0 16
yuuji@0 17 if [ ! -d $3 ]; then
yuuji@0 18 mkdir $3
yuuji@0 19 fi
yuuji@0 20
yuuji@0 21 for i in $2/Makefile* ; do
yuuji@0 22 if [ -f $i ] ; then
yuuji@0 23 $1 "$BASE/$i" "$BASE/$3"
yuuji@0 24 fi
yuuji@0 25 done
yuuji@0 26
yuuji@0 27 if [ -f $2/drivers ]; then
yuuji@0 28 $1 "$BASE/$2/drivers" "$BASE/$3"
yuuji@0 29 fi
yuuji@0 30
yuuji@0 31 if [ -f $2/mkauths ]; then
yuuji@0 32 $1 "$BASE/$2/mkauths" "$BASE/$3"
yuuji@0 33 fi
yuuji@0 34
yuuji@0 35 cd $2
yuuji@0 36
yuuji@0 37 for j in *.[ch]; do
yuuji@0 38 $1 "$BASE/$2/$j" "$BASE/$3"
yuuji@0 39 done
yuuji@0 40
yuuji@0 41 exit 0

UW-IMAP'd extensions by yuuji