9 echo "#if HAVE_GNUC_ATTRIBUTE" >> $TAIL
10 cat "$@" | grep '^Fc[^ ]* *(' | sed -e 's/ *(.*$//' |
13 FcCacheDir|FcCacheSubdir)
17 hattr='__attribute((visibility("hidden")))'
18 echo "extern __typeof ($name) $alias $hattr;" >> $HEAD
19 echo "#define $name $alias" >> $HEAD
20 grep -l '^'$name'[ (]' "$SRCDIR"/*.c | sed -n 1p | sed -e 's/^.*\/\([^.]*\)\.c/#ifdef __\1__/' >> $TAIL
21 echo "#undef $name" >> $TAIL
22 cattr='__attribute((alias("'$alias'"), visibility("default")))'
23 echo "extern __typeof ($name) $name $cattr;" >> $TAIL
24 echo "#endif" >> $TAIL
28 echo "#endif" >> $TAIL