/usr/bin/gtkada-config is in libgtkada-bin 3.8.3-1+b3.
This file is owned by root:root, with mode 0o755.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 | #!/bin/sh
# src/tools/gtkada-config. Generated from gtkada-config.in by configure.
prefix=/usr
exec_prefix=${prefix}
libdir=${prefix}/lib/x86_64-linux-gnu
alidir=${prefix}/lib/x86_64-linux-gnu/ada/adalib/gtkada
includedir=${prefix}/share/ada/adainclude/gtkada
gtk_libs="-lgtk-3 -lgdk-3 -lpangocairo-1.0 -lpango-1.0 -latk-1.0 -lcairo-gobject -lcairo -lgdk_pixbuf-2.0 -lgio-2.0 -lgobject-2.0 -Wl,--export-dynamic -lgmodule-2.0 -pthread -lglib-2.0 -lm"
# OS Specific relocatable settings
if [ "$OS" = "Windows_NT" ]; then
os_reloc="-L${prefix}/bin -lgtkada-3.8.3"
else
os_reloc="-L${libdir} -lgtkada"
fi
cflags_static="-aI${includedir} -aO${alidir}"
cflags_relocatable="-aI${includedir} -aO${alidir}"
libs_relocatable="${os_reloc} ${gtk_libs}"
libs_static="${libdir}/libgtkada.a ${gtk_libs}"
usage()
{
cat <<EOF
Usage: gtkada-config [OPTIONS]
Options:
[--prefix]
[--version|-v]
[--libs]
[--cflags]
[--static]
[--help|-h]
EOF
exit $1
}
show_cflags=1
show_libs=1
libtype=relocatable
while test $# -gt 0; do
case "$1" in
-*=*) optarg=`echo "$1" | sed 's/[-_a-zA-Z0-9]*=//'` ;;
*) optarg= ;;
esac
case $1 in
--help|-h)
usage 1>&2
exit 1
;;
--static)
libtype=static
;;
--prefix)
echo $prefix
exit 0
;;
--version|-v)
echo 3.8.3
exit 0
;;
--libs)
show_libs=1
show_cflags=0
;;
--cflags)
show_libs=0
show_cflags=1
;;
*)
usage 1>&2
exit 1
;;
esac
shift
done
result=""
if [ $show_cflags = 1 ]; then
if [ $libtype = static ]; then
result="$cflags_static"
else
result="$cflags_relocatable"
fi
if [ $show_libs = 1 ]; then
result="$result -largs "
fi
fi
if [ $show_libs = 1 ]; then
if [ $libtype = static ]; then
result="${result}${libs_static}"
else
result="${result}${libs_relocatable}"
fi
fi
echo $result
|