* clear out some warnings by gcc 9.3.1.
[alpine.git] / imap / tools / an
blobdcaca97debe6db9c5b6faf0792c15b703b5e7c76
1 #!/bin/sh
3 # ========================================================================
4 # Copyright 1988-2007 University of Washington
6 # Licensed under the Apache License, Version 2.0 (the "License");
7 # you may not use this file except in compliance with the License.
8 # You may obtain a copy of the License at
10 # http://www.apache.org/licenses/LICENSE-2.0
13 # ========================================================================
15 BASE=`pwd`
17 if [ ! -d $3 ]; then
18 mkdir $3
21 for i in $2/Makefile* ; do
22 if [ -f $i ] ; then
23 $1 "$BASE/$i" "$BASE/$3"
25 done
27 if [ -f $2/drivers ]; then
28 $1 "$BASE/$2/drivers" "$BASE/$3"
31 if [ -f $2/mkauths ]; then
32 $1 "$BASE/$2/mkauths" "$BASE/$3"
35 cd $2
37 for j in *.[ch]; do
38 $1 "$BASE/$2/$j" "$BASE/$3"
39 done
41 exit 0