imapext-2007

diff tools/an @ 0:ada5e610ab86

imap-2007e
author yuuji@gentei.org
date Mon, 14 Sep 2009 15:17:45 +0900
parents
children
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/tools/an	Mon Sep 14 15:17:45 2009 +0900
     1.3 @@ -0,0 +1,41 @@
     1.4 +#!/bin/sh
     1.5 +
     1.6 +# ========================================================================
     1.7 +# Copyright 1988-2007 University of Washington
     1.8 +#
     1.9 +# Licensed under the Apache License, Version 2.0 (the "License");
    1.10 +# you may not use this file except in compliance with the License.
    1.11 +# You may obtain a copy of the License at
    1.12 +#
    1.13 +#     http://www.apache.org/licenses/LICENSE-2.0
    1.14 +#
    1.15 +# 
    1.16 +# ========================================================================
    1.17 +
    1.18 +BASE=`pwd`
    1.19 +
    1.20 +if [ ! -d $3 ]; then
    1.21 + mkdir $3
    1.22 +fi
    1.23 +
    1.24 +for i in $2/Makefile* ; do
    1.25 +  if [ -f $i ] ; then
    1.26 +    $1 "$BASE/$i" "$BASE/$3"
    1.27 +  fi
    1.28 +done
    1.29 +
    1.30 +if [ -f $2/drivers ]; then
    1.31 +  $1 "$BASE/$2/drivers" "$BASE/$3"
    1.32 +fi
    1.33 +
    1.34 +if [ -f $2/mkauths ]; then
    1.35 +  $1 "$BASE/$2/mkauths" "$BASE/$3"
    1.36 +fi
    1.37 +
    1.38 +cd $2
    1.39 +
    1.40 +for j in *.[ch]; do
    1.41 +  $1 "$BASE/$2/$j" "$BASE/$3"
    1.42 +done
    1.43 +
    1.44 +exit 0

UW-IMAP'd extensions by yuuji