7 echo "#if HAVE_GNUC_ATTRIBUTE" >> $TAIL
8 cat "$@" | grep '^Fc[^ ]* *(' | sed -e 's/ *(.*$//' |
11 FcCacheDir|FcCacheSubdir)
15 hattr='__attribute((visibility("hidden")))'
16 echo "extern __typeof ($name) $alias $hattr;" >> $HEAD
17 echo "#define $name $alias" >> $HEAD
18 grep -l -w '^'$name "$SRCDIR"/*.c | sed -e 's/^.*\/\([^.]*\)\.c/#ifdef __\1__/' >> $TAIL
19 echo "#undef $name" >> $TAIL
20 cattr='__attribute((alias("'$alias'"), visibility("default")))'
21 echo "extern __typeof ($name) $name $cattr;" >> $TAIL
22 echo "#endif" >> $TAIL
26 echo "#endif" >> $TAIL