5 ABI_CHECKS
="-aux-info abi/\$@.X"
6 make ABI_CHECK
="$ABI_CHECKS" CC
="/usr/bin/gcc"
8 for i
in abi
/*.X
; do cat $i |
grep 'tevent\.h'; done |
sort |
uniq |
awk -F "extern " '{ print $2 }' |
sort> abi
/signatures
10 cat > abi
/exports
<< EOF
14 cat abi
/signatures |
awk -F '(' '{ print $1 }' |
awk -F ' ' '{ print " "$NF";" }' |
tr -d '*' |
sort >> abi
/exports
15 cat >> abi
/exports
<< EOF
23 diff -u tevent.signatures abi
/signatures
24 if [ "$?" != "0" ]; then
25 echo "WARNING: Possible ABI Change!!"
28 diff -u tevent.exports abi
/exports
29 if [ "$?" != "0" ]; then
30 echo "WARNING: Export file may be outdated!!"