Debian Codegraph @

imap/tools/an

raw symbols SCIP
1 #!/bin/sh
2
3 # ========================================================================
4 # Copyright 1988-2007 University of Washington
5 #
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
9 #
10 # http://www.apache.org/licenses/LICENSE-2.0
11 #
12 #
13 # ========================================================================
14
15 BASE=`pwd`
16
17 if [ ! -d $3 ]; then
18 mkdir $3
19 fi
20
21 for i in $2/Makefile* ; do
22 if [ -f $i ] ; then
23 $1 "$BASE/$i" "$BASE/$3"
24 fi
25 done
26
27 if [ -f $2/drivers ]; then
28 $1 "$BASE/$2/drivers" "$BASE/$3"
29 fi
30
31 if [ -f $2/mkauths ]; then
32 $1 "$BASE/$2/mkauths" "$BASE/$3"
33 fi
34
35 cd $2
36
37 for j in *.[ch]; do
38 $1 "$BASE/$2/$j" "$BASE/$3"
39 done
40
41 exit 0