Below is the file 'debian/gnade_odbc_example_installed.gpr' from this revision. You can also download the file.
-- Build the odbc example with the installed libraries
with "gnadecommon";
with "gnadeodbc";
project GNADE_ODBC_Example_Installed is
for Languages use ("Ada");
for Source_Dirs use ("tmp/odbc-example-src");
for Object_Dir use "tmp/odbc-example-obj";
for Main use ("demo.adb");
package Compiler is
Base_Switches :=
("-g",
"-O2",
"-gnat05",
"-gnatfno",
"-gnatwa",
"-gnatVa");
for Default_Switches ("Ada") use Base_Switches;
end Compiler;
-- Note that we don't need any linker options here; 'with
-- gnadeodbc' pulls in libgnadeodbc.so and libodbc.
end GNADE_ODBC_Example_Installed;